summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2018-05-04 00:56:39 +0200
committerLászló Németh <nemeth@numbertext.org>2018-05-04 12:31:07 +0200
commit1501df419ea4d40358d705a281fd9662088ba51e (patch)
tree6f3fb1db35001734752db435e905b789429670a6 /sw
parentd038d1f5ee0d24a5ad739d5e91015f90fd09b02e (diff)
tdf#117171 DOCX export/import of cardinalText, ordinalText
and ordinal (indicator) numbering styles. Change-Id: Ia4030c8a170bad67e0b52ec685a49faa77552ccf Reviewed-on: https://gerrit.libreoffice.org/53831 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index 6324318cd45f..a1eaea107ffb 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -6158,6 +6158,9 @@ static OString impl_LevelNFC( sal_uInt16 nNumberingType , const SfxItemSet *pOut
case style::NumberingType::CHARS_ARABIC: aType="arabicAlpha"; break;
case style::NumberingType::CHARS_THAI: aType="thaiLetters"; break;
case style::NumberingType::CHARS_PERSIAN: aType="hindiVowels"; break;
+ case style::NumberingType::TEXT_NUMBER: aType="ordinal"; break;
+ case style::NumberingType::TEXT_CARDINAL: aType="cardinalText"; break;
+ case style::NumberingType::TEXT_ORDINAL: aType="ordinalText"; break;
/*
Fallback the rest to decimal.
case style::NumberingType::NATIVE_NUMBERING: