Uses of Class
com.openhtmltopdf.render.RenderingContext
-
-
Uses of RenderingContext in com.openhtmltopdf.context
Methods in com.openhtmltopdf.context with parameters of type RenderingContext Modifier and Type Method Description java.lang.String
ContentFunctionFactory.FsIfCutOffFunction. calculate(RenderingContext c, FSFunction function, InlineText text)
java.lang.String
ContentFunctionFactory.LeaderFunction. calculate(RenderingContext c, FSFunction function, InlineText text)
java.lang.String
ContentFunctionFactory.PageCounterFunction. calculate(RenderingContext c, FSFunction function, InlineText text)
java.lang.String
ContentFunctionFactory.PagesCounterFunction. calculate(RenderingContext c, FSFunction function, InlineText text)
java.lang.String
ContentFunctionFactory.TargetCounterFunction. calculate(RenderingContext c, FSFunction function, InlineText text)
java.lang.String
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 RenderingContext Modifier and Type Method Description java.lang.String
ContentFunction. 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 boolean
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 RenderingContext Modifier and Type Method Description void
OutputDevice. drawDebugOutline(RenderingContext c, Box box, FSColor color)
java.util.Map<java.awt.Shape,java.lang.String>
FSObjectDrawer. drawObject(org.w3c.dom.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, java.awt.Rectangle bounds, java.awt.Rectangle bgImageContainer, BorderPropertySet border)
void
OutputDevice. paintBackground(RenderingContext c, Box box)
void
OutputDevice. paintBorder(RenderingContext c, CalculatedStyle style, java.awt.Rectangle edge, int sides)
void
OutputDevice. paintBorder(RenderingContext c, Box box)
void
OutputDevice. paintCollapsedBorder(RenderingContext c, BorderPropertySet border, java.awt.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 RenderingContext Modifier and Type Method Description private RenderingContext
Java2DRenderer. newRenderingContext()
Methods in com.openhtmltopdf.java2d with parameters of type RenderingContext Modifier and Type Method Description void
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(java.util.List<PageBox> pages, RenderingContext c, java.awt.geom.Rectangle2D firstPageSize)
-
Uses of RenderingContext in com.openhtmltopdf.java2d.api
Methods in com.openhtmltopdf.java2d.api with parameters of type RenderingContext Modifier and Type Method Description abstract 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 RenderingContext Modifier and Type Method Description RenderingContext
SharedContext. newRenderingContextInstance()
Methods in com.openhtmltopdf.layout with parameters of type RenderingContext Modifier and Type Method Description protected java.util.List<java.awt.geom.AffineTransform>
Layer. applyTranform(RenderingContext c, Box box)
Deprecated.private java.util.Map<TableCellBox,java.util.List<CollapsedBorderSide>>
Layer. collectCollapsedTableBorders(RenderingContext c, java.util.List<Box> blocks)
Deprecated.private int
Layer. getPageSequenceStart(RenderingContext c, java.util.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, java.util.List<Box> blocks, java.util.Map<TableCellBox,java.util.List<CollapsedBorderSide>> collapsedTableBorders, BoxRangeLists rangeLists)
Deprecated.private void
Layer. paintCollapsedTableBorders(RenderingContext c, java.util.List<CollapsedBorderSide> borders)
Deprecated.private void
Layer. paintFloats(RenderingContext c)
Deprecated.void
InlinePaintable. paintInline(RenderingContext c)
private void
Layer. paintInlineContent(RenderingContext c, java.util.List<Box> lines, BoxRangeLists rangeLists)
Deprecated.private void
Layer. paintLayerBackgroundAndBorder(RenderingContext c)
Deprecated.private void
Layer. paintLayers(RenderingContext c, java.util.List<Layer> layers)
Deprecated.private void
Layer. paintListMarkers(RenderingContext c, java.util.List<Box> blocks, BoxRangeLists rangeLists)
Deprecated.private void
Layer. paintReplacedElement(RenderingContext c, BlockBox replaced)
Deprecated.private void
Layer. paintReplacedElements(RenderingContext c, java.util.List<Box> blocks, BoxRangeLists rangeLists)
Deprecated.private void
Layer. paintSelection(RenderingContext c, java.util.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
-
Uses of RenderingContext in com.openhtmltopdf.objects.jfreechart
Methods in com.openhtmltopdf.objects.jfreechart with parameters of type RenderingContext Modifier and Type Method Description java.util.Map<java.awt.Shape,java.lang.String>
JFreeChartBarDiagramObjectDrawer. drawObject(org.w3c.dom.Element e, double x, double y, double width, double height, OutputDevice outputDevice, RenderingContext ctx, int dotsPerPixel)
java.util.Map<java.awt.Shape,java.lang.String>
JFreeChartPieDiagramObjectDrawer. drawObject(org.w3c.dom.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 RenderingContext Modifier and Type Method Description java.util.Map<java.awt.Shape,java.lang.String>
ForegroundPdfDrawer. drawObject(org.w3c.dom.Element e, double x, double y, double width, double height, OutputDevice outputDevice, RenderingContext ctx, int dotsPerPixel)
java.util.Map<java.awt.Shape,java.lang.String>
MergeBackgroundPdfDrawer. drawObject(org.w3c.dom.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, org.w3c.dom.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 RenderingContext Modifier and Type Method Description java.util.Map<java.awt.Shape,java.lang.String>
ZXingObjectDrawer. drawObject(org.w3c.dom.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 RenderingContext Modifier and Type Field Description private RenderingContext
PdfBoxAccessibilityHelper. _ctx
private RenderingContext
PdfBoxFastOutputDevice. _renderingContext
private RenderingContext
PdfBoxSlowOutputDevice. _renderingContext
(package private) RenderingContext
PdfBoxFastLinkManager.LinkDetails. c
private RenderingContext
PdfBoxForm.Control. c
(package private) RenderingContext
PdfBoxLinkManager.LinkDetails. c
Methods in com.openhtmltopdf.pdfboxout that return RenderingContext Modifier and Type Method Description private RenderingContext
PdfBoxRenderer. newRenderingContext()
Methods in com.openhtmltopdf.pdfboxout with parameters of type RenderingContext Modifier and Type Method Description void
PdfBoxPerDocumentFormState. addControlIfRequired(Box box, org.apache.pdfbox.pdmodel.PDPage page, java.awt.geom.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, java.awt.geom.AffineTransform transform, org.w3c.dom.Element elem, NamespaceHandler handler, java.lang.String uri, java.awt.Shape linkShape)
private void
PdfBoxLinkManager. addUriAsLink(RenderingContext c, Box box, org.apache.pdfbox.pdmodel.PDPage page, float pageHeight, java.awt.geom.AffineTransform transform, org.w3c.dom.Element elem, NamespaceHandler handler, java.lang.String uri, java.awt.Shape linkShape)
Deprecated.private java.awt.geom.Rectangle2D
PdfBoxFastLinkManager. calcTotalLinkArea(RenderingContext c, Box box, float pageHeight, java.awt.geom.AffineTransform transform)
private java.awt.geom.Rectangle2D
PdfBoxLinkManager. calcTotalLinkArea(RenderingContext c, Box box, float pageHeight, java.awt.geom.AffineTransform transform)
Deprecated.private java.awt.geom.Rectangle2D
PdfBoxFastLinkManager. checkLinkArea(org.apache.pdfbox.pdmodel.PDPage page, RenderingContext c, Box box, float pageHeight, java.awt.geom.AffineTransform transform, java.awt.Shape linkShape)
private java.awt.geom.Rectangle2D
PdfBoxLinkManager. checkLinkArea(org.apache.pdfbox.pdmodel.PDPage page, RenderingContext c, Box box, float pageHeight, java.awt.geom.AffineTransform transform, java.awt.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 java.awt.geom.Rectangle2D
PdfBoxFastLinkManager. createTargetArea(RenderingContext c, Box box, float pageHeight, java.awt.geom.AffineTransform transform, Box _root, PdfBoxOutputDevice _od)
static java.awt.geom.Rectangle2D
PdfBoxLinkManager. createTargetArea(RenderingContext c, Box box, float pageHeight, java.awt.geom.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, java.util.List<PageBox> pages)
Returns the end page number for a layer.private int
PdfBoxRenderer. findStartPage(RenderingContext c, Layer layer, java.util.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 java.util.List<PagePosition<Layer>>
PdfBoxRenderer. getLayerPagePositions(Layer layer, java.util.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, java.awt.geom.AffineTransform transform)
private void
PdfBoxLinkManager. processLink(RenderingContext c, Box box, org.apache.pdfbox.pdmodel.PDPage page, float pageHeight, java.awt.geom.AffineTransform transform)
Deprecated.void
PdfBoxFastLinkManager. processLinkLater(RenderingContext c, Box box, org.apache.pdfbox.pdmodel.PDPage page, float pageHeight, java.awt.geom.AffineTransform transform)
void
PdfBoxLinkManager. processLinkLater(RenderingContext c, Box box, org.apache.pdfbox.pdmodel.PDPage page, float pageHeight, java.awt.geom.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, java.awt.geom.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, java.util.List<PdfBoxBookmarkManager.Bookmark> bookmarks)
private void
PdfBoxSlowOutputDevice. writeBookmarks(RenderingContext c, Box root, org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineNode parent, java.util.List<PdfBoxSlowOutputDevice.Bookmark> bookmarks)
void
PdfBoxBookmarkManager. writeOutline(RenderingContext c, Box root)
private void
PdfBoxSlowOutputDevice. writeOutline(RenderingContext c, Box root)
private void
PdfBoxRenderer. writePDF(java.util.List<PageBox> pages, RenderingContext c, java.awt.geom.Rectangle2D firstPageSize, org.apache.pdfbox.pdmodel.PDDocument doc)
private void
PdfBoxRenderer. writePDFFast(java.util.List<PageBox> pages, RenderingContext c, java.awt.geom.Rectangle2D firstPageSize, org.apache.pdfbox.pdmodel.PDDocument doc)
Constructors in com.openhtmltopdf.pdfboxout with parameters of type RenderingContext Constructor Description Control(Box box, org.apache.pdfbox.pdmodel.PDPage page, java.awt.geom.AffineTransform transform, RenderingContext c, float pageHeight)
-
Uses of RenderingContext in com.openhtmltopdf.render
Methods in com.openhtmltopdf.render with parameters of type RenderingContext Modifier and Type Method Description private java.awt.Rectangle
Box. calcClipBox(RenderingContext c, Layer layer)
private java.awt.Dimension
AbstractOutputDevice. calcInitialXYOff(CalculatedStyle.BackgroundContainer bgImage, java.awt.Rectangle bgImageContainer, BorderPropertySet border, CalculatedStyle style, RenderingContext c)
void
Box. collectText(RenderingContext c, java.lang.StringBuilder buffer)
void
InlineLayoutBox. collectText(RenderingContext c, java.lang.StringBuilder buffer)
void
LineBox. collectText(RenderingContext c, java.lang.StringBuilder buffer)
private void
AbstractOutputDevice. drawBgImage(RenderingContext c, CalculatedStyle style, java.awt.Rectangle backgroundBounds, java.awt.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, java.io.Writer writer)
private void
Box. exportPageBoxText(RenderingContext c, java.io.Writer writer)
protected void
Box. exportPageBoxText(RenderingContext c, java.io.Writer writer, int yPos)
void
Box. exportText(RenderingContext c, java.io.Writer writer)
void
LineBox. exportText(RenderingContext c, java.io.Writer writer)
void
PageBox. exportTrailingText(RenderingContext c, java.io.Writer writer)
private FSImage
AbstractOutputDevice. getBackgroundImage(PropertyValue bgImage, RenderingContext c)
java.awt.Rectangle
Box. getClipBox(RenderingContext c, Layer layer)
Gets the combined clip of this box relative to the containing layer.FSColor
Box. getEffBackgroundColor(RenderingContext c)
java.awt.Point
PageBox.BottomLeftCorner. getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode)
java.awt.Point
PageBox.BottomMarginArea. getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode)
java.awt.Point
PageBox.BottomRightCorner. getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode)
java.awt.Point
PageBox.LeftMarginArea. getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode)
abstract java.awt.Point
PageBox.MarginArea. getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode)
java.awt.Point
PageBox.RightMarginArea. getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode)
java.awt.Point
PageBox.TopLeftCorner. getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode)
java.awt.Point
PageBox.TopMarginArea. getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode)
java.awt.Point
PageBox.TopRightCorner. getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode)
java.awt.Rectangle
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
Box. hasRootElementBackground(RenderingContext c)
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(java.awt.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, java.awt.Rectangle bounds, java.awt.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, java.awt.Rectangle backgroundBounds, java.awt.Rectangle bgImageContainer, BorderPropertySet border)
void
AbstractOutputDevice. paintBorder(RenderingContext c, CalculatedStyle style, java.awt.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, java.awt.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
Box. paintRootElementBackground(RenderingContext c)
private void
Box. paintRootElementBackground(RenderingContext c, PaintingInfo pI)
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 RenderingContext Modifier and Type Method Description private void
DisplayListPainter. clip(RenderingContext c, OperatorClip clip)
protected void
DisplayListCollector. collect(RenderingContext c, Layer layer, DisplayListContainer dlPages, java.util.Set<DisplayListCollector.CollectFlags> flags)
The main method to create a list of paint instruction for each page.static java.util.Map<TableCellBox,java.util.List<CollapsedBorderSide>>
DisplayListCollector. collectCollapsedTableBorders(RenderingContext c, java.util.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.DisplayListContainer.DisplayListPageContainer
DisplayListCollector. collectInlineBlock(RenderingContext c, BlockBox bb, java.util.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, java.util.List<Layer> layers, DisplayListContainer dlPages, java.util.Set<DisplayListCollector.CollectFlags> flags)
private void
DisplayListCollector. collectReplacedElementLayer(RenderingContext c, Layer layer, DisplayListContainer dlPages, int pgStart, int pgEnd)
DisplayListContainer
DisplayListCollector. collectRoot(RenderingContext c, Layer rootLayer)
Use this method to collect all boxes recursively into a list of paint instructions for each page.static java.awt.geom.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 java.awt.geom.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, java.util.List<DisplayListItem> blocks, java.util.Map<TableCellBox,java.util.List<CollapsedBorderSide>> collapsedTableBorders)
private void
DisplayListPainter. paintFixed(RenderingContext c, Layer layer)
private void
DisplayListPainter. paintInlineContent(RenderingContext c, java.util.List<DisplayListItem> inlines)
private void
DisplayListPainter. paintListMarkers(RenderingContext c, java.util.List<DisplayListItem> blocks)
private void
DisplayListPainter. paintReplacedElement(RenderingContext c, BlockBox replaced)
private void
DisplayListPainter. paintReplacedElements(RenderingContext c, java.util.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, java.awt.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 RenderingContext Modifier and Type Method Description private boolean
SimpleBoxCollector. addBlockToLists(RenderingContext c, Layer layer, Box container, java.awt.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, java.util.List<DisplayListItem> blocks, java.util.Map<TableCellBox,java.util.List<CollapsedBorderSide>> collapsedTableBorders)
private void
SimplePainter. paintFloats(RenderingContext c, java.util.List<BlockBox> floaters)
private void
SimplePainter. paintInlineContent(RenderingContext c, java.util.List<DisplayListItem> inlines)
void
SimplePainter. paintLayer(RenderingContext c, Layer layer)
private void
SimplePainter. paintLayerBackgroundAndBorder(RenderingContext c, Box master)
private void
SimplePainter. paintLayers(RenderingContext c, java.util.List<Layer> layers)
private void
SimplePainter. paintListMarkers(RenderingContext c, java.util.List<DisplayListItem> listItems)
private void
SimplePainter. paintReplacedElement(RenderingContext c, BlockBox replaced)
private void
SimplePainter. paintReplacedElements(RenderingContext c, java.util.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 RenderingContext Modifier and Type Field Description private RenderingContext
PDFTranscoder. ctx
Methods in com.openhtmltopdf.svgsupport with parameters of type RenderingContext Modifier and Type Method Description void
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)
-