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 > -- View this message in context: http://www.nabble.com/Word-file-creation-issue-tp25012234p25019116.html Sent from the POI - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
