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 TypeMethodDescriptionboolean
CalculatedStyle.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 TypeMethodDescriptionvoid
OutputDevice.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.void
OutputDevice.drawSelection
(RenderingContext c, InlineText inlineText) void
SVGDrawer.SVGImage.drawSVG
(OutputDevice outputDevice, RenderingContext ctx, double x, double y) void
OutputDevice.drawText
(RenderingContext c, InlineText inlineText) void
OutputDevice.drawTextDecoration
(RenderingContext c, InlineLayoutBox iB, TextDecoration decoration) void
OutputDevice.drawTextDecoration
(RenderingContext c, LineBox lineBox) void
OutputDevice.paintBackground
(RenderingContext c, CalculatedStyle style, Rectangle bounds, Rectangle bgImageContainer, BorderPropertySet border) void
OutputDevice.paintBackground
(RenderingContext c, Box box) void
OutputDevice.paintBorder
(RenderingContext c, CalculatedStyle style, Rectangle edge, int sides) void
OutputDevice.paintBorder
(RenderingContext c, Box box) void
OutputDevice.paintCollapsedBorder
(RenderingContext c, BorderPropertySet border, Rectangle bounds, int side) void
OutputDevice.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 TypeMethodDescriptionvoid
Java2DOutputDevice.drawSelection
(RenderingContext c, InlineText inlineText) Deprecated.void
Java2DOutputDevice.finish
(RenderingContext c, BlockBox _root) void
Java2DObjectDrawerReplacedElement.paint
(OutputDevice outputDevice, RenderingContext ctx, double x, double y, double width, double height) void
Java2DSVGReplacedElement.paint
(OutputDevice outputDevice, RenderingContext ctx, double x, double y, double width, double height) private void
Java2DRenderer.paintPage
(RenderingContext c, PageBox page, DisplayListContainer.DisplayListPageContainer pageOperations) void
Java2DOutputDevice.paintReplacedElement
(RenderingContext c, BlockBox box) void
Java2DOutputDevice.setRenderingContext
(RenderingContext result) private void
Java2DRenderer.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 void
Java2DRendererBuilder.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 int
Layer.getPageSequenceStart
(RenderingContext c, List<BlockBox> sequences, PageBox page) int
Layer.getRelativePageCount
(RenderingContext c) int
Layer.getRelativePageNo
(RenderingContext c) int
Layer.getRelativePageNo
(RenderingContext c, int absY) void
Layer.paint
(RenderingContext c) Deprecated.void
Layer.paintAsLayer
(RenderingContext c, BlockBox startingPoint) Deprecated.private void
Layer.paintBackgroundsAndBorders
(RenderingContext c, List<Box> blocks, Map<TableCellBox, List<CollapsedBorderSide>> collapsedTableBorders, BoxRangeLists rangeLists) Deprecated.private void
Layer.paintCollapsedTableBorders
(RenderingContext c, List<CollapsedBorderSide> borders) Deprecated.private void
Layer.paintFloats
(RenderingContext c) Deprecated.void
InlinePaintable.paintInline
(RenderingContext c) private void
Layer.paintInlineContent
(RenderingContext c, List<Box> lines, BoxRangeLists rangeLists) Deprecated.private void
Deprecated.private void
Layer.paintLayers
(RenderingContext c, List<Layer> layers) Deprecated.private void
Layer.paintListMarkers
(RenderingContext c, List<Box> blocks, BoxRangeLists rangeLists) Deprecated.private void
Layer.paintReplacedElement
(RenderingContext c, BlockBox replaced) Deprecated.private void
Layer.paintReplacedElements
(RenderingContext c, List<Box> blocks, BoxRangeLists rangeLists) Deprecated.private void
Layer.paintSelection
(RenderingContext c, List<Box> lines) Deprecated.void
BoxRangeHelper.popClipRegions
(RenderingContext c, int contentIndex) void
Layer.positionFixedLayer
(RenderingContext c) void
BoxRangeHelper.pushClipRegion
(RenderingContext c, int contentIndex) -
Uses of RenderingContext in com.openhtmltopdf.newtable
Methods in com.openhtmltopdf.newtable with parameters of type RenderingContextModifier and TypeMethodDescriptionvoid
TableRowBox.exportText
(RenderingContext c, Writer writer) TableCellBox.getChildrenClipEdge
(RenderingContext c) private Rectangle
TableBox.getContentLimitedBorderEdge
(RenderingContext c) private Rectangle
TableCellBox.getContentLimitedBorderEdge
(RenderingContext c) boolean
TableCellBox.isNeedsClipOnPaint
(RenderingContext c) boolean
TableBox.isTableRenderedOnFirstPage
(RenderingContext context) void
TableBox.paintBackground
(RenderingContext c) void
TableCellBox.paintBackground
(RenderingContext c) void
TableRowBox.paintBackground
(RenderingContext c) void
TableSectionBox.paintBackground
(RenderingContext c) private void
TableCellBox.paintBackgroundStack
(RenderingContext c, Rectangle bounds) void
TableBox.paintBorder
(RenderingContext c) void
TableCellBox.paintBorder
(RenderingContext c) void
TableRowBox.paintBorder
(RenderingContext c) void
TableSectionBox.paintBorder
(RenderingContext c) void
TableCellBox.paintCollapsedBorder
(RenderingContext c, int side) private void
TableBox.updateFooterPosition
(RenderingContext c, ContentLimit limit) void
TableBox.updateHeaderFooterPosition
(RenderingContext c) private void
TableBox.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.PDFormXObject
PdfDrawerBase.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 RenderingContext
PdfBoxAccessibilityHelper._ctx
private RenderingContext
PdfBoxFastOutputDevice._renderingContext
private RenderingContext
PdfBoxSlowOutputDevice._renderingContext
(package private) RenderingContext
PdfBoxFastLinkManager.LinkDetails.c
private final RenderingContext
PdfBoxForm.Control.c
(package private) RenderingContext
PdfBoxLinkManager.LinkDetails.c
Methods in com.openhtmltopdf.pdfboxout that return RenderingContextMethods in com.openhtmltopdf.pdfboxout with parameters of type RenderingContextModifier and TypeMethodDescriptionvoid
PdfBoxPerDocumentFormState.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 void
PdfBoxFastLinkManager.addUriAsLink
(RenderingContext c, Box box, org.apache.pdfbox.pdmodel.PDPage page, float pageHeight, AffineTransform transform, Element elem, NamespaceHandler handler, String uri, Shape linkShape) private void
PdfBoxLinkManager.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 Rectangle2D
PdfBoxFastLinkManager.calcTotalLinkArea
(RenderingContext c, Box box, float pageHeight, AffineTransform transform) private Rectangle2D
PdfBoxLinkManager.calcTotalLinkArea
(RenderingContext c, Box box, float pageHeight, AffineTransform transform) Deprecated.private Rectangle2D
PdfBoxFastLinkManager.checkLinkArea
(org.apache.pdfbox.pdmodel.PDPage page, RenderingContext c, Box box, float pageHeight, AffineTransform transform, Shape linkShape) private Rectangle2D
PdfBoxLinkManager.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.PDPageXYZDestination
PdfBoxBookmarkManager.createBoxDestination
(RenderingContext c, org.apache.pdfbox.pdmodel.PDDocument writer, PdfBoxFastOutputDevice od, float dotsPerPoint, Box root, Box box) Creates aPDPageXYZDestination
with 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.PDPageXYZDestination
PdfBoxFastLinkManager.createDestination
(RenderingContext c, Box box) private org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDPageXYZDestination
PdfBoxLinkManager.createDestination
(RenderingContext c, Box box) Deprecated.static Rectangle2D
PdfBoxFastLinkManager.createTargetArea
(RenderingContext c, Box box, float pageHeight, AffineTransform transform, Box _root, PdfBoxOutputDevice _od) static Rectangle2D
PdfBoxLinkManager.createTargetArea
(RenderingContext c, Box box, float pageHeight, AffineTransform transform, Box _root, PdfBoxOutputDevice _od) Deprecated.void
PdfBoxFastOutputDevice.drawSelection
(RenderingContext c, InlineText inlineText) void
PdfBoxOutputDevice.drawSelection
(RenderingContext c, InlineText inlineText) void
PdfBoxSlowOutputDevice.drawSelection
(RenderingContext c, InlineText inlineText) private int
PdfBoxRenderer.findEndPage
(RenderingContext c, Layer layer, List<PageBox> pages) Returns the end page number for a layer.private int
PdfBoxRenderer.findStartPage
(RenderingContext c, Layer layer, List<PageBox> pages) Returns the start page for a layer.void
PdfBoxFastOutputDevice.finish
(RenderingContext c, Box root) void
PdfBoxOutputDevice.finish
(RenderingContext c, Box root) void
PdfBoxSlowOutputDevice.finish
(RenderingContext c, Box root) private List
<PagePosition<Layer>> PdfBoxRenderer.getLayerPagePositions
(Layer layer, List<PageBox> pages, RenderingContext ctx) void
BookmarkElement.paint
(RenderingContext c, PdfBoxOutputDevice outputDevice, BlockBox box) void
PdfBoxImageElement.paint
(RenderingContext c, PdfBoxOutputDevice outputDevice, BlockBox box) void
PdfBoxObjectDrawerReplacedElement.paint
(RenderingContext c, PdfBoxOutputDevice outputDevice, BlockBox box) void
PdfBoxPDFReplacedElement.paint
(RenderingContext c, PdfBoxOutputDevice outputDevice, BlockBox box) void
PdfBoxReplacedElement.paint
(RenderingContext c, PdfBoxOutputDevice outputDevice, BlockBox box) void
PdfBoxSVGReplacedElement.paint
(RenderingContext c, PdfBoxOutputDevice outputDevice, BlockBox box) void
PdfBoxFastOutputDevice.paintBackground
(RenderingContext c, Box box) We use paintBackground to do extra stuff such as processing links, forms and form controls.void
PdfBoxOutputDevice.paintBackground
(RenderingContext c, Box box) We use paintBackground to do extra stuff such as processing links, forms and form controls.void
PdfBoxSlowOutputDevice.paintBackground
(RenderingContext c, Box box) We use paintBackground to do extra stuff such as processing links, forms and form controls.private void
PdfBoxRenderer.paintPage
(RenderingContext c, PageBox page) private void
PdfBoxRenderer.paintPageFast
(RenderingContext c, PageBox page, DisplayListContainer.DisplayListPageContainer pageOperations, int additionalTranslateX) void
PdfBoxFastOutputDevice.paintReplacedElement
(RenderingContext c, BlockBox box) void
PdfBoxOutputDevice.paintReplacedElement
(RenderingContext c, BlockBox box) void
PdfBoxSlowOutputDevice.paintReplacedElement
(RenderingContext c, BlockBox box) private void
PdfBoxFastLinkManager.processLink
(RenderingContext c, Box box, org.apache.pdfbox.pdmodel.PDPage page, float pageHeight, AffineTransform transform) private void
PdfBoxLinkManager.processLink
(RenderingContext c, Box box, org.apache.pdfbox.pdmodel.PDPage page, float pageHeight, AffineTransform transform) Deprecated.void
PdfBoxFastLinkManager.processLinkLater
(RenderingContext c, Box box, org.apache.pdfbox.pdmodel.PDPage page, float pageHeight, AffineTransform transform) void
PdfBoxLinkManager.processLinkLater
(RenderingContext c, Box box, org.apache.pdfbox.pdmodel.PDPage page, float pageHeight, AffineTransform transform) Deprecated.void
PdfBoxFastOutputDevice.setRenderingContext
(RenderingContext result) void
PdfBoxOutputDevice.setRenderingContext
(RenderingContext result) void
PdfBoxSlowOutputDevice.setRenderingContext
(RenderingContext result) void
PdfBoxAccessibilityHelper.startPage
(org.apache.pdfbox.pdmodel.PDPage page, PdfContentStreamAdapter cs, RenderingContext ctx, float pageHeight, AffineTransform transform) private void
PdfBoxBookmarkManager.writeBookmark
(RenderingContext c, Box root, org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineNode parent, PdfBoxBookmarkManager.Bookmark bookmark) private void
PdfBoxSlowOutputDevice.writeBookmark
(RenderingContext c, Box root, org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineNode parent, PdfBoxSlowOutputDevice.Bookmark bookmark) private void
PdfBoxBookmarkManager.writeBookmarks
(RenderingContext c, Box root, org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineNode parent, List<PdfBoxBookmarkManager.Bookmark> bookmarks) private void
PdfBoxSlowOutputDevice.writeBookmarks
(RenderingContext c, Box root, org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineNode parent, List<PdfBoxSlowOutputDevice.Bookmark> bookmarks) void
PdfBoxBookmarkManager.writeOutline
(RenderingContext c, Box root) private void
PdfBoxSlowOutputDevice.writeOutline
(RenderingContext c, Box root) private void
PdfBoxRenderer.writePDF
(List<PageBox> pages, RenderingContext c, Rectangle2D firstPageSize, org.apache.pdfbox.pdmodel.PDDocument doc) private void
PdfBoxRenderer.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 Rectangle
Box.calcClipBox
(RenderingContext c, Layer layer) private Dimension
AbstractOutputDevice.calcInitialXYOff
(CalculatedStyle.BackgroundContainer bgImage, Rectangle bgImageContainer, BorderPropertySet border, CalculatedStyle style, RenderingContext c) void
Box.collectText
(RenderingContext c, StringBuilder buffer) void
InlineLayoutBox.collectText
(RenderingContext c, StringBuilder buffer) void
LineBox.collectText
(RenderingContext c, StringBuilder buffer) private void
AbstractOutputDevice.drawBgImage
(RenderingContext c, CalculatedStyle style, Rectangle backgroundBounds, Rectangle bgImageContainer, BorderPropertySet border, FSImage backgroundImage, CalculatedStyle.BackgroundContainer bgImage) void
AbstractOutputDevice.drawDebugOutline
(RenderingContext c, Box box, FSColor color) private void
AbstractOutputDevice.drawFontMetrics
(RenderingContext c, InlineText inlineText) private static void
ListItemPainter.drawGlyph
(RenderingContext c, BlockBox box, CalculatedStyle style, IdentValue listStyle) private static void
ListItemPainter.drawImage
(RenderingContext c, BlockBox box, MarkerData markerData) void
AbstractOutputDevice.drawText
(RenderingContext c, InlineText inlineText) private static void
ListItemPainter.drawText
(RenderingContext c, BlockBox box, IdentValue listStyle) void
AbstractOutputDevice.drawTextDecoration
(RenderingContext c, InlineLayoutBox iB, TextDecoration decoration) void
AbstractOutputDevice.drawTextDecoration
(RenderingContext c, LineBox lineBox) void
PageBox.exportLeadingText
(RenderingContext c, Writer writer) private void
Box.exportPageBoxText
(RenderingContext c, Writer writer) protected void
Box.exportPageBoxText
(RenderingContext c, Writer writer, int yPos) void
Box.exportText
(RenderingContext c, Writer writer) void
LineBox.exportText
(RenderingContext c, Writer writer) void
PageBox.exportTrailingText
(RenderingContext c, Writer writer) private FSImage
AbstractOutputDevice.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 Point
PageBox.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 int
ListItemPainter.getReferenceBaseline
(RenderingContext c, BlockBox box) private static int
ListItemPainter.getReferenceX
(RenderingContext c, BlockBox box) boolean
If the html or body box have a background return true.private static boolean
ListItemPainter.isInVisiblePageArea
(RenderingContext c, PageBox page, StrutMetrics metrics, BlockBox box) The list item box may go over two pages.void
InlineLayoutBox.lookForDynamicFunctions
(RenderingContext c) private void
LineBox.lookForDynamicFunctions
(RenderingContext c) static void
BorderPainter.paint
(Rectangle bounds, int sides, BorderPropertySet border, RenderingContext ctx, int xOffset, boolean bevel) void
InlineText.paint
(RenderingContext c) static void
ListItemPainter.paint
(RenderingContext c, BlockBox box) void
AbstractOutputDevice.paintBackground
(RenderingContext c, CalculatedStyle style, Rectangle bounds, Rectangle bgImageContainer, BorderPropertySet border) void
AbstractOutputDevice.paintBackground
(RenderingContext c, Box box) void
Box.paintBackground
(RenderingContext c) void
PageBox.paintBackground
(RenderingContext c, int additionalClearance, short mode) private void
AbstractOutputDevice.paintBackground0
(RenderingContext c, CalculatedStyle style, Rectangle backgroundBounds, Rectangle bgImageContainer, BorderPropertySet border) void
AbstractOutputDevice.paintBorder
(RenderingContext c, CalculatedStyle style, Rectangle edge, int sides) void
AbstractOutputDevice.paintBorder
(RenderingContext c, Box box) void
Box.paintBorder
(RenderingContext c) void
PageBox.paintBorder
(RenderingContext c, int additionalClearance, short mode) void
AbstractOutputDevice.paintCollapsedBorder
(RenderingContext c, BorderPropertySet border, Rectangle bounds, int side) void
BlockBox.paintDebugOutline
(RenderingContext c) void
InlineLayoutBox.paintDebugOutline
(RenderingContext c) void
BlockBox.paintInline
(RenderingContext c) void
InlineLayoutBox.paintInline
(RenderingContext c) void
LineBox.paintInline
(RenderingContext c) void
BlockBox.paintListMarker
(RenderingContext c) void
PageBox.paintMarginAreas
(RenderingContext c, int additionalClearance, short mode) void
private void
void
InlineLayoutBox.paintSelection
(RenderingContext c) void
InlineText.paintSelection
(RenderingContext c) void
InlineText.updateDynamicValue
(RenderingContext c) -
Uses of RenderingContext in com.openhtmltopdf.render.displaylist
Methods in com.openhtmltopdf.render.displaylist with parameters of type RenderingContextModifier and TypeMethodDescriptionprivate void
DisplayListPainter.clip
(RenderingContext c, OperatorClip clip) protected void
DisplayListCollector.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 void
DisplayListCollector.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 -: processPage
Therefore, 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 void
DisplayListCollector.collectLayerBackgroundAndBorder
(RenderingContext c, Layer layer, DisplayListContainer dlPages, int pgStart, int pgEnd) private void
DisplayListCollector.collectLayers
(RenderingContext c, List<Layer> layers, DisplayListContainer dlPages, Set<DisplayListCollector.CollectFlags> flags) private void
DisplayListCollector.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 AffineTransform
TransformCreator.createPageCoordinatesTranform
(RenderingContext c, Box box, PageBox page, int shadowPageNumber) Creates a transform that can be applied to a page, either PDF or Java2D.static AffineTransform
TransformCreator.createPageMarginCoordinatesTransform
(RenderingContext c, Box box, PageBox page, int xTranslate, int yTranslate) protected int
DisplayListCollector.findEndPage
(RenderingContext c, Layer layer) protected int
DisplayListCollector.findStartPage
(RenderingContext c, Layer layer) void
DisplayListPainter.paint
(RenderingContext c, DisplayListContainer.DisplayListPageContainer pageOperations) private void
DisplayListPainter.paintBackgroundAndBorders
(RenderingContext c, List<DisplayListItem> blocks, Map<TableCellBox, List<CollapsedBorderSide>> collapsedTableBorders) private void
DisplayListPainter.paintFixed
(RenderingContext c, Layer layer) private void
DisplayListPainter.paintInlineContent
(RenderingContext c, List<DisplayListItem> inlines) private void
DisplayListPainter.paintListMarkers
(RenderingContext c, List<DisplayListItem> blocks) private void
DisplayListPainter.paintReplacedElement
(RenderingContext c, BlockBox replaced) private void
DisplayListPainter.paintReplacedElements
(RenderingContext c, List<DisplayListItem> replaceds) private void
DisplayListPainter.popClipRect
(RenderingContext c) private void
DisplayListPainter.popTransform
(RenderingContext c, Box master) protected void
DisplayListCollector.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 void
DisplayListCollector.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 void
DisplayListPainter.pushClipRect
(RenderingContext c, Rectangle clip) private void
DisplayListPainter.pushTransform
(RenderingContext c, Box master, int shadowPage) private void
DisplayListPainter.setClip
(RenderingContext c, OperatorSetClip setclip) private void
DisplayListPainter.updateTableHeaderFooterPosition
(RenderingContext c, BlockBox container) If the container is a table and it is set topaginate
then 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 boolean
SimpleBoxCollector.addBlockToLists
(RenderingContext c, Layer layer, Box container, Shape ourClip) Adds block box to appropriate flat box lists.private void
SimpleBoxCollector.addLineBox
(RenderingContext c, Layer layer, LineBox container) private void
SimplePainter.clip
(RenderingContext c, OperatorClip clip) void
SimpleBoxCollector.collect
(RenderingContext c, Layer layer) void
SimpleBoxCollector.collect
(RenderingContext c, Layer layer, Box container) private void
SimpleBoxCollector.collectInline
(RenderingContext c, Layer layer) void
SimplePainter.paintAsLayer
(RenderingContext c, BlockBox startingPoint) private void
SimplePainter.paintBackgroundsAndBorders
(RenderingContext c, List<DisplayListItem> blocks, Map<TableCellBox, List<CollapsedBorderSide>> collapsedTableBorders) private void
SimplePainter.paintFloats
(RenderingContext c, List<BlockBox> floaters) private void
SimplePainter.paintInlineContent
(RenderingContext c, List<DisplayListItem> inlines) void
SimplePainter.paintLayer
(RenderingContext c, Layer layer) private void
SimplePainter.paintLayerBackgroundAndBorder
(RenderingContext c, Box master) private void
SimplePainter.paintLayers
(RenderingContext c, List<Layer> layers) private void
SimplePainter.paintListMarkers
(RenderingContext c, List<DisplayListItem> listItems) private void
SimplePainter.paintReplacedElement
(RenderingContext c, BlockBox replaced) private void
SimplePainter.paintReplacedElements
(RenderingContext c, List<DisplayListItem> replaceds) private void
SimplePainter.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 TypeMethodDescriptionvoid
BatikSVGImage.drawSVG
(OutputDevice outputDevice, RenderingContext ctx, double x, double y) void
PDFTranscoder.setRenderingParameters
(OutputDevice od, RenderingContext ctx, double x, double y, PDFTranscoder.OpenHtmlFontResolver fontResolver, UserAgentCallback userAgentCallback)