public final class PageBreakRenderer extends BoxRenderer implements InlineItem
Renderer.ReflowPhase
abb, offset, row
Constructor and Description |
---|
PageBreakRenderer(Element element) |
Modifier and Type | Method and Description |
---|---|
Renderer |
addChild(Renderer renderer) |
int |
alignContentToPageBreaks(Context.PageBreakRef pbObj) |
void |
assignToRow(RowRenderer row) |
boolean |
doesNotPrintToPage() |
RStatus |
findAutoPageBreaks(List<Context.PageBreakRef> pbreaks,
int top,
int height) |
int |
getAbsVerticalPosition() |
int |
getBaseline(Context context) |
int |
getChildrenNumber() |
float |
getWidth() |
boolean |
isConditional() |
RStatus |
layout(Renderer.ReflowPhase phase) |
boolean |
meetsCondition() |
RStatus |
render() |
void |
setX(float x) |
addAbsChild, borderBottom, borderLeft, borderRight, borderTop, collapseBorders, containingBlock, createAssignedPageBreak, createAssignedPageBreak, createAssignedPageBreak, dashCalculator, expandHeight, findParentRenderer, getAbsHorizontalPosition, getChildAt, getContentHeight, getContentWidth, getExtraBottomOffset, getHeight, getOffsetInRow, getOuterHeight, getOuterWidth, getParentForAbs, getScrollbarWidth, getTextBaseline, hasBackground, hasBorder, hasPadding, hasPercentualWidth, hasWidthBase, horizontalExtent, isAbsPositioned, isAvoidPageBreak, isLastChild, isOutOfFlowPositioned, isRelPositioned, isRTL, logicalHeight, logicalMaxHeight, logicalMinHeight, marginBottom, marginLeft, marginRight, marginTop, moveChildUp, paddingBottom, paddingLeft, paddingRight, paddingTop, resetLayout, resetMinWidth, setHeight, setOuterHeight, setOuterWidth, setWidth, verticalMarginExtent, verticalOffset
cleanup, dump, getAbsPositionedBottomEdge, getClear, getContext, getDecoration, getDestinationRenderers, getDisplayType, getElement, getFloat, getFontSize, getHeightObj, getLang, getMaxHeightObj, getMaxWidth, getMaxWidthObj, getMinHeightObj, getMinWidth, getMinWidthObj, getOuterMinWidth, getParent, getTitle, getWidthObj, getX, isAutoWidth, isBody, isBoxSized, isFloating, isTable, isTaggedOutput, isTBRL, isUseAwt, reLayout, setParent, setUseAwt, toString, updateHeights
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
dump, getHeight, getOuterHeight, getOuterWidth, getX, isRTL
public PageBreakRenderer(Element element)
public RStatus layout(Renderer.ReflowPhase phase) throws IOException
layout
in class BoxRenderer
IOException
public Renderer addChild(Renderer renderer)
addChild
in class BoxRenderer
public int getChildrenNumber()
getChildrenNumber
in class BoxRenderer
public boolean doesNotPrintToPage() throws IOException
doesNotPrintToPage
in class Renderer
IOException
public RStatus render() throws IOException
render
in class Renderer
IOException
public int getAbsVerticalPosition()
getAbsVerticalPosition
in class BoxRenderer
public int alignContentToPageBreaks(Context.PageBreakRef pbObj)
alignContentToPageBreaks
in class BoxRenderer
public RStatus findAutoPageBreaks(List<Context.PageBreakRef> pbreaks, int top, int height)
findAutoPageBreaks
in class BoxRenderer
public boolean meetsCondition()
public int getBaseline(Context context)
getBaseline
in interface InlineItem
public float getWidth()
getWidth
in interface InlineItem
public void setX(float x)
setX
in interface InlineItem
public void assignToRow(RowRenderer row)
assignToRow
in interface InlineItem
public boolean isConditional()
Revision 4.0.15 / 20220727-0149