AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He
fix(svg_to_pptx): use native with-previous timing
hugohe30379fc9fa37b
diff --git a/skills/ppt-master/scripts/pptx_animations.py b/skills/ppt-master/scripts/pptx_animations.pyindex bb4c5248..bd595046 100644--- a/skills/ppt-master/scripts/pptx_animations.py+++ b/skills/ppt-master/scripts/pptx_animations.py@@ -378,6 +378,10 @@ def create_sequence_timing_xml(outer_id = next_idnext_id += 1inner_steps = []+ with_wrapper_id = None+ if trigger == 'with-previous':+ with_wrapper_id = next_id+ next_id += 1elapsed_ms = 0for i, target in enumerate(targets):shape_id, delay_ms, animation = target@@ -427,6 +431,18 @@ def create_sequence_timing_xml(</p:par>''')inner_xml = '\n '.join(inner_steps)+ if trigger == 'with-previous':+ # Match PowerPoint's native "Start: With Previous" export:+ # one delay=0 wrapper begins on slide entry, and all withEffect+ # rows live under that wrapper so they truly start in parallel.+ inner_xml = f'''<p:par>+ <p:cTn id="{with_wrapper_id}" fill="hold">+ <p:stCondLst><p:cond delay="0"/></p:stCondLst>+ <p:childTnLst>+ {inner_xml}+ </p:childTnLst>+ </p:cTn>+ </p:par>'''if trigger in ('with-previous', 'after-previous'):# Match PowerPoint's native slide-entry export: the wrapper waits# for mainSeq to begin, then child nodes resolve their Start modes.