[Libreoffice-bugs] [Bug 116749] Font size and font of Formula object are not kept when displaying the OLE object in Microsoft Word or Powerpoint , OOXML and ODF formated documents
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Apr 2 21:26:46 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=116749
--- Comment #7 from Regina Henschel <rb.henschel at t-online.de> ---
(In reply to V Stuart Foote from comment #5)
> Confirming Office 2016 renders OLE formulas, *both* OOXML/ODF, created with
> LibreOffice at a smaller scale.
Considering OOXML and ODF mixes independent problems: (A) font size in MathML
in OpenDocument format, and (B) import/export equations from/to OOXML.
(A)
Currently LibreOffice stores these information in settings.xml. That produces
similar problems in storing to flat file format, see bug 76900 and bug 63642.
If it is only about font size, then attribute mathsize="120pt" or attribute
style="font-size:120pt;" can be used on the root <math> element. That would
have the advantage, that export to MathMl (.mml) would get it correct too. For
embedded formulas enlarging the rendering via frame size should work too.
Unfortunately MS Office reads none of the solutions correctly.
(B)
As far as I see, OMML (the equation part of OOXML) does not have a distinct
element or attribute for font-size in equations. But MS Office uses the common
sz attribute of type ST_TextFontSize, which is indeed "hundredths of a point".
(chapter 20.1.10.68 in ISO/IEC 29500-1:2026(E)). It adds a "rPr" element with
"sz" attribute to each math element if needed. LibreOffice should write this
attribute too.
I suggest to focus this issue on error B.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180402/76483f5f/attachment.html>
More information about the Libreoffice-bugs
mailing list