Package com.itextpdf.layout.renderer
Class BlockFormattingContextUtil
java.lang.Object
com.itextpdf.layout.renderer.BlockFormattingContextUtil
This class helps to identify whether we are dealing with a renderer that creates a new "Block formatting context" in terms of CSS. Such renderers adhere to specific rules of floating elements and margins collapse handling.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isRendererCreateBfc
(IRenderer renderer) Defines whether a renderer creates a new "Block formatting context" in terms of CSS.
-
Constructor Details
-
BlockFormattingContextUtil
public BlockFormattingContextUtil()
-
-
Method Details
-
isRendererCreateBfc
Defines whether a renderer creates a new "Block formatting context" in terms of CSS.See
BlockFormattingContextUtil
class description for more info.- Parameters:
-
renderer
- anIRenderer
to be checked. - Returns:
- true if given renderer creates a new "Block formatting context" in terms of CSS, false otherwise.
-