summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmloff/source/text/XMLFootnoteBodyImportContext.cxx11
-rw-r--r--xmloff/source/text/XMLSectionImportContext.cxx7
-rw-r--r--xmloff/source/text/txtimp.cxx10
3 files changed, 16 insertions, 12 deletions
diff --git a/xmloff/source/text/XMLFootnoteBodyImportContext.cxx b/xmloff/source/text/XMLFootnoteBodyImportContext.cxx
index 7fc639ffafac..e306bdaada26 100644
--- a/xmloff/source/text/XMLFootnoteBodyImportContext.cxx
+++ b/xmloff/source/text/XMLFootnoteBodyImportContext.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLFootnoteBodyImportContext.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: mib $ $Date: 2000-10-12 18:09:53 $
+ * last change: $Author: mib $ $Date: 2000-11-17 07:37:42 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -120,9 +120,10 @@ SvXMLImportContext* XMLFootnoteBodyImportContext::CreateChildContext(
// return text context
SvXMLImportContext *pContext =
GetImport().GetTextImport()->CreateTextChildContext(GetImport(),
- nPrefix,
- rLocalName,
- xAttrList);
+ nPrefix,
+ rLocalName,
+ xAttrList,
+ XML_TEXT_TYPE_FOOTNOTE);
if( !pContext )
pContext = new SvXMLImportContext( GetImport(), nPrefix, rLocalName );
diff --git a/xmloff/source/text/XMLSectionImportContext.cxx b/xmloff/source/text/XMLSectionImportContext.cxx
index b6ac5c39efa6..3dec50c1716e 100644
--- a/xmloff/source/text/XMLSectionImportContext.cxx
+++ b/xmloff/source/text/XMLSectionImportContext.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLSectionImportContext.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: dvo $ $Date: 2000-11-14 14:42:50 $
+ * last change: $Author: mib $ $Date: 2000-11-17 07:37:42 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -364,7 +364,8 @@ SvXMLImportContext* XMLSectionImportContext::CreateChildContext(
{
// otherwise: text context
pContext = GetImport().GetTextImport()->CreateTextChildContext(
- GetImport(), nPrefix, rLocalName, xAttrList);
+ GetImport(), nPrefix, rLocalName, xAttrList,
+ XML_TEXT_TYPE_SECTION );
// if that fails, default context
if (NULL == pContext)
diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx
index 57d90058adc7..34acbf28c835 100644
--- a/xmloff/source/text/txtimp.cxx
+++ b/xmloff/source/text/txtimp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: txtimp.cxx,v $
*
- * $Revision: 1.23 $
+ * $Revision: 1.24 $
*
- * last change: $Author: mib $ $Date: 2000-11-15 14:01:55 $
+ * last change: $Author: mib $ $Date: 2000-11-17 07:37:42 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -963,7 +963,8 @@ SvXMLImportContext *XMLTextImportHelper::CreateTextChildContext(
break;
case XML_TOK_TABLE_TABLE:
if( XML_TEXT_TYPE_BODY == eType || XML_TEXT_TYPE_TEXTBOX == eType ||
- XML_TEXT_TYPE_HEADER_FOOTER == eType )
+ XML_TEXT_TYPE_SECTION == eType ||
+ XML_TEXT_TYPE_HEADER_FOOTER == eType )
pContext = CreateTableChildContext( rImport, nPrefix, rLocalName,
xAttrList );
break;
@@ -1040,7 +1041,8 @@ SvXMLImportContext *XMLTextImportHelper::CreateTextChildContext(
case XML_TOK_TEXT_USER_INDEX:
case XML_TOK_TEXT_ALPHABETICAL_INDEX:
case XML_TOK_TEXT_BIBLIOGRAPHY_INDEX:
- pContext = new XMLIndexTOCContext( rImport, nPrefix, rLocalName );
+ if( XML_TEXT_TYPE_SHAPE != eType )
+ pContext = new XMLIndexTOCContext( rImport, nPrefix, rLocalName );
break;
default: