今天在查询SAP资料的时候看到这个阅读器,感觉非常清新,于是看了下源代码,发现用的是PDFJS,挺有意思的,记录下来,说不定什么时候用到。
SAP这篇使用PDFJS的文章网址:
https://www.sap.com/documents/2016/08/eac32305-847c-0010-82c7-eda71af511fa.html
关于PDFJS:
http://mozilla.github.io/pdf.js/
https://github.com/mozilla/pdf.js/
http://mozilla.github.io/pdf.js/web/viewer.html
本文作者: GavinDong
版权属于: GavinDong博客
文章链接: https://gavindong.com/1553.html
如果使用过程中遇到问题,可 **点击此处** 交流沟通。
版权所有,转载时必须以链接形式注明作者和原始出处及本声明。
评论列表(2条)
在SAPGUI介绍的这个文件里看到一句很好的话:
“One size fits all” approach usually does not work.
A better approach is to divide your users into groups with similar demands or experience levels anddefine the right GUI for each group.
PDFjs Viewer plugins适用于在线PDF文档浏览,这款WordPress 插件使用很简单,启用后在编辑文章时直接在编辑器上点击“Add PDF”按钮,上传或者在媒体库中选择PDF文件,并插入到文章即可。