Lines Matching refs:nId
164 sal_uInt16 nId = SID_VERB_START + nr++; in InsertVerbs_Impl() local
165 DBG_ASSERT(nId <= SID_VERB_END, "Zuviele Verben!"); in InsertVerbs_Impl()
166 if ( nId > SID_VERB_END ) in InsertVerbs_Impl()
170 pMenu->InsertItem( nId, aVerbs[n].VerbName ); in InsertVerbs_Impl()
240 const sal_uInt16 nId = i + 1; in InsertThesaurusSubmenu_Impl() local
243 pThesSubMenu->InsertItem( nId, aItemText ); in InsertThesaurusSubmenu_Impl()
246 pThesSubMenu->SetItemCommand( nId, aCmd ); in InsertThesaurusSubmenu_Impl()
249 pThesSubMenu->SetItemImage( nId, aImage ); in InsertThesaurusSubmenu_Impl()
298 sal_uInt16 nId = pSVMenu->GetItemId( n ); in UseDefault() local
299 if ( nId == SID_COPY || nId == SID_CUT || nId == SID_PASTE ) in UseDefault()
310 sal_uInt16 nId = aPop.GetItemId( n ); in UseDefault() local
311 pSVMenu->InsertItem( nId, aPop.GetItemText( nId ), aPop.GetItemBits( nId ) ); in UseDefault()
334 sal_uInt16 nId = (sal_uInt16) pSelMenu->GetCurItemId(); in IMPL_LINK() local
335 String aCommand = pSelMenu->GetItemCommand( nId ); in IMPL_LINK()
338 …SfxSlot* pSlot = SfxSlotPool::GetSlotPool( pBindings->GetDispatcher()->GetFrame() ).GetSlot( nId ); in IMPL_LINK()
350 else if ( pBindings->IsBound(nId) ) in IMPL_LINK()
352 pBindings->Execute( nId ); in IMPL_LINK()
355 pBindings->GetDispatcher_Impl()->Execute( nId ); in IMPL_LINK()
432 sal_uInt16 nId = pPopMenu->Execute( pWindow, rPoint ); in IMPL_LINK_INLINE_END() local
435 if ( nId ) in IMPL_LINK_INLINE_END()
436 GetBindings().GetDispatcher()->_Execute( nId, SFX_CALLMODE_RECORD, pArgs, pArg1 ); in IMPL_LINK_INLINE_END()
438 return nId; in IMPL_LINK_INLINE_END()
482 void SfxPopupMenuManager::InsertItem( sal_uInt16 nId, const String& rName, MenuItemBits nBits, cons… in InsertItem() argument
484 pSVMenu->InsertItem( nId, rName, nBits,nPos ); in InsertItem()
485 pSVMenu->SetHelpId( nId, rHelpId ); in InsertItem()
490 void SfxPopupMenuManager::RemoveItem( sal_uInt16 nId ) in RemoveItem() argument
492 pSVMenu->RemoveItem( nId ); in RemoveItem()
497 void SfxPopupMenuManager::CheckItem( sal_uInt16 nId, sal_Bool bCheck ) in CheckItem() argument
499 pSVMenu->CheckItem( nId, bCheck ); in CheckItem()
531 sal_uInt16 nId = pSVMenu->GetItemId( n ); in Popup() local
532 if ( nId == SID_COPY || nId == SID_CUT || nId == SID_PASTE ) in Popup()
547 sal_uInt16 nId = aPop.GetItemId( n ); in Popup() local
548 pSVMenu->InsertItem( nId, aPop.GetItemText( nId ), aPop.GetItemBits( nId ) ); in Popup()
549 pSVMenu->SetHelpId( nId, aPop.GetHelpId( nId )); in Popup()
583 sal_uInt16 nId = pSVMenu->GetItemId( n ); in ExecutePopup() local
584 if ( nId == SID_COPY || nId == SID_CUT || nId == SID_PASTE ) in ExecutePopup()
597 sal_uInt16 nId = aPop.GetItemId( n ); in ExecutePopup() local
598 pSVMenu->InsertItem( nId, aPop.GetItemText( nId ), aPop.GetItemBits( nId ) ); in ExecutePopup()
599 pSVMenu->SetHelpId( nId, aPop.GetHelpId( nId )); in ExecutePopup()