summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLSectionExport.hxx
diff options
context:
space:
mode:
authorDaniel Vogelheim <dvo@openoffice.org>2001-02-20 12:49:46 +0000
committerDaniel Vogelheim <dvo@openoffice.org>2001-02-20 12:49:46 +0000
commit3561aecb4a2f7c846f5f010cefb8c5bc6a37fec2 (patch)
tree88749fcbc58b42ea1aa4dcf605a21fc837684ac4 /xmloff/source/text/XMLSectionExport.hxx
parentc55a423975ea4d7499dd86dd2a7d772b61fb88ff (diff)
- fixed: saving of sections in global documents now works properly
Diffstat (limited to 'xmloff/source/text/XMLSectionExport.hxx')
-rw-r--r--xmloff/source/text/XMLSectionExport.hxx19
1 files changed, 17 insertions, 2 deletions
diff --git a/xmloff/source/text/XMLSectionExport.hxx b/xmloff/source/text/XMLSectionExport.hxx
index 373985dc25b6..282557c921ab 100644
--- a/xmloff/source/text/XMLSectionExport.hxx
+++ b/xmloff/source/text/XMLSectionExport.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLSectionExport.hxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: dvo $ $Date: 2001-02-13 16:55:00 $
+ * last change: $Author: dvo $ $Date: 2001-02-20 13:49:46 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -181,6 +181,9 @@ class XMLSectionExport
const ::rtl::OUString sIndexBody;
const ::rtl::OUString sIndexTitle;
+ const ::rtl::OUString sTextSection;
+ const ::rtl::OUString sIsGlobalDocumentSection;
+
const ::rtl::OUString sEmpty;
SvXMLExport& rExport;
@@ -227,6 +230,18 @@ public:
sal_Bool bDefault);
/**
+ * Determine whether rContent is contained in rEnclosingSection. If the
+ * current section of rContent can not be determined, return bDefault.
+ */
+ sal_Bool IsInSection(
+ const ::com::sun::star::uno::Reference <
+ ::com::sun::star::text::XTextSection > & rEnclosingSection,
+ const ::com::sun::star::uno::Reference <
+ ::com::sun::star::text::XTextContent > & rContent,
+ /// return value if this content doesn't support the section property
+ sal_Bool bDefault);
+
+ /**
* Export the configuration element for bibliography indices.
*
* (This is part of XMLSectionExport because all section- and