i use this code below to parse a PDF file and extract three different types of URI's/data.
1) Normal URL
2) Anchor within the PDF
3) A file link example "../other.pdf"
See Code here: http://pastebin.com/LMJtVGZw
--
Due to a user requirement i create a PDF file within my application and i need to insert the three mentioned types of URI's/data.
1) Normal URL can be created with these lines of code
2) Anchor, this code doen't work and i'm not able to parse it (See case #2 above) http://pastebin.com/DfZwsK33
3) A file link example "../other.pdf"
I have no idea :-(
I hope someone can help me to get #2 and #3 working.
Thank you guys!