Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Image Maps in Reports?
Image Maps in Reports? [message #368876] Thu, 02 July 2009 12:54 Go to next message
Eclipse UserFriend
Originally posted by: jst.ivyteam.ch

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
Re: Image Maps in Reports? [message #368903 is a reply to message #368876] Sat, 04 July 2009 07:28 Go to previous message
Eclipse UserFriend
Originally posted by: johnw.innoventsolutions.com

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
Previous Topic:Getting started - with JavaCode
Next Topic:Create Meter Region at runtime
Goto Forum:
  


Current Time: Fri Apr 26 07:35:05 GMT 2024

Powered by FUDForum. Page generated in 0.02797 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top