summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLSectionExport.hxx
diff options
context:
space:
mode:
authorDaniel Vogelheim <dvo@openoffice.org>2000-11-30 15:46:20 +0000
committerDaniel Vogelheim <dvo@openoffice.org>2000-11-30 15:46:20 +0000
commitbcea88902c6dd5a3bb22e4aca38e80ddcb682201 (patch)
tree2e393698a8c49f277303f9ee163fbacb76d839f1 /xmloff/source/text/XMLSectionExport.hxx
parent3607349697b2c6033b864bf7abf9cf70892f5eec (diff)
#80616#
- added: bibliography field im-/export - fixed: im-/export of indices - added: im-/export of index marks
Diffstat (limited to 'xmloff/source/text/XMLSectionExport.hxx')
-rw-r--r--xmloff/source/text/XMLSectionExport.hxx39
1 files changed, 20 insertions, 19 deletions
diff --git a/xmloff/source/text/XMLSectionExport.hxx b/xmloff/source/text/XMLSectionExport.hxx
index 70086fdf2534..0c756e22b3d0 100644
--- a/xmloff/source/text/XMLSectionExport.hxx
+++ b/xmloff/source/text/XMLSectionExport.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLSectionExport.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: dvo $ $Date: 2000-11-21 11:53:19 $
+ * last change: $Author: dvo $ $Date: 2000-11-30 16:46:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -166,6 +166,8 @@ class XMLSectionExport
const ::rtl::OUString sIsAutomaticUpdate;
const ::rtl::OUString sIsRelativeTabstops;
const ::rtl::OUString sCreateFromLevelParagraphStyles;
+ const ::rtl::OUString sDocumentIndex;
+ const ::rtl::OUString sContentSection;
const ::rtl::OUString sTableOfContent;
const ::rtl::OUString sIllustrationIndex;
@@ -174,6 +176,7 @@ class XMLSectionExport
const ::rtl::OUString sObjectIndex;
const ::rtl::OUString sBibliography;
const ::rtl::OUString sUserIndex;
+ const ::rtl::OUString sIndexBody;
const ::rtl::OUString sEmpty;
@@ -202,23 +205,6 @@ public:
::com::sun::star::text::XTextSection > & rSection,
sal_Bool bAutoStyles);
- /**
- * export an index start element. This method should eventually be replaced
- * by calls to ExportSectionStart. Also handle section styles.
- *
- * @deprecated Once the API allows to recognize an index section
- * as index, this method should be removed.
- */
- void ExportIndexStart(
- const ::com::sun::star::uno::Reference <
- ::com::sun::star::text::XDocumentIndex > & rSection,
- sal_Bool bAutoStyles);
-
- /** @deprecated see ExportIndexStart */
- void ExportIndexEnd(
- const ::com::sun::star::uno::Reference <
- ::com::sun::star::text::XDocumentIndex > & rSection,
- sal_Bool bAutoStyles);
protected:
@@ -227,6 +213,11 @@ protected:
// export methods for section and index start:
+ /// export an index start element. This method is to be called
+ void ExportIndexStart(
+ const ::com::sun::star::uno::Reference <
+ ::com::sun::star::text::XDocumentIndex > & rSection);
+
/// export a proper section (and source elements)
void ExportRegularSectionStart(
const ::com::sun::star::uno::Reference <
@@ -270,6 +261,16 @@ protected:
// helper methods:
+ /**
+ * If this section is an index, return the index; else return an
+ * empty reference.
+ */
+ void GetIndex(
+ const ::com::sun::star::uno::Reference <
+ ::com::sun::star::text::XTextSection > & rSection,
+ ::com::sun::star::uno::Reference <
+ ::com::sun::star::text::XDocumentIndex > & rIndex);
+
/// map service name to section type
enum SectionTypeEnum MapSectionType(const ::rtl::OUString& rSectionName);