public class PdfPageMarkupRenderer extends BlockRenderer implements PageMarkupRenderer
Renderer.ReflowPhase
Modifier and Type | Field and Description |
---|---|
AnchorRenderer |
positionAnchor |
String |
refID |
MIN_ROW_WIDTH
abb, offset, row
Constructor and Description |
---|
PdfPageMarkupRenderer(Element element) |
Modifier and Type | Method and Description |
---|---|
void |
addPositionAnchor(AnchorRenderer positionAnchor) |
int |
alignContentToPageBreaks(Context.PageBreakRef pbObj) |
void |
assignToPage(int pageNum) |
RStatus |
findAutoPageBreaks(List<Context.PageBreakRef> pbreaks,
int top,
int pheight) |
int |
getAbsVerticalPosition() |
int |
getBaseline(Context context) |
int |
getHeight() |
int |
getMarkupHeight() |
int |
getOuterHeight() |
int |
getPageAssignment() |
AnchorRenderer |
getPositionAnchor() |
RStatus |
layout(Renderer.ReflowPhase phase) |
RStatus |
render() |
void |
setPageInfo(int page,
int total) |
addAbsChild, addChild, assignToRow, containsFloats, doesNotPrintToPage, dump, findParentRenderer, getAbsHorizontalPosition, getAbsPositionedBottomEdge, getChildAt, getChildrenNumber, getContentHeight, getContentWidth, getDestinationRenderers, getMaxWidth, getMinWidth, getOffsetInRow, getOuterMinWidth, getWidth, getX, isBody, isDocumentElementRenderer, isFirstRow, isLastContentPortion, isLastRow, isTheFirstRow, isUseAwt, moveChildUp, reLayout, resetLayout, resetMinWidth, setOuterWidth, setUseAwt, setX, toString
borderBottom, borderLeft, borderRight, borderTop, collapseBorders, containingBlock, createAssignedPageBreak, createAssignedPageBreak, createAssignedPageBreak, dashCalculator, expandHeight, getExtraBottomOffset, 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
getElement
getOuterWidth, isRTL
public String refID
public AnchorRenderer positionAnchor
public PdfPageMarkupRenderer(Element element)
public void setPageInfo(int page, int total)
setPageInfo
in interface PageMarkupRenderer
public int getHeight()
getHeight
in interface InlineItem
getHeight
in class BoxRenderer
public int getOuterHeight()
getOuterHeight
in interface InlineItem
getOuterHeight
in class BoxRenderer
public int getBaseline(Context context)
getBaseline
in interface InlineItem
getBaseline
in class BlockRenderer
public int getMarkupHeight()
getMarkupHeight
in interface PageMarkupRenderer
public RStatus layout(Renderer.ReflowPhase phase) throws IOException
layout
in interface PageMarkupRenderer
layout
in class BlockRenderer
IOException
public RStatus render() throws IOException
render
in interface PageMarkupRenderer
render
in class BlockRenderer
IOException
public RStatus findAutoPageBreaks(List<Context.PageBreakRef> pbreaks, int top, int pheight)
findAutoPageBreaks
in class BlockRenderer
public int alignContentToPageBreaks(Context.PageBreakRef pbObj)
alignContentToPageBreaks
in class BlockRenderer
public int getAbsVerticalPosition()
getAbsVerticalPosition
in interface PageMarkupRenderer
getAbsVerticalPosition
in class BlockRenderer
public AnchorRenderer getPositionAnchor()
getPositionAnchor
in interface PageMarkupRenderer
getPositionAnchor
in class BlockRenderer
public void addPositionAnchor(AnchorRenderer positionAnchor)
addPositionAnchor
in interface PageMarkupRenderer
addPositionAnchor
in class BlockRenderer
public void assignToPage(int pageNum)
assignToPage
in interface PageMarkupRenderer
public int getPageAssignment()
getPageAssignment
in interface PageMarkupRenderer
Revision 4.0.15 / 20220727-0149