summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/frmdlg.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/inc/frmdlg.hxx')
-rw-r--r--sw/source/uibase/inc/frmdlg.hxx29
1 files changed, 10 insertions, 19 deletions
diff --git a/sw/source/uibase/inc/frmdlg.hxx b/sw/source/uibase/inc/frmdlg.hxx
index f92a39593f48..ec63b96884a2 100644
--- a/sw/source/uibase/inc/frmdlg.hxx
+++ b/sw/source/uibase/inc/frmdlg.hxx
@@ -22,10 +22,11 @@
#include <globals.hrc>
#include <sfx2/tabdlg.hxx>
+
class SwWrtShell;
// frame dialog
-class SwFrameDlg : public SfxTabDialog
+class SwFrameDlg : public SfxTabDialogController
{
bool const m_bFormat;
bool const m_bNew;
@@ -33,26 +34,16 @@ class SwFrameDlg : public SfxTabDialog
OUString const m_sDlgType;
SwWrtShell* m_pWrtShell;
- sal_uInt16 m_nStdId;
- sal_uInt16 m_nAddId;
- sal_uInt16 m_nWrapId;
- sal_uInt16 m_nColumnId;
- //sal_uInt16 m_nBackgroundId;
- sal_uInt16 m_nAreaId;
- sal_uInt16 m_nTransparenceId;
- sal_uInt16 m_nMacroId;
- sal_uInt16 m_nBorderId;
-
- virtual void PageCreated( sal_uInt16 nId, SfxTabPage &rPage ) override;
+ virtual void PageCreated(const OString& rId, SfxTabPage &rPage) override;
public:
- SwFrameDlg( SfxViewFrame const *pFrame, vcl::Window *pParent,
- const SfxItemSet& rCoreSet,
- bool bNewFrame,
- const OUString& sResType,
- bool bFormat,
- const OString& sDefPage = OString(),
- const OUString* pFormatStr = nullptr);
+ SwFrameDlg(SfxViewFrame const *pFrame, weld::Window* pParent,
+ const SfxItemSet& rCoreSet,
+ bool bNewFrame,
+ const OUString& sResType,
+ bool bFormat,
+ const OString& sDefPage = OString(),
+ const OUString* pFormatStr = nullptr);
virtual ~SwFrameDlg() override;