java.lang.Object
org.xhtmlrenderer.render.PageBox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexportLeadingText(RenderingContext c, Writer writer) voidexportTrailingText(RenderingContext c, Writer writer) intintgetContentHeight(CssContext cssCtx) intgetContentWidth(CssContext cssCtx) intgetHeight(CssContext cssCtx) getMargin(CssContext cssCtx) intgetMarginBorderPadding(CssContext cssCtx, CalculatedStyle.Edge edge) @Nullable ElementintgetPagedViewClippingBounds(CssContext cssCtx, int additionalClearance) intintintgetPrintClippingBounds(CssContext cssCtx) getPrintPaintingBounds(CssContext cssCtx) getScreenPaintingBounds(CssContext cssCtx, int additionalClearance) getStyle()intgetTop()intgetWidth(CssContext cssCtx) booleanbooleanvoidvoidpaintBackground(RenderingContext c, int additionalClearance, Layer.PagedMode mode) voidpaintBorder(RenderingContext c, int additionalClearance, Layer.PagedMode mode) voidpaintMarginAreas(RenderingContext c, int additionalClearance, Layer.PagedMode mode) voidsetPageNo(int pageNo) voidsetPaintingBottom(int paintingBottom) voidsetPaintingTop(int paintingTop) voidsetTopAndBottom(CssContext cssCtx, int top)
-
Constructor Details
-
PageBox
-
-
Method Details
-
getWidth
-
getHeight
-
getContentHeight
-
getContentWidth
-
getStyle
-
getBottom
public int getBottom() -
getTop
public int getTop() -
setTopAndBottom
-
getPaintingBottom
public int getPaintingBottom() -
setPaintingBottom
public void setPaintingBottom(int paintingBottom) -
getPaintingTop
public int getPaintingTop() -
setPaintingTop
public void setPaintingTop(int paintingTop) -
getScreenPaintingBounds
-
getPrintPaintingBounds
-
getPagedViewClippingBounds
@CheckReturnValue public Rectangle getPagedViewClippingBounds(CssContext cssCtx, int additionalClearance) -
getPrintClippingBounds
-
getMargin
-
paintBorder
-
paintBackground
-
paintMarginAreas
-
getPageNo
public int getPageNo() -
setPageNo
public void setPageNo(int pageNo) -
getOuterPageWidth
public int getOuterPageWidth() -
getMarginBorderPadding
-
getPageInfo
-
getMetadata
-
layout
-
isLeftPage
public boolean isLeftPage() -
isRightPage
public boolean isRightPage() -
exportLeadingText
- Throws:
IOException
-
exportTrailingText
- Throws:
IOException
-