Skip to content

v0.61.0

Latest

Choose a tag to compare

@Ank-KhoaHo Ank-KhoaHo released this 13 Nov 07:45
577e137

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.IsLocked is true when a content control's content is locked (w:lock set to contentLocked or sdtContentLocked), which is exactly when DocxForm.Fill refuses 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.Fill now 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.Validate reports a value aimed at a content-locked control as DocxFormIssueKind.LockedControl; it reported Other before. A consumer that switched on Other for locks needs the new case. (#551) (1a6e405)