Repository navigation
feat(office-reader,core): read OpenDocument presentations (.odp) (0.9.0) - #308
Merged
Merged
Conversation
… decks (0.9.0) readOdp gives the same Deck readPptx does: text boxes and shapes in points, title, tables with merged cells, charts from their data table, notes and the hidden flag. Core reads an .odp through the same deck conversion as a .pptx. ODT and ODP share one table reader. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TjR6eM2tUwU3NGnKXsmEap
…h series A notes page from LibreOffice may not mark the notes frame: any frame with text on it is notes, except the footer, date and number furniture. The generated chart fixture now describes its series and categories the way a real chart does. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TjR6eM2tUwU3NGnKXsmEap
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.
Part of #294 (ODF parsers): presentations, after spreadsheets (#306) and text (#307). That completes the OpenDocument trio.
readOdpin@opencraw/office-reader(/odpentry): the sameDeckasreadPptx. Text boxes and shapes with their positions converted to points (cm, mm, in, pt, pc, px), reading order, title and placeholder (title,subTitle,body), tables as sheets with merged cells as ranges, charts from the data table they keep (type, title once, series, categories, missing points), speaker notes, hidden slides (by the page style), the slide size from the page layout. Footers, dates, slide numbers and comments are left out..odp(by extension, content type or the file's ownmimetype) through the same deck conversion as a.pptx, sotableandregionextracts, Studio's deck canvas and every output work on it unchanged.opendocument-table), extracted from the ODT mapper (its tests unchanged)..odp, and the "not supported" list loses it. Extension 0.9.0.Checked: typecheck, lint and unit tests for office-reader, core, studio and studio-ui. The
.odpfixture is generated fromincentivi.pptx(a title, a merged-header table, ten text boxes, a bar chart with a missing point, notes, a hidden slide, footer and slide-number placeholders); a test assertsreadOdpandreadPptxgive an equalDeck, in typed and text mode.Not here: charts other than the data table they keep (axis scales, colours), SmartArt-like objects, and files exported by LibreOffice itself were not available to test with: the fixture is built to its layout, not exported from it.
🤖 Generated with Claude Code
https://claude.ai/code/session_01TjR6eM2tUwU3NGnKXsmEap