v1.0.45 - docxmlater v1.18.0 Integration
Release v1.0.45 - docxmlater v1.18.0 Integration
This release migrates from custom table linebreak implementation to docxmlater v1.18.0's battle-tested native methods, reducing code complexity and improving maintainability.
Changes
Code Optimization:
- Replaced custom
insertBlankLinesAfter1x1Tables()with nativedoc.ensureTableLinebreaks() - Deleted custom method implementation (~73 lines removed)
- Cleaned up deprecated Header 2 table detection code (~50 lines removed)
- Total reduction: ~123 lines of code
Enhancements:
- Uses xml:space="preserve" attribute per OpenXML standards
- Proper preserved marking to prevent cleanup removal
- Enhanced logging with detailed statistics (added/skipped/total)
- Added execution order documentation with optimization path notes
Benefits:
- Uses library code with 11+ unit tests
- Better maintainability with automatic library updates
- Build verified: no TypeScript errors
- More robust implementation
Files Modified
src/services/document/WordDocumentProcessor.ts: Removed 123 lines, enhanced logicpackage.json: Version bump to 1.0.45
Dependencies
- Requires: docxmlater v1.18.0 or later
Testing
- Build successful with no errors
- Ready for manual testing with documents containing 1x1 tables
Full Changelog: v1.0.44...v1.0.45