Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file.

## [Unreleased] - .NET 8 / Open XML SDK 3.x Migration

### Added (npm)
- **Line-level pagination with paragraph splitting and widow/orphan control (Issue #30)**
- Paragraphs taller than a page are now split at line boundaries instead of overflowing
- Uses Range API / `getClientRects()` for precise line measurement
- Widow/orphan control ensures minimum line counts at page top/bottom (default: 2 lines each)
- Respects Word's `w:widowControl` and `w:keepLines` paragraph properties
- Configurable via `PaginationOptions.minOrphanLines` and `PaginationOptions.minWidowLines`
- `MeasuredBlock` now includes `widowControl` property parsed from `data-widow-control` attribute

### Fixed (npm)
- **TypeScript subpath exports not resolving under `moduleResolution: "node"` (Issue #113)** - Added `typesVersions` fallback to npm package.json so `docxodus/react` and `docxodus/worker` subpath imports resolve types correctly under all TypeScript module resolution modes. Also reordered export conditions to put `types` before `import` per TypeScript requirements.

Expand Down
Loading
Loading