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
This commit is contained in:
Nick Burch 2016-01-11 18:26:24 +00:00
parent c47f676397
commit 3d9b15e0b4
1 changed files with 16 additions and 3 deletions

View 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;