Planet PDF Forum Archive

Planet PDF  ForumThe page you are viewing is part of our 160,000 page discussion forum archive. See below for PDF-related discussions spanning 1999-2008. To ask questions and get help, head to the live Planet PDF Forum.


How to search this archive. The quickest way is to use the filters on our Advanced Search page so that only archive pages are included in the results.


Previous | Next | (P-PDF) Developers


Topic: Re: GetJSObject() from C++ (Via Email)
Conf: (P-PDF) Developers, Msg: 105935
From: LeonardR
Date: 2/13/2004 12:47 PM

At 08:40 PM 2/12/2004, p-pdf-developers Listmanager wrote:
> > 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!).

Congrats!


>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!).

Bummer!

Then what if you use the new AddDocumentJavaScript() command to
add a JS and then call it from your ExecuteThisJavaScript()??



>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.

This may be one of the few places where Acrobat on the Mac may
actually be better for IAC - since there is a nice SaveAs command that
happily exports PS and EPS, and has since 4.0...


Leonard
---------------------------------------------------------------------------
Leonard Rosenthol
Chief Technical Officer
PDF Sages, Inc. 215-629-3700 (voice)
215-629-0789 (fax)



PDF In-Depth Free Product Trials Ubiquitous PDF

Pitstop Pro

Now graphic arts professionals have even broader and more expert control over their PDF documents. With...

Download free demo

ARTS PDF Aerialist

The ultimate plug-in for Adobe Acrobat and #1 selling product at PDF Store. Advanced splitting, merging,...

Download free demo

Ubiquitous PDF: Free short film distribution guide released

Nigel Smith, an award-winning producer of short films, has released a free PDF guidebook to help budding filmmakers find wider audiences for their short films.

December 04, 2008
Search Planet PDF
more searching options...




PDF Resources
Platinum Sponsor
Create & Edit PDF - Nitro PDF Software

ARTS PDF

Silver Sponsors

PDF-Tools enfocus

FileOpen PDFNet SDK: PDF Component. Cross-platform PDF library

PDF Converter: Create, Convert PDF to Word/Excel Visual Integrity: Convert, Create, Extract, Merge and Modify PDF

Debenu: Desktop Document Management, Archiving and Tagging Software SmartSoft

Get Nitro PDF Professional
Featured Product

NITRO PDF Professional

Built from the ground up, the perfect desktop PDF product for business and enterprise. Nitro PDF Professional has an uncompromising feature set so you can create, combine, edit, collaborate on and...

Featured Event

No upcoming events

PDF Store Categories