@Test public void test2() throws IOException { final PdfReader pdfReader = TestResourceUtils.getResourceAsPdfReader(this, "Sample.pdf"); PdfReaderContentParser parser = new PdfReaderContentParser(pdfReader); String extractedText = parser.processContent(1, new GlyphTextRenderListener(new FilteredTextRenderListener(new LocationTextExtractionStrategy(), new RegionTextRenderFilter(new com.itextpdf.text.Rectangle(111,855,136,867))))).getResultantText(); Assert.assertEquals("Your ", extractedText); }
public String getResultantText() { return delegate.getResultantText(); }
GlyphTextRenderListener extends GlyphRenderListener implements TextExtractionStrategy { public String getResultantText() { return delegate.getResultantText(); } }
GlyphTextRenderListener extends GlyphRenderListener implements TextExtractionStrategy { public String getResultantText() { return delegate.getResultantText(); } GlyphTextRenderListener(TextExtractionStrategy delegate); }
GlyphTextRenderListener extends GlyphRenderListener implements TextExtractionStrategy { public String getResultantText() { return delegate.getResultantText(); } GlyphTextRenderListener(TextExtractionStrategy delegate); String getResultantText(); }
GlyphTextRenderListener extends GlyphRenderListener implements TextExtractionStrategy { public String getResultantText() { return delegate.getResultantText(); } GlyphTextRenderListener(TextExtractionStrategy delegate); String getResultantText();  }