Мост .doc: gridSpan из сетки строки (лишние разделения столбцов в объединённых строках) #79

Merged
pjandro merged 1 commits from fix/doc-table-merged-row-gridspan into main 2026-11-01 02:26:08 +03:00
Collaborator
No description provided.
ai added 1 commit 2026-11-01 02:25:31 +03:00
Мост .doc → .docx: горизонтальное объединение ячеек из сетки строки (gridSpan, §2.9.321)
PR checks / web (pull_request) Successful in 31s
PR checks / java (pull_request) Successful in 1m6s
Main: tests, deploy, autotests / web (push) Successful in 33s
Main: tests, deploy, autotests / java (push) Successful in 1m4s
Main: tests, deploy, autotests / images-web (push) Successful in 28s
Main: tests, deploy, autotests / images-app (push) Successful in 40s
Main: tests, deploy, autotests / deploy (push) Successful in 1m32s
Main: tests, deploy, autotests / autotests (push) Successful in 38s
Main: tests, deploy, autotests / rollback (push) Has been skipped
8d5a19491e
TTP-абзац каждой строки несёт свой sprmTDefTable; автомат использовал только
сетку первой строки → объединённая ячейка получала tcW первой колонки и
рендерилась пол-width с лишней вертикальной чертой в строке. Теперь rowXml
строит tcW/gridSpan из собственной сетки строки, согласованной с tblGrid
(ECMA-376 §17.4.65); при невыровненных границах — прежняя индексная выдача.

Регрессия — WordPdfConverterTest#docMergedTableRow_fullWidthNotSplit,
юниты — DocToDocxFormattingTest#mergedRow_gridSpanAndWidth,
#misalignedRow_fallsBackToColumnWidths.
pjandro merged commit 8d5a19491e into main 2026-11-01 02:26:08 +03:00
pjandro deleted branch fix/doc-table-merged-row-gridspan 2026-11-01 02:26:08 +03:00

Покрытие (JaCoCo)

Модуль Строки Ветви Порог строк
wordpdf-core 94.9% 85.7% 90%
wordpdf-app 93.7% 85.7% 90%
<!-- jacoco-coverage --> ## Покрытие (JaCoCo) | Модуль | Строки | Ветви | Порог строк | |---|---|---|---| | wordpdf-core | 94.9% | 85.7% | 90% | | wordpdf-app | 93.7% | 85.7% | 90% |
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: pjandro/java-word-pdf#79