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

Well, what should I make of this if part 4 is not yet
available? As an author you do know what's the status
of your book, don't you? So why this answer?

http://www.manning.com/lowagie2/


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

Ok, I'll take a look.


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

Extending a framework means knowing the framework.
If I would already know how to deal with it I wouldn't
be asking here, now would I? With all do respect, could
you please come up with usefull answers?



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

It just seems. The ID should be a (public) property of
PdfObject, imho, or at least there should be some utility
method returning it given a PdfObject instance. I've browsed
the classes for such property/method. None found, but there are
plenty of classes. Btw, I'm using iTextSharp.


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

Reply via email to