Files
docx/docs/usage
Dolan MiuandClaude Opus 5.5 576e76ac26 feat(shapes): name shape types, dashes and arrowhead sizes in plain English
OOXML abbreviates or numbers many names (roundRect, snip2DiagRect, ribbon2,
bentConnector3, sysDot, lgDash, sm/med/lg). The public API now uses names
that say what each value is, and maps them to OOXML names when writing XML:

- 49 of the 187 preset shape types, e.g. rectangle, roundedRectangle,
  diagonalSnippedCornersRectangle, ribbonUp, elbowConnector, lineCallout
- Line dashes: longDash, shortDot, shortDashDot, ...
- Arrowhead sizes: small, medium, large
- Gradient path: rectangle

Passing an OOXML shape name throws an error that suggests the new name.
A new Shape Types docs page lists every shape with its OOXML name.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-24 02:19:02 +01:00
..
2026-09-23 21:38:41 +01:00