How can I generate a Word Document with ivy?

asked 24.02.2015 at 10:06

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
accept rate: 70%

edited 17.10.2016 at 11:07

There are many ways to generate a Word document with the ivy ecosystem:

1. RTF Document generation with WebPages

RTF Document generation with WebPages removed in Axon Ivy 9.3!

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 [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 RichDialogDemos project which is shipped with the Designer [designer]/applications/samples/RichDialogDemos shows a usage example. The relevant Demo is called "Document Factory" alt text

3. PDF/DOC/HTML generation with BIRT A community extension allows generation of documents with BIRT. The extension as well as the reporting technology is open source. The project is hosted on github. alt text

4. Office Document generation with Apache POI An open source library to read and create office documents: POI Project website.

5. 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

What is your experience with Word Document generation in ivy? ratings of these methods, field reports or demo projects are welcome!

This answer is marked "community wiki".

answered 24.02.2015 at 10:08

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
accept rate: 70%

edited 10.11.2021 at 02:55

Alex%20Suter's gravatar image

Alex Suter ♦♦

How does the expression evaluation during runtime (first example) work? How can I provide the output file as download in JSF / Primefaces (p:fileDownload - StreamedContent)?

(12.05.2017 at 07:46) Oliver Oliver's gravatar image

The expression evaluation takes all data which is available on the process variable (in) and expands it's value as string.

From a JSF dialog you can send a redirect to another process, that will send the file stream: rtf redirect

(12.05.2017 at 08:22) Reguel Werme... ♦♦ Reguel%20Wermelinger's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 24.02.2015 at 10:06

Seen: 8,916 times

Last updated: 10.11.2021 at 02:55