summaryrefslogtreecommitdiff
path: root/include/xmloff
diff options
context:
space:
mode:
authorLaurent Balland-Poirier <laurent.balland-poirier@laposte.net>2015-03-15 19:22:56 +0100
committerEike Rathke <erack@redhat.com>2015-03-22 15:44:55 +0000
commitfdf8e5aaee49304df7f2f04fcdd932c3dd427703 (patch)
treec537fb338d736e4919dc41aa68372f0d007639b2 /include/xmloff
parent4cb902edc070282fd4a6eb84ae03d2fd066e7ca5 (diff)
tdf#30716 start Engineering notation: implement exponent-interval
ODF1.3 implement a new attribute for engineering notation https://issues.oasis-open.org/browse/OFFICE-1828 This commit only add this attribute to ODF import/export. Engineering notation is not yet available. Treat also thousand separator with exponent-interval Change XML_NAMESPACE_NUMBER to XML_NAMESPACE_LO_EXT for exponent-interval Change-Id: Ia18f9e150ca32aa9bbe133c082c3f9330e949f11 Reviewed-on: https://gerrit.libreoffice.org/14875 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'include/xmloff')
-rw-r--r--include/xmloff/xmlnumfe.hxx2
-rw-r--r--include/xmloff/xmltoken.hxx2
2 files changed, 3 insertions, 1 deletions
diff --git a/include/xmloff/xmlnumfe.hxx b/include/xmloff/xmlnumfe.hxx
index c07da9c4710f..ceffa35d0679 100644
--- a/include/xmloff/xmlnumfe.hxx
+++ b/include/xmloff/xmlnumfe.hxx
@@ -67,7 +67,7 @@ private:
bool bGrouping, sal_Int32 nTrailingThousands,
const SvXMLEmbeddedTextEntryArr& rEmbeddedEntries );
SAL_DLLPRIVATE void WriteScientificElement_Impl( sal_Int32 nDecimals, sal_Int32 nInteger,
- bool bGrouping, sal_Int32 nExp );
+ bool bGrouping, sal_Int32 nExp, sal_Int32 nExpInterval );
SAL_DLLPRIVATE void WriteFractionElement_Impl( sal_Int32 nInteger, bool bGrouping,
sal_Int32 nNumeratorDigits, sal_Int32 nDenominatorDigits, sal_Int32 nDenominator );
SAL_DLLPRIVATE void WriteCurrencyElement_Impl( const OUString& rString,
diff --git a/include/xmloff/xmltoken.hxx b/include/xmloff/xmltoken.hxx
index ef40853db536..d1d39a72fa24 100644
--- a/include/xmloff/xmltoken.hxx
+++ b/include/xmloff/xmltoken.hxx
@@ -3244,6 +3244,8 @@ namespace xmloff { namespace token {
XML_CHART_DUNITS_BUILTINUNIT,
XML_EXTERNALDATA,
+ XML_EXPONENT_INTERVAL,
+
XML_TOKEN_END
};