Lines Matching refs:nPos

117 sal_uInt16 ColorListBox::InsertEntry( const XubString& rStr, sal_uInt16 nPos )  in InsertEntry()  argument
119 nPos = ListBox::InsertEntry( rStr, nPos ); in InsertEntry()
120 if ( nPos != LISTBOX_ERROR ) in InsertEntry()
123 pColorList->Insert( pData, nPos ); in InsertEntry()
125 return nPos; in InsertEntry()
131 sal_uInt16 nPos ) in InsertEntry() argument
133 nPos = ListBox::InsertEntry( rStr, nPos ); in InsertEntry()
134 if ( nPos != LISTBOX_ERROR ) in InsertEntry()
137 pColorList->Insert( pData, nPos ); in InsertEntry()
139 return nPos; in InsertEntry()
152 void ColorListBox::RemoveEntry( sal_uInt16 nPos ) in RemoveEntry() argument
154 ListBox::RemoveEntry( nPos ); in RemoveEntry()
155 delete pColorList->Remove( nPos ); in RemoveEntry()
178 sal_uInt16 nPos = InsertEntry( rBox.GetEntry( n ), LISTBOX_APPEND ); in CopyEntries() local
179 if ( nPos != LISTBOX_ERROR ) in CopyEntries()
180 pColorList->Insert( new ImplColorListData( *pData ), nPos ); in CopyEntries()
199 Color ColorListBox::GetEntryColor( sal_uInt16 nPos ) const in GetEntryColor()
202 ImplColorListData* pData = pColorList->GetObject( nPos ); in GetEntryColor()
419 sal_uInt16 LineListBox::InsertEntry( const XubString& rStr, sal_uInt16 nPos ) in InsertEntry() argument
421 nPos = ListBox::InsertEntry( rStr, nPos ); in InsertEntry()
422 if ( nPos != LISTBOX_ERROR ) in InsertEntry()
423 pLineList->Insert( NULL, nPos ); in InsertEntry()
424 return nPos; in InsertEntry()
430 sal_uInt16 nPos ) in InsertEntry() argument
435 nPos = ListBox::InsertEntry( aStr, aBmp, nPos ); in InsertEntry()
436 if ( nPos != LISTBOX_ERROR ) in InsertEntry()
442 pLineList->Insert( pData, nPos ); in InsertEntry()
445 return nPos; in InsertEntry()
450 void LineListBox::RemoveEntry( sal_uInt16 nPos ) in RemoveEntry() argument
452 ListBox::RemoveEntry( nPos ); in RemoveEntry()
453 ImpLineListData* pData = pLineList->Remove( nPos ); in RemoveEntry()
502 long LineListBox::GetEntryLine1( sal_uInt16 nPos ) const in GetEntryLine1()
504 ImpLineListData* pData = pLineList->GetObject( nPos ); in GetEntryLine1()
513 long LineListBox::GetEntryLine2( sal_uInt16 nPos ) const in GetEntryLine2()
515 ImpLineListData* pData = pLineList->GetObject( nPos ); in GetEntryLine2()
524 long LineListBox::GetEntryDistance( sal_uInt16 nPos ) const in GetEntryDistance()
526 ImpLineListData* pData = pLineList->GetObject( nPos ); in GetEntryDistance()
992 sal_uInt16 nPos = GetEntryPos( aOldText ); in Fill() local
1101 if ( nPos >= GetEntryCount() ) in Fill()
1104 ComboBox::SetText( GetEntry( nPos ) ); in Fill()
1117 if ( nPos > GetEntryCount() ) in Fill()
1120 ComboBox::SetText( GetEntry( nPos ) ); in Fill()
1282 sal_uInt16 nPos = 0; in Fill() local
1294 ComboBox::InsertEntry( aSizeName, nPos ); in Fill()
1295 ComboBox::SetEntryData( nPos, (void*)(-nSize) ); // mark as special in Fill()
1296 nPos++; in Fill()
1308 ComboBox::InsertEntry( aSizeName, nPos ); in Fill()
1309 ComboBox::SetEntryData( nPos, (void*)(-(*pTempAry)) ); // mark as special in Fill()
1310 nPos++; in Fill()
1321 InsertValue( *pTempAry, FUNIT_NONE, nPos ); in Fill()
1322 ComboBox::SetEntryData( nPos, (void*)(*pTempAry) ); in Fill()
1323 nPos++; in Fill()
1460 sal_Int64 FontSizeBox::GetValue( sal_uInt16 nPos, FieldUnit eOutUnit ) const in GetValue() argument
1464 …l_Int64 nComboVal = static_cast<sal_Int64>(reinterpret_cast<long>(ComboBox::GetEntryData( nPos ))); in GetValue()
1473 sal_Int64 nRetValue = MetricBox::GetValue( nPos, eOutUnit ); in GetValue()