0

我正在使用 Word 2007+ ActiveX 将 doc 转换为 pdf。

是否可以通过指定一些文档属性(例如“不允许选择文本”)来使用 activex 创建 pdf?

4

1 回答 1

0

You don't specify what you are using to create the PDF with so I can only point you in the general direction. (ActiveX is generic framework, we need the specific technology/library that you are using such as Adobe Acrobat or Ghostscript or whatever.)

There are two types of passwords that you can set in a PDF, "user" and "owner". If the "user" password is set people will need to enter it before be allowed to open the document. The "owner" password (which is what you are looking for) controls advanced settings such as copying text and images, printing and editing. Whatever technology you are using you will need to set the "owner" password and set what options you want to allow. You might find these options fall under document encryption depending on the library, too.

Just a warning, Adobe Acrobat and Adobe Reader both respect the "owner" password settings but not all programs do. In fact, if you set the "owner" password from with Adobe Acrobat you will get prompted with a warning to that effect. If you are trying to stop the casual office worker from selecting your text this is usually fine but if you are storing government secrets or copyrighted works I would recommend finding another solution.

于 2011-11-14T19:14:00.503 回答