public class RtfPageMarkupRenderer extends RtfBlockRenderer implements PageMarkupRenderer
Renderer.ReflowPhase
Modifier and Type | Field and Description |
---|---|
String |
refID |
MIN_ROW_WIDTH
abb, offset, row
Constructor and Description |
---|
RtfPageMarkupRenderer(Element element) |
Modifier and Type | Method and Description |
---|---|
int |
alignContentToPageBreaks(Context.PageBreakRef pbObj) |
void |
assignToPage(int pageNum) |
RStatus |
findAutoPageBreaks(List<Context.PageBreakRef> pbreaks,
int top,
int pheight) |
int |
getBaseline(Context context) |
int |
getHeight() |
int |
getMarkupHeight() |
int |
getOuterHeight() |
int |
getPageAssignment() |
RStatus |
layout(Renderer.ReflowPhase phase) |
RStatus |
render() |
void |
setPageInfo(int page,
int total) |
isRTL
addAbsChild, addChild, addPositionAnchor, assignToRow, containsFloats, doesNotPrintToPage, dump, findParentRenderer, getAbsHorizontalPosition, getAbsPositionedBottomEdge, getAbsVerticalPosition, getChildAt, getChildrenNumber, getContentHeight, getContentWidth, getDestinationRenderers, getMaxWidth, getMinWidth, getOffsetInRow, getOuterMinWidth, getPositionAnchor, 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, 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
addPositionAnchor, getAbsVerticalPosition, getElement, getPositionAnchor
getOuterWidth
public String refID
public RtfPageMarkupRenderer(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 RtfBlockRenderer
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 void assignToPage(int pageNum)
assignToPage
in interface PageMarkupRenderer
public int getPageAssignment()
getPageAssignment
in interface PageMarkupRenderer
Revision 4.0.15 / 20220727-0149