summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorYossi Zahn <yossizahn@gmail.com>2017-04-18 16:46:10 +0000
committerMichael Stahl <mstahl@redhat.com>2017-08-09 13:16:49 +0200
commit5937eefe533fba332ab6a83da02496bb4b0bd3db (patch)
treef85c91bbea1135710e25042e449805ca3dcc302a /sw
parent9cc75c52369d6656a5812e950641d4b9b6d0cc35 (diff)
tdf#66212 - Hebrew numbering import/export support
Adds support for the new NUMBER_HEBREW numbering format to various import and export filters. Change-Id: I93f928f5d4d43d0cf569a85677df7eef7b088db8 Reviewed-on: https://gerrit.libreoffice.org/36645 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index e09bdaae67b9..e6338d85ed7b 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -5728,7 +5728,9 @@ static OString impl_NumberingType( sal_uInt16 nNumberingType )
case SVX_NUM_BITMAP:
case SVX_NUM_CHAR_SPECIAL: aType = "bullet"; break;
- case style::NumberingType::CHARS_HEBREW: aType = "hebrew1"; break;
+
+ case style::NumberingType::CHARS_HEBREW: aType = "hebrew2"; break;
+ case style::NumberingType::NUMBER_HEBREW: aType = "hebrew1"; break;
default: aType = "none"; break;
}
@@ -5753,6 +5755,7 @@ static OString impl_LevelNFC( sal_uInt16 nNumberingType , const SfxItemSet *pOut
case style::NumberingType::BITMAP:
case style::NumberingType::CHAR_SPECIAL:
case style::NumberingType::CHARS_HEBREW:
+ case style::NumberingType::NUMBER_HEBREW:
case style::NumberingType::NUMBER_NONE:
return impl_NumberingType( nNumberingType );
case style::NumberingType::FULLWIDTH_ARABIC: aType="decimalFullWidth"; break;