Class VectorGraphicsOnlyPDFRenderer
java.lang.Object
org.apache.pdfbox.rendering.PDFRenderer
org.apache.tika.renderer.pdf.pdfbox.VectorGraphicsOnlyPDFRenderer
public class VectorGraphicsOnlyPDFRenderer
extends org.apache.pdfbox.rendering.PDFRenderer
This class extends the PDFRenderer to render only the textual
elements
-
Field Summary
Fields inherited from class org.apache.pdfbox.rendering.PDFRenderer
document
-
Constructor Summary
ConstructorDescriptionVectorGraphicsOnlyPDFRenderer
(org.apache.pdfbox.pdmodel.PDDocument document) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.pdfbox.rendering.PageDrawer
createPageDrawer
(org.apache.pdfbox.rendering.PageDrawerParameters parameters) Returns a new PageDrawer instance, using the given parameters.Methods inherited from class org.apache.pdfbox.rendering.PDFRenderer
getAnnotationsFilter, getDefaultDestination, getImageDownscalingOptimizationThreshold, getRenderingHints, isGroupEnabled, isSubsamplingAllowed, renderImage, renderImage, renderImage, renderImage, renderImageWithDPI, renderImageWithDPI, renderPageToGraphics, renderPageToGraphics, renderPageToGraphics, renderPageToGraphics, setAnnotationsFilter, setDefaultDestination, setImageDownscalingOptimizationThreshold, setRenderingHints, setSubsamplingAllowed
-
Constructor Details
-
VectorGraphicsOnlyPDFRenderer
public VectorGraphicsOnlyPDFRenderer(org.apache.pdfbox.pdmodel.PDDocument document)
-
-
Method Details
-
createPageDrawer
protected org.apache.pdfbox.rendering.PageDrawer createPageDrawer(org.apache.pdfbox.rendering.PageDrawerParameters parameters) throws IOException Returns a new PageDrawer instance, using the given parameters. May be overridden.- Overrides:
createPageDrawer
in classorg.apache.pdfbox.rendering.PDFRenderer
- Throws:
IOException
-