Skip to content

react-v1.14.0

Choose a tag to compare

@superdoc-bot superdoc-bot released this 23 Jun 15:28

What's New

  • Shadow effects on vector shapes β€” Outer shadows render with SVG filters (feDropShadow for filled shapes, filter composite chains for outline-only shapes). Shadow paint extent shared between measurer and renderer ensures correct layout.
  • Shape group transforms β€” Groups compose with rotation, flipH, and flipV; nested transforms apply as container transforms so child and parent orientation compose correctly.
  • Images clipped to preset shape geometry β€” Images masked by a preset shape (prstGeom on pic:spPr) carry a shapeClipPath and objectFit through the rendering pipeline. Stretched fills map to the right fit: cover for shape-masked stretches, fill for srcRect-clipped stretches.
  • Paragraph spacing in textbox shapes β€” Textbox paragraph before and after spacing render per logical paragraph with an isParagraphBoundary flag distinguishing breaks from intra-paragraph <w:br> elements.

Improvements

  • Anchoring and layout β€” Page-relative anchors now participate in wrap and resolve against the active section. Anchored objects on section-marker paragraphs preserve the marker while registering anchors at the marker origin with Word-compatible offsets. Header/footer anchored wrapNone media render as page-level absolute overlays.
  • Preset geometry β€” Arrow shapes regenerate with Word-compatible geometry. roundRect paths generate in target coordinate space. Large-coordinate-scale shapes preserve stroke width via vector-effect: non-scaling-stroke.
  • Z-index ordering β€” Page-background (behind-doc) decorations stack by authored OOXML z-index instead of document order.