Genereate Word Document with dynamic content
There are many ways to How can I generate a Word document Document with the ivy ecosystem:
**1. RTF Document generation with WebPages**
WebPage elements in your Process can be linked with an RTF document that is stored in the webContent folder. This document can be easily designed with MS Word or any office tool you like and must be stored in *.RTF format. This document can contain ivy macro expressions (JSP like). The expressions will be evaluated at runtime and can for instance display your process data in a serial letter.
![rtf process screenshot][1]
[rtfPageDemo_51.iar][2]
**2. Office Document generation with Aspose**
Aspose lets you programatically create office documents. A licensed version is packed with ivyAddOns. The IvyDemos project which is shipped with the Designe (Designer/applications/samples/IvyDemos) shows a usage example. The relevant Demo is called "Document Factory"
![alt text][3]
**3. Office Document generation with Apache POI**
An open source library to read and create office documents: [POI Project website][4].
**4. JSF Datatable export with Primefaces**
Datatables in Html Dialogs can be exported to Word,PDF or Excel Documents with the Primefaces DataExporter. Apache POI is working behind the scene to do that job.
[Primefaces Data Exporter Showcase][5]
What is your experience with Word Document generation in ivy? ratings of these methods, field reports or demo projects are welcome!
[1]: http://answers.axonivy.com/upfiles/dynamicRtfDocumentWithWebPage.png
[2]: http://www.ivyteam.ch/downloads/q-and-a-attachments/rtfPageDemo_51.iar
[3]: http://answers.axonivy.com/upfiles/asposeLetterGenerator.png
[4]: http://poi.apache.org/
[5]: http://www.primefaces.org/showcase/ui/data/dataexporter/basic.xhtmlivy?