summaryrefslogtreecommitdiff
path: root/include/sfx2/tabdlg.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/sfx2/tabdlg.hxx')
-rw-r--r--include/sfx2/tabdlg.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sfx2/tabdlg.hxx b/include/sfx2/tabdlg.hxx
index ebcaf8c17268..d0c28f1c30f9 100644
--- a/include/sfx2/tabdlg.hxx
+++ b/include/sfx2/tabdlg.hxx
@@ -352,7 +352,9 @@ protected:
}
SfxTabDialog* GetTabDialog() const;
+public:
void SetTabDialog(SfxTabDialog* pDialog);
+protected:
SfxTabDialogController* GetDialogController() const;
void SetDialogController(SfxTabDialogController* pDialog);
@@ -394,6 +396,12 @@ public:
css::uno::Reference< css::frame::XFrame > GetFrame();
OString GetConfigId() const;
+
+ //TODO rename to get_preferred_size when SfxTabPage doesn't inherit from anything
+ Size get_container_size() const
+ {
+ return m_xContainer->get_preferred_size();
+ }
};
#endif