Hi, I have a patch for the bug
[ 1368727 ] Error in files exported Open Office Writer
Document
It turned out oo 2.0 needs a META-INF/manifest.xml file.
Also, some styles apeared to be mission which caused oo
not to recognize headings. They were mapped to Default
(text)
I have fixed this by,
- adding the missing styles to
freemind/accessories/mm2oowriter.xsl
- introducing a new xsl file for the manifest.xml file,
freemind/accessories/mm2oowriter.manifest.xsl
- restructuring
freemind/accessories/plugins/ExportToOoWriter.java
exportToOoWriter function so that multiple .xml files
can be added to the zip archive. Basicaly, I have moved
the generic writing part to a new method,
private void applyXsltFile(String xsltFileName,
StringWriter writer,
Result result) throws IOException
This method is now called twice from within the
exportToOoWriter method. Once for the content.xml file,
and once for the META-INF/manifest.xml file
see the patch for more details.
regards, merry christmas and a happy new year.
patch for bug [ 1368727 ]
Logged In: YES
user_id=704503
I don't know when it's going to be applied, but I vote for
this patch :)
Logged In: NO
Where to get it ?
Logged In: YES
user_id=1409605
see the atached files / Download link at the bottom of this page
Logged In: YES
user_id=1431396
Hi
Good work, nice to be able to save to Oo in a way that
works.
Could you make a further patch and auomaticly add the map
as a picture in the top of the dokument, that would be
very handy.