On Fri, Aug 29, 2008 at 10:40:27PM +0200, jan bahnsen <[EMAIL PROTECTED]> wrote:
> 1) - user creates an area (e.g. a web-link hotspot) in PDF and tags
> this area with an ID instead of a web address
> 2) - PDFs are converted using pdf2swf
> 3)  - a script parses the swf to know the coordinates of the active
> area and also gathers the ID for this area
> 4) - swfc is used to create the logic for the converted SWF to know
> which ID needs to be filled with which content
> 
> where i am struggling now is 1) and 3) because i havent figured out
> yet how to find out the exact coordiates of e.g the created hotspot.

Use swfdump -b -u. 
"-b" will tell you the bounding box of all shapes (DEFINESHAPE) 
in the PDF/SWF. 
Weblinks will be visible as DEFINEBUTTON. "-u" tells you which shape
belongs to which button, and hence the button's bounding box.

Greetings

Matthias






Reply via email to