dimanche 25 mai 2014

Word - créer un document modifiable via l'application web java - Stack Overflow


I am looking for a convenient method to export some data from my database into a form that would be editable afterwards. The perfect scenario would be to export a word document, and perhaps a brutally simple solution would be to generate HTML and copy/paste it into Word.


I've looked at several open source libraries for generating word documents, but they seem a bit too simple or incomplete. I need support for tables and embedded images and control over formatting the fonts, table borders etc. (too much formatting seems to be lost when copying html and pasting into word).


Although Word is the end format, it'd be fine to generate it in any format that word would be able to open and subsequently save as DOCX.


I really haven't been able to find anything about generating ODT files (server side without client installation).


I would just dive into the ASPOSE libraries, but it'll take ages (and significant pain) to get a purchase order sorted out so I need to make sure its the only viable option before taking that route.


I could generate it as an excel file and copy that to word - this is looking like the best option currently.


Thanks.



I am looking for a convenient method to export some data from my database into a form that would be editable afterwards. The perfect scenario would be to export a word document, and perhaps a brutally simple solution would be to generate HTML and copy/paste it into Word.


I've looked at several open source libraries for generating word documents, but they seem a bit too simple or incomplete. I need support for tables and embedded images and control over formatting the fonts, table borders etc. (too much formatting seems to be lost when copying html and pasting into word).


Although Word is the end format, it'd be fine to generate it in any format that word would be able to open and subsequently save as DOCX.


I really haven't been able to find anything about generating ODT files (server side without client installation).


I would just dive into the ASPOSE libraries, but it'll take ages (and significant pain) to get a purchase order sorted out so I need to make sure its the only viable option before taking that route.


I could generate it as an excel file and copy that to word - this is looking like the best option currently.


Thanks.


0 commentaires:

Enregistrer un commentaire