From b60b65295e9857a7cdd3e16ff5ad9667740a9bab Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Fri, 11 Apr 2008 13:09:03 +0000 Subject: INTEGRATION: CWS notes3 (1.2.264); FILE MERGED 2008/03/17 14:26:58 mba 1.2.264.1: #i85834#: allow to change PopupMenu before execution --- sfx2/inc/sfx2/mnumgr.hxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sfx2') diff --git a/sfx2/inc/sfx2/mnumgr.hxx b/sfx2/inc/sfx2/mnumgr.hxx index 47a3be392647..d730d2949388 100644 --- a/sfx2/inc/sfx2/mnumgr.hxx +++ b/sfx2/inc/sfx2/mnumgr.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: mnumgr.hxx,v $ - * $Revision: 1.3 $ + * $Revision: 1.4 $ * * This file is part of OpenOffice.org. * @@ -99,7 +99,7 @@ public: //-------------------------------------------------------------------- -class SfxPopupMenuManager : public SfxMenuManager +class SAL_DLLPUBLIC_EXPORT SfxPopupMenuManager : public SfxMenuManager { private: DECL_LINK( SelectHdl, void * ); @@ -108,7 +108,9 @@ private: public: SfxPopupMenuManager( const ResId&, SfxBindings& ); SfxPopupMenuManager( PopupMenu*, SfxBindings& ); + ~SfxPopupMenuManager(); static void ExecutePopup( const ResId&, SfxViewFrame* pViewFrame, const Point& rPoint, Window* pWindow ); + static SfxPopupMenuManager* Popup( const ResId& rResId, SfxViewFrame* pFrame,const Point& rPoint, Window* pWindow ); USHORT Execute( const Point& rPos, Window *pWindow ); USHORT Execute( const Point& rPoint, Window* pWindow, va_list pArgs, const SfxPoolItem *pArg1 ); @@ -123,6 +125,7 @@ public: void InsertSeparator( USHORT nPos = MENU_APPEND ); void RemoveDisabledEntries(); void AddClipboardFunctions(); + Menu* GetSVMenu(); }; #endif // #ifndef _SFXMNUMGR_HXX -- cgit