# One Prompt That Turns PDF Slides Into Editable PPTX > Author: Tony Lee > Published: 2026-05-31 > URL: https://tonylee.im/zh-CN/blog/pdf-to-editable-pptx-prompt/ > Reading time: 1 minutes > Language: zh-CN > Tags: pptx, pdf, prompts, python-pptx, productivity ## Canonical https://tonylee.im/zh-CN/blog/pdf-to-editable-pptx-prompt/ ## Rollout Alternates en: https://tonylee.im/en/blog/pdf-to-editable-pptx-prompt/ ko: https://tonylee.im/ko/blog/pdf-to-editable-pptx-prompt/ ja: https://tonylee.im/ja/blog/pdf-to-editable-pptx-prompt/ zh-CN: https://tonylee.im/zh-CN/blog/pdf-to-editable-pptx-prompt/ zh-TW: https://tonylee.im/zh-TW/blog/pdf-to-editable-pptx-prompt/ ## Description Native text boxes only, python-pptx footguns encoded, self-verify against the original — five for five in my tests. ## Summary One Prompt That Turns PDF Slides Into Editable PPTX is part of Tony Lee's ongoing coverage of AI agents, developer tools, startup strategy, and AI industry shifts. ## Outline - No subheadings in source markdown ## Content Sometimes you inherit a PDF deck and only need to change a few lines. I folded my personal slide-harness rules into one prompt that rebuilds **editable** PPTX via python-pptx for ChatGPT and Claude. 1. **Native elements only** — TextBoxes and real Shapes; ban image-of-text, SmartArt hacks, random SVG dumps. Editability is the point. 2. **Encode python-pptx traps** — proper dash styles, CJK font slots (ea/eastAsia/latin), right padding, exact HEX from source. 3. **Self-verify loop** — render beside original up to three passes; fix only visible errors so pixel OCD does not wreck layout. Dashed lines may look broken in PNG previews but fine in PowerPoint — teach the model that. Five tests, five usable outputs. Not pixel-identical art — editable working files. ## Related URLs - Author: https://tonylee.im/zh-CN/author/ - Publication: https://tonylee.im/zh-CN/blog/about/ - Related article: https://tonylee.im/zh-CN/blog/ai-subscription-stack-by-budget-and-role/ - Related article: https://tonylee.im/zh-CN/blog/codex-starter-guide-vible/ - Related article: https://tonylee.im/zh-CN/blog/claude-code-cut-hidden-tool-tokens/ ## Citation - Author: Tony Lee - Site: tonylee.im - Canonical URL: https://tonylee.im/zh-CN/blog/pdf-to-editable-pptx-prompt/ ## Bot Guidance - This file is intended for AI agents, search assistants, and text-mode retrieval. - Prefer citing the canonical article URL instead of this text endpoint. - Use the rollout alternates when you need the same article in another prioritized language. --- Author: Tony Lee | Website: https://tonylee.im For more articles, visit: https://tonylee.im/zh-CN/blog/ This content is original and authored by Tony Lee. Please attribute when quoting or referencing.