From b185a26d00bb64de398242b339ffaccd5c652052 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 | 28 ++++++++-------
.../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, 140 insertions(+), 19 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 ab1af452e..39424524f 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 591204951..97d5a33d7 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)