| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final PDDocument | |
| private static final Log | |
| private final int | |
| private final float | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv | DebugTextOverlay(PDDocument document, int pageIndex, float scale, boolean showTextStripper, boolean showTextStripperBeads, boolean showFontBBox, boolean showGlyphBounds)
|
| Modifier and Type | Method and Description |
|---|---|
| public void |
| document | back to summary |
|---|---|
| private final PDDocument document | |
| LOG | back to summary |
|---|---|
| private static final Log LOG | |
| pageIndex | back to summary |
|---|---|
| private final int pageIndex | |
| scale | back to summary |
|---|---|
| private final float scale | |
| showFontBBox | back to summary |
|---|---|
| private final boolean showFontBBox | |
| showGlyphBounds | back to summary |
|---|---|
| private final boolean showGlyphBounds | |
| showTextStripper | back to summary |
|---|---|
| private final boolean showTextStripper | |
| showTextStripperBeads | back to summary |
|---|---|
| private final boolean showTextStripperBeads | |
| DebugTextOverlay | back to summary |
|---|---|
| pack-priv DebugTextOverlay(PDDocument document, int pageIndex, float scale, boolean showTextStripper, boolean showTextStripperBeads, boolean showFontBBox, boolean showGlyphBounds) | |
| renderTo | back to summary |
|---|---|
| public void renderTo(Graphics2D graphics) throws IOException | |
| Modifier and Type | Field and Description |
|---|---|
| private AffineTransform | |
| private final Graphics2D | |
| private AffineTransform |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private Shape | |
| protected void | showGlyph(Matrix
the current text rendering matrix, Trm textRenderingMatrix, PDFont the current font font, int internal PDF character code for the glyph code, Vector the displacement (i.e. advance) of the glyph in text space displacement)Overrides org. Called when a glyph is to be processed. |
| public void | |
| private void | |
| protected void | writeString(String
The text to write to the stream. string, List<TextPosition> The TextPositions belonging to the text. textPositions)Overrides org. Write a Java string to the output stream. |
| flipAT | back to summary |
|---|---|
| private AffineTransform flipAT | |
| graphics | back to summary |
|---|---|
| private final Graphics2D graphics | |
| transAT | back to summary |
|---|---|
| private AffineTransform transAT | |
| DebugTextStripper | back to summary |
|---|---|
| pack-priv DebugTextStripper(Graphics2D graphics) | |
| calculateGlyphBounds | back to summary |
|---|---|
| private Shape calculateGlyphBounds(AffineTransform at, PDFont font, int code, Vector displacement) throws IOException | |
| showGlyph | back to summary |
|---|---|
| protected void showGlyph(Matrix textRenderingMatrix, PDFont font, int code, Vector displacement) throws IOException Overrides org. Doc from org. Called when a glyph is to be processed. The heuristic calculations here were originally written by Ben Litchfield for PDFStreamEngine.
| |
| stripPage | back to summary |
|---|---|
| public void stripPage(PDDocument document, PDPage page, int pageIndex, float scale) throws IOException | |
| transform | back to summary |
|---|---|
| private void transform(Graphics2D graphics, PDPage page, float scale) | |
| writeString | back to summary |
|---|---|
| protected void writeString(String string, List<TextPosition> textPositions) throws IOException Overrides org. Doc from org. Write a Java string to the output stream. The default implementation will ignore the
| |