Hi Abdul,
I had a similar problem and I discovered that it had to do with the size of the Word
Document you are trying to open. If it has no content (or a small amount) the error
you have below occurred for me. Try opening a file that is a couple of paragraphs
long. My requirements mean that Documents will always be at least one page of content
long so I have not investigated this problem further at present.
Regards,
Simon.
-----Original Message-----
From: Abdul Wahab [mailto:[EMAIL PROTECTED]
Sent: Tue 16/12/2003 07:12
To: POI Users List
Cc:
Subject: POI-Scratchpad
Hi All,
Does anyone having POI-scratchpad example program to read MSWord document.
Im trying with poi-scratchpad-2.0-RC1-20031102.jar parser, but getting
error..
Error - java.io.IOException: Unable to read entire header; -1 bytes read;
expect
ed 512 bytes
Can u help me to solve this issue.
When can we expect HWPF to make fully use of MSWord in java.
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This message is for the designated recipient only and may contain privileged,
proprietary, or otherwise private information. If you have received it in error,
please notify the sender immediately and delete the original. Any other use of the
email by you is prohibited.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]