|
From: | MG Balaji |
Subject: | RE: [Swftools-common] Extract the text from internal/External PDF links |
Date: | Fri, 18 Jun 2010 20:46:49 +0530 |
Hi Ananth, Try this, pdf2swf -z -f -T9 -s linkcolor=00ff0040 -s jpegquality=70 -s internallinkfunction=handleInternalLink -s externallinkfunction=handleExternalLink -p1 input.pdf -o page1.swf pdf2swf -z -f -T9 -s linkcolor=00ff0040 -s jpegquality=70 -s internallinkfunction=handleInternalLink -s externallinkfunction=handleExternalLink -p2 input.pdf -o page2.swf You will get the single page swf files where the input pdf present. In this method all the internal and External links will work. But the only concern is, this command should be repeated the multiples of PDF pages. You can able to make batch file and run this. The option "-s linkcolor" - you can give color for the link text. Hope this will help. Thanks, Balaji From: address@hidden Date: Thu, 17 Jun 2010 17:37:05 +0530 Subject: Re: [Swftools-common] Extract the text from internal/External PDF links To: address@hidden CC: address@hidden Hi Chris, You have mentioned functions will help in the ActionScript part. Using the functions I can able to control the pages/web links. The problem now is I have splitted the multi page PDF file in to single page SWF pages using the "-o %.swf" command. For the external PDF hyperlinks I am not facing any issues. If I clicked the internal Links I am getting the same value (Zero) always. To solve the issue, if I get the internal link text I can process using AS codes. To get you understand Please access the following sample page. http://www.joshitha.com/books/4.swf It is sample index page from mutli page PDF file. The links will always return zero while clicking. If I convert the book completely without splitting it then I can able to get the index references. But I couldn't load that heavy file for web use (the book has 500 pages). To solve this If I get the link texts then I can parse the page number and create the relative link from it. Thanks for your Help in advance. Regards Ananth P On Thu, Jun 17, 2010 at 12:24 AM, Chris Pugh <address@hidden> wrote:
-- Regards ANANTH P +91-9444960095 The dark side of terrorists revealed in MSN Internal Security Get it now. |
[Prev in Thread] | Current Thread | [Next in Thread] |