Hello Matthias,
sorry for the late answer... I had my hollydays..
To explain my Problem:
I have a PDF which comes from the print production. With another PDF
that holds some Javascripts i manipulate the first one. It is not
relevant what these Javascripts exactly do. Relevant is, that they
create weblinks in the first PDF.
For this Acrobat offers a JavaScript command that is called
"addScript()".
When you use this command Acrobat creates a weblink at a specified
position.
In difference to the manually created weblinks this one is similar to a
button (In fact i don't know where the difference is between this kind
of weblink comparing to a button... it's just the command "addLink()"
vs. "addField()"). The resulting weblink uses JavaScript to open the
webpage. And this JavaScript will be lost while converting to SWF.
After running the JavaScripts to manipulate the print-PDF the print-PDF
will contain the weblinks i created (more than 2000).
After all that i want to convert this PDF to SWF...
My question was:
How can i create these more than 2000 weblinks by JavaScript or another
programm so that they can be converted and used in SWF?
This is more a Acrobat-JavaScript question than a question about
pdf2swf. That's why it's "OT...".
Greetings
Benedikt
Am 11.09.2005 um 13:43 schrieb Matthias Kramm:
On Thu, Sep 08, 2005 at 09:26:20PM +0200, Benedikt Quirmbach wrote:
In Acrobat are two ways to create weblinks: you can do it manually or
by a JavaScript, that uses the command "addLink()".
If you want to convert the PDF later with pdf2swf you will find a big
difference between this to kinds of links: the links manually created
will be working in the resulting swf, the links made by JavaScript
will
be lost, because the Javascript inside the link will be lost.
That's correct- pdf2swf don't convert any Javascript objects of the
pdf.
Does someone know how i can create weblinks in the PDF
programmatically
that will work after converting to swf?
What exactly is the Javascript doing in your current application? Is
it calculating page numbers using some formulas, or resolving some
kind of "run-time depedencies"...?
Greetings
Matthias
_______________________________________________
Swftools-common mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/swftools-common
_______________________________________________
Swftools-common mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/swftools-common