Can anybody advise me on how to create a MS Word Doc from scratch using some java api? My requirement is that I have some text, header, footer,lines and tables to be inserted in a document. Some of the text comes dynamically from bean classes.
I checked some previous posts which were mostly on reading a Doc.I also checked some previous posts on OO SDK. But I think it doesn't run as backend server like process, it loads the UI(correct me if I am wrong). I also saw some poi posts but not sure whether the library supports tables, header and footer. Please advise.
I am trying OpenOffice currently. But still not sure if I can create a doc using OO Api in a server box (tomcat) and give it for download in a client browser where there is no OpenOffice.org installed. In case, if anyone can guide me on how to set it up as a backend process and write code which doesnt open the writer UI when creating a doc file it would be helpful to me a lot. I am working on the same, In case I figure it out then I shall update the post.