public class BlockRowRenderer extends RowRenderer
Renderer.ReflowPhase
Modifier and Type | Field and Description |
---|---|
InlineItem |
item |
availableSpace, baseline, givenSpace, pos
abb, offset, row
Constructor and Description |
---|
BlockRowRenderer(BoxRenderer parent,
LayoutRect rect,
boolean noStretch,
int clearFloats) |
Modifier and Type | Method and Description |
---|---|
RStatus |
addItem(Renderer renderer,
Context context) |
int |
alignContentToPageBreaks(Context.PageBreakRef pbreak) |
float |
computePercentualBase() |
boolean |
containsOnlyBlock() |
boolean |
doesNotPrintToPage() |
StringBuilder |
dump(int mode,
int indent) |
RStatus |
findAutoPageBreaks(List<Context.PageBreakRef> pbreaks,
int top,
int pheight) |
float |
getBottomMarginOfBlock(float base) |
Context |
getContext() |
void |
getDestinationRenderers(Map<String,Renderer> results) |
BoxRenderer |
getItem() |
float |
getTextBaseline(Context context) |
boolean |
hasAbs() |
boolean |
isBlank() |
boolean |
isEmpty() |
boolean |
isLinebreak(RowRenderer prevRow) |
boolean |
isPageBreak() |
boolean |
noContent() |
RStatus |
render() |
void |
suppressTrailingShy() |
boolean |
updateHeights(int h) |
addChild, addItem, finalizeRow, getAbsHorizontalPosition, getAbsVerticalPosition, getBaseline, getChildrenNumber, getLastItem, getMinPrefWidth, getMinWidth, getOffsetInRow, getPageNumberRenderers, getPrevItem, layout, shrink, toString, updatePositions
addAbsChild, borderBottom, borderLeft, borderRight, borderTop, collapseBorders, containingBlock, createAssignedPageBreak, createAssignedPageBreak, createAssignedPageBreak, dashCalculator, expandHeight, findParentRenderer, getChildAt, getContentHeight, getContentWidth, getExtraBottomOffset, getHeight, getOffsetInRow, getOuterHeight, getOuterWidth, getParentForAbs, getScrollbarWidth, 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, getAbsPositionedBottomEdge, getClear, getDecoration, getDisplayType, getElement, getFloat, getFontSize, getHeightObj, getLang, getMaxHeightObj, getMaxWidth, getMaxWidthObj, getMinHeightObj, getMinWidthObj, getOuterMinWidth, getParent, getTitle, getWidthObj, getX, isAutoWidth, isBody, isBoxSized, isFloating, isTable, isTaggedOutput, isTBRL, isUseAwt, reLayout, setParent, setUseAwt
public InlineItem item
public BlockRowRenderer(BoxRenderer parent, LayoutRect rect, boolean noStretch, int clearFloats)
public RStatus addItem(Renderer renderer, Context context)
addItem
in class RowRenderer
public void getDestinationRenderers(Map<String,Renderer> results)
getDestinationRenderers
in class RowRenderer
public RStatus render() throws IOException
render
in class RowRenderer
IOException
public boolean doesNotPrintToPage() throws IOException
doesNotPrintToPage
in class RowRenderer
IOException
public int alignContentToPageBreaks(Context.PageBreakRef pbreak) throws IOException
alignContentToPageBreaks
in class RowRenderer
IOException
public RStatus findAutoPageBreaks(List<Context.PageBreakRef> pbreaks, int top, int pheight) throws IOException
findAutoPageBreaks
in class RowRenderer
IOException
public Context getContext()
getContext
in class RowRenderer
public boolean updateHeights(int h)
updateHeights
in class Renderer
public BoxRenderer getItem()
getItem
in class RowRenderer
public boolean isBlank()
isBlank
in class RowRenderer
public boolean isLinebreak(RowRenderer prevRow)
isLinebreak
in class RowRenderer
public StringBuilder dump(int mode, int indent)
dump
in class RowRenderer
public float getBottomMarginOfBlock(float base)
getBottomMarginOfBlock
in class RowRenderer
public float getTextBaseline(Context context)
getTextBaseline
in class RowRenderer
public boolean noContent()
noContent
in class RowRenderer
public float computePercentualBase()
computePercentualBase
in class RowRenderer
public boolean containsOnlyBlock()
containsOnlyBlock
in class RowRenderer
public boolean isPageBreak()
public boolean isEmpty()
isEmpty
in class RowRenderer
public void suppressTrailingShy()
suppressTrailingShy
in class RowRenderer
public boolean hasAbs()
hasAbs
in class RowRenderer
Revision 4.0.15 / 20220727-0149