Issue 74510 - Certain objects created by Kword not recognized
Summary: Certain objects created by Kword not recognized
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: save-export (show other issues)
Version: OOo 2.1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-13 21:46 UTC by vmlemon
Modified: 2015-04-08 18:07 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
KWrite ODF File with embedded Kivio Flowchart and Formula (8.18 KB, application/vnd.oasis.opendocument.text)
2007-02-13 21:53 UTC, vmlemon
no flags Details
Illustrating screenshot (131.08 KB, image/png)
2007-02-15 17:01 UTC, kpalagin
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description vmlemon 2007-02-13 21:46:14 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.
Comment 1 vmlemon 2007-02-13 21:53:35 UTC
Created attachment 43000 [details]
KWrite ODF File with embedded Kivio Flowchart and Formula
Comment 2 michael.ruess 2007-02-14 07:18:12 UTC
Reassigned to ES.
Comment 3 kpalagin 2007-02-15 16:59:54 UTC
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).
Comment 4 kpalagin 2007-02-15 17:01:24 UTC
Created attachment 43045 [details]
Illustrating screenshot
Comment 5 vmlemon 2007-02-15 17:51:08 UTC
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.
Comment 6 eric.savary 2007-02-21 14:00:21 UTC
ES->MRU: it looks like an OLE Object problem on Linux.
Comment 7 michael.ruess 2007-02-22 10:50:39 UTC
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!
Comment 8 mikhail.voytenko 2007-03-08 13:39:52 UTC
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.
Comment 9 mikhail.voytenko 2007-03-08 13:42:29 UTC
Ups, sorry, the bug should be sent to TL. 
Comment 10 mikhail.voytenko 2007-03-08 14:09:01 UTC
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.
Comment 11 thomas.lange 2007-12-03 15:15:23 UTC
.
Comment 12 Regina Henschel 2015-04-08 18:07:06 UTC
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.