Ali Vajahat wrote: > Hi IText: > > I am facing an issue in splitting pdf file. > > The file splits successfully. but there is a small issue. > When i split the PDF file , all links work fine except those links whose > target(destination) are not in the split file.
Of course not. > Actually i am reading these links in SWTools(pdf2swf). It returns the > correct page numbers against all the links whose target are in the split > file and returns 0 whose destination are not the part of the split file. That's normal. The concept of page numbers is inexistent in a PDF. Destinations refer to page dictionaries. The page dictionaries of the pages you've removed are gone. > So I just want a way to get the actual page number against those links > whose target are not the part of the split file. Which page number? The pages you want to refer to are no longer there! There is no "actual page number". -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ 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/
