Hello Svante,

Svante Schubert wrote:

Hello Jaime,

Jaime Alvarez wrote:

I want to export some flowcharts I've done with OOoDraw to html, preserving links. Unfortunately, the slides are exported as plain images.

I want to develop this functionality, using image maps in html for adding the links where they belong. I was thinking about working on the export filter, but I haven't done anything like this before. I guess a macro would work as well, which would lead me to unearth my programming neurons from college... ;-)

Are these alternatives feasible? Any suggestions?



As the export to draw shapes is a desireable goal for the exisiting XHTML filter as well, I recommend that to try to improve this filter, instead of creating a macro, so everybody may gain from your efforts.


As we already found out, the draw images are not pure SVG images nor would any SVG images that would be exported to XHTML been shown in common browsers without a plugin. Therefore the best thing seems to export the draw objects as images.
The creation of an extra folder containing these images, close to the created XHTML document seem reasonable, similar to the saving of website functionality provided by browsers.


You might accomplish the saving of draw images (XShape) using the OOo API, as the Component calling the filter knows about the office and the document to be transformed (Some API basic: a document contains a collection of pages, each page contains a collection of shapes, which can be saved to an arbitrary image format).

This saving mechanism might even be triggered once from within the XSL transformation, when a draw image is encontered.

If you are interested, I going to provide you with more detailed information.

Regards,
Svante

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Your suggestions seem pretty reasonable to me. I'd appreciate if you can send me the additional information mentioned in your last message.

Thank you

Jaime

PS: Why is that browsers do not support vector images like SVG?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to