Lines Matching refs:rFrame
69 …u::AddonMenu( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame ) : in AddonMenu() argument
70 m_xFrame( rFrame ) in AddonMenu()
100 …::AddonPopupMenu( const com::sun::star::uno::Reference< com::sun::star::frame::XFrame >& rFrame ) : in AddonPopupMenu() argument
101 AddonMenu( rFrame ) in AddonPopupMenu()
111 static Reference< XModel > GetModelFromFrame( const Reference< XFrame >& rFrame ) in GetModelFromFrame() argument
115 if ( rFrame.is() ) in GetModelFromFrame()
117 Reference< XController > xController( rFrame->getController(), UNO_QUERY ); in GetModelFromFrame()
138 …enu* AddonMenuManager::CreatePopupMenuType( MenuType eMenuType, const Reference< XFrame >& rFrame ) in CreatePopupMenuType() argument
141 return new AddonMenu( rFrame ); in CreatePopupMenuType()
143 return new AddonPopupMenu( rFrame ); in CreatePopupMenuType()
149 AddonMenu* AddonMenuManager::CreateAddonMenu( const Reference< XFrame >& rFrame ) in CreateAddonMenu() argument
158 pAddonMenu = (AddonMenu *)AddonMenuManager::CreatePopupMenuType( ADDON_MENU, rFrame ); in CreateAddonMenu()
159 Reference< XModel > xModel = GetModelFromFrame( rFrame ); in CreateAddonMenu()
160 …BuildMenu( pAddonMenu, ADDON_MENU, MENU_APPEND, nUniqueMenuId, rAddonMenuEntries, rFrame, xModel ); in CreateAddonMenu()
197 void AddonMenuManager::MergeAddonHelpMenu( const Reference< XFrame >& rFrame, MenuBar* pMergeMenuBa… in MergeAddonHelpMenu() argument
248 Reference< XModel > xModel = GetModelFromFrame( rFrame ); in MergeAddonHelpMenu()
249 …:BuildMenu( pHelpMenu, ADDON_MENU, nInsPos, nUniqueMenuId, rAddonHelpMenuEntries, rFrame, xModel ); in MergeAddonHelpMenu()
269 void AddonMenuManager::MergeAddonPopupMenus( const Reference< XFrame >& rFrame, in MergeAddonPopupMenus() argument
303 …ddonPopupMenu = (AddonPopupMenu *)AddonMenuManager::CreatePopupMenuType( ADDON_POPUPMENU, rFrame ); in MergeAddonPopupMenus()
305 …uildMenu( pAddonPopupMenu, ADDON_MENU, MENU_APPEND, nUniqueMenuId, aAddonSubMenu, rFrame, rModel ); in MergeAddonPopupMenus()
329 const Reference< XFrame >& rFrame, in BuildMenu()
359 pSubMenu = AddonMenuManager::CreatePopupMenuType( nSubMenuType, rFrame ); in BuildMenu()
360 …er::BuildMenu( pSubMenu, nSubMenuType, MENU_APPEND, nUniqueMenuId, aAddonSubMenu, rFrame, rModel ); in BuildMenu()