| 1 | """PPTX -> SVG semantic importer for declared reversible subsets. |
| 2 | |
| 3 | Reads OOXML (DrawingML) directly from a .pptx zip archive and emits SVG with |
| 4 | shape-level fidelity plus explicit native-marker reconstruction where the |
| 5 | source fits a closed project-owned contract. |
| 6 | |
| 7 | Public entry: convert_pptx_to_svg(). |
| 8 | """ |
| 9 | |
| 10 | from __future__ import annotations |
| 11 | |
| 12 | __all__ = ["convert_pptx_to_svg"] |
| 13 | |
| 14 | |
| 15 | def __getattr__(name: str): |
| 16 | """Load the public converter lazily so shared submodules stay lightweight.""" |
| 17 | if name != "convert_pptx_to_svg": |
| 18 | raise AttributeError(f"module {__name__!r} has no attribute {name!r}") |
| 19 | from .converter import convert_pptx_to_svg |
| 20 | |
| 21 | return convert_pptx_to_svg |
| 22 |