Home
last modified time | relevance | path

Searched refs:nSelPos (Results 1 – 25 of 39) sorted by relevance

12

/trunk/main/svx/source/items/
H A Dnumfmtsh.cxx605 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 …]
/trunk/main/sw/source/ui/fldui/
H A Dfldfunc.cxx481 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 Dfldvar.cxx248 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 Dflddinf.cxx418 sal_uInt16 nSelPos = USHRT_MAX; in FillSelectionLB() local
439 nSelPos = nPos; in FillSelectionLB()
448 aSelectionLB.SelectEntryPos(nSelPos == USHRT_MAX ? 0 : nSelPos); in FillSelectionLB()
/trunk/main/cui/source/options/
H A Dfontsubs.cxx491 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 Doptfltr.cxx409 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()
/trunk/main/formula/source/ui/dlg/
H A Dfuncpage.cxx134 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()
/trunk/main/basctl/source/basicide/
H A Dbasicbox.cxx325 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()
/trunk/main/svx/inc/svx/
H A Dnumfmtsh.hxx241 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);
/trunk/main/sc/source/ui/formdlg/
H A Ddwfunctr.cxx221 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()
/trunk/main/cui/source/tabpages/
H A Dnumfmt.cxx1358 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 Dbackgrnd.cxx1665 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 Dchardlg.cxx1495 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 Dautocdlg.cxx174 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()
/trunk/main/sc/source/ui/pagedlg/
H A Dareasdlg.cxx608 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()
/trunk/main/sw/source/ui/misc/
H A Dnumberingtypelistbox.cxx155 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 Dinsrule.cxx63 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()
/trunk/main/sc/source/ui/miscdlgs/
H A Dmvtabdlg.cxx122 sal_uInt16 nSelPos = 0; in InitDocListBox() local
135 nSelPos = i; in InitDocListBox()
147 aLbDoc.SelectEntryPos( nSelPos ); in InitDocListBox()
/trunk/main/sc/source/ui/optdlg/
H A Dtpview.cxx277 sal_uInt16 nSelPos = pLb->GetSelectEntryPos(); in IMPL_LINK() local
278 ScVObjMode eMode = ScVObjMode(nSelPos); in IMPL_LINK()
384 sal_uInt16 nSelPos = aColorLB.GetEntryPos( aCol ); in InitGridOpt() local
386 if ( LISTBOX_ENTRY_NOTFOUND != nSelPos ) in InitGridOpt()
387 aColorLB.SelectEntryPos( nSelPos ); in InitGridOpt()
/trunk/main/sc/source/ui/dbgui/
H A Dconsdlg.cxx549 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 Dfoptmgr.cxx262 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 Dsfiltdlg.cxx482 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 Dpvlaydlg.cxx892 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()
/trunk/main/sw/source/ui/inc/
H A Dinsrule.hxx42 sal_uInt16 nSelPos; member in SwInsertGrfRulerDlg
55 sal_Bool IsSimpleLine() {return nSelPos == 1;} in IsSimpleLine()
/trunk/main/sc/source/ui/view/
H A Dgridwin.cxx702 if ( nSelPos == LISTBOX_ENTRY_NOTFOUND ) in LaunchPageFieldMenu()
708 if ( nSelPos != LISTBOX_ENTRY_NOTFOUND ) in LaunchPageFieldMenu()
709 pFilterBox->SelectEntryPos( nSelPos ); in LaunchPageFieldMenu()
1092 nSelPos = SC_AUTOFILTER_TOP10; in DoAutoFilterMenue()
1094 nSelPos = SC_AUTOFILTER_CUSTOM; in DoAutoFilterMenue()
1099 nSelPos = SC_AUTOFILTER_CUSTOM; in DoAutoFilterMenue()
1128 nSelPos = nStrIndex; in DoAutoFilterMenue()
1136 nSelPos = i; in DoAutoFilterMenue()
1146 nSelPos = 0; in DoAutoFilterMenue()
1162 if ( LISTBOX_ENTRY_NOTFOUND != nSelPos ) in DoAutoFilterMenue()
[all …]

Completed in 142 milliseconds

12