scanny / python-pptx

Create Open XML PowerPoint documents in Python
MIT License
2.37k stars 513 forks source link

How can we update part.blob property? #779

Open ChurchSolution opened 2 years ago

ChurchSolution commented 2 years ago

Hi there,

We have some PPT files in Asian language and we need to update Asian language rule. And we found the property is in slide.part.blob property. After getting it and change the value, is it possible to update part.blob property? Or can we generate a new slide with the blob (binary array) value?

Here is the one we need in part.blob as below, <a:pPr algn="ctr" eaLnBrk="0"/>

Thanks,

Ray

ChurchSolution commented 2 years ago

Found "DocumentFormat.OpenXml" on Nuget.com, which solved all of my issues. Hope the package can support OpenXml soon.