Мост .doc: аудит [MS-DOC] — подсветка/затенение, символьные стили, поля ячеек, first-page колонтитуки #86

Merged
pjandro merged 1 commits from fix/doc-bridge-spec-audit into main 2026-11-02 21:05:51 +03:00
Collaborator
No description provided.
ai added 1 commit 2026-11-02 04:57:00 +03:00
Мост .doc: аудит [MS-DOC] (2026-11): подсветка/затенение, символьные стили, поля ячеек, first-page колонтитуки, спец-размер sprmTInsert
PR checks / web (pull_request) Successful in 33s
PR checks / java (pull_request) Successful in 1m24s
Main: tests, deploy, autotests / web (push) Successful in 33s
Main: tests, deploy, autotests / images-web (push) Successful in 32s
Main: tests, deploy, autotests / java (push) Successful in 1m43s
Main: tests, deploy, autotests / images-app (push) Successful in 45s
Main: tests, deploy, autotests / deploy (push) Successful in 2m58s
Main: tests, deploy, autotests / autotests (push) Successful in 45s
Main: tests, deploy, autotests / rollback (push) Has been skipped
341971dbb7
- Grpprl: sprmCHighlight 0x2A0C -> w:highlight (Ico->ST_HighlightColor по RGB); sprmCShd/CShd80/sprmPShd/PShd80 -> w:shd (w:val=clear + w:fill: ipatSolid -> cvFore, паттерны -> cvBack; зонд: FOP красит только w:fill); sprmCIstd 0x4A30; спец-пропуск sprmTInsert 0x7621 по spra=3 (в реальном корпусе Word пишет 4 байта, чтение TInsertOperand съезжает); Ico80-палитра §2.9.171
- Styles: stk=3 (STCF) — UPX[0]=UpxChpx, цепочка charChain base-first
- DocToDocx: chpx символьного стиля между стилевой и прямыми; w:highlight/w:shd в rPr/pPr (CT_PPr: shd до w:jc); w:tcMar из CSSA; w:titlePg (после w:cols) + headerReference/footerReference type=first
- Tables: cellMargins (sprmTCellPadding 0xD632 / 90-зеркало 0xD604) -> w:tcMar; gapHalf не переносится (§2.6.3 — поправка начала координат, не padding ячеек)
- Sections: sprmSFTitlePage 0x300A; Headers: first-истории (индексы 4/5) в partFor
- регрессии: docHighlightAndShading_yellowPixels, docTitlePage_firstHeaderOnlyFirstPage, tableTcMar_textInsetLikeWord (x-сдвиг глифов), charStyle_viaIstd_mergesUnderDirect + юниты Grpprl/Styles/Tables/Sections/Headers

Покрытие (JaCoCo)

Модуль Строки Ветви Порог строк
wordpdf-core 94.9% 85.3% 90%
wordpdf-app 93.8% 86.2% 90%
<!-- jacoco-coverage --> ## Покрытие (JaCoCo) | Модуль | Строки | Ветви | Порог строк | |---|---|---|---| | wordpdf-core | 94.9% | 85.3% | 90% | | wordpdf-app | 93.8% | 86.2% | 90% |
pjandro merged commit 341971dbb7 into main 2026-11-02 21:05:51 +03:00
pjandro deleted branch fix/doc-bridge-spec-audit 2026-11-02 21:05:51 +03:00
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#86