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, [email protected] Patch by: bjcheny, [email protected] 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
