summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2005-11-14 08:10:32 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2005-11-14 08:10:32 +0000
commit235f454d0dbab541447b3ec867055d9555401040 (patch)
tree5b0ab2128b49b1ff1482556e2d3027886014a184 /xmloff
parent274967f9071813672f29d35cd826292d8d6308a4 (diff)
INTEGRATION: CWS knumber (1.52.42); FILE MERGED
2005/11/14 08:58:53 flr 1.52.42.1: #i52127# implement first step of numbered-paragraph
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/txtparai.cxx35
1 files changed, 33 insertions, 2 deletions
diff --git a/xmloff/source/text/txtparai.cxx b/xmloff/source/text/txtparai.cxx
index d6440d4936..89e7afe02b 100644
--- a/xmloff/source/text/txtparai.cxx
+++ b/xmloff/source/text/txtparai.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: txtparai.cxx,v $
*
- * $Revision: 1.53 $
+ * $Revision: 1.54 $
*
- * last change: $Author: rt $ $Date: 2005-11-08 17:06:22 $
+ * last change: $Author: rt $ $Date: 2005-11-14 09:10:32 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1964,3 +1964,34 @@ void XMLParaContext::Characters( const OUString& rChars )
#endif
}
+
+
+TYPEINIT1( XMLNumberedParaContext, SvXMLImportContext );
+
+XMLNumberedParaContext::XMLNumberedParaContext(
+ SvXMLImport& rImport,
+ sal_uInt16 nPrfx,
+ const OUString& rLName,
+ const Reference< xml::sax::XAttributeList > & xAttrList ) :
+ SvXMLImportContext( rImport, nPrfx, rLName )
+ {
+ }
+
+ XMLNumberedParaContext::~XMLNumberedParaContext()
+ {
+ }
+
+ SvXMLImportContext *XMLNumberedParaContext::CreateChildContext(
+ sal_uInt16 nPrefix, const OUString& rLocalName,
+ const Reference< xml::sax::XAttributeList > & xAttrList )
+ {
+ //FIXME #i52127#: currently <text:numbered-paragraph> is not implemented!
+ SvXMLImportContext *pContext = GetImport().GetTextImport()->CreateTextChildContext(
+ GetImport(), nPrefix, rLocalName, xAttrList, XML_TEXT_TYPE_BODY );
+ return pContext;
+ }
+
+ void XMLNumberedParaContext::Characters( const OUString& rChars )
+ {
+ }
+