public final class PaginationStepLib extends Object
Modifier and Type | Method and Description |
---|---|
static void |
assertBlockPosition(RenderBox box,
long shift) |
static void |
assertProgress(LogicalPageBox pageBox) |
static long |
computeNonBreakableBoxHeight(RenderBox box,
PaginationShiftState shiftState,
BasePaginationTableState tableState)
Computes the height that will be required on this page to display at least some parts of the box.
|
static void |
configureBreakUtility(PageBreakPositionList breakUtility,
LogicalPageBox pageBox,
long[] allCurrentBreaks,
long reservedHeight,
long lastBreakLocal) |
static long |
getWidowConstraint(RenderBox box,
PaginationShiftState shiftState,
BasePaginationTableState tableState) |
static long |
restrictPageAreaHeights(LogicalPageBox pageBox,
long[] allCurrentBreaks) |
public static void configureBreakUtility(PageBreakPositionList breakUtility, LogicalPageBox pageBox, long[] allCurrentBreaks, long reservedHeight, long lastBreakLocal)
public static void assertProgress(LogicalPageBox pageBox)
public static long restrictPageAreaHeights(LogicalPageBox pageBox, long[] allCurrentBreaks)
public static void assertBlockPosition(RenderBox box, long shift)
public static long computeNonBreakableBoxHeight(RenderBox box, PaginationShiftState shiftState, BasePaginationTableState tableState)
box
- the box for which the height is computedpublic static long getWidowConstraint(RenderBox box, PaginationShiftState shiftState, BasePaginationTableState tableState)