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

[PATCH] Add support for different flow-name of fo:region-body in FOP

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 2.5
    • None
    • layout/unqualified
    • None
    • Operating System: All
      Platform: All
    • 50391

    Description

      This patch is not an implementation of flow-maps. The intention is for simple-page-masters that reference flows that are not defined in the page-sequence should generate empty flows- that is pages with the content layed out in the region-body.
      This implementation is not inconsistent with section 6.4.1.5 of the XSL recommendation (1.0 & 1.1)

      example.fo (attached) will cause the trunk to throw due to unmapped flows, however this patch will produce an even and odd alternatives of empty and 'main flow' pages.

      This patch also introduces 3 dependencies as part of the unit test coverage:
      mockito-core-1.8.5.jar
      hamcrest.core-1.1.0.jar
      objenesis-1.0.0.jar
      They are to be placed in lib/build.

      Attachments

        1. example.fo
          2 kB
          Peter Hancock
        2. unmapped_flow.patch
          62 kB
          Peter Hancock

        Activity

          People

            fop-dev@xmlgraphics.apache.org fop-dev
            phancock Peter Hancock
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: