anand035, Bhanu

anand035 wrote
> Michael would be able to give more elegant approach.

The approach I mentioned in my earlier message may be interesting for a
generic solution.

If there is a reference row, though, i.e. a row with a wide enough entry in
every row, using it is very appropriate. I would propose a small change,
though:

anand035 wrote
> I.e. anytext, whoose x1,x2 falls with in the range of (x1,x2) of "columnA"
> is considered value of columnA

As the column headers probably are shorter than individual values, I would
propose checking instead whether the interval x1, x2 of the text intersects
the interval x1', x2' of "columnA" but not the interval x1", x2" of any
other column header. If some text intersects the intervals of multiple
column headers, some special treatment is required. 

Regards,   Michael



--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/parse-tabular-data-in-PDF-using-iTextSharp-tp4657013p4657028.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
TUNE You got it built. Now make it sing. Tune shows you how.
http://goparallel.sourceforge.net
_______________________________________________
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