archimatetool / archi

Archi: ArchiMate Modelling Tool
https://www.archimatetool.com
MIT License
944 stars 269 forks source link

[feature proposal] Make Jasper report use SVG/Vector Graphics when creating reports. #39

Open mbd-dbc-dk opened 10 years ago

mbd-dbc-dk commented 10 years ago

Its great to have SVG support. Would be great if SVG's "survived" into Jasper Reports. Currently, AFAICT, views are rendered to medium resolution images before/during report generation.

I believe (but have no actual experience) that Jasper can work with SVGs, from reading here: http://stackoverflow.com/questions/4657238/jasperreport-scales-images-when-exporting-to-pdf-thus-losing-quality .

Phillipus commented 10 years ago

Yep. Good feature request, thanks. Under investigation...

mbd-dbc-dk commented 10 years ago

I had a look at the code, and while the jasper report stuff seems pretty straight forward, it seems to me that actually using the SVG code in Archi for this purpose might be a bit harder, because it is bound to a dialog in the export plugin? Is that right?

mbd-dbc-dk commented 10 years ago

I have a "working" prototype of using SVG in the exports, that has a lot of bad smells. If there are interessent, I could share this as a starting point for a discussion.

For the PDF reports the diagrams are a lot cleaner looking using svg. It seems the other formats converts to bitmaps though. (Would be OK for HTML, I reckon).