aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSergey Vladimirov <sergey@apache.org>2012-11-05 12:09:53 +0000
committerSergey Vladimirov <sergey@apache.org>2012-11-05 12:09:53 +0000
commit8124c4893d9427f9e540ef89f118b45e27cb1000 (patch)
tree94a3bcd82d4174a0da6d5b638a507f4b9d741f7e /src
parent23c804c734302615a17484227d976d1a342c4de6 (diff)
downloadpoi-8124c4893d9427f9e540ef89f118b45e27cb1000.tar.gz
poi-8124c4893d9427f9e540ef89f118b45e27cb1000.zip
Add support for CHP SPRM sprmCFNoProof 0x875
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1405762 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java b/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java
index bc3b798d45..423b569308 100644
--- a/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java
+++ b/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java
@@ -631,8 +631,19 @@ public final class CharacterSprmUncompressor extends SprmUncompressor
// 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;