Uploaded image for project: 'Maven Doxia'
  1. Maven Doxia
  2. DOXIA-53

Pdf and Rtf support with the iText framework

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-alpha-9
    • 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)

      Attachments

        1. doxia_itext.zip
          352 kB
          Siveton Vincent
        2. itext_plugin.zip
          804 kB
          Siveton Vincent
        3. generated-doc.zip
          1.58 MB
          Siveton Vincent
        4. maven-doxia-itext2.patch
          3 kB
          Andrew Overholt
        5. itext-xmloutput2.patch
          1.11 MB
          Andrew Overholt

        Activity

          People

            siveton Siveton Vincent
            siveton Siveton Vincent
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: