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.

Part 4 of "iText in Action 2nd Edition" is
completely dedicated to the internal structure
of PDFs.

> 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.

Aha, another one with that request.
You need to start looking at PRTokeniser.
Then at the classes in com.itextpdf.text.pdf.parser
The parser classes keep track of the transformation
matrices but for the moment they are only interested
in text and images, not in colors, shapes and lines.

> 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?

You can always contribute code to extend the parser classes.

> 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?

What have you tried? Because that seems like something
that is easy to achieve.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
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/

Reply via email to