Look at the parser package (com.itextpdf.text.pdf.parser) - you can start with the PdfContentReaderTool as a starting point. I think you'll find that this will greatly simplify your efforts.
Only caveat: I don't know if the parser has been ported to iTextSharp yet. - K Mircea Zahan wrote: > > Hi all, > > Everything is just peachy with iText when one > only wants to write PDFs. But when it comes to > reading, the documentation says almost nothing. > Only basics, like metadata, pages etc. > > My problem: I need to obtain all the lines, curves > etc. from a PDF together with their companions, that > is, transformation matrixes, colors etc. In short, all > the graphic content. > > I have read everything that I could get my hands > on and couldn't find a single example of how > that can be achieved. > > Anyone knows how to do that? > > > I also need to get the internal ID of an object, > the one looking like: 20 R, 30 R etc. That also I > couldn't figure out and didn't find it anywhere. > Any luck with it? > > > Most grateful, > Mircea. > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > Buy the iText book: http://www.itextpdf.com/book/ > Check the site with examples before you ask questions: > http://www.1t3xt.info/examples/ > You can also search the keywords list: > http://1t3xt.info/tutorials/keywords/ > > -- View this message in context: http://old.nabble.com/Low-level-browsing-of-document-structure-tp28078245p28084870.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
