Class TextOnlyPDFRenderer
java.lang.Object
org.apache.pdfbox.rendering.PDFRenderer
org.apache.tika.renderer.pdf.pdfbox.TextOnlyPDFRenderer
public class TextOnlyPDFRenderer
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
-
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
-
TextOnlyPDFRenderer
public TextOnlyPDFRenderer(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
-