Lines Matching refs:aMenu
1367 PopupMenu aMenu( SfxResId( MENU_HELP_BOOKMARKS ) ); in Notify() local
1368 sal_uInt16 nId = aMenu.Execute( this, pCEvt->GetMousePosPixel() ); in Notify()
2587 PopupMenu aMenu; in PreNotify() local
2589 aMenu.InsertItem( TBI_INDEX, aIndexOffText, Image( SfxResId( in PreNotify()
2592 aMenu.InsertItem( TBI_INDEX, aIndexOnText, Image( SfxResId( in PreNotify()
2594 aMenu.SetHelpId( TBI_INDEX, HID_HELP_TOOLBOXITEM_INDEX ); in PreNotify()
2595 aMenu.InsertSeparator(); in PreNotify()
2596 aMenu.InsertItem( TBI_BACKWARD, String( SfxResId( STR_HELP_BUTTON_PREV ) ), in PreNotify()
2598 aMenu.SetHelpId( TBI_BACKWARD, HID_HELP_TOOLBOXITEM_BACKWARD ); in PreNotify()
2599 aMenu.EnableItem( TBI_BACKWARD, pHelpWin->HasHistoryPredecessor() ); in PreNotify()
2600 aMenu.InsertItem( TBI_FORWARD, String( SfxResId( STR_HELP_BUTTON_NEXT ) ), in PreNotify()
2602 aMenu.SetHelpId( TBI_FORWARD, HID_HELP_TOOLBOXITEM_FORWARD ); in PreNotify()
2603 aMenu.EnableItem( TBI_FORWARD, pHelpWin->HasHistorySuccessor() ); in PreNotify()
2604 aMenu.InsertItem( TBI_START, String( SfxResId( STR_HELP_BUTTON_START ) ), in PreNotify()
2606 aMenu.SetHelpId( TBI_START, HID_HELP_TOOLBOXITEM_START ); in PreNotify()
2607 aMenu.InsertSeparator(); in PreNotify()
2608 aMenu.InsertItem( TBI_PRINT, String( SfxResId( STR_HELP_BUTTON_PRINT ) ), in PreNotify()
2610 aMenu.SetHelpId( TBI_PRINT, HID_HELP_TOOLBOXITEM_PRINT ); in PreNotify()
2611 aMenu.InsertItem( TBI_BOOKMARKS, String( SfxResId( STR_HELP_BUTTON_ADDBOOKMARK ) ), in PreNotify()
2613 aMenu.SetHelpId( TBI_BOOKMARKS, HID_HELP_TOOLBOXITEM_BOOKMARKS ); in PreNotify()
2614 aMenu.InsertItem( TBI_SEARCHDIALOG, String( SfxResId( STR_HELP_BUTTON_SEARCHDIALOG ) ), in PreNotify()
2616 aMenu.SetHelpId( TBI_SEARCHDIALOG, HID_HELP_TOOLBOXITEM_SEARCHDIALOG ); in PreNotify()
2617 aMenu.InsertSeparator(); in PreNotify()
2618 … aMenu.InsertItem( TBI_SELECTIONMODE, String( SfxResId( STR_HELP_MENU_TEXT_SELECTION_MODE ) ) ); in PreNotify()
2619 aMenu.SetHelpId( TBI_SELECTIONMODE, HID_HELP_TEXT_SELECTION_MODE ); in PreNotify()
2634 aMenu.CheckItem(TBI_SELECTIONMODE, bCheck); in PreNotify()
2636 aMenu.InsertSeparator(); in PreNotify()
2637 aMenu.InsertItem( TBI_COPY, String( SfxResId( STR_HELP_MENU_TEXT_COPY ) ), in PreNotify()
2639 aMenu.SetHelpId( TBI_COPY, ".uno:Copy" ); in PreNotify()
2640 aMenu.EnableItem( TBI_COPY, HasSelection() ); in PreNotify()
2644 aMenu.InsertSeparator(); in PreNotify()
2645 aMenu.InsertItem( TBI_SOURCEVIEW, String( SfxResId( STR_HELP_BUTTON_SOURCEVIEW ) ) ); in PreNotify()
2649 aMenu.SetMenuFlags( aMenu.GetMenuFlags() | MENU_FLAG_HIDEDISABLEDENTRIES ); in PreNotify()
2651 sal_uInt16 nId = aMenu.Execute( this, aPos ); in PreNotify()