Lines Matching refs:m_xPopupMenu
181 sal_uInt16 nItemId = m_xPopupMenu->getItemCount()+1; in addCommand()
196 m_xPopupMenu->enableItem( nItemId, sal_False ); in addCommand()
467 sal_uInt16 nItemCount = m_xPopupMenu->getItemCount(); in fillPopupMenu()
468 …m_xPopupMenu->insertItem( nIndex, aSortedTbs[i].aUIName, css::awt::MenuItemStyle::CHECKABLE, nItem… in fillPopupMenu()
470 m_xPopupMenu->checkItem( nIndex, sal_True ); in fillPopupMenu()
474 … VCLXPopupMenu* pXPopupMenu = (VCLXPopupMenu *)VCLXMenu::GetImplementation( m_xPopupMenu ); in fillPopupMenu()
503 …addCommand( m_xPopupMenu, rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( CMD_HYPERLINKBAR )), aEmptyS… in fillPopupMenu()
506 …addCommand( m_xPopupMenu, rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( CMD_COLORBAR )), aEmptyStrin… in fillPopupMenu()
508 …addCommand( m_xPopupMenu, rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( CMD_INPUTLINEBAR )), aEmptyS… in fillPopupMenu()
510 …addCommand( m_xPopupMenu, rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( CMD_FORMULABAR )), aEmptyStr… in fillPopupMenu()
527 if ( m_xPopupMenu->getItemCount() > 0 ) in fillPopupMenu()
529 sal_uInt16 nItemCount = m_xPopupMenu->getItemCount(); in fillPopupMenu()
530 m_xPopupMenu->insertSeparator( nItemCount+1 ); in fillPopupMenu()
533 addCommand( m_xPopupMenu, aConfigureToolbar, aEmptyString ); in fillPopupMenu()
540 if ( m_xPopupMenu->getItemCount() > 0 ) in fillPopupMenu()
542 sal_uInt16 nItemCount = m_xPopupMenu->getItemCount(); in fillPopupMenu()
543 m_xPopupMenu->insertSeparator( nItemCount+1 ); in fillPopupMenu()
549 addCommand( m_xPopupMenu, aRestoreCmd, aLabelStr ); in fillPopupMenu()
565 if ( m_xPopupMenu.is() ) in disposing()
566 …m_xPopupMenu->removeMenuListener( Reference< css::awt::XMenuListener >(( OWeakObject *)this, UNO_Q… in disposing()
567 m_xPopupMenu.clear(); in disposing()
580 Reference< css::awt::XPopupMenu > xPopupMenu( m_xPopupMenu ); in statusChanged()
629 xPopupMenu = m_xPopupMenu; in itemSelected()
788 fillPopupMenu( m_xPopupMenu ); in itemActivated()
828 if ( m_xFrame.is() && !m_xPopupMenu.is() ) in setPopupMenu()
833 m_xPopupMenu = xPopupMenu; in setPopupMenu()
834 …m_xPopupMenu->addMenuListener( Reference< css::awt::XMenuListener >( (OWeakObject*)this, UNO_QUERY… in setPopupMenu()
835 fillPopupMenu( m_xPopupMenu ); in setPopupMenu()