docxmlater 9.9.2 → 9.9.3

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.
Files changed (2) hide show
  1. package/README.md +13 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -356,10 +356,21 @@ Documents with tracked changes can cause Word corruption errors during round-tri
356
356
  - `clearFootnotes()` / `clearEndnotes()` - Remove all notes
357
357
  - `getFootnoteManager()` / `getEndnoteManager()` - Access note managers
358
358
 
359
+ **Numbering Cleanup:**
360
+
361
+ - `cleanupUnusedNumbering()` - Remove unused numbering definitions (scans body, headers, footers, footnotes, endnotes)
362
+ - `consolidateNumbering(options?)` - Merge duplicate abstract numbering definitions
363
+ - `validateNumberingReferences()` - Fix orphaned numId references
364
+
359
365
  **Shading:**
360
366
 
361
367
  - `getComputedCellShading(table, row, col)` - Resolve effective cell shading with inheritance
362
368
 
369
+ **Document Sanitization:**
370
+
371
+ - `flattenFieldCodes()` - Strip INCLUDEPICTURE field markup, preserving embedded images
372
+ - `stripOrphanRSIDs()` - Remove orphan RSIDs from settings.xml
373
+
363
374
  **Saving:**
364
375
 
365
376
  - `save(filepath)` - Save to file
@@ -582,7 +593,7 @@ const properties: DocumentProperties = {
582
593
 
583
594
  ## Version History
584
595
 
585
- **Current Version: 9.8.8**
596
+ **Current Version: 9.9.3**
586
597
 
587
598
  See [CHANGELOG.md](CHANGELOG.md) for detailed version history.
588
599
 
@@ -590,7 +601,7 @@ See [CHANGELOG.md](CHANGELOG.md) for detailed version history.
590
601
 
591
602
  The framework includes comprehensive test coverage:
592
603
 
593
- - **2,683 test cases** across 121 test suites
604
+ - **2,752 test cases** across 124 test suites
594
605
  - Tests cover all phases of implementation
595
606
  - Integration tests for complex scenarios
596
607
  - Performance benchmarks
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "docxmlater",
3
- "version": "9.9.2",
3
+ "version": "9.9.3",
4
4
  "description": "A comprehensive DOCX editing framework for creating, reading, and manipulating Microsoft Word documents",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",