My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads
Wiki pages
Links

What is XDocReport?

XDocReport means XML Document reporting. It's Java API to merge XML document created with MS Office (docx, pptx) or OpenOffice (odt), LibreOffice (odt) with a Java model to generate report and convert it if you need to another format (PDF, XHTML...). With XDocReport :

  1. you create a document with MS Word (docx) or OpenOffice (odt, ods)
  2. you use Velocity or Freemarker syntax to set variable to replace. For instance you can type in your document (Velocity syntax is used here) :

Hello $name !

  1. replace variable by merging document with 'world' value coming from Java model to generate report with the content :

Hello world !

Here a scheme which show you XDocReport processes to generate report from ODT file :

XDocReport in Action

You can try and play with XDocReport in the online

XDocReport Getting Started

For more information about XDocReport please read XDocReport Overview section. If you wish use XDocReport, please start with Getting Started section.

Powered by Google Project Hosting