diff options
author | Nick Burch <nick@apache.org> | 2016-01-11 18:26:24 +0000 |
---|---|---|
committer | Nick Burch <nick@apache.org> | 2016-01-11 18:26:24 +0000 |
commit | 3d9b15e0b41f9674817eba026510061fb472ea89 (patch) | |
tree | 7d56ab6fcc3564183dd881233785fa42a07c5f4d /src/java/org/apache/poi/hpsf/wellknown | |
parent | c47f6763971f3ab1a563c92d460f5cb48c4c0728 (diff) | |
download | poi-3d9b15e0b41f9674817eba026510061fb472ea89.tar.gz poi-3d9b15e0b41f9674817eba026510061fb472ea89.zip |
Bump up the max DSI property ID, and list a few Office 12 well known IDs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1724104 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/hpsf/wellknown')
-rw-r--r-- | src/java/org/apache/poi/hpsf/wellknown/PropertyIDMap.java | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/src/java/org/apache/poi/hpsf/wellknown/PropertyIDMap.java b/src/java/org/apache/poi/hpsf/wellknown/PropertyIDMap.java index 02b73f329e..b8bb0de253 100644 --- a/src/java/org/apache/poi/hpsf/wellknown/PropertyIDMap.java +++ b/src/java/org/apache/poi/hpsf/wellknown/PropertyIDMap.java @@ -227,12 +227,25 @@ public class PropertyIDMap extends HashMap<Long,String> { * <p>If this entry is -1 the links are dirty and should be * re-evaluated.</p> */ - public static final int PID_LINKSDIRTY = 16; + public static final int PID_LINKSDIRTY = 0x10; + + /** + * <p>The entry specifies an estimate of the number of characters + * in the document, including whitespace, as an integer + */ + public static final int PID_CCHWITHSPACES = 0x11; + + // 0x12 Unused + // 0x13 GKPIDDSI_SHAREDDOC - Must be False + // 0x14 GKPIDDSI_LINKBASE - Must not be written + // 0x15 GKPIDDSI_HLINKS - Must not be written /** - * <p>The highest well-known property ID. Applications are free to use higher values for custom purposes.</p> + * <p>The highest well-known property ID. Applications are free to use + * higher values for custom purposes. (This value is based on Office 12, + * earlier versions of Office had lower values)</p> */ - public static final int PID_MAX = PID_LINKSDIRTY; + public static final int PID_MAX = 0x1F; |