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

reference-orientation treated as an inherited property

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 2.5
    • None
    • fo/unqualified
    • None
    • Operating System: All
      Platform: All
    • 46826

    Description

      The "reference-orientation" property is currently treated as an inheritable property (see FOPropertMapping.createLayoutProperties()), but this is not defined as such in the XSL-FO 1.1 Recommendation (see: 7.21.3, http://www.w3.org/TR/xsl/#reference-orientation)

      Simply changing the boolean in FOPropertyMapping reveals that we have somehow always worked around this issue. The generation of the region-reference-areas seems to depend on its 'reference-orientation % 90' being equal to that of the simple-page-master.

      See for example:
      RegionBody.getViewportRectangle() and Page.setRegionReferencePosition().

      Attachments

        1. bugzilla46826.diff
          2 kB
          Andreas L. Delmelle
        2. bugzilla46826.pdf
          6 kB
          Andreas L. Delmelle

        Activity

          People

            Unassigned Unassigned
            adelmelle@apache.org Andreas L. Delmelle
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: