summaryrefslogtreecommitdiff
path: root/sd/source/filter/html/pubdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/filter/html/pubdlg.cxx')
-rw-r--r--sd/source/filter/html/pubdlg.cxx26
1 files changed, 26 insertions, 0 deletions
diff --git a/sd/source/filter/html/pubdlg.cxx b/sd/source/filter/html/pubdlg.cxx
index a926105d31c6..2b913abdc537 100644
--- a/sd/source/filter/html/pubdlg.cxx
+++ b/sd/source/filter/html/pubdlg.cxx
@@ -1586,6 +1586,32 @@ bool SdPublishingDlg::Save()
return( aMedium.GetError() == 0 );
}
+std::vector<OUString> SdPublishingDlg::getAllPageUIXMLDescriptions() const
+{
+ // this dialog has a hard number of pages
+ std::vector<OUString> aRetval;
+
+ for (sal_uInt32 a(0); a < 6; a++)
+ {
+ aRetval.push_back(OUString::number(a));
+ }
+
+ return aRetval;
+}
+
+void SdPublishingDlg::selectPageByUIXMLDescription(const OUString& rUIXMLDescription)
+{
+ // rUIXMLDescription contains one of the values above, make use of it
+ const sal_uInt32 nPage(rUIXMLDescription.toUInt32());
+
+ if (nPage < 6)
+ {
+ aAssistentFunc.GotoPage(nPage + 1);
+
+ // does this already call 'ChangePage()'..? Check!
+ }
+}
+
// SdDesignNameDlg Methods
SdDesignNameDlg::SdDesignNameDlg(vcl::Window* pWindow, const OUString& aName)
: ModalDialog(pWindow, "NameDesignDialog", "modules/sdraw/ui/namedesign.ui")