[scribus] Javascript PDF

Gregory Pittman gregp_ky at yahoo.com
Wed Jan 25 22:30:33 UTC 2012


On 01/25/2012 01:00 PM, ale rimoldi wrote:
> hi
>
>>> I am currently conducting a series of tests with SCRBUS to create
>>> PDF documents and forms.
>>> These documents contain exercises for courses in electrical and
>>> electronic, the statements are not fixed, javascript calculate the
>>> values​ ​, choose inside a lists of words.
>>> All of this is to provide students with a different exercise each
>>> time he open the file .
>>>
>>> My question is:
>>> Is it possible to automate the loading of text files containing the
>>> necessary javascript libraries via a python script into a scribus
>>> document?
>>>
>>> What methods and properties should be used?
>
>
> reading the text file should be a trivial task with python.
> you may need to extend the scripter API, though if you really
> want to load the scripts from a text file and correctly define them
> to be included in the PDF. i have not checked this.
>
I'm trying to understand myself, but it seemed to me that what is wanted 
is to create a PDF which can have dynamic content, i.e., the student 
works with the PDF, which modifies its own content somehow. I have no 
idea how a PDF might do this.

Greg




More information about the scribus mailing list