问题
I wan't to create a PDF document, which contains hyperlinks to local files. E.g. when the PDF is downloaded, along with some files, the PDF contains hyperlinks to these files. Is this possible to achieve, and if so, how?
回答1:
You could try the following. This method works in general for linking local files to HTML documents.
<a href="file:///C:\Programs\sort.mw">Link 1</a>
<a href="file:///C:\Your File Location">Link 2</a>
Notice the file:///
(3 slashes) before the location.
来源:https://stackoverflow.com/questions/51890802/wicked-pdf-create-hyperlinks-to-local-files