Kaydet (Commit) 1930c467 authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

INTEGRATION: CWS oasisbf1 (1.6.372); FILE MERGED

2004/08/12 14:09:04 mib 1.6.372.1: #i32780#: footnote configuration within sections
üst 9f3113dd
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: XMLSectionFootnoteConfigExport.cxx,v $ * $RCSfile: XMLSectionFootnoteConfigExport.cxx,v $
* *
* $Revision: 1.6 $ * $Revision: 1.7 $
* *
* last change: $Author: dvo $ $Date: 2001-06-29 21:07:22 $ * last change: $Author: hr $ $Date: 2004-11-09 12:18:36 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -212,6 +212,9 @@ void XMLSectionFootnoteConfigExport::exportXML( ...@@ -212,6 +212,9 @@ void XMLSectionFootnoteConfigExport::exportXML(
// we only make an element if we have an own footnote/endnote numbering // we only make an element if we have an own footnote/endnote numbering
if (bEnd) if (bEnd)
{ {
rExport.AddAttribute(XML_NAMESPACE_TEXT, XML_NOTE_CLASS,
GetXMLToken( bEndnote ? XML_ENDNOTE
: XML_FOOTNOTE ) );
// start numbering // start numbering
OUStringBuffer sBuf; OUStringBuffer sBuf;
if (bNumRestart) if (bNumRestart)
...@@ -256,8 +259,7 @@ void XMLSectionFootnoteConfigExport::exportXML( ...@@ -256,8 +259,7 @@ void XMLSectionFootnoteConfigExport::exportXML(
// and finally, the element // and finally, the element
SvXMLElementExport rElem(rExport, XML_NAMESPACE_TEXT, SvXMLElementExport rElem(rExport, XML_NAMESPACE_TEXT,
(bEndnote ? XML_ENDNOTES_CONFIGURATION : XML_NOTES_CONFIGURATION,
XML_FOOTNOTES_CONFIGURATION ),
sal_True, sal_True); sal_True, sal_True);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment