Bug 137536 - opendocument-exchange between openoffice and koffice does not work very good
Summary: opendocument-exchange between openoffice and koffice does not work very good
Status: RESOLVED LATER
Alias: None
Product: kword
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Thomas Zander
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-18 15:40 UTC by m.wege
Modified: 2009-03-14 13:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description m.wege 2006-11-18 15:40:59 UTC
Version:           1.6.0 (using KDE 3.5.5 "release 39.1" , openSUSE )
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.16.21-0.25-default

Sorry to bother you with a not very detailed bug report. Until recently I was using exclusively openoffice as a word processor, but since I like KDE and the integrated applications very much I wanted to give koffice another try. It really seems to have matured in general.
But the opendocument format does not seem to be in very mature state. I do not know, if this is a problem of koffice or openoffice (seems like one of it does not implement the format right). But I have the feeling the problem is more Koffice then OO.org following problems:

- Some documents created with Koffice writer simply do not open in OpenOffice I get an Input/ Ouput error there. The thing is this problem sometimes also appears with a Dokument created and saved with OO.org , then opened and closed with Koffice without saving.
- Problems with hyperlinks (some of them get lost, if there is a space after it, koffice seems to remove it)
- Fonts, Fontsizes get scrambled, after opening a document which I previously created with oo.org
- Headers and Footers sometimes disappear, especially if use the setting (different header/footer on page one), if it does not dispear the size is altered (is becomes rather big in Koffice).
- the index of contents created with oo.org looses functionality (means the text is still there, but it is not an element of the document anymore which can be updated)
- koffice seems to have problems with the hyphenation-sign from OO.org, means it appears hidden unter the word. Which looks a bit funny, but more anoying it seems to irritate the spellchecker.

That is all for the moment. Sorry I do not have time for single bug reports and creating test documents. I normaly do this, but the moment I am very busy. I also got the impression that the lack of correct implementation in either oo.org or Koffice is a rather large issue, which in other circumstances would be declared "Alpha". Currently in/exporting rtfs and docs between both office suites works better for me then .oft.

BTW: I am using Koffice 1.6 and OO.Org 2.04 (both Suse)
Comment 1 David Faure 2006-11-21 20:50:53 UTC
SVN commit 606781 by dfaure:

Write out the "office:font-face-decls" into the styles.xml as well (not only content.xml) so that OOo accepts to load the fonts that we are specifying
CCBUG: 137536


 M  +3 -0      KWDocument.cpp  


--- branches/koffice/1.6/koffice/kword/KWDocument.cpp #606780:606781
@@ -3112,6 +3112,9 @@
     KoStoreDevice stylesDev( store );
     KoXmlWriter* stylesWriter = createOasisXmlWriter( &stylesDev, "office:document-styles" );
 
+    // Yeah we need to save the same font faces in both content.xml and styles.xml...
+    savingContext.writeFontFaces( *stylesWriter );
+
     stylesWriter->startElement( "office:styles" );
 
     if ( saveFlag == SaveAll )
Comment 2 Melchior Mazzone 2007-03-05 01:45:55 UTC
Simple way to reproduce:
Start Kword and use the "Colourful Document" template.  Save the document as the default format (.odt). Open it in OpenOffice. the colours are different, the font is different, even the formatting is different.

The same result can be achieved by creating a document in OO.org and opening it in kword...