Uses of Class
com.openhtmltopdf.render.RenderingContext
Packages that use RenderingContext
Package
Description
-
Uses of RenderingContext in com.openhtmltopdf.css.extend
Methods in com.openhtmltopdf.css.extend with parameters of type RenderingContextModifier and TypeMethodDescriptionContentFunction.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 RenderingContextModifier and TypeMethodDescriptionbooleanCalculatedStyle.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 RenderingContextModifier and TypeMethodDescriptionvoidOutputDevice.drawDebugOutline(RenderingContext c, Box box, FSColor color) 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.java2d
Methods in com.openhtmltopdf.java2d with parameters of type RenderingContextModifier and TypeMethodDescriptionvoidJava2DOutputDevice.drawSelection(RenderingContext c, InlineText inlineText) Deprecated.voidJava2DOutputDevice.finish(RenderingContext c, BlockBox _root) voidJava2DObjectDrawerReplacedElement.paint(OutputDevice outputDevice, RenderingContext ctx, double x, double y, double width, double height) voidJava2DSVGReplacedElement.paint(OutputDevice outputDevice, RenderingContext ctx, double x, double y, double width, double height) voidJava2DOutputDevice.paintReplacedElement(RenderingContext c, BlockBox box) voidJava2DOutputDevice.setRenderingContext(RenderingContext result) -
Uses of RenderingContext in com.openhtmltopdf.java2d.api
Methods in com.openhtmltopdf.java2d.api with parameters of type RenderingContextModifier and TypeMethodDescriptionabstract voidJava2DRendererBuilder.Graphics2DPaintingReplacedElement.paint(OutputDevice outputDevice, RenderingContext ctx, double x, double y, double width, double height) -
Uses of RenderingContext in com.openhtmltopdf.layout
Methods in com.openhtmltopdf.layout that return RenderingContextMethods in com.openhtmltopdf.layout with parameters of type RenderingContextModifier and TypeMethodDescriptionprotected 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 RenderingContextModifier and TypeMethodDescriptionvoidTableRowBox.exportText(RenderingContext c, Writer writer) TableCellBox.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.objects.jfreechart
Methods in com.openhtmltopdf.objects.jfreechart with parameters of type RenderingContextModifier and TypeMethodDescriptionJFreeChartBarDiagramObjectDrawer.drawObject(Element e, double x, double y, double width, double height, OutputDevice outputDevice, RenderingContext ctx, int dotsPerPixel) JFreeChartPieDiagramObjectDrawer.drawObject(Element e, double x, double y, double width, double height, OutputDevice outputDevice, RenderingContext ctx, int dotsPerPixel) -
Uses of RenderingContext in com.openhtmltopdf.objects.pdf
Methods in com.openhtmltopdf.objects.pdf with parameters of type RenderingContextModifier and TypeMethodDescriptionForegroundPdfDrawer.drawObject(Element e, double x, double y, double width, double height, OutputDevice outputDevice, RenderingContext ctx, int dotsPerPixel) MergeBackgroundPdfDrawer.drawObject(Element e, double x, double y, double width, double height, OutputDevice outputDevice, RenderingContext ctx, int dotsPerPixel) protected org.apache.pdfbox.pdmodel.graphics.form.PDFormXObjectPdfDrawerBase.importPageAsXForm(RenderingContext ctx, Element e, PdfBoxOutputDevice pdfBoxOutputDevice, org.apache.pdfbox.multipdf.LayerUtility layerUtility) -
Uses of RenderingContext in com.openhtmltopdf.objects.zxing
Methods in com.openhtmltopdf.objects.zxing with parameters of type RenderingContextModifier and TypeMethodDescriptionZXingObjectDrawer.drawObject(Element e, double x, double y, double width, double height, OutputDevice outputDevice, RenderingContext ctx, int dotsPerPixel) -
Uses of RenderingContext in com.openhtmltopdf.pdfboxout
Methods in com.openhtmltopdf.pdfboxout with parameters of type RenderingContextModifier and TypeMethodDescriptionvoidPdfBoxPerDocumentFormState.addControlIfRequired(Box box, org.apache.pdfbox.pdmodel.PDPage page, AffineTransform transform, RenderingContext c, float pageHeight) Adds a control to a list to be used later byprocessControls.static org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDPageXYZDestinationPdfBoxBookmarkManager.createBoxDestination(RenderingContext c, org.apache.pdfbox.pdmodel.PDDocument writer, PdfBoxFastOutputDevice od, float dotsPerPoint, Box root, Box box) Creates aPDPageXYZDestinationwith the Y set to the min Y of the border box and the X and Z set to null.static Rectangle2DPdfBoxFastLinkManager.createTargetArea(RenderingContext c, Box box, float pageHeight, AffineTransform transform, Box _root, PdfBoxOutputDevice _od) static Rectangle2DPdfBoxLinkManager.createTargetArea(RenderingContext c, Box box, float pageHeight, AffineTransform transform, Box _root, PdfBoxOutputDevice _od) Deprecated.voidPdfBoxFastOutputDevice.drawSelection(RenderingContext c, InlineText inlineText) voidPdfBoxOutputDevice.drawSelection(RenderingContext c, InlineText inlineText) voidPdfBoxSlowOutputDevice.drawSelection(RenderingContext c, InlineText inlineText) voidPdfBoxFastOutputDevice.finish(RenderingContext c, Box root) voidPdfBoxOutputDevice.finish(RenderingContext c, Box root) voidPdfBoxSlowOutputDevice.finish(RenderingContext c, Box root) voidBookmarkElement.paint(RenderingContext c, PdfBoxOutputDevice outputDevice, BlockBox box) voidPdfBoxImageElement.paint(RenderingContext c, PdfBoxOutputDevice outputDevice, BlockBox box) voidPdfBoxObjectDrawerReplacedElement.paint(RenderingContext c, PdfBoxOutputDevice outputDevice, BlockBox box) voidPdfBoxPDFReplacedElement.paint(RenderingContext c, PdfBoxOutputDevice outputDevice, BlockBox box) voidPdfBoxReplacedElement.paint(RenderingContext c, PdfBoxOutputDevice outputDevice, BlockBox box) voidPdfBoxSVGReplacedElement.paint(RenderingContext c, PdfBoxOutputDevice outputDevice, BlockBox box) voidPdfBoxFastOutputDevice.paintBackground(RenderingContext c, Box box) We use paintBackground to do extra stuff such as processing links, forms and form controls.voidPdfBoxOutputDevice.paintBackground(RenderingContext c, Box box) We use paintBackground to do extra stuff such as processing links, forms and form controls.voidPdfBoxSlowOutputDevice.paintBackground(RenderingContext c, Box box) We use paintBackground to do extra stuff such as processing links, forms and form controls.voidPdfBoxFastOutputDevice.paintReplacedElement(RenderingContext c, BlockBox box) voidPdfBoxOutputDevice.paintReplacedElement(RenderingContext c, BlockBox box) voidPdfBoxSlowOutputDevice.paintReplacedElement(RenderingContext c, BlockBox box) voidPdfBoxFastLinkManager.processLinkLater(RenderingContext c, Box box, org.apache.pdfbox.pdmodel.PDPage page, float pageHeight, AffineTransform transform) voidPdfBoxLinkManager.processLinkLater(RenderingContext c, Box box, org.apache.pdfbox.pdmodel.PDPage page, float pageHeight, AffineTransform transform) Deprecated.voidPdfBoxFastOutputDevice.setRenderingContext(RenderingContext result) voidPdfBoxOutputDevice.setRenderingContext(RenderingContext result) voidPdfBoxSlowOutputDevice.setRenderingContext(RenderingContext result) voidPdfBoxAccessibilityHelper.startPage(org.apache.pdfbox.pdmodel.PDPage page, PdfContentStreamAdapter cs, RenderingContext ctx, float pageHeight, AffineTransform transform) voidPdfBoxBookmarkManager.writeOutline(RenderingContext c, Box root) Constructors in com.openhtmltopdf.pdfboxout with parameters of type RenderingContextModifierConstructorDescriptionControl(Box box, org.apache.pdfbox.pdmodel.PDPage page, AffineTransform transform, RenderingContext c, float pageHeight) -
Uses of RenderingContext in com.openhtmltopdf.render
Methods in com.openhtmltopdf.render with parameters of type RenderingContextModifier and TypeMethodDescriptionvoidBox.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) Box.getClipBox(RenderingContext c, Layer layer) Gets the combined clip of this box relative to the containing layer.Box.getParentClipBox(RenderingContext c, Layer layer) Gets the layer relative clip for the parent box.booleanIf 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) voidvoidInlineLayoutBox.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 RenderingContextModifier and TypeMethodDescriptionprotected 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) DisplayListCollector.collectInlineBlock(RenderingContext c, BlockBox bb, EnumSet<DisplayListCollector.CollectFlags> noneOf, int shadowPageNo) DisplayListCollector.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 RenderingContextModifier and TypeMethodDescriptionvoidSimpleBoxCollector.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) -
Uses of RenderingContext in com.openhtmltopdf.svgsupport
Methods in com.openhtmltopdf.svgsupport with parameters of type RenderingContextModifier and TypeMethodDescriptionvoidBatikSVGImage.drawSVG(OutputDevice outputDevice, RenderingContext ctx, double x, double y) voidPDFTranscoder.setRenderingParameters(OutputDevice od, RenderingContext ctx, double x, double y, PDFTranscoder.OpenHtmlFontResolver fontResolver, UserAgentCallback userAgentCallback)