Best
Ansgar
Hi.
Sure, sorry if I was unclear.
In the documentation I read that you can insert simple fields or directives.
http://jodreports.sourceforge.net/?q=node/24
You can also in OpenOffice.org Writer insert a visual field from the menu Insert / Fields / Other... (or just press Ctrl+F2) (reference to my previous email)
Now what I was wondering was, how you could easily get out all those fields. Freemarker directives are not that important really. I am mostly looking to get out the fields.
What we are building, is a system where admins can upload template for users. However, I would want somehow to test the templates and give some feedback to the admins before the users start using the templates.
Its difficult to "try" the templates the admins are creating, because its based on the users runtime objects, which the admins sort of have no permission to view. However, I was thinking of maybe creating mock objects which could act as the same way for admins, so that they can at least try to run createDocument and see the output to see if they are happy with how the template will look. And maybe detect errors before the user is using the templates.