[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] Extract the text from internal/External PDF links
From: |
Matthias Kramm |
Subject: |
Re: [Swftools-common] Extract the text from internal/External PDF links |
Date: |
Thu, 17 Jun 2010 09:09:31 -0700 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Wed, Jun 16, 2010 at 08:22:12PM +0530, Ananth Palanisamy <address@hidden>
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