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

[PATCH] Postscript extension : comment before and after page

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 2.5
    • None
    • renderer/ps
    • None
    • Operating System: other
      Platform: Other
    • 43070

    Description

      see http://wiki.apache.org/xmlgraphics-fop/ExtensionsForPostScript for full
      details of <ps:ps-comment-before/> and <ps:ps-comment-after/>.

      The requirement for the comment-before and comment-after is for post-processing
      the postscript output. Both these elements may only be declared as child nodes
      of fo:declarations and/or fo:simple-page-master.

      In a fo:declarations context, ps-comment-before is placed in the postscript
      output just before the %%EndComments DSC comment in the header and
      ps-comment-after is placed just after the %%Trailer DSC comment in the footer of
      the output.

      In a fo:simple-page-master context, ps-comment-before is placed in the
      postscript output just after the %%BeginPageSetup DSC comment and a
      ps-comment-after just after the %%PageTrailer DSC comment in each page of a
      simple page master referring page sequence.

      Patch (with dependency on
      http://issues.apache.org/bugzilla/show_bug.cgi?id=42144 being applied) to follow.

      Attachments

        1. diff-comment.txt
          26 kB
          Adrian Cumiskey
        2. diff-comment.txt
          24 kB
          Adrian Cumiskey

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: