[scribus] Javascript PDF

ale rimoldi ale.comp_06 at xox.ch
Wed Jan 25 18:00:46 UTC 2012


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.



ciao
a.l.e



More information about the scribus mailing list