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
152 B
Python

from typing import IO, Optional, Union
import docx.document
def Document(docx: Optional[Union[str, IO[bytes]]] = None) -> docx.document.Document: ...