Repository navigation
feat(pptx): convert PowerPoint presentations slide by slide - #47
Merged
Merged
Conversation
- Single-row sheets render the row as data under Excel column letters - Extraction.title from XLSX core.xml, ODS meta.xml, XLS SummaryInformation - XLSB content type / extension / container detected as Format::Xlsb, not Xlsx - XLSX without _rels/.rels gets the standard package relationship - Release profile uses panic = "unwind" so catch_unwind guards work - Document the trailing newline as intended Part of #11
- Single-row sheets render the row as data under Excel column letters - Extraction.title from XLSX core.xml, ODS meta.xml, XLS SummaryInformation - XLSB content type / extension / container detected as Format::Xlsb, not Xlsx - XLSX without _rels/.rels gets the standard package relationship - Release profile uses panic = "unwind" so catch_unwind guards work - Document the trailing newline as intended Part of #11
…-foq2nw # Conflicts: # knowledge/log.md
…-foq2nw # Conflicts: # knowledge/log.md
…-foq2nw # Conflicts: # knowledge/log.md
…-foq2nw # Conflicts: # crates/markkit/src/extract.rs # crates/markkit/src/lib.rs # knowledge/log.md
New pptx feature (in all_formats): slides in sldIdLst order as '## Slide N: <title>' sections, bulleted body placeholders, text boxes, tables with spans, hyperlinks, speaker notes. Hidden slides skipped unless include_hidden_content. Shared OOXML helpers move from docx.rs to ooxml.rs. Legacy .ppt becomes Format::Ppt and is rejected explicitly. Part of #11
2 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Михайло · project thread
What changed
PPTX is now converted to markdown behind a new
pptxfeature, which is included inall_formats, so the CLI and the Python, Node and WASM packages get it.p:sldIdLstorder, each as a## Slide N: <title>section.a:pPr@lvlandbuChar/buAutoNum/buNonehonoured. Text boxes render as paragraphs.gridSpan/rowSpan. Links come only from external relationships. Group shapes andmc:AlternateContentare walked.### Notes.show="0") are skipped with ahidden_slide_skippedwarning unlessinclude_hidden_content(true), the same switch feat(security): skip hidden content by default #42 added for hidden HTML/DOCX content.stats.pagesis the slide count. Withtrack_sources, each block records its slide number as the page..pptis detected as the newFormat::Pptand rejected explicitly. Macro-enabledms-powerpoint.*content types map to PPTX. NewError::PptxExtract.docx.rsinto a newooxml.rs. DOCX behaviour is unchanged.xml.rsattributes keep their qualified names;attr()still matches by local name, and the newattr_prefixed()is used wherer:idandidmust not be confused.Why
Third part of the #11 follow-ups. fetchkit's Office backend needs PPTX.
Before / After
markkit extract --file tests/fixtures/pptx/deck.pptxBefore:
Unsupported format(PPTX was detected but rejected).After:
just fmt lint test check-okf test-scripts examplespass locally.Risk
deck.pptxwas generated with python-pptx; the script is committed.Checklist
pptx_integration.rs, PPTX security tests, detection tests)FormatandErrorare#[non_exhaustive])Part of #11
Generated by Claude Code