Bug 134068 - Math expression is not shown on LibreOffice Impress
Summary: Math expression is not shown on LibreOffice Impress
Status: RESOLVED DUPLICATE of bug 129061
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.4.4.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-17 11:09 UTC by erez.shlingbaum
Modified: 2020-06-17 14:11 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
On LibreOffice Impress, I see nothing. On PowerPoint I see an expression (36.20 KB, application/zip)
2020-06-17 11:09 UTC, erez.shlingbaum
Details
The math expression (3.53 KB, image/png)
2020-06-17 11:12 UTC, erez.shlingbaum
Details

Note You need to log in before you can comment on or make changes to this bug.
Description erez.shlingbaum 2020-06-17 11:09:55 UTC
Created attachment 162113 [details]
On LibreOffice Impress, I see nothing. On PowerPoint I see an expression
Comment 1 erez.shlingbaum 2020-06-17 11:12:31 UTC
Created attachment 162114 [details]
The math expression
Comment 2 Julien Nabet 2020-06-17 12:10:32 UTC
On Win10 with master sources updated today, I could reproduce this.
Comment 3 Julien Nabet 2020-06-17 12:12:03 UTC
I noticed these logs:
warn:oox:9484:9036:oox/source/helper/propertyset.cxx:136: PropertySet::implSetPropertyValue - cannot set property "IsNumbering" com.sun.star.beans.UnknownPropertyException message: IsNumbering
warn:oox:9484:9036:oox/source/helper/propertyset.cxx:136: PropertySet::implSetPropertyValue - cannot set property "NumberingLevel" com.sun.star.beans.UnknownPropertyException message: NumberingLevel
warn:oox:9484:9036:oox/source/helper/propertyset.cxx:136: PropertySet::implSetPropertyValue - cannot set property "NumberingLevel" com.sun.star.beans.UnknownPropertyException message: NumberingLevel
C:\BLP\core\instdir\program\uno.py:487: ResourceWarning: unclosed file <_io.TextIOWrapper name='C:\\BLP\\core\\instdir\\share\\extensions\\dict-ru\\Lightproof.py' mode='r' encoding='utf_8'>
  for kwarg in kwargs.keys():

SvNumberFormatter::ImpGenerateCL: locales don't match:
en-IL requested
en-US loaded
warn:unotools.i18n:9484:9036:unotools/source/i18n/localedatawrapper.cxx:1712: SvNumberFormatter::ImpGenerateCL: locales don't match:
en-IL requested
en-US loaded
warn:oox.drawingml:9484:9036:oox/source/drawingml/shape.cxx:658: losing a Math object...
Comment 4 Julien Nabet 2020-06-17 12:44:53 UTC
Michael: thought you might be interested in this one.
Indeed, I noticed this commit:
"commit 332a796366b7cb91dff41de4b9ffb17843112a3e
Author: Michael Stahl <mstahl@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
Comment 5 Xisco Faulí 2020-06-17 14:11:45 UTC
This started to happen after https://cgit.freedesktop.org/libreoffice/core/commit/?id=4038d6c393c3cf6330671124ba69cdba98b24960
Closing as a dupe of bug 129061

*** This bug has been marked as a duplicate of bug 129061 ***