Lines Matching refs:pSVMenu

196 PopupMenu* InsertThesaurusSubmenu_Impl( SfxBindings* pBindings, Menu* pSVMenu )  in InsertThesaurusSubmenu_Impl()  argument
262 pSVMenu->InsertSeparator(); in InsertThesaurusSubmenu_Impl()
264 pSVMenu->InsertItem( SID_THES, sSynonyms ); in InsertThesaurusSubmenu_Impl()
265 pSVMenu->SetPopupMenu( SID_THES, pThesSubMenu ); in InsertThesaurusSubmenu_Impl()
290 Menu *pSVMenu = new PopupMenu( aResId ); in UseDefault() local
295 sal_uInt16 n, nCount = pSVMenu->GetItemCount(); in UseDefault()
298 sal_uInt16 nId = pSVMenu->GetItemId( n ); in UseDefault()
307 pSVMenu->InsertSeparator(); in UseDefault()
311 pSVMenu->InsertItem( nId, aPop.GetItemText( nId ), aPop.GetItemBits( nId ) ); in UseDefault()
316 pVMenu = new SfxVirtualMenu( pSVMenu, sal_False, *pBindings, sal_True, sal_True ); in UseDefault()
362 void SfxMenuManager::Construct_Impl( Menu* pSVMenu, sal_Bool bWithHelp ) in Construct_Impl() argument
372 TryToHideDisabledEntries_Impl( pSVMenu ); in Construct_Impl()
373 SfxVirtualMenu *pVMenu = new SfxVirtualMenu( pSVMenu, bWithHelp, *pBindings, sal_True ); in Construct_Impl()
388 , pSVMenu( NULL ) in SfxPopupMenuManager()
401 if ( pSVMenu ) in RemoveDisabledEntries()
402 TryToHideDisabledEntries_Impl( pSVMenu ); in RemoveDisabledEntries()
459 pSVMenu = new PopupMenu( aResId ); in StartInsert()
460 TryToHideDisabledEntries_Impl( pSVMenu ); in StartInsert()
468 pMenu = new SfxVirtualMenu( pSVMenu, sal_False, *pBindings, sal_True, sal_True ); in EndInsert()
477 pSVMenu->InsertSeparator( nPos ); in InsertSeparator()
484 pSVMenu->InsertItem( nId, rName, nBits,nPos ); in InsertItem()
485 pSVMenu->SetHelpId( nId, rHelpId ); in InsertItem()
492 pSVMenu->RemoveItem( nId ); in RemoveItem()
499 pSVMenu->CheckItem( nId, bCheck ); in CheckItem()
521 , pSVMenu( pMenuArg ) in SfxPopupMenuManager()
527 PopupMenu *pSVMenu = new PopupMenu( rResId ); in Popup() local
528 sal_uInt16 n, nCount = pSVMenu->GetItemCount(); in Popup()
531 sal_uInt16 nId = pSVMenu->GetItemId( n ); in Popup()
536 PopupMenu* pThesSubMenu = InsertThesaurusSubmenu_Impl( &pFrame->GetBindings(), pSVMenu ); in Popup()
544 pSVMenu->InsertSeparator(); in Popup()
548 pSVMenu->InsertItem( nId, aPop.GetItemText( nId ), aPop.GetItemBits( nId ) ); in Popup()
549 pSVMenu->SetHelpId( nId, aPop.GetHelpId( nId )); in Popup()
553 InsertVerbs_Impl( &pFrame->GetBindings(), pFrame->GetViewShell()->GetVerbs(), pSVMenu ); in Popup()
560 …if ( pFrame->GetViewShell()->TryContextMenuInterception( *pSVMenu, sDummyMenuName, pMenu, aEvent )… in Popup()
564 delete pSVMenu; in Popup()
565 pSVMenu = (PopupMenu*) pMenu; in Popup()
568 SfxPopupMenuManager* aMgr = new SfxPopupMenuManager( pSVMenu, pFrame->GetBindings()); in Popup()
579 PopupMenu *pSVMenu = new PopupMenu( rResId ); in ExecutePopup() local
580 sal_uInt16 n, nCount = pSVMenu->GetItemCount(); in ExecutePopup()
583 sal_uInt16 nId = pSVMenu->GetItemId( n ); in ExecutePopup()
588 PopupMenu* pThesSubMenu = InsertThesaurusSubmenu_Impl( &pFrame->GetBindings(), pSVMenu ); in ExecutePopup()
594 pSVMenu->InsertSeparator(); in ExecutePopup()
598 pSVMenu->InsertItem( nId, aPop.GetItemText( nId ), aPop.GetItemBits( nId ) ); in ExecutePopup()
599 pSVMenu->SetHelpId( nId, aPop.GetHelpId( nId )); in ExecutePopup()
603 InsertVerbs_Impl( &pFrame->GetBindings(), pFrame->GetViewShell()->GetVerbs(), pSVMenu ); in ExecutePopup()
610 …if ( pFrame->GetViewShell()->TryContextMenuInterception( *pSVMenu, sDummyMenuName, pMenu, aEvent )… in ExecutePopup()
614 delete pSVMenu; in ExecutePopup()
615 pSVMenu = (PopupMenu*) pMenu; in ExecutePopup()
618 SfxPopupMenuManager aPop( pSVMenu, pFrame->GetBindings() ); in ExecutePopup()