← Về thư mục
- _finding · function · L168-L172 — def _finding(code: str, message: str, *, location: str | None = None) -> dict[str, Any]
- _allowed_generated_part · function · L175-L177 — def _allowed_generated_part(name: str) -> bool
- _preflight_zip_directory · function · L180-L263 — def _preflight_zip_directory(path: Path) -> list[dict[str, Any]]
- _unsafe_xml · function · L266-L268 — def _unsafe_xml(text: str) -> bool
- _parse_xml · function · L271-L289 — def _parse_xml(raw: bytes, *, location: str) -> ET.Element
- _relationship_source_directory · function · L292-L300 — def _relationship_source_directory(rels_name: str) -> str
- _resolve_internal_target · function · L303-L316 — def _resolve_internal_target(rels_name: str, target: str) -> str
- _preflight_members · function · L319-L475 — def _preflight_members( archive: zipfile.ZipFile, ) -> tuple[list[zipfile.ZipInfo], list[dict[str, Any]], set[str], int]
- _inspect_content_types · function · L478-L584 — def _inspect_content_types( archive: zipfile.ZipFile, names: set[str], ) -> list[dict[str, Any]]
- _inspect_relationships · function · L587-L694 — def _inspect_relationships( archive: zipfile.ZipFile, names: set[str], ) -> tuple[list[dict[str, Any]], int]
- _inspect_all_xml_parts · function · L697-L710 — def _inspect_all_xml_parts( archive: zipfile.ZipFile, names: set[str], ) -> list[dict[str, Any]]
- _inspect_one_slide_profile · function · L713-L784 — def _inspect_one_slide_profile( archive: zipfile.ZipFile, names: set[str], ) -> list[dict[str, Any]]
- _inspect_image_payloads · function · L787-L823 — def _inspect_image_payloads( archive: zipfile.ZipFile, names: set[str], ) -> list[dict[str, Any]]
- _inspect_slide_accessibility · function · L826-L899 — def _inspect_slide_accessibility( archive: zipfile.ZipFile, names: set[str], ) -> dict[str, Any]
- _inspect_forbidden_markup · function · L902-L947 — def _inspect_forbidden_markup( archive: zipfile.ZipFile, names: set[str], ) -> list[dict[str, Any]]
- inspect_pptx · function · L950-L1034 — def inspect_pptx(value: str | Path) -> dict[str, Any]
- require_safe_pptx · function · L1037-L1042 — def require_safe_pptx(value: str | Path) -> dict[str, Any]
- _local_name · function · L1045-L1046 — def _local_name(tag: str) -> str
- _shape_transform · function · L1049-L1069 — def _shape_transform(shape: ET.Element) -> tuple[int, int, int, int] | None
- _shape_name · function · L1072-L1074 — def _shape_name(shape: ET.Element) -> str
- _shape_text · function · L1077-L1080 — def _shape_text(shape: ET.Element) -> str
- _font_sizes_pt · function · L1083-L1094 — def _font_sizes_pt(shape: ET.Element) -> list[float]
- _intersection · function · L1097-L1109 — def _intersection( first: tuple[int, int, int, int], second: tuple[int, int, int, int], ) -> tuple[int, int]
- analyze_layout · function · L1112-L1318 — def analyze_layout( value: str | Path, *, print_scale: float = 1.0, minimum_font_pt_final: float = 18.0, ) -> dict[str, Any]
- strip_generated_printer_settings · function · L1321-L1402 — def strip_generated_printer_settings(source: Path, destination: Path) -> None
- patch_accessibility_metadata · function · L1405-L1484 — def patch_accessibility_metadata( source: Path, destination: Path, *, alt_text_by_shape_name: dict[str, str], language: str, ) -> None