Go Back   Forum - BIRT Exchange > Designing BIRT Reports Forums > Eclipse BIRT Newsgroup Mirror

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-02-2009, 06:00 AM
Jacques
 
Posts: n/a
Default Image Maps in Reports?

Hello,

is there a way to create image maps (e.g.
http://en.wikipedia.org/wiki/Image_map) in Birt reports?
And is it possible to do this from a Scripted Data Source, by providing
for a picture the hyperlinks and coordinates which should contain the links.

The only possibility I currently see is to generate and save pictures
before the report generation, and then, to have a imagemap in the
report, pass the image address, and the various links & coordinates of
each mapping through the data source. And with this data create a
dynamic text that consists of the actual html code to do this...

But I suppose this won't work work in PDF nor in DOC...

Any other, better ideas?

Thanks,

Jacques
  #2 (permalink)  
Old 07-04-2009, 12:30 AM
John Ward
 
Posts: n/a
Default Re: Image Maps in Reports?

Yes, this is how the chart engine does its interactivity as a matter of
fact.

If you wanted to do this in a report, you would need to use a Text data
element, and set the type to HTML. Then you can set your coordinates
from a data source using the VALUE-OF tag in the text element. Its a lot
of coding and planning, but it can be done. If it is interacting with
elements in the report itself, just be sure to set their bookmarks
accordingly to use in the document.getElementById call.

It won't work in any client that doesn't support Javascript on the
client, so probably not in PDF or DOC.

Jacques wrote:
> Hello,
>
> is there a way to create image maps (e.g.
> http://en.wikipedia.org/wiki/Image_map) in Birt reports?
> And is it possible to do this from a Scripted Data Source, by providing
> for a picture the hyperlinks and coordinates which should contain the
> links.
>
> The only possibility I currently see is to generate and save pictures
> before the report generation, and then, to have a imagemap in the
> report, pass the image address, and the various links & coordinates of
> each mapping through the data source. And with this data create a
> dynamic text that consists of the actual html code to do this...
>
> But I suppose this won't work work in PDF nor in DOC...
>
> Any other, better ideas?
>
> Thanks,
>
> Jacques
 


Thread Tools
Display Modes




All times are GMT -7. The time now is 05:07 AM.
Powered by vBulletin Copyright © 2000-2010 Jelsoft Enterprises Limited.


Content Relevant URLs by vBSEO 3.1.0