diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-11-09 11:18:36 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-11-09 11:18:36 +0000 |
commit | 1930c467d77cac431e92668a56cb0f4f1430a73a (patch) | |
tree | 2b0950c65c0f20c9523909332c02c86d63884dc3 /xmloff | |
parent | 9f3113dda7c9762f5b9840e14c4303c0b63e66fd (diff) |
INTEGRATION: CWS oasisbf1 (1.6.372); FILE MERGED
2004/08/12 14:09:04 mib 1.6.372.1: #i32780#: footnote configuration within sections
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/text/XMLSectionFootnoteConfigExport.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx b/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx index 7c3a91ada22c..ded797d70333 100644 --- a/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx +++ b/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx @@ -2,9 +2,9 @@ * * $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 * either of the following licenses @@ -212,6 +212,9 @@ void XMLSectionFootnoteConfigExport::exportXML( // we only make an element if we have an own footnote/endnote numbering if (bEnd) { + rExport.AddAttribute(XML_NAMESPACE_TEXT, XML_NOTE_CLASS, + GetXMLToken( bEndnote ? XML_ENDNOTE + : XML_FOOTNOTE ) ); // start numbering OUStringBuffer sBuf; if (bNumRestart) @@ -256,8 +259,7 @@ void XMLSectionFootnoteConfigExport::exportXML( // and finally, the element SvXMLElementExport rElem(rExport, XML_NAMESPACE_TEXT, - (bEndnote ? XML_ENDNOTES_CONFIGURATION : - XML_FOOTNOTES_CONFIGURATION ), + XML_NOTES_CONFIGURATION, sal_True, sal_True); } } |