From 2118d52949c2e571c00dab9263740d635b83908b Mon Sep 17 00:00:00 2001
From: Nick Burch
Date: Sun, 17 Aug 2008 20:15:51 +0000
Subject: [PATCH] Further HPBF documentation, and some more sample files used
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@686640 13f79535-47bb-0310-9956-ffa450edef68
---
src/documentation/content/xdocs/book.xml | 1 +
.../content/xdocs/hpbf/file-format.xml | 14 ++++----
.../content/xdocs/hpbf/index.xml | 2 +-
src/documentation/content/xdocs/index.xml | 26 ++++++++------
.../org/apache/poi/hpbf/dev/HPBFDumper.java | 22 ++++++++++++
.../org/apache/poi/hpbf/data/Sample2.pub | Bin 0 -> 72704 bytes
.../org/apache/poi/hpbf/data/Sample2.txt | 34 ++++++++++++++++++
.../org/apache/poi/hpbf/data/Sample3.pub | Bin 0 -> 72192 bytes
.../org/apache/poi/hpbf/data/Sample3.txt | 29 +++++++++++++++
.../org/apache/poi/hpbf/data/Sample4.pub | Bin 0 -> 72192 bytes
.../org/apache/poi/hpbf/data/Sample4.txt | 29 +++++++++++++++
11 files changed, 139 insertions(+), 18 deletions(-)
create mode 100755 src/scratchpad/testcases/org/apache/poi/hpbf/data/Sample2.pub
create mode 100644 src/scratchpad/testcases/org/apache/poi/hpbf/data/Sample2.txt
create mode 100755 src/scratchpad/testcases/org/apache/poi/hpbf/data/Sample3.pub
create mode 100644 src/scratchpad/testcases/org/apache/poi/hpbf/data/Sample3.txt
create mode 100755 src/scratchpad/testcases/org/apache/poi/hpbf/data/Sample4.pub
create mode 100644 src/scratchpad/testcases/org/apache/poi/hpbf/data/Sample4.txt
diff --git a/src/documentation/content/xdocs/book.xml b/src/documentation/content/xdocs/book.xml
index ab1af452e8..39424524f9 100644
--- a/src/documentation/content/xdocs/book.xml
+++ b/src/documentation/content/xdocs/book.xml
@@ -41,6 +41,7 @@
+
diff --git a/src/documentation/content/xdocs/hpbf/file-format.xml b/src/documentation/content/xdocs/hpbf/file-format.xml
index 591204951e..97d5a33d7c 100644
--- a/src/documentation/content/xdocs/hpbf/file-format.xml
+++ b/src/documentation/content/xdocs/hpbf/file-format.xml
@@ -38,19 +38,19 @@
Root Entry -
Objects -
(no children)
- SummaryInformation <(0x05)SummaryInformation>
- DocumentSummaryInformation <(0x05)DocumentSummaryInformation>
+ SummaryInformation <(0x05)SummaryInformation>
+ DocumentSummaryInformation <(0x05)DocumentSummaryInformation>
Escher -
EscherStm
EscherDelayStm
Quill -
QuillSub -
CONTENTS
- CompObj <(0x01)CompObj>
+ CompObj <(0x01)CompObj>
Envelope
Contents
- Internal <(0x03)Internal>
- CompObj <(0x01)CompObj>
+ Internal <(0x03)Internal>
+ CompObj <(0x01)CompObj>
VBA -
(no children)
@@ -69,7 +69,7 @@ Root Entry -
then both Contents and CONTENTS streams
change. There are no changes to the Escher streams.
If you set the background colour of a textbox, but make
- no changes to the text,
+ no changes to the text, (to finish off)
Structure of CONTENTS
First we have "CHNKINK ", followed by 24 bytes.
@@ -162,6 +162,8 @@ PL 62 1a 00 00 48 00 00 00 // PL from: 1a62 (6754), len: 48 (72)
00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
+
+(the text will then start)