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, verticalOffset
cleanup, getClear, getContext, getDecoration, getDisplayType, getElement, getFloat, getFontSize, getHeightObj, getLang, getMaxHeightObj, getMaxWidthObj, getMinHeightObj, getMinWidthObj, getParent, getTitle, getWidthObj, isAutoWidth, isBoxSized, isFloating, isTable, isTaggedOutput, isTBRL, setParent, updateHeights
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getHeight, getOuterHeight, getOuterWidth, isRTL
public static final float MIN_ROW_WIDTH
public BlockRenderer(Element element)
public Renderer getChildAt(int i)
getChildAt
in class BoxRenderer
public Renderer addChild(Renderer renderer)
addChild
in class BoxRenderer
public void moveChildUp(Renderer renderer)
moveChildUp
in class BoxRenderer
public BoxRenderer findParentRenderer(Renderer renderer)
findParentRenderer
in class BoxRenderer
public BlockRenderer addAbsChild(AbsolutePositionedRenderer child)
addAbsChild
in class BoxRenderer
public int getChildrenNumber()
getChildrenNumber
in class BoxRenderer
public boolean isTheFirstRow(RowRenderer rr)
public int getMaxWidth(float base)
getMaxWidth
in class Renderer
public void reLayout(float base) throws ForcedTerminationException
reLayout
in class Renderer
ForcedTerminationException
public int getOuterMinWidth(float base) throws ForcedTerminationException
getOuterMinWidth
in class Renderer
ForcedTerminationException
public float getContentWidth() throws ForcedTerminationException
getContentWidth
in class BoxRenderer
ForcedTerminationException
public void resetMinWidth()
resetMinWidth
in class BoxRenderer
public int getMinWidth(float base) throws ForcedTerminationException
getMinWidth
in class Renderer
ForcedTerminationException
public void getDestinationRenderers(Map<String,Renderer> results)
getDestinationRenderers
in class Renderer
public void resetLayout()
BoxRenderer
resetLayout
in class BoxRenderer
public void setOuterWidth(int width)
setOuterWidth
in class BoxRenderer
public RStatus layout(Renderer.ReflowPhase phase) throws IOException
layout
in class BoxRenderer
IOException
public float getX()
getX
in interface InlineItem
getX
in class Renderer
public int getAbsVerticalPosition()
getAbsVerticalPosition
in class BoxRenderer
public int getAbsHorizontalPosition()
getAbsHorizontalPosition
in class BoxRenderer
public int alignContentToPageBreaks(Context.PageBreakRef pbObj) throws IOException
alignContentToPageBreaks
in class BoxRenderer
IOException
public RStatus findAutoPageBreaks(List<Context.PageBreakRef> pbreaks, int top, int pheight) throws IOException
findAutoPageBreaks
in class BoxRenderer
IOException
public int getAbsPositionedBottomEdge()
getAbsPositionedBottomEdge
in class Renderer
public boolean doesNotPrintToPage() throws IOException
doesNotPrintToPage
in class Renderer
IOException
public RStatus render() throws IOException
render
in class Renderer
IOException
public int getContentHeight()
getContentHeight
in class BoxRenderer
public int getOffsetInRow()
getOffsetInRow
in class BoxRenderer
public 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 InlineItem
dump
in class Renderer
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 boolean containsFloats()
public void assignToRow(RowRenderer row)
assignToRow
in interface InlineItem
public AnchorRenderer getPositionAnchor()
public void addPositionAnchor(AnchorRenderer positionAnchor)
Revision 4.0.15 / 20220727-0149