Vajahat Ali wrote: > http://itext-general.2136553.n4.nabble.com/file/n2278254/CONTENTSDOC.pdf > CONTENTSDOC.pdf > > Hi Itext: > > I have attached a one page pdf file which has some links. > Kindly tell me how to get the url of that links. It seems to be some sort of > form.
Not really. The links are annotations that refer to a file specification. This is one of the annotation dictionaries (object 25): <</A 69 0 R/BS <</S /S/Type /Border/W 1>>/Border [0 0 1]/C [0 0 1]/H /I/Rect [90 667.724 182.258 681.061]/Subtype /Link/Type /Annot>> It's an annotation of type Link and when you click it, the following action is triggered (/A refers to object 69): <</F 68 0 R/S /SubmitForm>> Maybe the "SubmitForm" made you think it's some kind of form, but the file specification can be found in object 68: <</F (https://dev2.intralinks.com/services/workspaces/documents/file/Copy of Bennett5.xls?client=ILC-WSB&workspaceId=739341&documentId=223046247&method=GET&utf8Header=F)/FS /URL/Type /Filespec>> endobj > It is not opening in the browser and trying to submit it inside the > adobe reader. When I try the link: https://dev2.intralinks.com/services/workspaces/documents/file/Copy of Bennett5.xls I get: "Firefox can't find the server at dev2.intralinks.com." > How to change it to regular link? Change the /F key in the /Filespec dictionary. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ 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/
