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

[PATCH] block container overflow error message

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: unqualified
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All
    • External issue ID:
      53094

      Description

      If a block-container element has the overflow attribute set to error-if-overflow and the content inside the container does overflow then FOP:

      • throws an exception if the overflow is BPD (block progression direction)
      • emits a warning if the overflow is IPD (inline progression direction)
        The attached patch tries to fix this inconsistency in behavior by issuing an error message in both cases; also, if the overflow attribute is set to something else, a warning message is issued instead.

        Attachments

        1. resources.tar.gz
          6 kB
          Luis Bernardo
        2. block_container_overflow.patch
          12 kB
          Luis Bernardo

          Activity

            People

            • Assignee:
              fop-dev@xmlgraphics.apache.org fop-dev
              Reporter:
              lmpmbernardo Luis Bernardo
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: