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

[PATCH] No page-number-citation in FOEventHandler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 0.94
    • None
    • fo/unqualified
    • None
    • Operating System: All
      Platform: Other
    • 43605

    Description

      There is no support for page-number-citation and page-number-citation-last in
      FOEventHandler. This is because of the following relatively simple omissions:

      (1) org.apache.fop.fo.FOEventHandler :
      o needs empty method startPageNumberCitation(PageNumberCitation)
      o needs empty method endPageNumberCitation(PageNumberCitation)
      o needs empty method startPageNumberCitationLast(PageNumberCitationLast)
      o needs empty method endPageNumberCitationLast(PageNumberCitationLast)
      (2) org.apache.fop.fo.flow.PageNumberCitation:
      o method startOfNode() needs to call
      getFOEventHandler().startPageNumberCitation(this);
      o method endOfNode() needs to call
      getFOEventHandler().endPageNumberCitation(this);
      (3) org.apache.fop.fo.flow.PageNumberCitationLast:
      o method startOfNode() needs to call
      getFOEventHandler().startPageNumberCitationLast(this);
      o method endOfNode() needs to call
      getFOEventHandler().endPageNumberCitationLast(this);

      The fixes are trivial (simply add about 15 missing lines as directed above).

      Attachments

        1. fop-43605-page-citation.patch
          3 kB
          V Schappert

        Issue Links

          Activity

            People

              fop-dev@xmlgraphics.apache.org fop-dev
              vschappert@bloomberg.net V Schappert
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: