I understand for the most part what I am doing, however certain
key details have left me a little in the lurch. :)
May the mentioned "Word Image Header"
be taken and Read from any java.io.File
OS File, and correctly inserted into HWPFDocument,
using
HeaderBlockReader/HeaderBlockWriter,
to, for inserting, read and then write the file header correctly?
Is the header a group of BATBlock s?
If BatBlocks are relevant, how precisely do the work?
If none of the above, what do people presently do, in order to write the
generic HWPF Word File headers to dataStream
when doing an insertion?
May
----- Original Message -----
From: "Nick Burch" <[email protected]>
To: "POI Users List" <[email protected]>; "Zachary Mitchell"
<[email protected]>
Sent: Saturday, October 02, 2010 6:34 PM
Subject: Re: HWPFDocument and dataStream.
On Sat, 2 Oct 2010, Zachary Mitchell wrote:
-What do I data seperator do I use at the start and end of each byte []
range? Do images all just concatenate at the beginning?
You need to put a word image header onto the front of your image before
inserting it. See probably half a dozen emails now where everyone keeps
telling you the same thing....
-What role does the "\u0001" symbol play?
As explained a number of times, and likely consider this my last attempt
to repeat myself.... It goes into the text where you want the picture to
be displayed. It has a special property on it (it's a single character
character run) which has the offset into the picture table of the start of
the word image header for that image
Please please re-read all the replies everyone has already given you.
Pretty much everything you need to know is there. However, you are going
to have to do some work, you will not find a magic simple answer no matter
how many times you repeat your question....
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]