public class BlockRenderer extends BoxRenderer implements InlineItem
Renderer.ReflowPhase| Modifier and Type | Field and Description |
|---|---|
static float |
MIN_ROW_WIDTH |
abb, offset, row| Constructor and Description |
|---|
BlockRenderer(Element element) |
borderBottom, borderLeft, borderRight, borderTop, collapseBorders, containingBlock, createAssignedPageBreak, createAssignedPageBreak, createAssignedPageBreak, dashCalculator, expandHeight, getExtraBottomOffset, getHeight, getOuterHeight, getOuterWidth, getParentForAbs, getScrollbarWidth, getTextBaseline, hasBackground, hasBorder, hasPadding, hasPercentualWidth, hasWidthBase, horizontalExtent, isAbsPositioned, isAvoidPageBreak, isLastChild, isOutOfFlowPositioned, isRelPositioned, isRTL, logicalHeight, logicalMaxHeight, logicalMinHeight, marginBottom, marginLeft, marginRight, marginTop, paddingBottom, paddingLeft, paddingRight, paddingTop, setHeight, setOuterHeight, setWidth, verticalMarginExtent, verticalOffsetcleanup, getClear, getContext, getDecoration, getDisplayType, getElement, getFloat, getFontSize, getHeightObj, getLang, getMaxHeightObj, getMaxWidthObj, getMinHeightObj, getMinWidthObj, getParent, getTitle, getWidthObj, isAutoWidth, isBoxSized, isFloating, isTable, isTaggedOutput, isTBRL, setParent, updateHeightsequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetHeight, getOuterHeight, getOuterWidth, isRTLpublic static final float MIN_ROW_WIDTH
public BlockRenderer(Element element)
public Renderer getChildAt(int i)
getChildAt in class BoxRendererpublic Renderer addChild(Renderer renderer)
addChild in class BoxRendererpublic void moveChildUp(Renderer renderer)
moveChildUp in class BoxRendererpublic BoxRenderer findParentRenderer(Renderer renderer)
findParentRenderer in class BoxRendererpublic BlockRenderer addAbsChild(AbsolutePositionedRenderer child)
addAbsChild in class BoxRendererpublic int getChildrenNumber()
getChildrenNumber in class BoxRendererpublic boolean isTheFirstRow(RowRenderer rr)
public int getMaxWidth(float base)
getMaxWidth in class Rendererpublic void reLayout(float base)
throws ForcedTerminationException
reLayout in class RendererForcedTerminationExceptionpublic int getOuterMinWidth(float base)
throws ForcedTerminationException
getOuterMinWidth in class RendererForcedTerminationExceptionpublic float getContentWidth()
throws ForcedTerminationException
getContentWidth in class BoxRendererForcedTerminationExceptionpublic void resetMinWidth()
resetMinWidth in class BoxRendererpublic int getMinWidth(float base)
throws ForcedTerminationException
getMinWidth in class RendererForcedTerminationExceptionpublic void getDestinationRenderers(Map<String,Renderer> results)
getDestinationRenderers in class Rendererpublic void resetLayout()
BoxRendererresetLayout in class BoxRendererpublic void setOuterWidth(int width)
setOuterWidth in class BoxRendererpublic RStatus layout(Renderer.ReflowPhase phase) throws IOException
layout in class BoxRendererIOExceptionpublic float getX()
getX in interface InlineItemgetX in class Rendererpublic int getAbsVerticalPosition()
getAbsVerticalPosition in class BoxRendererpublic int getAbsHorizontalPosition()
getAbsHorizontalPosition in class BoxRendererpublic int alignContentToPageBreaks(Context.PageBreakRef pbObj) throws IOException
alignContentToPageBreaks in class BoxRendererIOExceptionpublic RStatus findAutoPageBreaks(List<Context.PageBreakRef> pbreaks, int top, int pheight) throws IOException
findAutoPageBreaks in class BoxRendererIOExceptionpublic int getAbsPositionedBottomEdge()
getAbsPositionedBottomEdge in class Rendererpublic boolean doesNotPrintToPage()
throws IOException
doesNotPrintToPage in class RendererIOExceptionpublic RStatus render() throws IOException
render in class RendererIOExceptionpublic int getContentHeight()
getContentHeight in class BoxRendererpublic int getOffsetInRow()
getOffsetInRow in class BoxRendererpublic boolean isLastContentPortion(RowRenderer row)
public boolean isFirstRow(RowRenderer row)
public boolean isLastRow(RowRenderer row)
public boolean isDocumentElementRenderer()
public StringBuilder dump(int mode, int indent)
dump in interface InlineItemdump in class Rendererpublic int getBaseline(Context context)
getBaseline in interface InlineItempublic float getWidth()
getWidth in interface InlineItempublic void setX(float x)
setX in interface InlineItempublic boolean containsFloats()
public void assignToRow(RowRenderer row)
assignToRow in interface InlineItempublic AnchorRenderer getPositionAnchor()
public void addPositionAnchor(AnchorRenderer positionAnchor)
Revision 4.0.15 / 20220727-0149