https://bz.apache.org/ooo/show_bug.cgi?id=126230
Kay <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Kay <[email protected]> --- (In reply to Regina Henschel from comment #1) > Created attachment 84655 [details] > change detection from <?xml to <math > > The part for detecting MathML has been changed totally, so please have a > look. Please test it on Linux and MacOS, because I have only Windows. > > The detections accepts now - both for "Open" and "Tool>Import Formula.." - > MathML files, if they have a math-Element with MathML namespace attribute. > It accepts both the default utf-8 encoding and utf-16 encoding as well. I > have not seen other encodings, so others are currently not considered. > > The MathML files need no <?xml prolog to be excepted. Because it does not > consider the <?xml prolog, but only looks for the math element, the issue > #124636 is still fixed. If the MathML part is embedded in xhtml or other > xml, it opens still in module Math, if the MathML part is inside the first > 4096 bytes. > > The utf-16 encoding is used by Microsoft "Math Input Control", which puts > the MathML into the clipboard. [My dream is, that AOO can insert such > formula from clipboard.] Thanks for your changes. Builds fine for me on Linux-32. But I don't really have test documents. Can you provide some as attachment? -- You are receiving this mail because: You are the assignee for the issue.
