public interface AnnotationProcessor
| Modifier and Type | Method and Description |
|---|---|
void |
afterPage(DrawContext drawContext)
Called after a page is drawn.
|
void |
afterRender(org.apache.pdfbox.pdmodel.PDDocument document)
Called after all rendering has been performed.
|
void |
annotatedObjectDrawn(Annotated drawnObject,
DrawContext drawContext,
Position upperLeft,
float width,
float height)
Called if an annotated object has been drawn.
|
void |
beforePage(DrawContext drawContext)
Called before a page is drawn.
|
void annotatedObjectDrawn(Annotated drawnObject, DrawContext drawContext, Position upperLeft, float width, float height) throws IOException
drawnObject - the drawn object.drawContext - the drawing context.upperLeft - the upper left position the object has been drawn to.width - the width of the drawn object.height - the height of the drawn object.IOException - by pdfbox.void beforePage(DrawContext drawContext) throws IOException
drawContext - the drawing context.IOException - by pdfbox.void afterPage(DrawContext drawContext) throws IOException
drawContext - the drawing context.IOException - by pdfbox.void afterRender(org.apache.pdfbox.pdmodel.PDDocument document)
throws IOException
document - the document.IOException - by pdfbox.Copyright © 2021. All rights reserved.