docx-plus 0.0.14 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/dist/index.cjs +519 -107
- package/dist/index.d.cts +120 -8
- package/dist/index.d.mts +120 -8
- package/dist/index.iife.js +519 -107
- package/dist/index.mjs +519 -107
- package/dist/index.umd.js +519 -107
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -29,9 +29,12 @@ Easily generate and modify .docx files with JS/TS. Works for Node and on the Bro
|
|
|
29
29
|
| DrawingML colors | RGB + scheme only | **Complete** (`EG_ColorChoice`: RGB, scheme, HSL, system, preset + `EG_ColorTransform` with 29 transforms) |
|
|
30
30
|
| DrawingML fills | Solid fill only | **Complete** (`solidFill`, `noFill`, `gradFill` with linear/path gradient + color stops) |
|
|
31
31
|
| DrawingML outline | Basic line (width, cap, fill) | **Complete** (`a:ln` with `prstDash`, `lineJoin`, compound line, pen alignment, all fill types) |
|
|
32
|
-
| DrawingML effects | Not implemented | **Complete** (`effectLst`: glow, outerShdw, innerShdw, prstShdw, reflection, softEdge)
|
|
32
|
+
| DrawingML effects | Not implemented | **Complete** (`effectLst`: blur, fillOverlay, glow, outerShdw, innerShdw, prstShdw, reflection, softEdge — works on both shapes and images) |
|
|
33
33
|
| DrawingML 3D | Not implemented | **Complete** (`sp3d`: bevel top/bottom, extrusionClr, contourClr, preset materials) |
|
|
34
34
|
| Image cropping | Not implemented | **Supported** (`srcRect` with configurable `l/t/r/b` percentages) |
|
|
35
|
+
| Image fill mode | Stretch only | **Complete** (`stretch` default, `tile` with scale/flip/alignment options) |
|
|
36
|
+
| Image adjustment | Not implemented | **Supported** (grayscale, luminance, HSL, tint, duotone, biLevel, alphaCeiling/Floor/Inverse/ModFix/Repl/BiLevel, colorChange, colorRepl, blur) |
|
|
37
|
+
| Image hyperlink | Click only (via wrapping `ExternalHyperlink`) | **Complete** (explicit `hyperlink.click`/`hyperlink.hover` on `altText`, with relationship registration) |
|
|
35
38
|
| Group Shape | Basic (transform only) | **Enhanced** (fill, effects, `chOff`/`chExt` child coordinates) |
|
|
36
39
|
| Test environment | jsdom | happy-dom |
|
|
37
40
|
| OOXML compliance | ECMA-376 (legacy) | **ISO/IEC 29500-4** (latest) — also aligned with Microsoft Word and WPS default behavior |
|