Package org.xhtmlrenderer.layout
Class LayoutUtil
java.lang.Object
org.xhtmlrenderer.layout.LayoutUtil
Contains utility methods to layout floated and absolute content.
XXX Could/should be folded into BlockBox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
layoutAbsolute
(LayoutContext c, LineBox currentLine, BlockBox box) static FloatLayoutResult
layoutFloated
(LayoutContext c, LineBox currentLine, BlockBox block, int avail, List<FloatLayoutResult> pendingFloats) private static void
positionFloatOnPage
(LayoutContext c, LineBox currentLine, BlockBox block, boolean movedVertically) private static void
resetAndFloatBlock
(LayoutContext c, LineBox currentLine, BlockBox block)
-
Constructor Details
-
LayoutUtil
public LayoutUtil()
-
-
Method Details
-
layoutAbsolute
-
layoutFloated
public static FloatLayoutResult layoutFloated(LayoutContext c, LineBox currentLine, BlockBox block, int avail, List<FloatLayoutResult> pendingFloats) -
positionFloatOnPage
private static void positionFloatOnPage(LayoutContext c, LineBox currentLine, BlockBox block, boolean movedVertically) -
resetAndFloatBlock
-