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

[PATCH] block container overflow error message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 2.5
    • None
    • unqualified
    • None
    • Operating System: All
      Platform: All
    • 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. block_container_overflow.patch
          12 kB
          Luis Bernardo
        2. resources.tar.gz
          6 kB
          Luis Bernardo

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: