[scribus] Scribus / javascript / adobe reader / "save as text"

Franz Schmid Franz.Schmid at altmuehlnet.de
Fri Sep 7 21:24:57 UTC 2012

Am 07.09.2012 14:46, schrieb Nicolas Paris:
> Hello,
> I use scribus 1.4.1 , and adobe reader v9.
> I want to add to my formular one button. The goal of this button is to
> "save as text" the formular (exactly the same as "File/save as text" from
> adobe reader).
> With a  javascript action, I tried to make a new Report:
> var rpt = new Report();
> But the debbug console says : "ReferenceError: Report is not defined.", I
> can't create a new report why ?
Sorry, you can't do that with Adobe Reader, only with the full version.
See the Adobe Javascript Reference.

> Is there a simple way to make a button that "save as text" ?
> Where about Report constructor, why not working ?
Try to use the doc.exportAsText() method.

Franz Schmid

More information about the scribus mailing list