-
Notifications
You must be signed in to change notification settings - Fork 375
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+F2
after 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...) :
- this action opens the dialog to select an image. In this screenshot, is selected :
- 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 :
- this action opens the
Image
dialog box. Go to theOptions
tab and fill the field name withlogo
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