github hugohe3/ppt-master v6.7.3

4 hours ago

Patch release: Edit Native and native-object fixes that stop a round trip from failing or silently replacing content, plus a readable fallback for native formulas outside PowerPoint.

Edit Native PPTX

  • An explicit Morph pair whose endpoint sits on an otherwise unchanged page no longer crashes with KeyError. The page keeps its source bytes, and only the shape name the pair needs is patched (604ecde).
  • Moving an imported object that kept its source text body (for example Office Math that could not be rebuilt as a formula) restores that text body at the new position. Before, any move rebuilt the formulas as plain text. Edits that do change the text still rebuild it, and now warn when native math would become plain text (2e1658c).
  • Imported charts and block formulas rebuilt during a round trip keep their source shape id. Before, export stopped with "Edited slide removed source animation target(s)" (0db9d90, cd44568).

Native charts and formulas

  • A new or rebuilt chart no longer takes the same part name as a chart restored from the source package. Before, the later write silently replaced the earlier chart's data. Exports without such a collision are byte-identical (970d9cc).
  • Native formulas now include a fallback built from their SVG preview, so clients without Office Math support (LibreOffice, WPS) show the formula instead of nothing. PowerPoint keeps using the native math (dc7eab3).
  • PPTX import rebuilds PPT Master formulas whose color is a theme color or translucent, instead of turning them into plain text boxes (029201f).

Live preview editor

  • The preview canvas no longer stays blank with "SVG may be corrupted or missing the root <svg> element", and Save no longer writes ns0:-prefixed SVGs. This regression was only on main after v6.7.2. Thanks @ganeshmshetty (#323, #324).

Image to PPTX

  • The profile now defines how page-pixel geometry maps to the SVG canvas, so native text and shapes stay aligned with the base layers when the canvas differs from the source size (f2a20a0, discussion #272).

Installation and docs

  • pip install -r requirements.txt no longer fails with UnicodeDecodeError on Chinese Windows (GBK locale) (69634d6, discussion #321).
  • README and the positioning docs now name the optional services that send data off the machine: image generation, web image search, URL import and online narration (cc8b722, discussion #69).

Don't miss a new ppt-master release

NewReleases is sending notifications on new releases.