You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by zh...@apache.org on 2012/09/03 10:50:59 UTC

svn commit: r1380171 - /incubator/ooo/trunk/main/writerfilter/source/dmapper/ConversionHelper.cxx

Author: zhangjf
Date: Mon Sep  3 08:50:59 2012
New Revision: 1380171

URL: http://svn.apache.org/viewvc?rev=1380171&view=rev
Log:
#i119658#, some Chinese numbering formats are not supported 

Found by: xiao ting xiao, tingxiaox@gmail.com 
Patch by: bjcheny, companycy@gmail.com
Review by: zhangjf

Modified:
    incubator/ooo/trunk/main/writerfilter/source/dmapper/ConversionHelper.cxx

Modified: incubator/ooo/trunk/main/writerfilter/source/dmapper/ConversionHelper.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/writerfilter/source/dmapper/ConversionHelper.cxx?rev=1380171&r1=1380170&r2=1380171&view=diff
==============================================================================
--- incubator/ooo/trunk/main/writerfilter/source/dmapper/ConversionHelper.cxx (original)
+++ incubator/ooo/trunk/main/writerfilter/source/dmapper/ConversionHelper.cxx Mon Sep  3 08:50:59 2012
@@ -645,8 +645,12 @@ sal_Int16 ConvertNumberingType(sal_Int32
         case NS_ooxml::LN_Value_ST_NumberFormat_japaneseCounting:
         case NS_ooxml::LN_Value_ST_NumberFormat_taiwaneseCounting:
         case NS_ooxml::LN_Value_ST_NumberFormat_ideographDigital:
+        case NS_ooxml::LN_Value_ST_NumberFormat_chineseCountingThousand:
             nRet = style::NumberingType::NUMBER_LOWER_ZH;
             break;
+        case NS_ooxml::LN_Value_ST_NumberFormat_chineseLegalSimplified:
+            nRet = style::NumberingType::NUMBER_UPPER_ZH;
+            break;
         default: nRet = style::NumberingType::ARABIC;
     }
 /*  TODO: Lots of additional values are available - some are supported in the I18 framework