Uses of Class
com.openhtmltopdf.render.RenderingContext
Packages that use RenderingContext
Package
Description
-
Uses of RenderingContext in com.openhtmltopdf.context
Methods in com.openhtmltopdf.context with parameters of type RenderingContextModifier and TypeMethodDescriptionContentFunctionFactory.FsIfCutOffFunction.calculate(RenderingContext c, FSFunction function, InlineText text) ContentFunctionFactory.LeaderFunction.calculate(RenderingContext c, FSFunction function, InlineText text) ContentFunctionFactory.PageCounterFunction.calculate(RenderingContext c, FSFunction function, InlineText text) ContentFunctionFactory.PagesCounterFunction.calculate(RenderingContext c, FSFunction function, InlineText text) ContentFunctionFactory.TargetCounterFunction.calculate(RenderingContext c, FSFunction function, InlineText text) ContentFunctionFactory.TargetTextFunction.calculate(RenderingContext c, FSFunction function, InlineText text) -
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 that return RenderingContextMethods 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) private voidJava2DRenderer.paintPage(RenderingContext c, PageBox page, DisplayListContainer.DisplayListPageContainer pageOperations) voidJava2DOutputDevice.paintReplacedElement(RenderingContext c, BlockBox box) voidJava2DOutputDevice.setRenderingContext(RenderingContext result) private voidJava2DRenderer.writePageImages(List<PageBox> pages, RenderingContext c, Rectangle2D firstPageSize) -
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.private Map<TableCellBox, List<CollapsedBorderSide>> Layer.collectCollapsedTableBorders(RenderingContext c, List<Box> blocks) Deprecated.private intLayer.getPageSequenceStart(RenderingContext c, List<BlockBox> sequences, PageBox page) 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.private voidLayer.paintBackgroundsAndBorders(RenderingContext c, List<Box> blocks, Map<TableCellBox, List<CollapsedBorderSide>> collapsedTableBorders, BoxRangeLists rangeLists) Deprecated.private voidLayer.paintCollapsedTableBorders(RenderingContext c, List<CollapsedBorderSide> borders) Deprecated.private voidLayer.paintFloats(RenderingContext c) Deprecated.voidInlinePaintable.paintInline(RenderingContext c) private voidLayer.paintInlineContent(RenderingContext c, List<Box> lines, BoxRangeLists rangeLists) Deprecated.private voidDeprecated.private voidLayer.paintLayers(RenderingContext c, List<Layer> layers) Deprecated.private voidLayer.paintListMarkers(RenderingContext c, List<Box> blocks, BoxRangeLists rangeLists) Deprecated.private voidLayer.paintReplacedElement(RenderingContext c, BlockBox replaced) Deprecated.private voidLayer.paintReplacedElements(RenderingContext c, List<Box> blocks, BoxRangeLists rangeLists) Deprecated.private voidLayer.paintSelection(RenderingContext c, List<Box> lines) Deprecated.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) private RectangleTableBox.getContentLimitedBorderEdge(RenderingContext c) private RectangleTableCellBox.getContentLimitedBorderEdge(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) private voidTableCellBox.paintBackgroundStack(RenderingContext c, Rectangle bounds) voidTableBox.paintBorder(RenderingContext c) voidTableCellBox.paintBorder(RenderingContext c) voidTableRowBox.paintBorder(RenderingContext c) voidTableSectionBox.paintBorder(RenderingContext c) voidTableCellBox.paintCollapsedBorder(RenderingContext c, int side) private voidTableBox.updateFooterPosition(RenderingContext c, ContentLimit limit) voidTableBox.updateHeaderFooterPosition(RenderingContext c) private voidTableBox.updateHeaderPosition(RenderingContext c, ContentLimit limit) -
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
Fields in com.openhtmltopdf.pdfboxout declared as RenderingContextModifier and TypeFieldDescriptionprivate RenderingContextPdfBoxAccessibilityHelper._ctxprivate RenderingContextPdfBoxFastOutputDevice._renderingContextprivate RenderingContextPdfBoxSlowOutputDevice._renderingContext(package private) RenderingContextPdfBoxFastLinkManager.LinkDetails.cprivate final RenderingContextPdfBoxForm.Control.c(package private) RenderingContextPdfBoxLinkManager.LinkDetails.cMethods in com.openhtmltopdf.pdfboxout that return RenderingContextMethods 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.private voidPdfBoxFastLinkManager.addUriAsLink(RenderingContext c, Box box, org.apache.pdfbox.pdmodel.PDPage page, float pageHeight, AffineTransform transform, Element elem, NamespaceHandler handler, String uri, Shape linkShape) private voidPdfBoxLinkManager.addUriAsLink(RenderingContext c, Box box, org.apache.pdfbox.pdmodel.PDPage page, float pageHeight, AffineTransform transform, Element elem, NamespaceHandler handler, String uri, Shape linkShape) Deprecated.private Rectangle2DPdfBoxFastLinkManager.calcTotalLinkArea(RenderingContext c, Box box, float pageHeight, AffineTransform transform) private Rectangle2DPdfBoxLinkManager.calcTotalLinkArea(RenderingContext c, Box box, float pageHeight, AffineTransform transform) Deprecated.private Rectangle2DPdfBoxFastLinkManager.checkLinkArea(org.apache.pdfbox.pdmodel.PDPage page, RenderingContext c, Box box, float pageHeight, AffineTransform transform, Shape linkShape) private Rectangle2DPdfBoxLinkManager.checkLinkArea(org.apache.pdfbox.pdmodel.PDPage page, RenderingContext c, Box box, float pageHeight, AffineTransform transform, Shape linkShape) Deprecated.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.private org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDPageXYZDestinationPdfBoxFastLinkManager.createDestination(RenderingContext c, Box box) private org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDPageXYZDestinationPdfBoxLinkManager.createDestination(RenderingContext c, Box box) Deprecated.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) private intPdfBoxRenderer.findEndPage(RenderingContext c, Layer layer, List<PageBox> pages) Returns the end page number for a layer.private intPdfBoxRenderer.findStartPage(RenderingContext c, Layer layer, List<PageBox> pages) Returns the start page for a layer.voidPdfBoxFastOutputDevice.finish(RenderingContext c, Box root) voidPdfBoxOutputDevice.finish(RenderingContext c, Box root) voidPdfBoxSlowOutputDevice.finish(RenderingContext c, Box root) private List<PagePosition<Layer>> PdfBoxRenderer.getLayerPagePositions(Layer layer, List<PageBox> pages, RenderingContext ctx) 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.private voidPdfBoxRenderer.paintPage(RenderingContext c, PageBox page) private voidPdfBoxRenderer.paintPageFast(RenderingContext c, PageBox page, DisplayListContainer.DisplayListPageContainer pageOperations, int additionalTranslateX) voidPdfBoxFastOutputDevice.paintReplacedElement(RenderingContext c, BlockBox box) voidPdfBoxOutputDevice.paintReplacedElement(RenderingContext c, BlockBox box) voidPdfBoxSlowOutputDevice.paintReplacedElement(RenderingContext c, BlockBox box) private voidPdfBoxFastLinkManager.processLink(RenderingContext c, Box box, org.apache.pdfbox.pdmodel.PDPage page, float pageHeight, AffineTransform transform) private voidPdfBoxLinkManager.processLink(RenderingContext c, Box box, org.apache.pdfbox.pdmodel.PDPage page, float pageHeight, AffineTransform transform) Deprecated.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) private voidPdfBoxBookmarkManager.writeBookmark(RenderingContext c, Box root, org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineNode parent, PdfBoxBookmarkManager.Bookmark bookmark) private voidPdfBoxSlowOutputDevice.writeBookmark(RenderingContext c, Box root, org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineNode parent, PdfBoxSlowOutputDevice.Bookmark bookmark) private voidPdfBoxBookmarkManager.writeBookmarks(RenderingContext c, Box root, org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineNode parent, List<PdfBoxBookmarkManager.Bookmark> bookmarks) private voidPdfBoxSlowOutputDevice.writeBookmarks(RenderingContext c, Box root, org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineNode parent, List<PdfBoxSlowOutputDevice.Bookmark> bookmarks) voidPdfBoxBookmarkManager.writeOutline(RenderingContext c, Box root) private voidPdfBoxSlowOutputDevice.writeOutline(RenderingContext c, Box root) private voidPdfBoxRenderer.writePDF(List<PageBox> pages, RenderingContext c, Rectangle2D firstPageSize, org.apache.pdfbox.pdmodel.PDDocument doc) private voidPdfBoxRenderer.writePDFFast(List<PageBox> pages, RenderingContext c, Rectangle2D firstPageSize, org.apache.pdfbox.pdmodel.PDDocument doc) 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 TypeMethodDescriptionprivate RectangleBox.calcClipBox(RenderingContext c, Layer layer) private DimensionAbstractOutputDevice.calcInitialXYOff(CalculatedStyle.BackgroundContainer bgImage, Rectangle bgImageContainer, BorderPropertySet border, CalculatedStyle style, RenderingContext c) voidBox.collectText(RenderingContext c, StringBuilder buffer) voidInlineLayoutBox.collectText(RenderingContext c, StringBuilder buffer) voidLineBox.collectText(RenderingContext c, StringBuilder buffer) private voidAbstractOutputDevice.drawBgImage(RenderingContext c, CalculatedStyle style, Rectangle backgroundBounds, Rectangle bgImageContainer, BorderPropertySet border, FSImage backgroundImage, CalculatedStyle.BackgroundContainer bgImage) voidAbstractOutputDevice.drawDebugOutline(RenderingContext c, Box box, FSColor color) private voidAbstractOutputDevice.drawFontMetrics(RenderingContext c, InlineText inlineText) private static voidListItemPainter.drawGlyph(RenderingContext c, BlockBox box, CalculatedStyle style, IdentValue listStyle) private static voidListItemPainter.drawImage(RenderingContext c, BlockBox box, MarkerData markerData) voidAbstractOutputDevice.drawText(RenderingContext c, InlineText inlineText) private static voidListItemPainter.drawText(RenderingContext c, BlockBox box, IdentValue listStyle) voidAbstractOutputDevice.drawTextDecoration(RenderingContext c, InlineLayoutBox iB, TextDecoration decoration) voidAbstractOutputDevice.drawTextDecoration(RenderingContext c, LineBox lineBox) voidPageBox.exportLeadingText(RenderingContext c, Writer writer) private voidBox.exportPageBoxText(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) private FSImageAbstractOutputDevice.getBackgroundImage(PropertyValue bgImage, RenderingContext c) Box.getClipBox(RenderingContext c, Layer layer) Gets the combined clip of this box relative to the containing layer.PageBox.BottomLeftCorner.getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode) PageBox.BottomMarginArea.getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode) PageBox.BottomRightCorner.getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode) PageBox.LeftMarginArea.getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode) abstract PointPageBox.MarginArea.getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode) PageBox.RightMarginArea.getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode) PageBox.TopLeftCorner.getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode) PageBox.TopMarginArea.getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode) PageBox.TopRightCorner.getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode) Box.getParentClipBox(RenderingContext c, Layer layer) Gets the layer relative clip for the parent box.private static intListItemPainter.getReferenceBaseline(RenderingContext c, BlockBox box) private static intListItemPainter.getReferenceX(RenderingContext c, BlockBox box) booleanIf the html or body box have a background return true.private static booleanListItemPainter.isInVisiblePageArea(RenderingContext c, PageBox page, StrutMetrics metrics, BlockBox box) The list item box may go over two pages.voidInlineLayoutBox.lookForDynamicFunctions(RenderingContext c) private voidLineBox.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) private voidAbstractOutputDevice.paintBackground0(RenderingContext c, CalculatedStyle style, Rectangle backgroundBounds, Rectangle bgImageContainer, BorderPropertySet border) 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) voidprivate 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 TypeMethodDescriptionprivate voidDisplayListPainter.clip(RenderingContext c, OperatorClip clip) 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) private voidDisplayListCollector.collectFloatAsLayer(RenderingContext c, Layer layer, BlockBox floater, DisplayListContainer.DisplayListPageContainer pageInstructions, int pageNumber, int shadowPageNumber) This method can be reached by two code paths:collectRoot -: collect -: processPage -: collectFloatAsLayer -: processPage collectRoot -: collect -: processShadowPages -: foreach(shadowPage) -: processPage -: collectFloatAsLayer -: processPageTherefore, it is important to be careful when expecting a base page or shadow page.DisplayListCollector.collectInlineBlock(RenderingContext c, BlockBox bb, EnumSet<DisplayListCollector.CollectFlags> noneOf, int shadowPageNo) private voidDisplayListCollector.collectLayerBackgroundAndBorder(RenderingContext c, Layer layer, DisplayListContainer dlPages, int pgStart, int pgEnd) private voidDisplayListCollector.collectLayers(RenderingContext c, List<Layer> layers, DisplayListContainer dlPages, Set<DisplayListCollector.CollectFlags> flags) private voidDisplayListCollector.collectReplacedElementLayer(RenderingContext c, Layer layer, DisplayListContainer dlPages, int pgStart, int pgEnd) 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) private voidDisplayListPainter.paintBackgroundAndBorders(RenderingContext c, List<DisplayListItem> blocks, Map<TableCellBox, List<CollapsedBorderSide>> collapsedTableBorders) private voidDisplayListPainter.paintFixed(RenderingContext c, Layer layer) private voidDisplayListPainter.paintInlineContent(RenderingContext c, List<DisplayListItem> inlines) private voidDisplayListPainter.paintListMarkers(RenderingContext c, List<DisplayListItem> blocks) private voidDisplayListPainter.paintReplacedElement(RenderingContext c, BlockBox replaced) private voidDisplayListPainter.paintReplacedElements(RenderingContext c, List<DisplayListItem> replaceds) private voidDisplayListPainter.popClipRect(RenderingContext c) private voidDisplayListPainter.popTransform(RenderingContext c, Box master) 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.private voidDisplayListCollector.processShadowPages(RenderingContext c, Layer layer, int pageNumber, PagedBoxCollector.PageResult pg, DisplayListContainer.DisplayListPageContainer dlPageList, boolean includeFloats) If we have cut-off boxes we have to process them as separate pages.private voidDisplayListPainter.pushClipRect(RenderingContext c, Rectangle clip) private voidDisplayListPainter.pushTransform(RenderingContext c, Box master, int shadowPage) private voidDisplayListPainter.setClip(RenderingContext c, OperatorSetClip setclip) private voidDisplayListPainter.updateTableHeaderFooterPosition(RenderingContext c, BlockBox container) If the container is a table and it is set topaginatethen update its header and footer position for this page. -
Uses of RenderingContext in com.openhtmltopdf.render.simplepainter
Methods in com.openhtmltopdf.render.simplepainter with parameters of type RenderingContextModifier and TypeMethodDescriptionprivate booleanSimpleBoxCollector.addBlockToLists(RenderingContext c, Layer layer, Box container, Shape ourClip) Adds block box to appropriate flat box lists.private voidSimpleBoxCollector.addLineBox(RenderingContext c, Layer layer, LineBox container) private voidSimplePainter.clip(RenderingContext c, OperatorClip clip) voidSimpleBoxCollector.collect(RenderingContext c, Layer layer) voidSimpleBoxCollector.collect(RenderingContext c, Layer layer, Box container) private voidSimpleBoxCollector.collectInline(RenderingContext c, Layer layer) voidSimplePainter.paintAsLayer(RenderingContext c, BlockBox startingPoint) private voidSimplePainter.paintBackgroundsAndBorders(RenderingContext c, List<DisplayListItem> blocks, Map<TableCellBox, List<CollapsedBorderSide>> collapsedTableBorders) private voidSimplePainter.paintFloats(RenderingContext c, List<BlockBox> floaters) private voidSimplePainter.paintInlineContent(RenderingContext c, List<DisplayListItem> inlines) voidSimplePainter.paintLayer(RenderingContext c, Layer layer) private voidSimplePainter.paintLayerBackgroundAndBorder(RenderingContext c, Box master) private voidSimplePainter.paintLayers(RenderingContext c, List<Layer> layers) private voidSimplePainter.paintListMarkers(RenderingContext c, List<DisplayListItem> listItems) private voidSimplePainter.paintReplacedElement(RenderingContext c, BlockBox replaced) private voidSimplePainter.paintReplacedElements(RenderingContext c, List<DisplayListItem> replaceds) private voidSimplePainter.setClip(RenderingContext c, OperatorSetClip setclip) -
Uses of RenderingContext in com.openhtmltopdf.svgsupport
Fields in com.openhtmltopdf.svgsupport declared as RenderingContextMethods 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)