poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kett <ketan_barapa...@yahoo.com>
Subject Re: Word file creation issue
Date Tue, 18 Aug 2009 06:35:24 GMT



MSB wrote:
> 
> Which version of the API are you intending to use? Are you trying to
> create binary files (.doc) or OpenXML files (.docx)?
> 
> Also, you do need to be aware that the API - certainly this is true of
> HWPF, I am not so sure about XWPF - is immature and still in the early
> stages of development. As a result, it cannot yet be used to create
> anything other than simple documents.
> 
> Yours
> 
> Mark B
> 
> 
> Kett wrote:
>> 
>> I am new to this forum. I want to create Word document and also wants to
>> add some text.
>> I tried to create .doc file. File has created successfully but while
>> reading i'm getting exception
>>  "java.io.IOException: Unable to read entire header; -1 bytes read;
>> expected 512 bytes"
>> Plz suugest me How to solve this .If i get sample code i can learn from
>> it.
>> Thanx
>> 
> 
> 

I jzt want to create simple .doc file. With some lines and Table. I am using
POI 3.1
-- 
View this message in context: http://www.nabble.com/Word-file-creation-issue-tp25012234p25019266.html
Sent from the POI - User mailing list archive at Nabble.com.


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


Mime
View raw message