返回 ppt-master
__init__.py
1 """PPTX template fill — analyze a deck as a reusable slide library and fill text.
2
3 Direct OOXML editing (no SVG round-trip): select source slides, replace
4 text / table / chart content from a fill plan, and write a new .pptx that keeps
5 the original PowerPoint design. CLI stages mirror the direct-PPTX workflow:
6 analyze -> scaffold -> check-plan -> apply -> validate.
7
8 Public entry: analyze_pptx(), scaffold_plan(), check_plan(), apply_plan(), main().
9 """
10
11 from __future__ import annotations
12
13 from .analyzer import analyze_pptx
14 from .applier import apply_plan
15 from .checker import check_plan, print_check_report
16 from .cli import main
17 from .scaffolder import scaffold_plan
18 from .validator import print_validate_report, validate_project
19
20 __all__ = [
21 "analyze_pptx",
22 "scaffold_plan",
23 "check_plan",
24 "print_check_report",
25 "apply_plan",
26 "validate_project",
27 "print_validate_report",
28 "main",
29 ]
30
30 lines PYTHON