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

float and span does not work as espected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.5
    • None
    • None
    • None
    • Windows 7, Java 1.7.0_55

    Description

      When using both fo:float and fo:block span="all" in the same document, some blocks will be cut and some will disappear.

      In the file two-columns-with-float-and-one-block-and-span.fo one block will not show up and the two-column block will be cut.

      If the fo:float is removed as in two-columns-with-span.fo the resulting outcome is as expected.

      The file two-columns-with-float-and-two-blocks-and-span.fo caused a NPE. Probably caused by a debug line:

      AbstractBreaker.log.debug("restart: optimalPageCount= " + optimalPageCount
                      + " pageBreaks.size()= " + algRestart.getPageBreaks().size());
      

      according to Robert Meyer.

      Attached are minimal .fo files and pdfs.

      Attachments

        1. two-columns-with-span.pdf
          5 kB
          Andreas Argirakis
        2. two-columns-with-span.fo
          0.9 kB
          Andreas Argirakis
        3. two-columns-with-float-and-two-blocks-and-span.fo
          1 kB
          Andreas Argirakis
        4. two-columns-with-float-and-one-block-and-span.pdf
          5 kB
          Andreas Argirakis
        5. two-columns-with-float-and-one-block-and-span.fo
          1.0 kB
          Andreas Argirakis

        Activity

          People

            Unassigned Unassigned
            andreas7676 Andreas Argirakis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: