Hi Jaime,

instead of using macros, you even might integrate your mappings of OOo XML to HTML into the exisiting XHTML export filter.

This filter is used for every application type and might get greatly enhanced for Draw documents.

To receive the latest version, install
http://ftp.stardiv.de/pub/OpenOffice.org/developer/680_m79/
and add during installation the "XSLT Sample Filter".

The XHTML filter is still based on the old OpenOffice.org XML, and can therefore easily be used in earlier StarOffice/OpenOffice versions by using the start stylesheet from <INST>/share/xslt/export/xhtml/ooo2xhtml.xsl

If XSLT is completly new for you, any mapping you provide might be used as input for XSLT developer to enhance this filter.

Have you a link to a sample document you want to transform?

Regards,
Svante


Jaime Alvarez wrote:

I want to export to html some OOoDraw flowcharts with several slides and links. Unfortunately, it appears to me that the draw_html_export filter transforms the slides into plain images.

I want to develop this functionality by using image maps in html for adding the links where they belong. I guess a macro would work, which would lead me to unearth my programming neurons from college... ;-)

After looking into the 'content.xml' file of a OOoDraw document, it seems to me that all the information I need about the links is available.

Therefore, my ideal macro would do the following:

1. Use the draw_html_export filter to create the html files.
2. Get the links' location and url without having to save, unzip it and open the respective content.xml file.
3. Modify the files created in #1 and add the links and some navigation features.


I'm looking forward to work on this. However, I'd like to know beforehand whether it is feasible or not (specially for #2). Any suggestions?

Regards

Jaime

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


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



Reply via email to