From: Nick Burch Date: Sun, 5 Feb 2006 18:15:45 +0000 (+0000) Subject: Add placeholder definitions for 2000/XP Comments X-Git-Tag: REL_3_0_ALPHA3~191 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9aa43bb60303a0c0aa96ad1a455aeede0e1fd5fe;p=poi.git Add placeholder definitions for 2000/XP Comments git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@375069 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/scratchpad/src/org/apache/poi/hslf/record/RecordTypes.java b/src/scratchpad/src/org/apache/poi/hslf/record/RecordTypes.java index c09bedf171..f770fb8642 100644 --- a/src/scratchpad/src/org/apache/poi/hslf/record/RecordTypes.java +++ b/src/scratchpad/src/org/apache/poi/hslf/record/RecordTypes.java @@ -140,15 +140,22 @@ public class RecordTypes { public static final Type ExWAVAudioEmbeddedAtom = new Type(4115,null); public static final Type AnimationInfoAtom = new Type(4116,null); public static final Type RTFDateTimeMCAtom = new Type(4117,null); - public static final Type ProgTags = new Type(5000,null); + public static final Type ProgTags = new Type(5000,DummyPositionSensitiveRecordWithChildren.class); public static final Type ProgStringTag = new Type(5001,null); - public static final Type ProgBinaryTag = new Type(5002,null); - public static final Type BinaryTagData = new Type(5003,null); + public static final Type ProgBinaryTag = new Type(5002,DummyPositionSensitiveRecordWithChildren.class); + public static final Type BinaryTagData = new Type(5003,DummyPositionSensitiveRecordWithChildren.class); public static final Type PrpublicintOptions = new Type(6000,null); public static final Type PersistPtrFullBlock = new Type(6001,PersistPtrHolder.class); public static final Type PersistPtrIncrementalBlock = new Type(6002,PersistPtrHolder.class); public static final Type GScalingAtom = new Type(10001,null); public static final Type GRColorAtom = new Type(10002,null); + + // Records ~12000 seem to be related to the Comments used in PPT 2000/XP + // (Comments in PPT97 are normal Escher text boxes) + public static final Type Comment2000 = new Type(12000,null); + public static final Type Comment2000Record = new Type(12002,null); + public static final Type Comment2000Summary = new Type(12004,null); + public static final Type Comment2000SummaryRecord = new Type(12005,null); //records greater then 0xF000 belong to with Microsoft Office Drawing format also known as Escher public static final int EscherDggContainer = 0xf000;