0

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?

Tim
  • 19,793
  • 8
  • 70
  • 95
mykola
  • 1,736
  • 5
  • 25
  • 37
  • Duplicate: http://stackoverflow.com/questions/203174/whats-a-good-java-api-for-creating-word-documents – Tim Aug 04 '09 at 22:14

4 Answers4

1

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.

Paul Jowett
  • 6,513
  • 2
  • 24
  • 19
0

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

banjollity
  • 4,490
  • 2
  • 29
  • 32
0

JODConverter will allow you to convert lots of different document formats

nairdaen
  • 1,037
  • 2
  • 11
  • 19
0

OpenOffice.org's Universal Network Objects (UNO), allow you to generate .doc,.PDF, as well as OpenOffice documents. It supports several programming languages like: Java, C++, Visual Basic, etcc..

Some good things is that: its free, open source and plataform-independent

You can build documents, spreadsheets, presentations, etc. Start from scratch or using a template and fill the gaps..

In order to use it you will need to include some libraries that comes with the OpenOffice suite.

Useful links:

German Attanasio
  • 22,217
  • 7
  • 47
  • 63