Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      All
    • Number of attachments :
      2

      Description

      I have completely re-written the PDF plug-in. It solves most of the thorniest issues, such as table formatting, more levels in the table of contents, and image sizing. The graphic design is also dramatically improved.

        Activity

        Hide
        Emmanuel Venisse added a comment -

        I tested the plugin for commit it to cvs but there are some problems.

        • it's necessary to have thead tag arround tr/th. I prefer test if thead is present, and if not use only tr/th
        • pdf doens't work with maven xodc content due to duplicate fo:block id

        It's an excellent work, I'll update it in cvs when problems are resolved.

        For the cover page, we can have the project name and the short description.

        Show
        Emmanuel Venisse added a comment - I tested the plugin for commit it to cvs but there are some problems. it's necessary to have thead tag arround tr/th. I prefer test if thead is present, and if not use only tr/th pdf doens't work with maven xodc content due to duplicate fo:block id It's an excellent work, I'll update it in cvs when problems are resolved. For the cover page, we can have the project name and the short description.
        Hide
        Arnaud Heritier added a comment -

        I'm agree with you.
        I'll try to correct the thead limitation and the cover page when possible.
        I tested the plugin with maven changes page and maven dependencies page and it worked (after plugins modifications to generate thead tags).
        With which page had you a problem ??

        Show
        Arnaud Heritier added a comment - I'm agree with you. I'll try to correct the thead limitation and the cover page when possible. I tested the plugin with maven changes page and maven dependencies page and it worked (after plugins modifications to generate thead tags). With which page had you a problem ??
        Hide
        Emmanuel Venisse added a comment -

        Checkout maven cvs and generate the pdf for the full content.

        ...
        [java] [INFO] area contents overflows area in line
        [java] [ERROR] file:/D:/cvs_repo/jakarta/maven/target/pdf/project.fo:2660:37 The id "/
        start/download.html" already exists in this document
        [java] org.apache.fop.apps.FOPException: file:/D:/cvs_repo/jakarta/maven/target/pdf/pr
        oject.fo:2660:37 The id "/start/download.html" already exists in this document
        [java] at org.apache.fop.datatypes.IDReferences.createID(IDReferences.java:119)
        [java] at org.apache.fop.fo.flow.Block.layout(Block.java:203)
        [java] at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:154)
        [java] at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:110)
        [java] at org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:40
        0)
        [java] at org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:338)

        [java] at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262)
        [java] at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223)
        [java] at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
        [java] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
        Source)
        [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDi
        spatcher.dispatch(Unknown Source)
        [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkn
        own Source)
        [java] at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        [java] at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        [java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        [java] at org.apache.fop.apps.Driver.render(Driver.java:498)
        [java] at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:106)

        [java] at org.apache.fop.apps.Fop.main(Fop.java:62)
        [java]
        [java]

        Show
        Emmanuel Venisse added a comment - Checkout maven cvs and generate the pdf for the full content. ... [java] [INFO] area contents overflows area in line [java] [ERROR] file:/D:/cvs_repo/jakarta/maven/target/pdf/project.fo:2660:37 The id "/ start/download.html" already exists in this document [java] org.apache.fop.apps.FOPException: file:/D:/cvs_repo/jakarta/maven/target/pdf/pr oject.fo:2660:37 The id "/start/download.html" already exists in this document [java] at org.apache.fop.datatypes.IDReferences.createID(IDReferences.java:119) [java] at org.apache.fop.fo.flow.Block.layout(Block.java:203) [java] at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:154) [java] at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:110) [java] at org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:40 0) [java] at org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:338) [java] at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262) [java] at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223) [java] at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) [java] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDi spatcher.dispatch(Unknown Source) [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkn own Source) [java] at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) [java] at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [java] at org.apache.fop.apps.Driver.render(Driver.java:498) [java] at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:106) [java] at org.apache.fop.apps.Fop.main(Fop.java:62) [java] [java]
        Hide
        Arnaud Heritier added a comment -

        ok. I will look at this.

        Show
        Arnaud Heritier added a comment - ok. I will look at this.
        Hide
        Arnaud HERITIER added a comment -

        It's done in the plugin's HEAD branch (release 2.0-SNAPSHOT).
        Thanks a lot to the work done by Andrew Jaquith.

        Show
        Arnaud HERITIER added a comment - It's done in the plugin's HEAD branch (release 2.0-SNAPSHOT). Thanks a lot to the work done by Andrew Jaquith.

          People

          • Assignee:
            Unassigned
            Reporter:
            Andrew Jaquith
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 20 minutes
              20m
              Remaining:
              Remaining Estimate - 20 minutes
              20m
              Logged:
              Time Spent - Not Specified
              Not Specified