[iText-questions] Parsing PDF Bookmarks (Outlines)

2002-06-24 Thread Thomas Kivlehan

I've already read the iText FAQ and mail-archive, and
I suspect the answer to my question is "no" but I'd
like to make sure before deciding that iText can't
help me and look elsewhere:

Can iText be used to read/parse the bookmarks (outline
objects) out of an existing PDF file?  I've tried to
come up with ways of geting a PdfContentByte object
from a PdfReader object and then calling the
getOutlineRoot method, but it only appears possible to
do this whith a PdfWriter object.  Is there some other
approach I can take?  Your help is sincerely
appreciated.

Thanks,

Tom


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com


---
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] Parsing PDF Bookmarks (Outlines)

2002-06-24 Thread Leonard Rosenthol

>Can iText be used to read/parse the bookmarks (outline
>objects) out of an existing PDF file?

Yes it can - BUT you'll need to write all the bookmark 
specific code yourself.

iText has all the PDF parsing and object management classes 
that you'll need, but doesn't know anything about the Outline tree 
inside of an existing PDF.  You'll have to write all that stuff to 
navigate the object tree.


Leonard
-- 
---
Leonard Rosenthol
Chief Technical Officer  
PDF Sages, Inc.  215-629-3700 (voice)
  215-629-0789 (fax)


---
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions