- pptx convert: both sides added the chart's category_format and date_1904; keep one of each.
- AppShell slots and pages take upstream's version argument (|_| None: run every pass, as before).
- profile_root's folder list (production 274ec864) reads the log folder from one LOG_DIR in main.rs, which the logger uses too (the port moved logging to the framework).
- Cargo.lock: toml 1.1.8 for craft-update, and the synced framework's packages.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The port's deletions are kept for the 8 modify/delete files; Cargo.lock is the port's, resolved again after the combine.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* pptx: elide lifetime in collect_export_media
* pptx: preserve Fill::Group on exported pictures
* pptx: tie lifetime in assign_spids to input slice
* pptx: preserve large preset geometry adjustments on export
* pptx: use deckcraft_model::Geom in collect_large_geom_adjs
* pptx: delegate PPTX/POTX/PPSX reader and writer to craft-pptx (refs storytold/craft-libs#778)
* pptx: fix table, animation, and XML node conversions against craft-pptx/craft-drawingml
* pptx: add prefix, is, and to_xml to XmlEl for engine three_d caller
* pptx: keep quick-xml in dev-dependencies for integration tests
* pptx: preserve craft-drawingml chart sidecar metadata across raw round-trips
* pptx: fix clippy::useless_conversion in chart_to
* pptx: handle series dLbls/delete in chart_from conversion
* pptx: infer header_footer.date_format from Date placeholder field on import
* pptx: fold paragraph builds without bldLst on import
* pptx: check parent container timing offsets when folding paragraph builds
* pptx: keep empty imported master text styles empty on export
* pptx: preserve media timing settings on import and export
Preserve the former writer as a test-only byte oracle, including the original Brandon Thomas and Nikita Rakitin implementation history. Keep app XML admission and all existing table tests unchanged.
* Shapes: the 3- and 4-bend elbow and curved connectors follow presetShapeDefinitions
PowerPoint routes connectors around shapes with bentConnector4 and 5 and
their curved counterparts. They were drawn as bentConnector3 and
curvedConnector3, using adj1 alone, and curvedConnector2 as a two-cubic
S where the spec has one cubic. Each now draws the spec's path, and the
elbows get a handle per adjust value where the spec puts it.
None of these is in the gallery, so their adjust values had no defaults:
a file giving none, or only adj2, drew them at 0. adjust_defaults() adds
the spec's 50000s for presets outside the gallery, and the reader, writer,
Adjust command and handle drag use it.
* Shapes: elbow handles take the spec's whole adjust range
The handles clamped a dragged value to ±1000000, so dragging one on an
imported route with a value beyond that moved the route. They now take
presetShapeDefinitions' ±2147483647 (noted in review).
deckcraft-color re-exports craft_drawingml::color (Rgba, SchemeSlot,
ColorScheme, ColorTransform, presets and transforms) and its own copy is
deleted. The existing colour tests run unchanged against the shared module.
ColorScheme literals use ColorScheme::new, since the shared scheme also keeps
extra colours and tint rows.
DeckCraft's pptx crate carried a copy of GridCraft's CFB directory walk to tell an
encrypted package from other compound files. It now asks the shared craft-cfb
(has_entry_named, same UTF-16 fallback for damaged directories, directory entries
capped at 4096 as before). The placeholder for missing picture media keeps its
exact bytes, written as a constant instead of through a hand-rolled CRC/Adler/PNG
encoder.
Part of storytold/craft-libs#778 and storytold/craft-libs#792.
Keep both sets of import state: the rollback's kept-chart key log and main's
chart decode budget (rejected_kept, chart_decode_bytes). A capture refused by
the retained-byte check records no key; chart decode work stays charged across
a rollback.
* M1951: document the PPTX slide-list import limit
* M1951: expose the slide-list limit in public API docs
---------
Co-authored-by: cloutier <1014864+cloutier@users.noreply.github.com>
* PPTX: evaluate a custom geometry's guide lists once per coordinate space
* address review: exempt guide-free geometries from the space cap
* address review: budget guide-name bytes cached across coordinate spaces
* Apply review fixes
- crates/pptx/src/custgeom.rs
* fix(pptx): warn when custom geometry paths are left out for the guide-cache limits
---------
Co-authored-by: autocraft-bot[bot] <354215646+autocraft-bot[bot]@users.noreply.github.com>
2026-11-12 06:28:38 -05:00
Dylan M. Taylorandautocraft-bot[bot] <354215646+autocraft-bot[bot]@users.noreply.github.com>
Review fixes: an entry's size, weight and colour are read from its
paragraph (a:p) first and from a:lstStyle only where the paragraph
sets none, as DrawingML inherits them; the writer keeps sizes to the
reader's 1-400 pt, so a size reads back as written; and the legend
draws an entry at its own size up to 400 pt rather than up to 8 times
the legend's.
A c:legendEntry can give one legend entry its own text (c:txPr), as
decks do to make legend text white on a dark chart. It was never read,
so every entry drew in the legend's text. The chart model keeps each
entry's size, bold and colour (Chart::legend_entries); the reader
takes them from the entry's c:txPr, the legend draws each name, key
and row at its entry's size and in its weight and colour, and a chart
rebuilt after an edit writes them back before c:overlay, in schema
order. Entries that set none of the three are not kept.
Fixes#2067