Class DebugTextOverlay
java.lang.Object
org.apache.pdfbox.debugger.pagepane.DebugTextOverlay
Draws an overlay showing the locations of text found by PDFTextStripper and another heuristic.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PDDocumentprivate static final org.apache.commons.logging.Logprivate final intprivate final floatprivate final booleanprivate final booleanprivate final booleanprivate final boolean -
Constructor Summary
ConstructorsConstructorDescriptionDebugTextOverlay(PDDocument document, int pageIndex, float scale, boolean showTextStripper, boolean showTextStripperBeads, boolean showFontBBox, boolean showGlyphBounds) -
Method Summary
-
Field Details
-
LOG
private static final org.apache.commons.logging.Log LOG -
document
-
pageIndex
private final int pageIndex -
scale
private final float scale -
showTextStripper
private final boolean showTextStripper -
showTextStripperBeads
private final boolean showTextStripperBeads -
showFontBBox
private final boolean showFontBBox -
showGlyphBounds
private final boolean showGlyphBounds
-
-
Constructor Details
-
DebugTextOverlay
DebugTextOverlay(PDDocument document, int pageIndex, float scale, boolean showTextStripper, boolean showTextStripperBeads, boolean showFontBBox, boolean showGlyphBounds)
-
-
Method Details
-
renderTo
- Throws:
IOException
-