Repository navigation
0.61.0 (2026-11-13)
A Word form can now say which of its fields are locked before you fill it. The package page on
nuget.org also gets a short front page; the full reference moved, unchanged, to the
Reference page of the docs site.
Added
- Core:
DocxFormField.IsLockedis true when a content control's content is locked (w:lockset tocontentLockedorsdtContentLocked), which is exactly whenDocxForm.Fillrefuses to write it. A form UI can grey the field out instead of finding out from an exception. (#551) (1a6e405) - Core:
DocxFormIssueKind.LockedControl(value 10). (#551) (1a6e405)
Changed
- Core:
DocxForm.Fillnow writes a control locked only against deletion (sdtLocked), as Word does, and keeps the lock. Since 0.54.0 it refused all three lock kinds alike. (#551) (1a6e405) - Core:
DocxForm.Validatereports a value aimed at a content-locked control asDocxFormIssueKind.LockedControl; it reportedOtherbefore. A consumer that switched onOtherfor locks needs the new case. (#551) (1a6e405)