summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLSectionFootnoteConfigImport.cxx
diff options
context:
space:
mode:
authorMichael Brauer <mib@openoffice.org>2001-03-19 08:41:43 +0000
committerMichael Brauer <mib@openoffice.org>2001-03-19 08:41:43 +0000
commit5cf764b8e670a7a4b1532a547a9e4d0b41704c77 (patch)
treec871a6871f3e9f565e0447dee17f6a41793bd1c8 /xmloff/source/text/XMLSectionFootnoteConfigImport.cxx
parent2f663725d595f6f24482cf80baddb0e7b4194d13 (diff)
new numbering types
Diffstat (limited to 'xmloff/source/text/XMLSectionFootnoteConfigImport.cxx')
-rw-r--r--xmloff/source/text/XMLSectionFootnoteConfigImport.cxx15
1 files changed, 11 insertions, 4 deletions
diff --git a/xmloff/source/text/XMLSectionFootnoteConfigImport.cxx b/xmloff/source/text/XMLSectionFootnoteConfigImport.cxx
index 37100113c671..97fd32e9590e 100644
--- a/xmloff/source/text/XMLSectionFootnoteConfigImport.cxx
+++ b/xmloff/source/text/XMLSectionFootnoteConfigImport.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLSectionFootnoteConfigImport.cxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: dvo $ $Date: 2001-02-16 16:39:27 $
+ * last change: $Author: mib $ $Date: 2001-03-19 09:41:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -74,6 +74,9 @@
#ifndef _COM_SUN_STAR_XML_SAX_XATTRIBUTELIST_HPP_
#include <com/sun/star/xml/sax/XAttributeList.hpp>
#endif
+#ifndef _COM_SUN_STAR_STYLE_NUMBERINGTYPE_HPP_
+#include <com/sun/star/style/NumberingType.hpp>
+#endif
#ifndef _XMLOFF_XMLIMP_HXX
#include "xmlimp.hxx"
@@ -109,7 +112,7 @@
#include <vector>
-
+using namespace ::com::sun::star::style;
using ::rtl::OUString;
using ::std::vector;
using ::com::sun::star::uno::Any;
@@ -215,7 +218,11 @@ void XMLSectionFootnoteConfigImport::StartElement(
XMLPropertyState aNumRestartAtState( nPropIndex-4, aAny );
rProperties.push_back(aNumRestartAtState);
- aAny <<= SvxXMLListStyleContext::GetNumType(sNumFormat, sNumLetterSync);
+ sal_Int16 nNumType = NumberingType::ARABIC;
+ GetImport().GetMM100UnitConverter().convertNumFormat( nNumType,
+ sNumFormat,
+ sNumLetterSync );
+ aAny <<= nNumType;
XMLPropertyState aNumFormatState( nPropIndex-3, aAny);
rProperties.push_back(aNumFormatState);