lofujie wrote:
>> You may find references to a JavaScript method:
>> app.hideToolbarButton("Save")
>> that hides the Save button in the toolbar
>> (this isn't the same as making it impossible for
>> the End User to save the file), but that method
>> can only be used in the config.js file that is
>> loaded when the Reader is opened, or in a console
>> event.
>
> Dear Bruno,
> I can not find the app object from the Internet.
> Would you please tell me more detail about this JavaScript method?
> Where can I get this references ? appreciate your help.
You haven't been searching well enough:
http://www.google.com/search?q=app.hideToolbarButton
The complete description can be found in the
Adobe JavaScript Scripting Reference.
http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/javascript/AcroJS.pdf
I just mentioned this because you may have the wrong
impression that it's the PDF file that disables the
Save button while it may be only a setting on your
machine, NOT a setting inside the PDF. As you will
read in the Reference, you can't use this JS method
in a PDF to disable the button on a remote client.
See also:
http://thread.gmane.org/gmane.comp.java.lib.itext.general/21808
and please keep on the mailing list.
br,
Bruno
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions