Lines Matching refs:nId

61 BibToolBarListener::BibToolBarListener(BibToolBar *pTB,rtl::OUString aStr,sal_uInt16 nId):  in BibToolBarListener()  argument
62 nIndex(nId), in BibToolBarListener()
98 BibTBListBoxListener::BibTBListBoxListener(BibToolBar *pTB,rtl::OUString aStr,sal_uInt16 nId): in BibTBListBoxListener() argument
99 BibToolBarListener(pTB,aStr,nId) in BibTBListBoxListener()
138 BibTBQueryMenuListener::BibTBQueryMenuListener(BibToolBar *pTB,rtl::OUString aStr,sal_uInt16 nId): in BibTBQueryMenuListener() argument
139 BibToolBarListener(pTB,aStr,nId) in BibTBQueryMenuListener()
176 BibTBEditListener::BibTBEditListener(BibToolBar *pTB,rtl::OUString aStr,sal_uInt16 nId): in BibTBEditListener() argument
177 BibToolBarListener(pTB,aStr,nId) in BibTBEditListener()
290 sal_uInt16 nId=GetItemId(nPos); in InitListener() local
291 if(!nId || nId==TBC_FT_SOURCE || nId==TBC_FT_QUERY) in InitListener()
295 aURL.Complete = GetItemCommand(nId); in InitListener()
302 if(nId==TBC_LB_SOURCE) in InitListener()
304 pListener=new BibTBListBoxListener(this,aURL.Complete,nId); in InitListener()
306 else if(nId==TBC_ED_QUERY) in InitListener()
308 pListener=new BibTBEditListener(this,aURL.Complete,nId); in InitListener()
312 pListener=new BibToolBarListener(this,aURL.Complete,nId); in InitListener()
332 sal_uInt16 nId=GetCurItemId(); in Select() local
334 if(nId!=TBC_BT_AUTOFILTER) in Select()
336 SendDispatch(nId,Sequence<PropertyValue>() ); in Select()
348 SendDispatch(nId,aPropVal); in Select()
352 void BibToolBar::SendDispatch(sal_uInt16 nId, const Sequence< PropertyValue >& rArgs) in SendDispatch() argument
354 rtl::OUString aCommand = GetItemCommand(nId); in SendDispatch()
382 sal_uInt16 nId=GetCurItemId(); in Click() local
384 if(nId == TBC_BT_COL_ASSIGN ) in Click()
388 CheckItem( nId, sal_False ); in Click()
390 else if(nId == TBC_BT_CHANGESOURCE) in Click()
398 CheckItem( nId, sal_False ); in Click()
414 void BibToolBar::SelectFilterItem(sal_uInt16 nId) in SelectFilterItem() argument
416 aPopupMenu.CheckItem(nId); in SelectFilterItem()
417 nSelMenuItem=nId; in SelectFilterItem()
418 aQueryField = MnemonicGenerator::EraseAllMnemonicChars( aPopupMenu.GetItemText(nId) ); in SelectFilterItem()
509 sal_uInt16 nId=GetCurItemId(); variable
510 if(nId==TBC_BT_AUTOFILTER)
515 nId = aPopupMenu.Execute(this, GetItemRect(TBC_BT_AUTOFILTER));
518 if(nId>0)
521 aPopupMenu.CheckItem(nId);
522 nSelMenuItem=nId;
523 aQueryField = MnemonicGenerator::EraseAllMnemonicChars( aPopupMenu.GetItemText(nId) );