You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "George, Sobha" <so...@jnli.com> on 2002/09/12 14:42:09 UTC

xsl:script and fop

Hello,

So far all the javascript that I have seen used with FOP seems to be
functions that put their result into the generated pdf file. 
Does anybody have any idea, how I can insert javascript into the resulting
pdf file using FOP?

Basically what I am trying to do is, in the resulting pdf file when the user
clicks on a link I would like it to open a browser without menubar and
toolbar. Any help would be appreciated.

Thank you,
Sobha

Re: xsl:script and fop

Posted by "J.Pietschmann" <j3...@yahoo.de>.
George, Sobha wrote:
> So far all the javascript that I have seen used with FOP seems to be
> functions that put their result into the generated pdf file. 
> Does anybody have any idea, how I can insert javascript into the resulting
> pdf file using FOP?
> 
> Basically what I am trying to do is, in the resulting pdf file when the user
> clicks on a link I would like it to open a browser without menubar and
> toolbar. Any help would be appreciated.

There is curerntly no way to put JavaScript through FOP into
a PDF. Some time ago, someone worked on an extension, check the
list archives.
Another possibility is to postprocess the generated PDF with
another tool, like iText, but this certainly also requires
rather anvanced PDF related knowledge.

Xsl:script has nothing to do with either XSL or PDF.

J.Pietschmann