Ishan Udayapriya
unread,Sep 24, 2015, 5:07:48 AM9/24/15You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dev-p...@lists.mozilla.org
Dear dev-pdf-js,
I have gone through PDFJS and had a problem of opening the external pdf
pages linked to the currently opened pdf document.
In pdf.worker.js file, line no: 5506 "*LinkAnnotation*" you check for link
types.
I saw there is an other type you did not check for, that is *linkType ===
"Launch".*
Also in the condition *linkType === 'GoToR'* with the above said problem
because of the condition *if (!isValidUrl(url, false)) *the url becomes
null/empty, although there is a path returns by *urlDict.get('F')* to a
external linked pdf file in the same directory where the currently opened
pdf is.
I fixed these for my requirement but if you can provide me some feed back
regarding the about the situation it would be really a great help and
highly appreciated.
Sorry for the inconvenience if my note is not clear. I can provide more
details if needed.
Best regards.
Ishan Udayapriya