Package com.openhtmltopdf.objects.pdf
Class PdfDrawerBase
java.lang.Object
com.openhtmltopdf.objects.pdf.PdfDrawerBase
- All Implemented Interfaces:
FSObjectDrawer
- Direct Known Subclasses:
ForegroundPdfDrawer
,MergeBackgroundPdfDrawer
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map
<PdfDrawerBase.PDFBoxDeviceReference, SoftReference<Map<String, org.apache.pdfbox.pdmodel.graphics.form.PDFormXObject>>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFormCacheMap
(PdfBoxOutputDevice pdfBoxOutputDevice) protected int
protected org.apache.pdfbox.pdmodel.graphics.form.PDFormXObject
importPageAsXForm
(RenderingContext ctx, Element e, PdfBoxOutputDevice pdfBoxOutputDevice, org.apache.pdfbox.multipdf.LayerUtility layerUtility) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.openhtmltopdf.extend.FSObjectDrawer
drawObject
-
Field Details
-
formMap
private final Map<PdfDrawerBase.PDFBoxDeviceReference,SoftReference<Map<String, formMaporg.apache.pdfbox.pdmodel.graphics.form.PDFormXObject>>>
-
-
Constructor Details
-
PdfDrawerBase
public PdfDrawerBase()
-
-
Method Details
-
importPageAsXForm
protected org.apache.pdfbox.pdmodel.graphics.form.PDFormXObject importPageAsXForm(RenderingContext ctx, Element e, PdfBoxOutputDevice pdfBoxOutputDevice, org.apache.pdfbox.multipdf.LayerUtility layerUtility) throws IOException - Throws:
IOException
-
getFormCacheMap
protected Map<String,org.apache.pdfbox.pdmodel.graphics.form.PDFormXObject> getFormCacheMap(PdfBoxOutputDevice pdfBoxOutputDevice) -
getPageNumber
-