scanny / python-pptx

Create Open XML PowerPoint documents in Python
MIT License
2.35k stars 510 forks source link

Set Guidelines #812

Closed bowespublishing closed 2 years ago

bowespublishing commented 2 years ago

Is there a way to set the guides at various points e.g. centre horizontal/vertically on a PowerPoint presentation using python-pptx? I couldn't see anything so I'm guessing perhaps I need to edit the XML which I've copied and pasted below & it seems to be the difference between pptx files

With Guides

-

-

-

-

-

</p15:clr>

</p15:guide>

-

-

</p15:clr>

</p15:guide>

-

-

</p15:clr>

</p15:guide>

</p15:sldGuideLst>

</p:ext>

</p:extLst>

Thank you,

Luke

bowespublishing commented 2 years ago

Figured it out :)