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

    Constructors
    Constructor
    Description
    VectorGraphicsOnlyPDFRenderer(org.apache.pdfbox.pdmodel.PDDocument document)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 class org.apache.pdfbox.rendering.PDFRenderer
      Throws:
      IOException