@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);
}