Lines Matching refs:nPos

337     sal_uInt16 InsertEntry( OUString const& rStr, sal_uInt16 nPos )  in InsertEntry()  argument
339 if ( nPos == COMBOBOX_APPEND ) in InsertEntry()
340 nPos = GetEntryCount(); in InsertEntry()
341 mxComboBox->addItem( rtl::OUString( rStr ), nPos ); in InsertEntry()
342 return nPos; in InsertEntry()
345 void RemoveEntry( sal_uInt16 nPos ) in RemoveEntry() argument
347 mxComboBox->removeItems( nPos, 1 ); in RemoveEntry()
363 OUString GetEntry( sal_uInt16 nPos ) const in GetEntry()
365 return OUString( mxComboBox->getItem( nPos ) ); in GetEntry()
435 sal_uInt16 ComboBox::InsertEntry( String const& rStr, sal_uInt16 nPos ) in InsertEntry() argument
437 return getImpl()->InsertEntry( rStr, nPos ); in InsertEntry()
445 void ComboBox::RemoveEntry( sal_uInt16 nPos ) in RemoveEntry() argument
447 getImpl()->RemoveEntry( nPos ); in RemoveEntry()
462 String ComboBox::GetEntry( sal_uInt16 nPos ) const in GetEntry()
464 rtl::OUString rItem = getImpl()->mxComboBox->getItem( nPos ); in GetEntry()
512 sal_uInt16 InsertEntry (String const& rStr, sal_uInt16 nPos) in InsertEntry() argument
514 if ( nPos == LISTBOX_APPEND ) in InsertEntry()
515 nPos = mxListBox->getItemCount(); in InsertEntry()
516 mxListBox->addItem( rtl::OUString( rStr ), nPos ); in InsertEntry()
517 return nPos; in InsertEntry()
520 void RemoveEntry( sal_uInt16 nPos ) in RemoveEntry() argument
522 mxListBox->removeItems( nPos, 1 ); in RemoveEntry()
525 sal_uInt16 RemoveEntry( String const& rStr, sal_uInt16 nPos) in RemoveEntry() argument
527 if ( nPos == LISTBOX_APPEND ) in RemoveEntry()
528 nPos = mxListBox->getItemCount(); in RemoveEntry()
529 mxListBox->addItem( rtl::OUString( rStr ), nPos ); in RemoveEntry()
530 return nPos; in RemoveEntry()
546 OUString GetEntry( sal_uInt16 nPos ) const in GetEntry()
548 return mxListBox->getItem( nPos ); in GetEntry()
556 void SelectEntryPos( sal_uInt16 nPos, bool bSelect ) in SelectEntryPos() argument
558 mxListBox->selectItemPos( nPos, bSelect ); in SelectEntryPos()
661 sal_uInt16 ListBox::InsertEntry (String const& rStr, sal_uInt16 nPos) in InsertEntry() argument
663 return getImpl()->InsertEntry(rStr, nPos); in InsertEntry()
666 void ListBox::RemoveEntry( sal_uInt16 nPos ) in RemoveEntry() argument
668 return getImpl()->RemoveEntry( nPos ); in RemoveEntry()
688 String ListBox::GetEntry( sal_uInt16 nPos ) const in GetEntry()
690 return getImpl()->GetEntry( nPos ); in GetEntry()
698 void ListBox::SelectEntryPos( sal_uInt16 nPos, bool bSelect ) in SelectEntryPos() argument
701 getImpl()->SelectEntryPos( nPos, bSelect ); in SelectEntryPos()
703 GetListBox ()->SelectEntryPos (nPos, bSelect); in SelectEntryPos()