I've been trying to use some custom layouts on a python-pptx prs, but when I call the prs.slide_layouts method, it return only some of the layouts, only from one of the layout themes. The presentation I'm using has almost 100 layouts, but when I call the follow code, it prints 12 numbers (in order, from 1 to 11).
from pptx import Presentation
from pptx.util import Inches, Pt
for slide_layout in prs.slide_layouts:
print(prs.slide_layouts.index(slide_layout))
Output:
0
1
2
3
4
5
6
7
8
9
10
11
How can I acess all layout themes on python-pptx? Thank you.