]> source.dussan.org Git - poi.git/commitdiff
Bump up the max DSI property ID, and list a few Office 12 well known IDs
authorNick Burch <nick@apache.org>
Mon, 11 Jan 2016 18:26:24 +0000 (18:26 +0000)
committerNick Burch <nick@apache.org>
Mon, 11 Jan 2016 18:26:24 +0000 (18:26 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1724104 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/poi/hpsf/wellknown/PropertyIDMap.java

index 02b73f329e01543912d7c9464b231a87c65895b1..b8bb0de253487afef7ddbf78bbb8299b799d4350 100644 (file)
@@ -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;