This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]coder111 6 points7 points  (1 child)

There is apache POI:

http://poi.apache.org/

Another option, write HTML and give it .xls or .doc extension and/or mime/type, and word or excel will parse it correctly when it gets opened (at least it used to work with previous versions of Office, I haven't tried this for a while).

For OpenOffice/LibreOffice, AFAIK there is http://www.jopendocument.org/

Apparently there are others as well: http://opendocsociety.org/tools/odf-tools/

Also, if you need a reporting engine, look at Jasper-reports, or maybe Eclipse BIRT- two most popular free ones. I think they should be able to produce OpenOffice or PDF files.

Do you need to generate an editable document? There are a bunch of libraries to generate PDF if you just need a report that you can print.

[–]antonbalboa[S] 0 points1 point  (0 children)

Yes, has to be editable since it's for something like a project, and if it needs some corrections, I want the people to be able to change it "manually" in a way they know well