[jira] [Created] (FOP-3289) The float related attribute "clear" should be supported
"Daniel Norberg (Jira)" <[email protected]> Mon, 12 Jan 2026 13:58:00 +0000 (UTC)
| Newsgroups | gmane.text.xml.fop.devel |
|---|---|
| Message-ID | <[email protected]> |
Daniel Norberg created FOP-3289:
-----------------------------------
Summary: 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
Attachments: image-2026-01-12-14-50-33-854.png, image.png, test.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)