[CCing pdfedit-devel mailing list and excluding documents from private
On Thu, Oct 30, 2008 at 11:21:15AM +0100, David Moss wrote:
> Hello Michal,
> Thanks for taking the time to reply, I appreciate it.
> I have attached some files to illustrate what I am trying to achieve:
> FirstSimple.pdf is an example of my source pdfs, which are not commentable.
> FirstSimple_commentable.pdf is the same pdf which I have opened in
> Acrobat Pro 9 and clicked the menu option Enable for Commenting in
> Acrobat Reader... then resaved.
> Once I open the commentable file in Acrobat reader (only version 7 and
> above I believe) then the commenting toolbar is available and if I view
> the document properties commenting is allowed. I have attached a
> screenshot of this from version 8 of Acrobat Reader for your information.
> As far as I can tell this must just be a simple flag in security
> somewhere, but I could'nt find a way to edit this in pdfeditor.
This seems to be a matter of "security" handling directly in the
document. In short, encrypted (or protected) documents contain special
flag which describes what is a user (who is not owner of the document)
allowed to do (regarding editing, filling data into forms etc.). For
reference, this is described in Adobe PDF specification ("3.5.2 Standard
Security Handler" and "3.5 Encryption" with complete information on this
However, both documents you have sent to me seem to miss any security
related objects (no encryption dictionary). I don't know about any other
way how to restrict usage-patterns directly in the document besides what
is described in the quoted documentation. Maybe permissions shown in
Acrobat Reader are coming from another place, but this is hard to find
out as the product is not open-source AFAIK.
> Let me know if you manage to find a way to do this!
Unfortunately, changing document permissions related data is not support
and it is questionable if this would be possible in future. It is not a
matter of "hard to implement" but rather a legal position problem. I
don't want to give any strong position now, because this wasn't
discussed inside the team, so take this as just my personal feeling at
> Best Regards
> David Moss
> On 10/29/08 15:31, Michal Hocko wrote:
>> On Mon, Oct 27, 2008 at 04:00:28PM +0100, David Moss wrote:
>>> After a bit of reading through the list archives I have managed to
>>> get pdf editor up and running under cygwin. It really is a great
>>> piece of software, thanks so much for making it open source! I did a
>>> search through the archives but couldn't find anything relating to my
>>> My question is this:
>>> I need to take some pdfs and make them commentable i.e. they can be
>>> opened in Acrobat Reader and the Review and Commenting menu is
>> Could you send me any of such documents? (you can reply directly to my
>>> This flag is also visible when you select Document
>>> Proeprties>Security in any of the Adobe products. Normally I switch
>>> this flag on using Acrobat Pro, but I would like to find a way to
>>> script this action as I have to apply the change to whole folders of
>>> Has anyone achieved this using pdf editor?
>> It may be related to document trailer which is not editable at the
>> moment, but it is one of the feature requests. However, if this is
>> something different it may be possible by changing some property. I am
>> not sure which case is it.
>>> If not, can anyone point me towards where in the tree of pdf data
>>> opened in pdf editor that I can experiment with such settings?
>>> Thanks in advance
>>> David Moss