summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-07-26 17:09:20 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-07-26 17:11:56 +0100
commit902276557566bbcbcef7e8de4d119196fdcfa345 (patch)
tree845f8be0300bada6b6e3515326d853648da3939e /include
parent6d21d95f2d24a4f1fd0be5e754953f6cf718e56a (diff)
stash rather arbitrary widget sizes in one place
Change-Id: I26cc3185d6abbce516f7c7d9243962b873587859
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/dialoghelper.hxx4
-rw-r--r--include/svx/dlgctrl.hxx1
2 files changed, 5 insertions, 0 deletions
diff --git a/include/sfx2/dialoghelper.hxx b/include/sfx2/dialoghelper.hxx
index 37cd6bbc98a7..d31a09492ecc 100644
--- a/include/sfx2/dialoghelper.hxx
+++ b/include/sfx2/dialoghelper.hxx
@@ -30,6 +30,10 @@ void SFX2_DLLPUBLIC setPreviewsToSamePlace(Window *pParent, VclBuilderContainer
Size SFX2_DLLPUBLIC getParagraphPreviewOptimalSize(const Window *pReference);
+Size SFX2_DLLPUBLIC getDrawPreviewOptimalSize(const Window *pReference);
+
+Size SFX2_DLLPUBLIC getDrawListBoxOptimalSize(const Window *pReference);
+
OUString SFX2_DLLPUBLIC getWidestTime(const LocaleDataWrapper& rWrapper);
OUString SFX2_DLLPUBLIC formatTime(const DateTime& rDateTime, const LocaleDataWrapper& rWrapper);
diff --git a/include/svx/dlgctrl.hxx b/include/svx/dlgctrl.hxx
index 76f9d2c697c5..210a0e4d0fd5 100644
--- a/include/svx/dlgctrl.hxx
+++ b/include/svx/dlgctrl.hxx
@@ -110,6 +110,7 @@ public:
virtual void StateChanged( StateChangedType nStateChange );
virtual void DataChanged( const DataChangedEvent& rDCEvt );
virtual void Resize();
+ virtual Size GetOptimalSize() const;
void Reset();
RECT_POINT GetActualRP() const;