|
|||
|
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 |
|
|||
|
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 | |
|
|