Previous | Next | (P-PDF) Developers
Topic: Re: GetJSObject() from C++
Conf: (P-PDF) Developers, Msg: 105931
From: kirkoman
Date: 2/13/2004 12:37 PM
> No problem - but watch that HTML mail...
Sorry - I was composing with the web view in mind.
> there is a COM equivalent (ExecuteThisJavaScript) to that you can use directly from your
> VC application. See the FormsAPIReference.pdf document in the SDK for details.
I spent all day figuring out how to get this object in C++, and finally got a hold of it and ran some JavaScript (yay!). Unfortunately, the Adobe security model will not let me call SaveAs() on a document from javascript unless that javascript lives inside the document itself (boo!).
Does anyone know: Is it impossible to get Acrobat to write a PostScript file from an arbitrary document? It seems the API was specifically designed to prevent it.
Kirk