diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2005-11-14 08:10:32 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2005-11-14 08:10:32 +0000 |
commit | 235f454d0dbab541447b3ec867055d9555401040 (patch) | |
tree | 5b0ab2128b49b1ff1482556e2d3027886014a184 /xmloff | |
parent | 274967f9071813672f29d35cd826292d8d6308a4 (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.cxx | 35 |
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 ) + { + } + |