-
Notifications
You must be signed in to change notification settings - Fork 375
XDocReportProcess
angelozerr edited this page Aug 4, 2015
·
2 revisions
docx/odt files are a zip wich contains several entries :
- XML files like content.xml for odt, word/document.xml for docx
- images.
Here a screen about docx unzipped :
[Here a screen about odt unzipped :
(http://wiki.xdocreport.googlecode.com/git/screenshots/XDocReportProcess_DocxUnzipped.png))
When docx or odt report is generated, there is 3 steps that is done :
- orginal : this step load docx/odt in a Java structure XDocArchive which store each entry of the docx/odt.
- preprocesed : this step modify some XML entries (content.xml for odt, word/document.xml for docx) to replace mergefield/input field code with static content, add #foreach automaticly before row...A new XDocArchive is created with the XML entries modified.
- generated : this step consist to use preprocessed XDocArchive and merge some XML entry (content.xml for odt, word/document.xml for docx) with Java model with template engine (Velocity/Freemarker) to generate report.
- Overview
- Getting Started
- FAQ
- Which License Applies
- Download
- Developer's Guide
- User's Guide
- Contributor's Guide
- Acknowledgment
- Articles
- Releases