Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Propose a Pdf/Rtf support with the iText framework for Doxia.
Here is the architecture:
- added an itext module in doxia-modules
- created a doxia-doc-renderer (similar to doxia-site-renderer)
- created an iText plugin for maven
The iText module generates iText XML files. So, documents should be generated in Pdf or Rtf format (supported by iText).
You could see the howto in the plugin for more information or try the project tests.
According MPIR-17, we could be more generic by defining a new generated XML Doxia (I mean another DoxiaSink) and apply XSLT to generate other formats (like javahelp)
Known limitations:
- known limitations from the iText framework like roman list
- i18n for the "table of contents" title
- reports are not supported
- Renderer for Fml and Xdoc format should be improved. Parsers suppose that the renderer is HTML.
Attachments are:
- doxia zip with diff (containing doxia-doc-renderer and doxia-module-itext) and resources
- itext plugin zip with diff and resources
- a zip containing generated documents for the site project (real examples)