[
https://issues.apache.org/jira/browse/FOP-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Argirakis updated FOP-2458:
-----------------------------------
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:
{code:linenumbers=true|language=html/xml|firstline=0001|collapse=true}
AbstractBreaker.log.debug("restart: optimalPageCount= " + optimalPageCount
+ " pageBreaks.size()= " + algRestart.getPageBreaks().size());
{code}
according to Robert Meyer.
Attached are minimal .fo files and pdfs.
was:
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.
Attached are minimal .fo files and pdfs.
> float and span does not work as espected
> ----------------------------------------
>
> Key: FOP-2458
> URL: https://issues.apache.org/jira/browse/FOP-2458
> Project: Fop
> Issue Type: Bug
> Affects Versions: trunk
> Environment: Windows 7, Java 1.7.0_55
> Reporter: Andreas Argirakis
> Attachments: two-columns-with-float-and-one-block-and-span.fo,
> two-columns-with-float-and-one-block-and-span.pdf,
> two-columns-with-float-and-two-blocks-and-span.fo, two-columns-with-span.fo,
> two-columns-with-span.pdf
>
>
> 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:
> {code:linenumbers=true|language=html/xml|firstline=0001|collapse=true}
> AbstractBreaker.log.debug("restart: optimalPageCount= " + optimalPageCount
> + " pageBreaks.size()= " + algRestart.getPageBreaks().size());
> {code}
> according to Robert Meyer.
> Attached are minimal .fo files and pdfs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)