-
Notifications
You must be signed in to change notification settings - Fork 374
ODTDesignReport
XDocReport give you the capability to create report with OppeOffice ODT. Fields to replace must follow Freemarker/Velocity syntax. Typing directly field name can work, but you can have trouble if you style the field. So it is advisable to use InputField to set fields to replace.
To add InputField in your ODT report you can :
- Use standard OppenOffice Input Field creation.
- Use Macro which display in a dialog box fields available for the model.
To manage Dynamic Image in your ODT report you must :
- insert a "template" image (any image).
- set a name for the image.
For the "template" image you can for instance use this image :
This section explains how to add Field $project.Name after Project: content. Here steps to add this Field :
- Do
Ctrl+F2after Project: content or go atInsert / Fields / Other..menu :

- this action opens Fields dialog. Click on the
Functions(Fonctions) tab and selectInput field` (Champs de saisie) :

- click on
Insert(Insérer) button to open Input Field dialog, and type in the textarea the field name$project.Name:

- click on OK, field is added to your document :

- Now you can style it if you wish. To do that, select the whole field :

- Style it as you wish :

This section explains how to add Dynamic Image $logo in a ODT document. Here steps to add this dynamic image :
- go to the menu Insert/Image/File... (Insertion/Image/A partir d'un fichier...) :
(http://wiki.xdocreport.googlecode.com/git/screenshots/ODTCreateField6.png))
- this action opens the dialog to select an image (in this screenshot, template.png [is selected) :
(http://wiki.xdocreport.googlecode.com/git/screenshots/template.png))
- after clicking on Open button, image is inserted in the document :
[Now you must name the image. To do that, select the image, click on right button and select Image... menu item :
(http://wiki.xdocreport.googlecode.com/git/screenshots/ODTCreateDynamicImage3.png))
- this action opens the Image dialog box. Go to the Options tab and fill the field name with logo value:

Click on OK button. Dynamic image is now available with logo name.
- Overview
- Getting Started
- FAQ
- Which License Applies
- Download
- Developer's Guide
- User's Guide
- Contributor's Guide
- Acknowledgment
- Articles
- Releases