Hi everybody,

I'am using the final version of poi and i have some problems to generate a
word document. 
My application opens a word document and exports it in a new one with this
method:

HWPFDocument document  = new HWPFDocument(new
FileInputStream("c:\\input.doc"));
document.write(new FileOutputStream("c:\\output.doc"));

The problem: the "input.doc" file contains some chapters, but the
"output.doc" file has the chapter text with bad properties.

example:input.doc

1. The house
     1.1 The kitchen
     1.2 The table

output.doc

The house
     The kitchen
     The table

Other bug: the chapters table disappeared.

Do you have a solution to correct the problem or is it an already identifed
bug?

Thanks for your help,

Steph.


-- 
View this message in context: 
http://www.nabble.com/Problem-to-generate-word-document-tp19277004p19277004.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]

Reply via email to