Auto numbering slides in pptx
Posted: Thu Nov 24, 2022 12:46 am
I want to add a shape with a text that holds the slide number in a presentation. I've been cheching the structure of a xml that invludes it and I found it has a shape object which contains a textbody "<p:txBody>" and the text body contains the below entity
<a:p>
<a:fld id="{an-uri-here}" type="slidenum">
<a:t> <#> </a:t>
</a:fld>
</a:p>
The class CTTextBody contains a list of CTTextParagraphs and that does not match the CTTextField that contains the information for adding the auto numbering object in the slides.
Does anyone knows the class that could allow to put a CTTextField in a slide?
<a:p>
<a:fld id="{an-uri-here}" type="slidenum">
<a:t> <#> </a:t>
</a:fld>
</a:p>
The class CTTextBody contains a list of CTTextParagraphs and that does not match the CTTextField that contains the information for adding the auto numbering object in the slides.
Does anyone knows the class that could allow to put a CTTextField in a slide?