Acrobat User Community Forums

You are not logged in.     Log in to your AUC account.     Don't have an account? Sign up today

#1 2007-08-02 19:07:53

r0b
Member
Registered: 2007-08-02
Posts: 1

Unlink Javascript watermarks

Hi,
Is there a way to stop layers I have created using javascript watermark ocgs being deleted or updated in acrobat 8.1 without using security?
They all go if a user chooses to remove/update watermark. I want them to behave independently of the system watermark. I dont think this was a problem in v7 ?


My Product Information:
Acrobat Pro 8.1 / Windows

Offline

 

#2 2007-08-04 13:37:26

thomp
Member

Registered: 2007-04-23
Posts: 1027

Re: Unlink Javascript watermarks

Yes,  The Acrobat "Remove Watermark" menu item identifies the OCGs by name, i.e., "Watermark".  Just change the name of the OCG with a little JavaScript in the Console Window.  This Article explains it.

http://www.acrobatusers.com/tech_corner … se_layers/

After which Acrobat will no longer identify it as a wartermark. 

I haven't tested this.  But a logical side effect should be that you can use Acrobat to delete any OCG marked content by simply naming it "WaterMark".

Offline

 

#3 2007-08-06 10:09:10

r0b
Member
Registered: 2007-08-02
Posts: 1

Re: Unlink Javascript watermarks

As far as i can tell this is not the case and all layers that get created are still somehow linked to the original watermark.
The problem can be replicated if you use the example file OCGAnimation.pdf
When you select remove watermark all the objects get deleted even if the layer has been renamed - I Don't want this to happen...Am I missing the point here?

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

AcrobatUsers.com  >>  User Groups • News • Events • Articles • Blogs • How To • Resources • Member Log in