diff options
author | Michael Brauer <mib@openoffice.org> | 2002-12-05 08:58:07 +0000 |
---|---|---|
committer | Michael Brauer <mib@openoffice.org> | 2002-12-05 08:58:07 +0000 |
commit | e767bb081eeedaa083418648bcc14fdda810cdba (patch) | |
tree | f3348578b3e50c0f5b7eb5808aed633e2e921e8a /xmloff/source/text/XMLSectionExport.hxx | |
parent | b5ab28614f7a81efffe8c1ddc6f89b7f7a5f4604 (diff) |
#100400#: export dummy headings to keep chapter numbering in master docs
Diffstat (limited to 'xmloff/source/text/XMLSectionExport.hxx')
-rw-r--r-- | xmloff/source/text/XMLSectionExport.hxx | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/xmloff/source/text/XMLSectionExport.hxx b/xmloff/source/text/XMLSectionExport.hxx index e32c70cdca37..865ac58d2571 100644 --- a/xmloff/source/text/XMLSectionExport.hxx +++ b/xmloff/source/text/XMLSectionExport.hxx @@ -2,9 +2,9 @@ * * $RCSfile: XMLSectionExport.hxx,v $ * - * $Revision: 1.18 $ + * $Revision: 1.19 $ * - * last change: $Author: dvo $ $Date: 2002-10-08 14:05:02 $ + * last change: $Author: mib $ $Date: 2002-12-05 09:58:07 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -182,12 +182,15 @@ class XMLSectionExport const ::rtl::OUString sUserIndexName; const ::rtl::OUString sIsCurrentlyVisible; + const ::rtl::OUString sHeadingStyleName; const ::rtl::OUString sEmpty; SvXMLExport& rExport; XMLTextParagraphExport& rParaExport; + sal_Bool bHeadingDummiesExported; + public: XMLSectionExport(SvXMLExport& rExp, XMLTextParagraphExport& rParaExp); @@ -248,6 +251,14 @@ public: */ static void ExportBibliographyConfiguration(SvXMLExport& rExport); + /** export a heading for every level. This is used by master documents + * to not loose the heading information if master documents are exported + * without section contents + */ + void ExportMasterDocHeadingDummies(); + + + protected: inline SvXMLExport& GetExport() { return rExport; } @@ -305,7 +316,6 @@ protected: const ::com::sun::star::uno::Reference < ::com::sun::star::beans::XPropertySet > & rIndex); - // helper methods: /** |