newoutlook wrote: > The intent here is to validate pdf doc for more readability like validating > table structure in pdf contents.
You're talking about Marked Content / Tagged PDF, aren't you? Then why don't you say so? > I am determining a page number for pdf > contents. How did you get the content stream? Normally you should get it using the page number. > I parse pdf contents as a tree node like table,list, and link > etc... You parse the StructTree? Not the content stream? The way you phrase a question is very labyrinthic. >For example, I get indirect reference for node (table) using this > statement PdfIndirectReference pageRef = > getITxtDictionary().getAsIndirectObject(PdfName.PG); and use the following > for loop like simplebookmark example to get page number. Please let me know, > if this works for me. I don't understand the problem. Seems like you're doing something weird. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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/
