Skip to content

Handle PPTX notes slides without a body placeholder - #18466

Open
LimbC-C wants to merge 1 commit into
PaddlePaddle:mainfrom
LimbC-C:fix/doc2md-pptx-missing-notes-placeholder
Open

LimbC-C wants to merge 1 commit into
PaddlePaddle:mainfrom
LimbC-C:fix/doc2md-pptx-missing-notes-placeholder

Conversation

@LimbC-C

@LimbC-C LimbC-C commented Nov 20, 2026

Copy link
Copy Markdown

Fixes #18465.

A PowerPoint notes slide can exist without a body placeholder. In that case python-pptx returns None for the notes text frame, and doc2md aborts when it reads .text. Treat the absent frame as empty notes so the slide still converts.

Three real saved PowerPoint cases pass on python-pptx 0.6.21 and 1.0.2. The original source fails with the missing body and passes the no-notes and normal-notes controls. The public CLI on 0.6.21 also converts the original failing deck. Configured file checks and normal commit hooks passed. Local verification focused on PPTX conversion.

AI-assisted implementation and testing with Codex.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[third-party] doc2md fails for PPTX notes slides without a body placeholder

1 participant