John, John Renfrew wrote > Is there any method - or scope for one - which along with returning the > getResultantText() also returns the x and y of the first character??
The text extraction strategies packaged with iText are meant for plain text extraction only. If you want to extract additional information on the text, too, you'll have to implement your own render listener and use it instead. Actually the LocationTextExtractionStrategy contains data on the respective positions of the collected text chunks, you merely should add a method which returns the information in a properly structured way instead of digging for the information as is. Regards, Michael -- View this message in context: http://itext-general.2136553.n4.nabble.com/Parsing-and-document-co-ordinates-tp4660557p4660565.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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