<html>
    <head>
      <base href="https://bugs.documentfoundation.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - implement fallback export of Math object in PPTX"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=97356">97356</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>implement fallback export of Math object in PPTX
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.1.0.0.alpha0+ Master
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Impress
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mstahl@redhat.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>libreoffice@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Depends on</th>
          <td>53419
          </td>
        </tr></table>
      <p>
        <div>
        <pre>commit cb890ae43bacd2be24bc74fad2e2e5cce8910995 added OOXML Math export in PPTX
files.

unfortunately OOXML Math markup in PPTX isn't actually specified in ECMA-376
3rd ed., and can only be read by PPT 2010, not by PPT 2007.

so we use MCE (Markup Compatibility and Extensibility) to write the Math markup
as an "extension" and a fallback.

currently the fallback is empty, but we could write a bitmap image shape
instead, which could then be imported by PPT 2007 and older LibreOffice
versions.

the implementation is in ShapeExport::WriteMathShape() in
oox/source/export/shapes.cxx, see the "TODO: export bitmap shape as fallback"

functions to export bitmap shapes already exist in ShapeExport, and the model
of the Math embedded object can be used to retrieve a preview image.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>