poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ser...@apache.org
Subject svn commit: r1405762 - /poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java
Date Mon, 05 Nov 2012 12:09:53 GMT
Author: sergey
Date: Mon Nov  5 12:09:53 2012
New Revision: 1405762

URL: http://svn.apache.org/viewvc?rev=1405762&view=rev
Log:
Add support for CHP SPRM sprmCFNoProof 0x875

Modified:
    poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java?rev=1405762&r1=1405761&r2=1405762&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java Mon
Nov  5 12:09:53 2012
@@ -631,8 +631,19 @@ public final class CharacterSprmUncompre
         // sprmCRgLid0
         break;
       case 0x74:
-        // sprmCRgLid1
-        break;
+          // sprmCRgLid1
+          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:
           logger.log( POILogger.DEBUG, "Unknown CHP sprm ignored: " + sprm );
           break;



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message