Ha Ha I fixed It, I was using
"*out.println(PdfTextExtractor.getTextFromPage(reader,
i));"
*which is not OK for my purpose, I should use
"*out.println(PdfTextExtractor.getTextFromPage(reader, i, strategy));*"

and now, every thing is OK.


On Mon, May 30, 2011 at 8:39 PM, Iden Willson <[email protected]> wrote:

> Hi people;
> I was trying chapter 15 example codes, I found that rectangle filter didn't
> work on this pdf <http://up.iranblog.com/images/tz7vfb63uv8iasrewbv5.pdf>with 
> this
> source <http://pastebin.com/USCR719f>, and just shows this 
> "output.txt<http://pastebin.com/sfNY4yZR>"
> file.
>
> It just converts all document to text. I expected that rectangle clips the
> area of reading so that I can parse each column separately (and join them
> later). is there anything wrong with this idea? or it's just an implementing
> issue?
>
> thanks.
>
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to