Uses of Class
com.openhtmltopdf.render.RenderingContext
-
Uses of RenderingContext in com.openhtmltopdf.css.extend
Methods in com.openhtmltopdf.css.extend with parameters of type RenderingContext Modifier and Type Method Description StringContentFunction. calculate(RenderingContext c, FSFunction function, InlineText text) -
Uses of RenderingContext in com.openhtmltopdf.css.style
Methods in com.openhtmltopdf.css.style with parameters of type RenderingContext Modifier and Type Method Description booleanCalculatedStyle. isVisible(RenderingContext renderingContext, Box thisElement)Determine if the element is visible. -
Uses of RenderingContext in com.openhtmltopdf.extend
Methods in com.openhtmltopdf.extend with parameters of type RenderingContext Modifier and Type Method Description voidOutputDevice. drawDebugOutline(RenderingContext c, Box box, FSColor color)Map<Shape,String>FSObjectDrawer. drawObject(Element e, double x, double y, double width, double height, OutputDevice outputDevice, RenderingContext ctx, int dotsPerPixel)Perform your drawing.voidOutputDevice. drawSelection(RenderingContext c, InlineText inlineText)voidSVGDrawer.SVGImage. drawSVG(OutputDevice outputDevice, RenderingContext ctx, double x, double y)voidOutputDevice. drawText(RenderingContext c, InlineText inlineText)voidOutputDevice. drawTextDecoration(RenderingContext c, InlineLayoutBox iB, TextDecoration decoration)voidOutputDevice. drawTextDecoration(RenderingContext c, LineBox lineBox)voidOutputDevice. paintBackground(RenderingContext c, CalculatedStyle style, Rectangle bounds, Rectangle bgImageContainer, BorderPropertySet border)voidOutputDevice. paintBackground(RenderingContext c, Box box)voidOutputDevice. paintBorder(RenderingContext c, CalculatedStyle style, Rectangle edge, int sides)voidOutputDevice. paintBorder(RenderingContext c, Box box)voidOutputDevice. paintCollapsedBorder(RenderingContext c, BorderPropertySet border, Rectangle bounds, int side)voidOutputDevice. paintReplacedElement(RenderingContext c, BlockBox box) -
Uses of RenderingContext in com.openhtmltopdf.layout
Methods in com.openhtmltopdf.layout that return RenderingContext Modifier and Type Method Description RenderingContextSharedContext. newRenderingContextInstance()Methods in com.openhtmltopdf.layout with parameters of type RenderingContext Modifier and Type Method Description protected List<AffineTransform>Layer. applyTranform(RenderingContext c, Box box)Deprecated.intLayer. getRelativePageCount(RenderingContext c)intLayer. getRelativePageNo(RenderingContext c)intLayer. getRelativePageNo(RenderingContext c, int absY)voidLayer. paint(RenderingContext c)Deprecated.voidLayer. paintAsLayer(RenderingContext c, BlockBox startingPoint)Deprecated.voidInlinePaintable. paintInline(RenderingContext c)voidBoxRangeHelper. popClipRegions(RenderingContext c, int contentIndex)voidLayer. positionFixedLayer(RenderingContext c)voidBoxRangeHelper. pushClipRegion(RenderingContext c, int contentIndex) -
Uses of RenderingContext in com.openhtmltopdf.newtable
Methods in com.openhtmltopdf.newtable with parameters of type RenderingContext Modifier and Type Method Description voidTableRowBox. exportText(RenderingContext c, Writer writer)RectangleTableCellBox. getChildrenClipEdge(RenderingContext c)booleanTableCellBox. isNeedsClipOnPaint(RenderingContext c)booleanTableBox. isTableRenderedOnFirstPage(RenderingContext context)voidTableBox. paintBackground(RenderingContext c)voidTableCellBox. paintBackground(RenderingContext c)voidTableRowBox. paintBackground(RenderingContext c)voidTableSectionBox. paintBackground(RenderingContext c)voidTableBox. paintBorder(RenderingContext c)voidTableCellBox. paintBorder(RenderingContext c)voidTableRowBox. paintBorder(RenderingContext c)voidTableSectionBox. paintBorder(RenderingContext c)voidTableCellBox. paintCollapsedBorder(RenderingContext c, int side)voidTableBox. updateHeaderFooterPosition(RenderingContext c) -
Uses of RenderingContext in com.openhtmltopdf.render
Methods in com.openhtmltopdf.render with parameters of type RenderingContext Modifier and Type Method Description voidBox. collectText(RenderingContext c, StringBuilder buffer)voidInlineLayoutBox. collectText(RenderingContext c, StringBuilder buffer)voidLineBox. collectText(RenderingContext c, StringBuilder buffer)voidAbstractOutputDevice. drawDebugOutline(RenderingContext c, Box box, FSColor color)voidAbstractOutputDevice. drawText(RenderingContext c, InlineText inlineText)voidAbstractOutputDevice. drawTextDecoration(RenderingContext c, InlineLayoutBox iB, TextDecoration decoration)voidAbstractOutputDevice. drawTextDecoration(RenderingContext c, LineBox lineBox)voidPageBox. exportLeadingText(RenderingContext c, Writer writer)protected voidBox. exportPageBoxText(RenderingContext c, Writer writer, int yPos)voidBox. exportText(RenderingContext c, Writer writer)voidLineBox. exportText(RenderingContext c, Writer writer)voidPageBox. exportTrailingText(RenderingContext c, Writer writer)RectangleBox. getClipBox(RenderingContext c, Layer layer)Gets the combined clip of this box relative to the containing layer.FSColorBox. getEffBackgroundColor(RenderingContext c)RectangleBox. getParentClipBox(RenderingContext c, Layer layer)Gets the layer relative clip for the parent box.booleanBox. hasRootElementBackground(RenderingContext c)If the html or body box have a background return true.voidInlineLayoutBox. lookForDynamicFunctions(RenderingContext c)static voidBorderPainter. paint(Rectangle bounds, int sides, BorderPropertySet border, RenderingContext ctx, int xOffset, boolean bevel)voidInlineText. paint(RenderingContext c)static voidListItemPainter. paint(RenderingContext c, BlockBox box)voidAbstractOutputDevice. paintBackground(RenderingContext c, CalculatedStyle style, Rectangle bounds, Rectangle bgImageContainer, BorderPropertySet border)voidAbstractOutputDevice. paintBackground(RenderingContext c, Box box)voidBox. paintBackground(RenderingContext c)voidPageBox. paintBackground(RenderingContext c, int additionalClearance, short mode)voidAbstractOutputDevice. paintBorder(RenderingContext c, CalculatedStyle style, Rectangle edge, int sides)voidAbstractOutputDevice. paintBorder(RenderingContext c, Box box)voidBox. paintBorder(RenderingContext c)voidPageBox. paintBorder(RenderingContext c, int additionalClearance, short mode)voidAbstractOutputDevice. paintCollapsedBorder(RenderingContext c, BorderPropertySet border, Rectangle bounds, int side)voidBlockBox. paintDebugOutline(RenderingContext c)voidInlineLayoutBox. paintDebugOutline(RenderingContext c)voidBlockBox. paintInline(RenderingContext c)voidInlineLayoutBox. paintInline(RenderingContext c)voidLineBox. paintInline(RenderingContext c)voidBlockBox. paintListMarker(RenderingContext c)voidPageBox. paintMarginAreas(RenderingContext c, int additionalClearance, short mode)voidBox. paintRootElementBackground(RenderingContext c)voidInlineLayoutBox. paintSelection(RenderingContext c)voidInlineText. paintSelection(RenderingContext c)voidInlineText. updateDynamicValue(RenderingContext c) -
Uses of RenderingContext in com.openhtmltopdf.render.displaylist
Methods in com.openhtmltopdf.render.displaylist with parameters of type RenderingContext Modifier and Type Method Description protected voidDisplayListCollector. collect(RenderingContext c, Layer layer, DisplayListContainer dlPages, Set<DisplayListCollector.CollectFlags> flags)The main method to create a list of paint instruction for each page.static Map<TableCellBox,List<CollapsedBorderSide>>DisplayListCollector. collectCollapsedTableBorders(RenderingContext c, List<TableCellBox> tcells)DisplayListContainer.DisplayListPageContainerDisplayListCollector. collectInlineBlock(RenderingContext c, BlockBox bb, EnumSet<DisplayListCollector.CollectFlags> noneOf, int shadowPageNo)DisplayListContainerDisplayListCollector. collectRoot(RenderingContext c, Layer rootLayer)Use this method to collect all boxes recursively into a list of paint instructions for each page.static AffineTransformTransformCreator. createPageCoordinatesTranform(RenderingContext c, Box box, PageBox page, int shadowPageNumber)Creates a transform that can be applied to a page, either PDF or Java2D.static AffineTransformTransformCreator. createPageMarginCoordinatesTransform(RenderingContext c, Box box, PageBox page, int xTranslate, int yTranslate)protected intDisplayListCollector. findEndPage(RenderingContext c, Layer layer)protected intDisplayListCollector. findStartPage(RenderingContext c, Layer layer)voidDisplayListPainter. paint(RenderingContext c, DisplayListContainer.DisplayListPageContainer pageOperations)protected voidDisplayListCollector. processPage(RenderingContext c, Layer layer, PagedBoxCollector.PageResult pg, DisplayListContainer.DisplayListPageContainer dlPageList, boolean includeFloats, int pageNumber, int shadowPageNumber)Convert a list of boxes to a list of paint instructions for a page. -
Uses of RenderingContext in com.openhtmltopdf.render.simplepainter
Methods in com.openhtmltopdf.render.simplepainter with parameters of type RenderingContext Modifier and Type Method Description voidSimpleBoxCollector. collect(RenderingContext c, Layer layer)voidSimpleBoxCollector. collect(RenderingContext c, Layer layer, Box container)voidSimplePainter. paintAsLayer(RenderingContext c, BlockBox startingPoint)voidSimplePainter. paintLayer(RenderingContext c, Layer layer)