Hi Jaime,
Jaime Alvarez wrote:
Hi Svante,
I already downloaded the latest snapshot (...m79) and installed the xslt sample filters. A couple of questions:
a) How can i add the respective xslt sample filters to the stable (1.1.4) version? I upgraded a 1.1.3 installation and I'm afraid that if I do a "Repair installation", I might make a mess.
To add the sample filters, run setup and choose 'modify'.
But you are as well able to use the XHTML filters from OOo 2.0 in your 1.1.4, by adding them under tools->XML Filter Settings. As I stated earlier they still use the OpenOffice.org XML format.
b) How different are the 1.0 and 2.0 OO.org file formats?With OOo 2.0 we are using the OASIS Open Office XML format, which is based on OpenOffice.org XML, therefore quite similar. Aside of the change of the namespace, which result in no matches during an old transformation, dozens of minor changes had been done.
More information can be found under: http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=office
It seems to me
that the 2.0 launch will be around june-july at best, so I'll have to work on the 1.0 file format first and then move to the new one. If they are not very different for this matter, then I would try to work on both simultaneously.
You are still able to use (old) OpenOffice.org XML stylesheets in OOo 2.0, you may choose the format in the updated 'XML Filter Settings' dialog.
Jaime
Jaime Alvarez wrote:
Hi Svante,
Thanks for replying. I've thought about the xslt filter option, but I don't know if it allows me to export images to jpeg or gif (or another standard format). Could somebody tell me?
The feature of extracting 'real' embedded images from the OOo documents was postponed. We intended the creation of a folder containing the earlier embedded images. A behavior similar to browsers, saving html files containing images.
But it shouldn't be so hard to implement, if there are any volunteers, we might provide a little starting aid.
If you meant the drawn SVG images as in your link below, I must admint I not even started in doing so.
But something like http://www.w3.org/2002/05/svg2html.xsl should be worth a try.
I have used OOorg extensively, but 'm a sort of newbie in the developer land, so it's hard for me to figure out which options are available. Even so, I'm willing to invest my time in this as it would allow me to provide a valuable tool for my customers. I'd be more than happy to help the OOorg development team and the community as well.
Nice to hear.
A sample file can be retrieved at: http://www.isovirtual.cl/archivos/prueba_rod2.sxd
If you export it to html, the links are lost.
And so are the drawn images. But it should be a solvable problem.
Regards, Svante
Regards
Jaime
Svante Schubert wrote:
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]
--------------------------------------------------------------------- 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
