开发者

Embed JavaScript in PDF with wkhtmltopdf

开发者_运维技巧Is it possible to embed JavaScript code in PDFs generated with wkhtmltopdf?


In theory yes, the change log for wkhtmltopdf says that this is a feature in the most recent release. Of course the amount you will be able to do with it is limited - and the implementation linked to in that change log is different to the official Adobe documentation.


I don't think it is possible. The pdf converter only render follows your final html output... Javascript always run when load or some interact with DOM. So it is not possible.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜