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

Joao Goncalves commented on FOP-3289:
-------------------------------------

I see what you mean. My workaround would only work if the first chapter were to 
finish within the height of the float. You can certainly try to find a solution 
and submit a patch.

> The float related attribute "clear" should be supported
> -------------------------------------------------------
>
>                 Key: FOP-3289
>                 URL: https://issues.apache.org/jira/browse/FOP-3289
>             Project: FOP
>          Issue Type: Improvement
>    Affects Versions: 2.11
>            Reporter: Daniel Norberg
>            Priority: Major
>         Attachments: image-2026-01-12-14-50-33-854.png, 
> image-2026-03-12-08-32-39-081.png, image.png, test.fo, test_originalFixed.fo
>
>
> Currently, as stated on the home page, the float related attribute "clear" is 
> not supported in FOP. This creates issues if you, for example, want to start 
> a new chapter on the same page but the content flowing next to the float 
> object in the previous chapter has not reached the end of the float object.
> Here is a screenshot showing the issue. I want chapter 2 to start after the 
> end of the float image; chapter 2 should not be affected by the float image 
> in the previous chapter. This would be possible if the clear attribute was 
> supported.
> !image-2026-01-12-14-50-33-854.png!
> I have attached a simple FO (test.fo) and an image (image.png) that can be 
> used for reproducing this example.
> https://xmlgraphics.apache.org/fop/fo.html#floats



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

Reply via email to