Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-1351

[PATCH] Safely set postscript page device dictionary

    XMLWordPrintableJSON

Details

    • 42144

    Description

      See http://wiki.apache.org/xmlgraphics-fop/ExtensionsForPostScript for details
      of the new extensions I have added.

      This patch should also includes :-

      • Some performance improvements in page rendition so postscript page setup is
        cached and reused for pages that use the same simple-page-master.
      • Changes to org.apache.fop.area.OffDocumentItem,
        org.apache.fop.area.RenderPagesModel with the addition of some new off document
        item "when to process" states: BEFORE_PAGE, BEFORE_PAGE_SEQ, AFTER_PAGE_SEQ for
        org.apache.fop.area.OffDocumentItem.
      • Changes to org.apache.fop.area.AreaTreeHander so extension attachments
        declared as children of simple page master are handled BEFORE_PAGE_SEQ on renderer.
      • Changes to org.apache.fop.area.OffDocumentExtension so whenToProcess can be set.
      • A new protected accessor method called getPSGenerator on
        org.apache.fop.ps.PSRenderer that should make it a little easier to customize
        resolving.
      • Added extension attachments to base org.apache.fop.area.AreaTreeObject class

      Please try the patch out, as always feedback is welcome .

      Adrian Cumiskey.

      Attachments

        1. bug_42144.patch
          150 kB
          Adrian Cumiskey
        2. diff.txt
          64 kB
          Adrian Cumiskey
        3. diff.txt
          121 kB
          Adrian Cumiskey
        4. diff.txt
          104 kB
          Adrian Cumiskey
        5. diff.txt
          146 kB
          Adrian Cumiskey
        6. diff.txt
          145 kB
          Adrian Cumiskey
        7. diff.txt.list
          3 kB
          Adrian Cumiskey
        8. filelist.txt
          2 kB
          Adrian Cumiskey
        9. filelist.txt
          2 kB
          Adrian Cumiskey
        10. filelist.txt
          3 kB
          Adrian Cumiskey
        11. patchlist.txt
          3 kB
          Adrian Cumiskey
        12. ps-ext-sandbox.fo
          2 kB
          Jeremias Maerki

        Issue Links

          Activity

            People

              fop-dev@xmlgraphics.apache.org fop-dev
              fop-dev@cumiskey.com Adrian Cumiskey
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: