In most PDF documents, there is NO structural relationship between the "bookmarks" (called Outlines in the PDF standard) and the actual page content. They can be in any order, etc. In addition, each Outline item can have ANY action associated with - run script, play movie, etc. It doesn't have to go to a particular page (or section) of a document.
Only specially prepared PDFs, with something called "structured bookmarks", would actually provide you with that type of information. -----Original Message----- From: Alexander Enrique Urieles Nieto [mailto:[email protected]] Sent: Wednesday, September 22, 2010 12:50 PM To: [email protected] Subject: [iText-questions] Extract text content between two Outline elements Hello, I'm trying to extract the Outline of a PDF file and the text content between its elements. So far, I've been able to extract the Outline through the Bookmarks, which I'm not sure if it's a good idea or not. However, I have not been able to figure out how to way to extract the text contents between two Outline elements A and B, such that A placed is before B in the PDF document. Rephrasing, is it possible to do the extraction explained above using iText? Best regards, Alexander. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ 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/ ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ 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/
