On Wed, Jun 16, 2010 at 08:22:12PM +0530, Ananth Palanisamy 
<[email protected]> wrote:
> Is there any way to extract the internal/External PDF page links?
> I am facing the issue mainly from the internal links. While converting the
> PDF, i am splitting the pages into single SWF files. If the splitted page
> has internal page links it is always returning zero "0" while clicking. I am
> unable process the links. If I able to get the link texts I can process
> using ActionScript codes for further.

One thing you could do is convert the file like this:
    pdf2swf -s linknameurl file.pdf -o file.swf
.
That'll name the link objects according to their destination- so a link
to e.g. page5 will be named "page5".

You can process the object names from ActionScript, or offline using
swfdump:
    swfdump file.swf
or
    swfdump file.swf | grep 'name "'

HTH,

Matthias


Reply via email to