-
-
-
Methods in com.openhtmltopdf.extend with parameters of type RenderingContext
| Modifier and Type |
Method |
Description |
void |
OutputDevice.drawDebugOutline(RenderingContext c,
Box box,
FSColor color) |
|
Map<Shape,String> |
FSObjectDrawer.drawObject(Element e,
double x,
double y,
double width,
double height,
OutputDevice outputDevice,
RenderingContext ctx,
int dotsPerPixel) |
Perform your drawing.
|
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) |
|
-
-
-
Methods in com.openhtmltopdf.render with parameters of type RenderingContext
| Modifier and Type |
Method |
Description |
void |
Box.collectText(RenderingContext c,
StringBuilder buffer) |
|
void |
InlineLayoutBox.collectText(RenderingContext c,
StringBuilder buffer) |
|
void |
LineBox.collectText(RenderingContext c,
StringBuilder buffer) |
|
void |
AbstractOutputDevice.drawDebugOutline(RenderingContext c,
Box box,
FSColor color) |
|
void |
AbstractOutputDevice.drawText(RenderingContext c,
InlineText inlineText) |
|
void |
AbstractOutputDevice.drawTextDecoration(RenderingContext c,
InlineLayoutBox iB,
TextDecoration decoration) |
|
void |
AbstractOutputDevice.drawTextDecoration(RenderingContext c,
LineBox lineBox) |
|
void |
PageBox.exportLeadingText(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) |
|
Rectangle |
Box.getClipBox(RenderingContext c,
Layer layer) |
Gets the combined clip of this box relative to the containing layer.
|
FSColor |
Box.getEffBackgroundColor(RenderingContext c) |
|
Rectangle |
Box.getParentClipBox(RenderingContext c,
Layer layer) |
Gets the layer relative clip for the parent box.
|
boolean |
Box.hasRootElementBackground(RenderingContext c) |
If the html or body box have a background return true.
|
void |
InlineLayoutBox.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) |
|
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 |
Box.paintRootElementBackground(RenderingContext c) |
|
void |
InlineLayoutBox.paintSelection(RenderingContext c) |
|
void |
InlineText.paintSelection(RenderingContext c) |
|
void |
InlineText.updateDynamicValue(RenderingContext c) |
|
-
Methods in com.openhtmltopdf.render.displaylist with parameters of type RenderingContext
| Modifier and Type |
Method |
Description |
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) |
|
DisplayListContainer.DisplayListPageContainer |
DisplayListCollector.collectInlineBlock(RenderingContext c,
BlockBox bb,
EnumSet<DisplayListCollector.CollectFlags> noneOf,
int shadowPageNo) |
|
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 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) |
|
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.
|
-