/aoo41x/main/svx/source/items/ |
H A D | numfmtsh.cxx | 605 nSelPos=FillEListWithUsD_Impl(rList,nPrivCat,nSelPos); in FillEntryList_Impl() 607 return nSelPos; in FillEntryList_Impl() 624 nSelPos=FillEListWithCurrency_Impl(rList,nSelPos); in FillEListWithStd_Impl() 667 nSelPos=FillEListWithDateTime_Impl(rList,nSelPos); in FillEListWithStd_Impl() 723 return nSelPos; in FillEListWithFormats_Impl() 769 return nSelPos; in FillEListWithDateTime_Impl() 794 nSelPos=FillEListWithSysCurrencys(rList,nSelPos); in FillEListWithCurrency_Impl() 798 nSelPos=FillEListWithUserCurrencys(rList,nSelPos); in FillEListWithCurrency_Impl() 801 return nSelPos; in FillEListWithCurrency_Impl() 899 return nSelPos; in FillEListWithSysCurrencys() [all …]
|
/aoo41x/main/sw/source/ui/fldui/ |
H A D | fldfunc.cxx | 481 aListItemsLB.RemoveEntry(nSelPos); in IMPL_LINK() 482 aListItemsLB.SelectEntryPos(nSelPos ? nSelPos - 1 : 0); in IMPL_LINK() 486 if(nSelPos) in IMPL_LINK() 489 aListItemsLB.RemoveEntry(nSelPos); in IMPL_LINK() 490 nSelPos--; in IMPL_LINK() 491 aListItemsLB.InsertEntry(sEntry, nSelPos); in IMPL_LINK() 492 aListItemsLB.SelectEntryPos(nSelPos); in IMPL_LINK() 497 if(nSelPos < aListItemsLB.GetEntryCount() - 1) in IMPL_LINK() 500 aListItemsLB.RemoveEntry(nSelPos); in IMPL_LINK() 501 nSelPos++; in IMPL_LINK() [all …]
|
H A D | fldvar.cxx | 248 sal_uInt16 nSelPos = aSelectionLB.GetSelectEntryPos(); in IMPL_LINK() local 250 if (nSelPos != LISTBOX_ENTRY_NOTFOUND) in IMPL_LINK() 251 nSelPos = (sal_uInt16)(sal_uLong)aSelectionLB.GetEntryData(nSelPos); in IMPL_LINK() 336 if ( nSelPos != LISTBOX_ENTRY_NOTFOUND ) in IMPL_LINK() 386 if ( nSelPos != LISTBOX_ENTRY_NOTFOUND ) in IMPL_LINK() 421 if ( nSelPos != LISTBOX_ENTRY_NOTFOUND ) in IMPL_LINK() 468 if ( nSelPos != LISTBOX_ENTRY_NOTFOUND ) in IMPL_LINK() 536 if ( nSelPos != 0 && nSelPos != LISTBOX_ENTRY_NOTFOUND ) in IMPL_LINK() 592 nSelPos = aSelectionLB.GetSelectEntryPos(); in IMPL_LINK() 594 if ( nSelPos != LISTBOX_ENTRY_NOTFOUND ) in IMPL_LINK() [all …]
|
H A D | flddinf.cxx | 418 sal_uInt16 nSelPos = USHRT_MAX; in FillSelectionLB() local 439 nSelPos = nPos; in FillSelectionLB() 448 aSelectionLB.SelectEntryPos(nSelPos == USHRT_MAX ? 0 : nSelPos); in FillSelectionLB()
|
/aoo41x/main/cui/source/options/ |
H A D | fontsubs.cxx | 491 sal_uLong nSelPos = GetModel()->GetAbsPos(GetCurEntry()); in KeyInput() local 495 CheckEntryPos( nSelPos, nCol, !IsChecked( nSelPos, nCol ) ); in KeyInput() 496 CallImplEventListeners( VCLEVENT_CHECKBOX_TOGGLE, (void*)GetEntry( nSelPos ) ); in KeyInput() 500 sal_uInt16 nCheck = IsChecked(nSelPos, 1) ? 1 : 0; in KeyInput() 501 if(IsChecked(nSelPos, 0)) in KeyInput() 505 CheckEntryPos(nSelPos, 1, 0 != (nCheck & 1)); in KeyInput() 506 CheckEntryPos(nSelPos, 0, 0 != (nCheck & 2)); in KeyInput()
|
H A D | optfltr.cxx | 409 sal_uLong nSelPos = GetModel()->GetAbsPos(GetCurEntry()); in KeyInput() local 413 SvLBoxEntry* pEntry = GetEntry( nSelPos ); in KeyInput() 415 CheckEntryPos( nSelPos, nCol, !bIsChecked ); in KeyInput() 420 … sal_uInt16 nCheck = GetCheckButtonState( GetEntry(nSelPos), 1 ) == SV_BUTTON_CHECKED ? 1 : 0; in KeyInput() 421 if(GetCheckButtonState( GetEntry(nSelPos), 0 )) in KeyInput() 425 CheckEntryPos(nSelPos, 1, 0 != (nCheck & 1)); in KeyInput() 426 CheckEntryPos(nSelPos, 0, 0 != (nCheck & 2)); in KeyInput()
|
/aoo41x/main/formula/source/ui/dlg/ |
H A D | funcpage.cxx | 134 sal_uInt16 nSelPos = aLbCategory.GetSelectEntryPos(); in UpdateFunctionList() local 135 …tionCategory* pCategory = static_cast<const IFunctionCategory*>(aLbCategory.GetEntryData(nSelPos)); in UpdateFunctionList() 136 sal_uInt16 nCategory = ( LISTBOX_ENTRY_NOTFOUND != nSelPos ) in UpdateFunctionList() 137 ? Lb2Cat( nSelPos ) : 0; in UpdateFunctionList() 145 if ( nSelPos > 0 ) in UpdateFunctionList()
|
/aoo41x/main/svx/inc/svx/ |
H A D | numfmtsh.hxx | 241 SVX_DLLPRIVATE short FillEListWithFormats_Impl( SvStrings& rList,short nSelPos, 245 SVX_DLLPRIVATE short FillEListWithDateTime_Impl( SvStrings& rList,short nSelPos); 247 SVX_DLLPRIVATE short FillEListWithCurrency_Impl( SvStrings& rList,short nSelPos); 248 SVX_DLLPRIVATE short FillEListWithSysCurrencys( SvStrings& rList,short nSelPos); 249 SVX_DLLPRIVATE short FillEListWithUserCurrencys( SvStrings& rList,short nSelPos);
|
/aoo41x/main/basctl/source/basicide/ |
H A D | basicbox.cxx | 325 sal_uInt16 nSelPos = GetSelectEntryPos(); in NotifyIDE() local 326 BasicLibEntry* pEntry = (BasicLibEntry*)GetEntryData( nSelPos ); in NotifyIDE() 434 sal_uInt16 nSelPos = LISTBOX_ENTRY_NOTFOUND; in FillBox() local 450 nSelPos = nPos; in FillBox() 453 if ( nSelPos != LISTBOX_ENTRY_NOTFOUND ) in FillBox() 455 SelectEntryPos( nSelPos ); in FillBox()
|
/aoo41x/main/sc/source/ui/formdlg/ |
H A D | dwfunctr.cxx | 221 sal_uInt16 nSelPos = aCatBox.GetSelectEntryPos(); in InitLRUList() local 223 if(nSelPos == 0) in InitLRUList() 817 sal_uInt16 nSelPos = aCatBox.GetSelectEntryPos(); in UpdateFunctionList() local 818 sal_uInt16 nCategory = ( LISTBOX_ENTRY_NOTFOUND != nSelPos ) in UpdateFunctionList() 819 ? (nSelPos-1) : 0; in UpdateFunctionList() 824 if ( nSelPos > 0 ) in UpdateFunctionList() 1144 sal_uInt16 nSelPos=sal::static_int_cast<sal_uInt16>( aStr.ToInt32() ); in Initialize() local 1145 aCatBox.SelectEntryPos(nSelPos); in Initialize()
|
/aoo41x/main/cui/source/tabpages/ |
H A D | numfmt.cxx | 1358 sal_uInt16 nSelPos = (sal_uInt16) aLbFormat.GetSelectEntryPos(); in IMPL_LINK() local 1363 short nFmtLbSelPos = nSelPos; in IMPL_LINK() 1365 aFormat=pNumFmtShell->GetFormat4Entry(nSelPos); in IMPL_LINK() 1366 aComment=pNumFmtShell->GetComment4Entry(nSelPos); in IMPL_LINK() 1379 ChangePreviewText( nSelPos ); in IMPL_LINK() 1771 sal_uInt16 nSelPos = (sal_uInt16) aLbFormat.GetSelectEntryPos(); in IMPL_LINK() local 1772 pNumFmtShell->SetComment4Entry(nSelPos, in IMPL_LINK() 1883 sal_uInt16 nSelPos=0; in FillCurrencyBox() local 1885 pNumFmtShell->GetCurrencySymbols( aList, &nSelPos); in FillCurrencyBox() 1892 aLbCurrency.SelectEntryPos(nSelPos); in FillCurrencyBox()
|
H A D | backgrnd.cxx | 1665 sal_uInt16 nSelPos = pBox->GetSelectEntryPos(); in IMPL_LINK() local 1666 if( pTableBck_Impl && pTableBck_Impl->nActPos != nSelPos) in IMPL_LINK() 1685 pTableBck_Impl->nActPos = nSelPos; in IMPL_LINK() 1710 switch(nSelPos) in IMPL_LINK() 1744 sal_uInt16 nSelPos = pBox->GetSelectEntryPos(); in IMPL_LINK() local 1745 if( pParaBck_Impl && pParaBck_Impl->nActPos != nSelPos) in IMPL_LINK() 1757 pParaBck_Impl->nActPos = nSelPos; in IMPL_LINK() 1781 switch(nSelPos) in IMPL_LINK()
|
H A D | chardlg.cxx | 1495 sal_uInt16 nSelPos = m_pColorLB->GetEntryPos( aColor ); in ResetColor_Impl() local 1499 if ( LISTBOX_ENTRY_NOTFOUND != nSelPos ) in ResetColor_Impl() 1500 m_pColorLB->SelectEntryPos( nSelPos ); in ResetColor_Impl() 1503 nSelPos = m_pColorLB->GetEntryPos( aColor ); in ResetColor_Impl() 1504 if ( LISTBOX_ENTRY_NOTFOUND != nSelPos ) in ResetColor_Impl() 1505 m_pColorLB->SelectEntryPos( nSelPos ); in ResetColor_Impl() 1990 if ( LISTBOX_ENTRY_NOTFOUND != nSelPos ) in ResetColor_Impl() 1991 m_aFontColorLB.SelectEntryPos( nSelPos ); in ResetColor_Impl() 1994 nSelPos = m_aFontColorLB.GetEntryPos( aColor ); in ResetColor_Impl() 1995 if ( LISTBOX_ENTRY_NOTFOUND != nSelPos ) in ResetColor_Impl() [all …]
|
H A D | autocdlg.cxx | 174 sal_uInt16 nSelPos = rLB.GetSelectEntryPos(); in lcl_FindEntry() local 184 if(LISTBOX_ENTRY_NOTFOUND != nSelPos) in lcl_FindEntry() 185 rLB.SelectEntryPos(nSelPos, sal_False); in lcl_FindEntry() 933 sal_uLong nSelPos = GetSelectEntryPos(); in KeyInput() local 937 CheckEntryPos( nSelPos, nCol, !IsChecked( nSelPos, nCol ) ); in KeyInput() 938 CallImplEventListeners( VCLEVENT_CHECKBOX_TOGGLE, (void*)GetEntry( nSelPos ) ); in KeyInput() 942 sal_uInt16 nCheck = IsChecked(nSelPos, 1) ? 1 : 0; in KeyInput() 943 if(IsChecked(nSelPos, 0)) in KeyInput() 947 CheckEntryPos(nSelPos, 1, 0 != (nCheck & 1)); in KeyInput() 948 CheckEntryPos(nSelPos, 0, 0 != (nCheck & 2)); in KeyInput()
|
/aoo41x/main/sc/source/ui/pagedlg/ |
H A D | areasdlg.cxx | 608 sal_uInt16 nSelPos = pLb->GetSelectEntryPos(); in IMPL_LINK() local 632 if( (nSelPos == 0) || (nSelPos == nAllSheetPos) ) in IMPL_LINK() 634 else if( nSelPos == nUserDefPos && !pLb->IsTravelSelect() && pEd->GetText().Len() == 0 ) in IMPL_LINK() 636 else if( nSelPos >= nFirstCustomPos ) in IMPL_LINK() 637 pEd->SetText( *static_cast< String* >( pLb->GetEntryData( nSelPos ) ) ); in IMPL_LINK()
|
/aoo41x/main/sw/source/ui/misc/ |
H A D | numberingtypelistbox.cxx | 155 sal_uInt16 nSelPos = GetSelectEntryPos(); in GetSelectedNumberingType() local 156 if(LISTBOX_ENTRY_NOTFOUND != nSelPos) in GetSelectedNumberingType() 157 nRet = (sal_Int16)(sal_uLong)GetEntryData(nSelPos); in GetSelectedNumberingType()
|
H A D | insrule.cxx | 63 nSelPos(USHRT_MAX), in SwInsertGrfRulerDlg() 106 sal_uInt16 nSel = nSelPos - 2; //align selection position with ValueSet index in GetGraphicName() 120 nSelPos = pVS->GetSelectItemId(); in IMPL_LINK()
|
/aoo41x/main/sc/source/ui/miscdlgs/ |
H A D | mvtabdlg.cxx | 123 sal_uInt16 nSelPos = 0; in InitDocListBox() local 136 nSelPos = i; in InitDocListBox() 148 aLbDoc.SelectEntryPos( nSelPos ); in InitDocListBox()
|
/aoo41x/main/sc/source/ui/optdlg/ |
H A D | tpview.cxx | 285 sal_uInt16 nSelPos = pLb->GetSelectEntryPos(); in IMPL_LINK() local 286 ScVObjMode eMode = ScVObjMode(nSelPos); in IMPL_LINK() 398 sal_uInt16 nSelPos = aColorLB.GetEntryPos( aCol ); in InitGridOpt() local 400 if ( LISTBOX_ENTRY_NOTFOUND != nSelPos ) in InitGridOpt() 401 aColorLB.SelectEntryPos( nSelPos ); in InitGridOpt()
|
/aoo41x/main/sc/source/ui/dbgui/ |
H A D | consdlg.cxx | 549 sal_uInt16 nSelPos = pLb->GetSelectEntryPos(); in IMPL_LINK() local 552 && (nSelPos > 0) in IMPL_LINK() 556 if ( nSelPos <= nAreaDataCount ) in IMPL_LINK() 558 String aString( pAreaData[nSelPos-1].aStrArea ); in IMPL_LINK()
|
H A D | foptmgr.cxx | 262 sal_uInt16 nSelPos = rLbCopyPos.GetSelectEntryPos(); in IMPL_LINK() local 264 if ( nSelPos > 0 ) in IMPL_LINK() 265 aString = *(String*)rLbCopyPos.GetEntryData( nSelPos ); in IMPL_LINK()
|
H A D | sfiltdlg.cxx | 482 sal_uInt16 nSelPos = aLbFilterArea.GetSelectEntryPos(); in IMPL_LINK() local 484 if ( nSelPos > 0 ) in IMPL_LINK() 485 aString = *(String*)aLbFilterArea.GetEntryData( nSelPos ); in IMPL_LINK()
|
H A D | pvlaydlg.cxx | 892 sal_uInt16 nSelPos = maLbOutPos.GetSelectEntryPos(); in IMPL_LINK() local 893 if( nSelPos > 1 ) in IMPL_LINK() 895 aString = *(String*)maLbOutPos.GetEntryData( nSelPos ); in IMPL_LINK() 900 bool bNewSheet = nSelPos == 1; in IMPL_LINK()
|
/aoo41x/main/sw/source/ui/inc/ |
H A D | insrule.hxx | 42 sal_uInt16 nSelPos; member in SwInsertGrfRulerDlg 55 sal_Bool IsSimpleLine() {return nSelPos == 1;} in IsSimpleLine()
|
/aoo41x/main/sc/source/ui/view/ |
H A D | gridwin.cxx | 700 if ( nSelPos == LISTBOX_ENTRY_NOTFOUND ) in LaunchPageFieldMenu() 706 if ( nSelPos != LISTBOX_ENTRY_NOTFOUND ) in LaunchPageFieldMenu() 707 pFilterBox->SelectEntryPos( nSelPos ); in LaunchPageFieldMenu() 1090 nSelPos = SC_AUTOFILTER_TOP10; in DoAutoFilterMenue() 1092 nSelPos = SC_AUTOFILTER_CUSTOM; in DoAutoFilterMenue() 1097 nSelPos = SC_AUTOFILTER_CUSTOM; in DoAutoFilterMenue() 1126 nSelPos = nStrIndex; in DoAutoFilterMenue() 1134 nSelPos = i; in DoAutoFilterMenue() 1144 nSelPos = 0; in DoAutoFilterMenue() 1160 if ( LISTBOX_ENTRY_NOTFOUND != nSelPos ) in DoAutoFilterMenue() [all …]
|