Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Why did not check for the link type "Launch"?

21 views
Skip to first unread message

Ishan Udayapriya

unread,
Sep 24, 2015, 5:07:48 AM9/24/15
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
0 new messages