使用 SharePoint 2010 Word Automation Services 将 Word 转换为 PDF
我试图找出转换后在 PDF 文件上加锁或禁用复制和粘贴的方法。我查看了 ConversionJobSettings 属性,但无法完成此操作。 根据我所读到的内容,sharepoint2010 Word Automation 服务 API 在操作转换逻辑方面提供的功能非常有限,但是有什么方法可以锁定内容以使其无法复制吗?
感谢您的帮助
I have tried to find out the way I can put locks or disable the copy and paste on the PDF file after the conversion. I looked at the ConversionJobSettings properties but I couldn’t be able to accomplish this.
Based on what I have read, the sharepoint2010 Word Automation services API provides very limited capability in manipulating the conversion logics but is there any way I can lock down the content so that it cannot be copied?
Thank for your help
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您要么需要自己编写一些代码,要么获得第三个像这样的第三方产品,它允许转换以及 PDF 操作,包括安全性和水印。
请注意,我曾开发过这个产品,所以我显然有偏见。话虽如此,它的效果非常出色。
You will either need to code something up yourself or get a third party product such as this one, which allows conversion as well as PDF manipulation including security and watermarking.
Note that I worked on this product, so I am obviously biased. Having said that, it works brilliantly.
防止复制和粘贴(作为文本)的唯一方法是创建页面的图像版本并将其另存为 PDF。
可能的解决方案:
1) 使用 Word 自动化打印到 PostScript (PS) 打印机驱动程序以获取 .ps 文件
2) 使用 GhostScript 将 PS 转换为 tif 文件
3) 使用 tif 文件创建 PDF(也可能使用 GhostScript) )
The only way to prevent copy and paste (as text) is to create image versions of the pages and saves those as a PDF.
a possible solution:
1) Use Word automation to print to a PostScript (PS) printer driver to get a .ps file
2) Use GhostScript to convert the PS to tif files
3) Create a PDF using the tif files (possibly with GhostScript too)