mirror of
https://github.com/dolanmiu/docx.git
synced 2026-11-30 16:47:55 +01:00
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>