Steve Canny ab29de8dbd
Rfctr: Refactor PPTX partitioning to more closely align with how pptx documents are structured
This refactor solves a problem or two, the big one being recursing into
group-shapes to get all shapes on the slide, but mostly lays the
groundwork to allow us to refine further aspects such as list-item
detection, off-slide shape detection, and image-capture going forward.
2023-09-26 15:43:55 -04:00

6 lines
154 B
Python

from typing import IO, Union
import pptx.presentation
def Presentation(pptx: Union[str, IO[bytes], None] = None) -> pptx.presentation.Presentation: ...