[ 
https://issues.apache.org/jira/browse/FOP-3153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17772567#comment-17772567
 ] 

Daniel Norberg commented on FOP-3153:
-------------------------------------

I should mention that the problem exists also in FOP 2.9

> "Keep-with-next" condition not fullfilled when span="all" is used on a block
> ----------------------------------------------------------------------------
>
>                 Key: FOP-3153
>                 URL: https://issues.apache.org/jira/browse/FOP-3153
>             Project: FOP
>          Issue Type: Bug
>          Components: fo/block
>    Affects Versions: 2.8
>            Reporter: Jorge Villar
>            Priority: Major
>         Attachments: 877404072.fo, editor - 2023-10-02T091356.171.pdf
>
>
> Hello,
> We have to generate a document with text in two columns, but headings need to 
> extend to both columns using span="all". The problem I am facing is that the 
> "keep-with-next.within-page" condition is set to "always" in all headings, 
> but this condition is not respected in the generated PDF, with headings being 
> at the end of the page, and the next element in the next page. Find attached 
> the sample .fo file and the generated PDF document.
> If there is a workaround for this, it would be greatly appreciated to know. 
> Thanks in advance.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to