mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-06 18:51:26 +00:00
ODT connectors (`draw:connector`) were left out. They now open as WordCraft connectors: straight (`line`), curved (`curve`), or with bends (`standard`, `lines`). - Gluing: each end is glued to the shape it names (`draw:start-shape`, `draw:end-shape`). The shape's four default glue points (§9.2.19: top, right, bottom, left) become its connection sites. An end glued to a glue point of the shape's own, or to a shape not read, is left unglued. - Placement: a connector's own coordinates are in LibreOffice's drawing layer, not its anchor's. So a connector glued at both ends to shapes anchored in its paragraph is placed between their sites. - Writing: connectors are written back as `draw:connector` with their type and glue, and the shapes they glue to get ids (`xml:id`/`draw:id`). LibreOffice re-routes them from the glue. LibreOffice's connector document round-trips with its connectors drawn between the shapes, and WordCraft draws them between the right sites. Other formats still get connectors as straight lines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GBVQLyDnrG8Tn1yDQcUabC