技能 2026-10-13 02:29 UTC
OfficeCLI
由提交人 goworm 提交,主要更新类型为:问题缺陷修复与稳定性提升。提交说明:fix(docx): exact and atLeast line spacing keep their value on a line …。
Commit提交信息原文
fix(docx): exact and atLeast line spacing keep their value on a line grid On a docGrid type="lines" section the preview snapped every paragraph to the grid, including lineRule="exact" and "atLeast", so a 20pt exact line rendered at the 15.6pt grid pitch. Measured in Word: an exact value is used as-is, and atLeast is the value floored by the grid line the font occupies (10pt -> 15.6pt, 20pt -> 20pt); neither is rounded to whole grid lines. The preview now applies those two rules; auto spacing keeps the multiplier rule.