Add support for CHP SPRM sprmCFNoProof 0x875

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1405762 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sergey Vladimirov 2012-11-05 12:09:53 +00:00
parent 8ad617d64d
commit 8dde31fbab

View File

@ -631,8 +631,19 @@ public final class CharacterSprmUncompressor extends SprmUncompressor
// sprmCRgLid0 // sprmCRgLid0
break; break;
case 0x74: case 0x74:
// sprmCRgLid1 // sprmCRgLid1
break; break;
case 0x75:
// sprmCFNoProof -- 0x875
/*
* "A ToggleOperand value that specifies whether the text is excluded from the proofing analysis. By default, text is not excluded from the proofing analysis."
*
* Word (.doc) Binary File Format. Copyright (c) 2012 Microsoft
* Corporation. Released: October 8, 2012
*/
newCHP.setFNoProof(getCHPFlag((byte) sprm.getOperand(),
oldCHP.isFNoProof()));
break;
default: default:
logger.log( POILogger.DEBUG, "Unknown CHP sprm ignored: " + sprm ); logger.log( POILogger.DEBUG, "Unknown CHP sprm ignored: " + sprm );
break; break;