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

[PATCH] Top/Bottom borders and padding of block containers are repeated after the page break

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.3
    • None
    • layout/block
    • None

    Description

      There is a big difference between a block and a block-container regarding the borders and padding when the page breaks.

      The borders should be like this (this is a plain fo:block):

      But instead is like this ( this is a fo:block-container - ignore the text, chck the borders):

      If you have a longer text in the block container and it spans on several pages then it starts to bleed out of the page.

      I found a fix for that, I will post it below.

      Attachments

        1. block-container_borders-padding-and-page-breaks.xml
          9 kB
          Dan Caprioara
        2. fo-block.png
          4 kB
          Dan Caprioara
        3. fo-block-container.png
          5 kB
          Dan Caprioara
        4. fop.patch
          2 kB
          Dan Caprioara

        Activity

          People

            Unassigned Unassigned
            dc33 Dan Caprioara
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: