Re: [iText-questions] page number determination

2010-01-22 Thread newoutlook
You are right I am parsing StructTree of PDF document. First, I get indirect reference to a page object I am looking from a tag or structure element(table, link, and list etc...) . Then I compare page original reference object's number for each page with number of indirect reference of the pa

Re: [iText-questions] page number determination

2010-01-19 Thread 1T3XT info
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 co

Re: [iText-questions] page number determination

2010-01-19 Thread newoutlook
The intent here is to validate pdf doc for more readability like validating table structure in pdf contents. I am determining a page number for pdf contents. I parse pdf contents as a tree node like table,list, and link etc...For example, I get indirect reference for node (table) using this statem

Re: [iText-questions] page number determination

2010-01-18 Thread 1T3XT info
newoutlook wrote: > I am using the following code to get page number for a node. Can you explain what you're doing and why? -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info -- Throug

[iText-questions] page number determination

2010-01-18 Thread newoutlook
I am using the following code to get page number for a node. However, for some cases I am not getting page number because PG entry is available for a few nodes. is there any other I can page number for the some cases? Get page number if (getITxtDictionary().contains(PdfName.PG)) {