poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r690739 - in /poi/trunk/src/documentation/content/xdocs/hpbf: file-format.xml index.xml
Date Sun, 31 Aug 2008 17:24:11 GMT
Author: nick
Date: Sun Aug 31 10:24:10 2008
New Revision: 690739

URL: http://svn.apache.org/viewvc?rev=690739&view=rev
HPBF docs update


Modified: poi/trunk/src/documentation/content/xdocs/hpbf/file-format.xml
URL: http://svn.apache.org/viewvc/poi/trunk/src/documentation/content/xdocs/hpbf/file-format.xml?rev=690739&r1=690738&r2=690739&view=diff
--- poi/trunk/src/documentation/content/xdocs/hpbf/file-format.xml (original)
+++ poi/trunk/src/documentation/content/xdocs/hpbf/file-format.xml Sun Aug 31 10:24:10 2008
@@ -171,6 +171,27 @@
 		 think that the second 4 bytes of text describes the format
 		 of data block at the offset. The format of the text block
 		 is easy, but we're still trying to figure out the others.</p>
+           <section><title>Structure of TEXT bit</title>
+           <p>This is very simple. All the text for the document is
+            stored in a single bit of the Quill CONTENTS. The text
+            is stored as little endian 16 bit unicode strings.</p>
+           </section>
+           <section><title>Structure of PLC bit</title>
+           <p>The first four bytes seem to hold the count of the 
+            entries in the bit, and the second four bytes seem to hold
+            the type. There is then some pre-data, and then data for
+            each of the entries, the exact format dependant on the type.</p>
+           <p>Type 0 has 4 2 byte unsigned ints, then a pair of 2 byte
+            unsigned ints for each entry.</p>
+           <p>Type 4 has 4 2 byte unsigned ints, then a pair of 4 byte
+            unsigned ints for each entry.</p>
+           <p>Type 8 has 7 2 byte unsigned ints, then a pair of 4 byte
+            unsigned ints for each entry.</p>
+           <p>Type 12 holds hyperlinks, and is very much more complex.
+            See <code>org.apache.poi.hpbf.model.qcbits.QCPLCBit</code>
+            for our best guess as to how the contents match up.</p>
+           </section>

Modified: poi/trunk/src/documentation/content/xdocs/hpbf/index.xml
URL: http://svn.apache.org/viewvc/poi/trunk/src/documentation/content/xdocs/hpbf/index.xml?rev=690739&r1=690738&r2=690739&view=diff
--- poi/trunk/src/documentation/content/xdocs/hpbf/index.xml (original)
+++ poi/trunk/src/documentation/content/xdocs/hpbf/index.xml Sun Aug 31 10:24:10 2008
@@ -41,7 +41,7 @@
               lots of offsets to other parts of the file.</p>
             <p>Our initial aim is to provude a text extractor for the format
               (now done), and be able to extract hyperlinks from within
-              the document (not yet supported). Additional low level
+              the document (partly supported). Additional low level
               code to process the file format may follow, if there
               is demand and developer interest warrant it.</p>
 			<p>At this time, there is no <em>usermodel</em> api or similar.

To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org

View raw message