diff options
author | Szymon Kłos <eszkadev@gmail.com> | 2015-07-07 16:44:59 +0200 |
---|---|---|
committer | Szymon Kłos <eszkadev@gmail.com> | 2015-07-16 09:53:32 +0200 |
commit | ce722af0cce170a2aac3a5e01cd66e6c24fba63c (patch) | |
tree | 4915fbc22ac6ddfd09c2858c3d8653a72f0e6bae /include/sfx2 | |
parent | 1ceb7bc53b347deb93e7cca415b90e71057cfac5 (diff) |
'Save As' popup menu in the Writer's toolbar
Change-Id: I1b1cb7fcd2ae0e0f50e4d8e3900bc416435e60bf
Diffstat (limited to 'include/sfx2')
-rw-r--r-- | include/sfx2/tbxctrl.hxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/sfx2/tbxctrl.hxx b/include/sfx2/tbxctrl.hxx index 49b69bbcfcb5..fe1453a0a28c 100644 --- a/include/sfx2/tbxctrl.hxx +++ b/include/sfx2/tbxctrl.hxx @@ -315,6 +315,21 @@ protected: virtual VclPtr<SfxPopupWindow> CreatePopupWindow() SAL_OVERRIDE; }; +class SfxSaveAsToolBoxControl : public SfxToolBoxControl +{ +public: + // We don't use SFX_DECL_TOOLBOX_CONTROL() here as we need to have this + // RegisterControl() marked as SFX2_DLLPUBLIC + static SfxToolBoxControl* CreateImpl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox &rTbx ); + static void SFX2_DLLPUBLIC RegisterControl(sal_uInt16 nSlotId = 0, SfxModule *pMod=NULL); + + SfxSaveAsToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rBox ); + virtual ~SfxSaveAsToolBoxControl(); + +protected: + virtual VclPtr<SfxPopupWindow> CreatePopupWindow() SAL_OVERRIDE; +}; + class SfxReloadToolBoxControl_Impl : public SfxToolBoxControl { protected: |