Skip to content

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(pptx_animations): apply office 2010 extension for transition timing

hugohe3c32e23efbcd9
diff --git a/skills/ppt-master/scripts/pptx_animations.py b/skills/ppt-master/scripts/pptx_animations.py
index bd595046..d82a13f1 100644
--- a/skills/ppt-master/scripts/pptx_animations.py
+++ b/skills/ppt-master/scripts/pptx_animations.py
@@ -94,9 +94,9 @@ def create_transition_xml(
element_name = trans_info['element']
attrs = trans_info['attrs']
- # Build dur attribute (milliseconds, precise control)
+ # Build dur attribute (milliseconds, precise control via Office 2010 extension)
dur_ms = int(duration * 1000)
- dur_attr = f' dur="{dur_ms}"'
+ dur_attr = f' p14:dur="{dur_ms}" xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main"'
# Build auto-advance attribute
adv_attr = ''