Selvi K wrote:


how can i read the page labels of a pdffile and test it for its uniqueness using itext.iam using windows 2000.
--
selvi.k

You would need something like this:
PdfReader reader = new PdfReader("my.pdf");
PdfDictionary catalog = reader.getCatalog();
PdfDictionary pagelabels = catalog.get(PdfName.PAGELABELS);
This will give you a PdfDictionary with key-value pairs
that contain all the info on the page labels
(see section 8.3.1 of the PDF Reference).
br,
Bruno


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to