summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2005-11-14 08:10:19 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2005-11-14 08:10:19 +0000
commit274967f9071813672f29d35cd826292d8d6308a4 (patch)
treefe7bdb35d07596b74e93f728cf55ebe859af05ed /xmloff
parent57b090eb7cc29dd0fa6357f91624a9aa179cc2a3 (diff)
INTEGRATION: CWS knumber (1.117.40); FILE MERGED
2005/11/14 08:58:52 flr 1.117.40.1: #i52127# implement first step of numbered-paragraph
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/txtimp.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx
index 7c16e61a69..4cd8f59383 100644
--- a/xmloff/source/text/txtimp.cxx
+++ b/xmloff/source/text/txtimp.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: txtimp.cxx,v $
*
- * $Revision: 1.118 $
+ * $Revision: 1.119 $
*
- * last change: $Author: rt $ $Date: 2005-11-08 17:05:54 $
+ * last change: $Author: rt $ $Date: 2005-11-14 09:10:19 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -238,6 +238,9 @@ static __FAR_DATA SvXMLTokenMapEntry aTextElemTokenMap[] =
{ XML_NAMESPACE_OFFICE, XML_FORMS, XML_TOK_TEXT_FORMS },
{ XML_NAMESPACE_TABLE, XML_CALCULATION_SETTINGS, XML_TOK_TEXT_CALCULATION_SETTINGS },
{ XML_NAMESPACE_TEXT, XML_ALPHABETICAL_INDEX_AUTO_MARK_FILE, XML_TOK_TEXT_AUTOMARK },
+ // --> FLR #i52127#
+ { XML_NAMESPACE_TEXT, XML_NUMBERED_PARAGRAPH, XML_TOK_TEXT_NUMBERED_PARAGRAPH },
+ // <--
XML_TOKEN_MAP_END
};
@@ -1532,6 +1535,9 @@ SvXMLImportContext *XMLTextImportHelper::CreateTextChildContext(
rImport.GetProgressBarHelper()->Increment();
}
break;
+ case XML_TOK_TEXT_NUMBERED_PARAGRAPH:
+ pContext = new XMLNumberedParaContext( rImport, nPrefix, rLocalName, xAttrList );
+ break;
case XML_TOK_TEXT_LIST:
pContext = new XMLTextListBlockContext( rImport, *this,
nPrefix, rLocalName,