Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | import MathML : Pb with ^ | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Math | Reporter: | apourche <antoine.pourchez> | ||||||||||||
Component: | code | Assignee: | AOO issues mailing list <issues> | ||||||||||||
Status: | REOPENED --- | QA Contact: | |||||||||||||
Severity: | Trivial | ||||||||||||||
Priority: | P3 | CC: | issues, jjcogliati-r1, rb.henschel | ||||||||||||
Version: | OOo 2.4.0 | ||||||||||||||
Target Milestone: | 4.0.0 | ||||||||||||||
Hardware: | All | ||||||||||||||
OS: | All | ||||||||||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||||||||||
Developer Difficulty: | --- | ||||||||||||||
Attachments: |
|
Description
apourche
2008-06-10 13:06:39 UTC
Created attachment 54359 [details]
Sample MML that show the PB
Created attachment 54360 [details]
bad view in openOffice
Created attachment 54361 [details]
Good View in Firefox
MRU->TL: the import of the attached MML gives "font serif t csup widehat_A", but it should be more sth. like "font serif {hat t}_A". The csup is not necessary because of widehat; also the widehatis in wrong position. Note that this bug can be triggered by opening a ODT file that comes from Microsoft Word. This has also been reported in the redhat bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=533318 I created and put up a patch for this bug for libreoffice. I would guess that it can be used for Open Office as well: https://bugs.freedesktop.org/show_bug.cgi?id=33849 @jrincayc: Your patch is appreciated. Please attach it here and assure, that you give the patch under Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0). Created attachment 78525 [details]
Patch to fix all simple accent problems from Libre Office
Patch created for Libre Office, but I think it should probably work with Open Office, and I am giving the patch under Apache License, Version 2.0.
I have tried LO3.6 and it does not show the formula as I can see it in the browser. Isn't this patch applied to LO3.6? I have applied the patch to my local working copy of AOO. There too I still see the wrong formula. Has someone verified, that the patch works as intended? What I did: Open a new formula document. Tools > Import Formula... Choose the file attached to this bug. Created attachment 78883 [details]
simple accents
The patch does not solve the bad rendering of the first attachment, but is solves wrong import for those simple accents, which can be applied from the 'Attributes' category in Math. The attached file contains a collection of that characters.
"regina" committed SVN revision 1370843 into trunk: #i90553# fix simple accents in MathML importPatch by: Joshua Cogliati;Review ... adjusted target to version that will contain the fix Single accents are good, but the initial document is still not rendered correctly. There seems to be an additional problem here. |