[Libreoffice-bugs] [Bug 134068] Math expression is not shown on LibreOffice Impress

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jun 17 12:44:53 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=134068

Julien Nabet <serval2412 at yahoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michael.stahl at cib.de

--- Comment #4 from Julien Nabet <serval2412 at yahoo.fr> ---
Michael: thought you might be interested in this one.
Indeed, I noticed this commit:
"commit 332a796366b7cb91dff41de4b9ffb17843112a3e
Author: Michael Stahl <mstahl at redhat.com>
Date:   Thu Jan 21 17:39:26 2016 +0100

    oox: import Math objects from PPTX files

    This is quite hacky and limited: in OOXML these are not OLE objects but
    occur inside text boxes, and PPT 2010 allows inserting multiple Math
    objects into one text box but Impress does not have as-character
    anchored objects, so we can't import that properly; for now only import
    Math if there is nothing else in the text box.

    Also for now only import them as children of TextParagraphContext (a:p);
    it's not clear what the possible parent elements could be since the
    OOXML standard only lists WordProcessingML parent elements :(
"
Calling "pMathXml = &it->GetMathXml()" each time in "if (it->HasMathXml())"
block makes the formula appear.
See
https://opengrok.libreoffice.org/xref/core/oox/source/drawingml/shape.cxx?r=54e35fee#650

-- 
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/20200617/90dc1298/attachment.htm>


More information about the Libreoffice-bugs mailing list