Apache OpenOffice (AOO) Bugzilla – Issue 74510
Certain objects created by Kword not recognized
Last modified: 2015-04-08 18:07:06 UTC
I have created a set of documents in KOffice (http://koffice.kde.org), containing a Kivio flowchart, a MathML-based formula added by KFormula and a chart using KChart, and saved them in OpenDocument Text Format. I then opened the file in OOo Writer, and found that the flowchart was temporarily untouched, but the formula and chart were damaged. I saved the document, and opened it in KOffice (KWord), and all the embedded items were unusable.
Created attachment 43000 [details] KWrite ODF File with embedded Kivio Flowchart and Formula
Reassigned to ES.
Confirming with 2.2m7 on WinXP - Writer just shows generic icons. KWord shows picture and formula just fine. On attached screenshot KWord runs on Suse 10.2 (running in virtual machine).
Created attachment 43045 [details] Illustrating screenshot
I opened the file with a Zip file viewer, and found that OpenOffice related files were removed, structural changes were made to the object directories, and metadata was stripped from the settings.xml and content.xml files. And the Basic, Configuations2, Scripts and Versions directories (including contents) have also been stripped by KWord. Digital Signatures are also stripped.
ES->MRU: it looks like an OLE Object problem on Linux.
MRU->MAV: as discussed, at first an issue for you. It looks that the Kivio object cannot be displayed because a replacement image is missing in the odt. Please have a look at the Math object, this might be recognizable. Thanks a lot!
So the original problem description mentioned a number of problems: 1) Kivio flowchart looks to be damaged after loading in OOo: The flowchart object is not known in the OOo and is not supported, thus the object can not be loaded. There is no replacement image, and the object can not be loaded, thus the default icon has to be shown. Thus it is a correct handling of the unknown embedded object without replacement image. 2) MathML-based formula looks to be damages after loading in OOo: This is a bug. The "∫" seems not to be recognized. 3) After storing of the document it can not be loaded in KOffice: The objects are stored by the OOo without any change. The container document looks to be a correct ODF format. So it seems to be a problem of the KOffice. So this bug seems to be indeed only about embedded MathML object in the attached document. MAV->TL: Could you please take a look.
Ups, sorry, the bug should be sent to TL.
I have tried to enter "&int" in embedded math object editor. After deactivation of the object the integral sign was shown. After storing of the document, the integral sign was represented as "&int". As I understood MBR, it is not correct, it should be either "∫" or the integral unicode sign. From other side the MathML embedded object in the attached document is also not completely correct, the link to dtd is missing.
.
The used SAX parser cannot resolve the entity "&int", therefore trying to read it results in an error. Browser have no problem with missing doctype declarations, because they are error tolerant and resolve such common entities on their own. It is common practice in websites not to include the necessary definitions, therefore AOO should be tolerant too and replace the entity with the according number-reference.