From 3d9b15e0b41f9674817eba026510061fb472ea89 Mon Sep 17 00:00:00 2001 From: Nick Burch Date: Mon, 11 Jan 2016 18:26:24 +0000 Subject: [PATCH] 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 --- .../poi/hpsf/wellknown/PropertyIDMap.java | 19 ++++++++++++++++--- 1 file 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 { *

If this entry is -1 the links are dirty and should be * re-evaluated.

*/ - public static final int PID_LINKSDIRTY = 16; + public static final int PID_LINKSDIRTY = 0x10; + + /** + *

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 /** - *

The highest well-known property ID. Applications are free to use higher values for custom purposes.

+ *

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)

*/ - public static final int PID_MAX = PID_LINKSDIRTY; + public static final int PID_MAX = 0x1F; -- 2.39.5