summaryrefslogtreecommitdiff
path: root/include/sfx2/templdlg.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/sfx2/templdlg.hxx')
-rw-r--r--include/sfx2/templdlg.hxx30
1 files changed, 5 insertions, 25 deletions
diff --git a/include/sfx2/templdlg.hxx b/include/sfx2/templdlg.hxx
index 6e6ed778ddb1..91fbb9af50b2 100644
--- a/include/sfx2/templdlg.hxx
+++ b/include/sfx2/templdlg.hxx
@@ -28,36 +28,17 @@
#include <sfx2/childwin.hxx>
#include <sfx2/basedlgs.hxx>
-class SfxTemplateDialog_Impl;
-
-// class SfxTemplateDialog -----------------------------------------------
-class SfxTemplateDialog : public SfxDockingWindow
+namespace SfxTemplate
{
-private:
-friend class SfxTemplateDialog_Impl;
-
- SfxTemplateDialog_Impl* pImpl;
-
- virtual void DataChanged( const DataChangedEvent& _rDCEvt ) SAL_OVERRIDE;
- virtual void Resize() SAL_OVERRIDE;
- virtual SfxChildAlignment CheckAlignment( SfxChildAlignment, SfxChildAlignment ) SAL_OVERRIDE;
- virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE;
-
-public:
- SfxTemplateDialog( SfxBindings*, SfxChildWindow*, vcl::Window* );
- virtual ~SfxTemplateDialog();
-
- virtual void Update();
-
// converts from SFX_STYLE_FAMILY Ids to 1-5
- static sal_uInt16 SFX2_DLLPUBLIC SfxFamilyIdToNId(SfxStyleFamily nFamily);
+ sal_uInt16 SFX2_DLLPUBLIC SfxFamilyIdToNId(SfxStyleFamily nFamily);
// converts from 1-5 to SFX_STYLE_FAMILY Ids
- static SfxStyleFamily SFX2_DLLPUBLIC NIdToSfxFamilyId(sal_uInt16 nId);
-};
+ SfxStyleFamily SFX2_DLLPUBLIC NIdToSfxFamilyId(sal_uInt16 nId);
+}
+class SfxTemplateDialog_Impl;
// class SfxTemplatePanelControl -----------------------------------------
-
class SFX2_DLLPUBLIC SfxTemplatePanelControl : public DockingWindow
{
public:
@@ -76,7 +57,6 @@ private:
SfxBindings* mpBindings;
};
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */