[
https://issues.jboss.org/browse/SEAMREPORTS-10?page=com.atlassian.jira.pl...
]
alberto Gori commented on SEAMREPORTS-10:
-----------------------------------------
In the meanwhile I collected some more resources: I found a couple of intersting libraries
for ODF manipulation:
http://jodreports.sourceforge.net/
jodreports is able to manipulate an open office template. It uses freemarker to iterate,
replace variables, etc. It seems to have some limitation: it can't merge template for
example, and it can't convert natively the document to PDF. PDF convertion is done
throught another library named JODConvert
(
http://www.artofsolving.com/opensource/jodconverter), but it still rely on open office as
a service. Note that using Openoffice as a service only for PDF export is better then
using open office for template manipulation (I think OO is slower and less reliable).
http://wiki.services.openoffice.org/wiki/Odf4j
ODF toolkit for Java seems very interesting! Repect to Jodreports it seems to be more
powerfull (look at this comment from Jodreport team:
http://sourceforge.net/apps/phpbb/jodreports/viewtopic.php?f=2&t=27#p109) and it still
doesn't need an OO istance as a service. Anyway for the PDF part you still need OO
(you could use JODConvert that uses OO...)
Finally I discovered that ODF is a zipped collection of XML resources, so not so hard to
manipulate...
Dynamic reporting from customer template
----------------------------------------
Key: SEAMREPORTS-10
URL:
https://issues.jboss.org/browse/SEAMREPORTS-10
Project: Seam Reports
Issue Type: Feature Request
Reporter: alberto Gori
Labels: document, openoffice, reporting, template
Would be nice to see a solution for dynamic reporting using customer templates. Many
times customers give us a template (OpenOffice or Word document), and we are supposed to
produce reports based on them, maybe adding some other images, signature etc.
So I suggest a Seam Report API able to read a customer template (odt etc), manipulate
this document (set fields, adding table rows, adding images, etc) and produce PDF. For
example an API that hides all the complexity of UNO (
http://udk.openoffice.org/) or some
other tool for document manipulation.
The key part is existent document manipulation.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira