summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2018-05-30 17:28:17 +0200
committerLászló Németh <nemeth@numbertext.org>2018-06-08 18:00:20 +0200
commit32f1c56d8ff5e6f87dbcf086fd3743d6d36182bc (patch)
tree47d51358300a5f425fa0bd4b504af0866ab3b0eb /include/svl
parent4328d181b670356c9dbd69f1ec1dedb473b59e8e (diff)
tdf#115007: add import/export to NatNum12 (spell out numbers,
dates and money amounts, supporting all the XNumberText/libnumbertext formatting codes, for example "ordinal", "ordinal-number", "ordinal-feminine", etc., and ISO 4217 currency codes, also their possible combinations. NatNum12 formatting codes are stored by using the newly introduced (yet, loext:)transliteration-spellout attribute. creator-initials also added to token list Change-Id: I20f93c9d16778f142067a56d53b336d0acbe2d92 Reviewed-on: https://gerrit.libreoffice.org/54673 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'include/svl')
-rw-r--r--include/svl/zformat.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/svl/zformat.hxx b/include/svl/zformat.hxx
index 92a8080e3383..59c3a293d5b3 100644
--- a/include/svl/zformat.hxx
+++ b/include/svl/zformat.hxx
@@ -24,6 +24,7 @@
#include <svl/zforlist.hxx>
#include <svl/nfkeytab.hxx>
#include <vector>
+#include <com/sun/star/i18n/NativeNumberXmlAttributes2.hpp>
namespace utl {
class DigitGroupingIterator;
@@ -436,6 +437,7 @@ public:
// rAttr.Number not empty if NatNum attributes are to be stored
void GetNatNumXml(
css::i18n::NativeNumberXmlAttributes& rAttr,
+ css::i18n::NativeNumberXmlAttributes2& rAttr2,
sal_uInt16 nNumFor ) const;
/** Switches to the first non-"gregorian" calendar, but only if the current