Skip to content

doc-codec@1.1.0

Choose a tag to compare

@github-actions github-actions released this 04 Sep 14:17
· 7 commits to main since this release

1.1.0 (2026-09-04)

Features

  • doc-codec: add a genuine MS-DOC structure writer (40d52d2)
  • doc-codec: encode a table row's own TAP as sprmTDefTable/sprmTMerge (fd39211)
  • doc-codec: fold a table row's own sgc-5 grpprl into its TAP (afc92b0)
  • doc-codec: parse sprmPItap and the nested-table paragraph marks (9aaacdb)
  • doc-codec: read a paragraph's own numbering definitions from PlfLst/PlfLfo (2bc0011)
  • doc-codec: read a run of table-depth paragraphs as a real ContentTable (f0ed5a4)
  • doc-codec: read a vertical merge stated through sprmTVertMerge (6430420)
  • doc-codec: read and write a section's own page size and margins (c70d9d1)
  • doc-codec: read and write a table cell's borders and background shading (bc9db2c), references #892 #895
  • doc-codec: read and write document metadata via SummaryInformation (824ff8e)
  • doc-codec: write a ContentTable as real physical-cell paragraphs (e2b1dc4)

Bug Fixes

  • doc-codec: append a trailing paragraph mark when a table ends the section (d456ed2), references #892
  • doc-codec: clamp the column-boundary tolerance below a real narrow column (cd02428)
  • doc-codec: correct an overclaim about byte-level LibreOffice parity (6893a96)
  • doc-codec: degrade an unresolvable table row to flat paragraphs (c76ef1c)
  • doc-codec: fold sprmTMerge/sprmTVertMerge regardless of grpprl order (abb690d)
  • doc-codec: preserve a vertical continuation's own colSpan on read (ea26639)
  • doc-codec: reject a malformed createdIso/modifiedIso before the FILETIME conversion (e64d748)
  • doc-codec: resolve an out-of-range decorative Ico byte to automatic, not a thrown error (9f24edc)
  • doc-codec: snap table column boundaries within a point when unioning rows into one grid (f300c11)
  • doc-codec: track vertical merges by column, not blank cells, on write (7c69277)
  • doc-codec: write and read a horizontal merge through a row's own physical cell layout (d9a7137)

Code Refactoring

  • doc-codec: consume archive-codec's shared LayoutMetadata mapping (e5d3c06)
  • doc-codec: lift the Ico palette and COLORREF codec into a shared module (f4dd141)
  • ppt-codec: consume archive-codec's shared LayoutMetadata mapping (7d0c81d)

Documentation

  • doc-codec: confirm the horizontal-merge fix against real LibreOffice (760d884)
  • doc-codec: correct a comment overclaiming round-trip-alone verification (15f58bd), references #892
  • doc-codec: correct nine wrong [MS-DOC] section numbers in the decoration citations (4ffb571)
  • doc-codec: correct the drift-tolerance changeover's own attribution (3aa01b2)
  • doc-codec: correct the false claim that LibreOffice recognises a written table (54600ed), references #892
  • doc-codec: describe cell decoration and what verified it (ac5d15c)
  • doc-codec: document a section's page size and margins as read and written (3ab55ac)
  • doc-codec: document doc-codec's new write support (8775a1c)
  • doc-codec: document numbering definitions as built and shipped (3cbf214)
  • doc-codec: document table read/write scope and the merge caveat (426a026)
  • doc-codec: document the confirmed root cause of the table-recognition regression (b2aae6c), references #892 #892
  • doc-codec: document the merge-tracking and degrade fixes (27bae01)
  • doc-codec: fix a test description left stale by table support (6c5849a)
  • doc-codec: state the column-grid tolerance and the missing table indent in the Tables section (ae42750)

Styles

  • doc-codec: fix table column padding in the README's scope table (e97219f)

Tests

  • doc-codec: cover numbering definitions with hand-built PlfLst/PlfLfo fixtures (d49d83c)
  • doc-codec: cover section page size and margins, both YAS margin forms (596899c)
  • doc-codec: exercise the column-grid union directly, not via round trips (4cff689)
  • doc-codec: hand-assemble table bytes independently of the writer (5a09acf)
  • doc-codec: pin the narrow-column clamp against the drift tolerance (5b4e903)
  • doc-codec: verify writeDocContent by reading its own output back (31ef85a)

Dependencies

  • Updated document-schema.js to ^5.5.1
  • Updated archive-codec to ^1.4.0