vectorcraft/crates/doc/src
bflatastic 2a35c4a82f Fix #522: SVG round trips keep hidden objects and data-* attributes
An SVG used as an animation rig lost its hidden alternates and their
rotation pivots: the exporter left hidden objects out (only hidden layers
could be kept), and the importer dropped data-* attributes.

- SVG export: hiddenLayers (on by default for document.save, as before)
  now keeps hidden objects too, each written display="none" on its own
  element (path, image, text or group). Exports still leave them out
  unless asked; the CLI's convert asks, as a conversion keeps the
  document.
- An object's own data: ObjectAttributes.data, the data-* attributes in
  order (ours, data-name and data-vc-*, aside). The importer keeps them on
  the objects and layers they belong to (at most 64 per element), the
  exporter writes them back, the native format saves them (missing in
  older files), and object.setProps {data: {key: value|null}} sets or
  removes them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 03:36:08 +07:00
..
appearance.rs M8.16: Envelopes bend images, symbols, gradients, patterns and appearance; warps keep their frame 2026-10-06 12:01:47 +07:00
assets.rs M4.65: Asset Export panel and the Assets tab of Export for Screens 2026-10-05 15:24:54 +07:00
blend.rs Placed documents: the object, drawn exactly and kept as art by every exporter 2026-10-08 12:20:51 -07:00
clipnest.rs AI import: groups and nested groups survive 2026-10-08 17:06:57 +07:00
cmyk.rs Fix #320: CMYK images stay CMYK from PDF import to PDF export 2026-10-08 06:04:07 +07:00
corners.rs Fix #511: Live Corners on any path's corners (stars, polygons, pen paths) 2026-10-08 23:05:41 +07:00
graph.rs M12.6: Graphs — the nine graph tools (Column, Stacked Column, Bar, Stacked Bar, Line, Area, Scatter, Pie, Radar), Object → Graph → Type… and Data… (CSV), series groups with legend, regenerate in place keeping moves/scales 2026-10-02 00:16:23 -04:00
hit.rs Placed documents: the object, drawn exactly and kept as art by every exporter 2026-10-08 12:20:51 -07:00
inks.rs M4.75: File → Print writes the job as a print-ready PDF: paper, scale, tiles, marks and bleed, separations 2026-10-05 15:13:10 +07:00
lib.rs Placed documents: the object, drawn exactly and kept as art by every exporter 2026-10-08 12:20:51 -07:00
links.rs Placed documents: the object, drawn exactly and kept as art by every exporter 2026-10-08 12:20:51 -07:00
live.rs Placed documents: the object, drawn exactly and kept as art by every exporter 2026-10-08 12:20:51 -07:00
marks.rs M4.72: PDF export draws printer's marks in Registration around each page 2026-10-05 13:05:20 +07:00
metadata.rs M4.55: File Info with author, description, keyword chips, rating and copyright, written to SVG, PDF and PNG 2026-10-05 09:55:47 +07:00
node.rs Fix #522: SVG round trips keep hidden objects and data-* attributes 2026-10-09 03:36:08 +07:00
orient.rs Fix #39: rotated objects keep their angle and a rotated bounding box 2026-10-05 23:49:36 +07:00
overprint.rs M4.83: overprinting fills and strokes overprint in PDF 2026-10-05 17:39:28 +07:00
pattern.rs M3.66: Scale Strokes & Effects scales dashes and effect distances; Scale Corners works 2026-10-05 03:59:37 +07:00
perspective.rs M8.14: Type and symbols in perspective are really projected and stay editable; attachments survive copies 2026-10-06 12:10:00 +07:00
pixels.rs M4.53: Linked images remember their file and keep a preview; missing links ask Replace or Ignore, modified ones follow Update Links 2026-10-05 10:07:10 +07:00
placed_document.rs Placed documents: the object, drawn exactly and kept as art by every exporter 2026-10-08 12:20:51 -07:00
profiles.rs M4.35: native files compress, save atomically, drop unused images, keep newer keys and save down to v1 2026-10-05 12:27:02 +07:00
puppet.rs M8.6: Puppet Warp pins appear at once, warp from the rest shape and follow Undo 2026-10-06 11:16:10 +07:00
range.rs M4.75: File → Print writes the job as a print-ready PDF: paper, scale, tiles, marks and bleed, separations 2026-10-05 15:13:10 +07:00
rastersettings.rs M4.56: Document Raster Effects Settings with colour model, background, anti-alias, clipping mask and room around 2026-10-05 09:55:48 +07:00
reach.rs M3.63: visual bounds and clicks take in the whole stroke 2026-10-05 02:55:23 +07:00
recolor.rs Fix #122: colour adjustment live effects (Effect > Color Adjustments) 2026-10-06 00:42:26 +07:00
selection.rs Part of #451: guides dragged out of the rulers snap, artboard guides 2026-10-08 15:23:18 +07:00
setup.rs M4.71: PDF pages carry the bleed and trim boxes; non-printing layers are left out 2026-10-05 13:05:19 +07:00
slices.rs M4.88: Object → Slice makes, edits and lays out user, object and auto slices 2026-10-05 12:52:15 +07:00
style_libs.rs M3.98: radial annotator extent ellipse, aspect handle and off-centre focal point 2026-10-05 04:43:43 +07:00
swatches.rs M3.85: spot colours defined in Lab, with Spot Colors options for Lab values or CMYK equivalents 2026-10-05 03:46:57 +07:00
tests_slices.rs M4.88: Object → Slice makes, edits and lays out user, object and auto slices 2026-10-05 12:52:15 +07:00
tests_units.rs Stroke: keep the pt ladder, fix the fallback units and per-unit decimals (review of #426) 2026-10-08 12:27:06 +07:00
text.rs Type Object Selection by Path Only: every baseline, Type tool and Eyedropper (review of #475) 2026-10-08 18:59:47 +07:00