Repair a .pptx against the OOXML spec
pptx_repairAuto-fix broken .pptx files: restore missing ID-list entries, fix content-type declarations, remove duplicate media, strip printer settings, clamp invalid geometry. Returns repaired file + change log.
Instructions
Auto-fix an existing .pptx's structural problems: backfill missing presentation ID-list entries (the Keynote-import bug), add/correct missing content-type declarations, remove dangling relationships and orphaned/duplicate media, strip Windows-only printer-settings parts, and clamp invalid geometry. Returns the repaired file plus a log of changes made and any violations it could not fix safely (which it reports rather than guessing at).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| byteLength | Yes | ||
| stillValid | Yes | True if no error-severity violations remain after repair. | |
| changesApplied | Yes | ||
| remainingViolations | Yes |