views:

913

answers:

4

Can anyone tell me how to create doc files using java? I know, there's a POI library, but it seems like it can save only simple documents. You can read anything you wish, but you can't save it all back again. Or may be i missed something? How can i save whole document with pictures, tables and styles?

A: 

It ain't cheap, but you could try Aspose.Words. It'll do everything you state above and more.

banjollity
A: 

Duplicate.

mcandre
Should have been a comment ...
Joey
A: 

JODConverter will allow you to convert lots of different document formats

nairdaen
+1  A: 

Docmosis lets you do heaps of styling easily via the template. Uses OpenOffice and Java to do the job. Its free and free to distribute.

jowierun