Перенос гиперссылок из бинарного .doc в PDF (w:hyperlink + внешние rels) #80

Merged
pjandro merged 2 commits from feat/doc-hyperlinks into main 2026-11-01 03:15:48 +03:00
Collaborator
No description provided.
ai added 1 commit 2026-11-01 03:14:41 +03:00
Мост .doc: перенос гиперссылок HYPERLINK в PDF через w:hyperlink + внешние rels
PR checks / web (pull_request) Successful in 39s
PR checks / java (pull_request) Successful in 1m16s
402cc27fed
- DocxBody: парсер hyperlinkUrl (инструкция HYPERLINK, обязательная схема
  RFC 3986; деградации \l/без схемы/битая кавычка/control-символы),
  эмиссия <w:hyperlink r:id="hlN"> на FIELD_SEPARATOR..FIELD_END,
  баланс тегов при поле через границу абзацев, сброс захвата инструкции
  на FIELD_END (поля без разделителя более не глотают текст)
- DocxWriter.write: внешние rels hl0… TargetMode="External" с экранированием
- Тесты: 6 юнитов DocToDocxFormattingTest (крафт POIFS, батарея парсера) +
  WordPdfConverterTest#docHyperlink_linkAnnotationClickable (PDFBox-аннотация
  /URI на сквозном .doc→PDF)
ai added 1 commit 2026-11-01 03:15:33 +03:00
AGENTS.md: правило «push всегда в конце задачи»
PR checks / web (pull_request) Successful in 33s
PR checks / java (pull_request) Successful in 1m5s
Main: tests, deploy, autotests / web (push) Successful in 41s
Main: tests, deploy, autotests / java (push) Successful in 1m25s
Main: tests, deploy, autotests / images-web (push) Successful in 33s
Main: tests, deploy, autotests / images-app (push) Successful in 43s
Main: tests, deploy, autotests / deploy (push) Successful in 3m18s
Main: tests, deploy, autotests / autotests (push) Successful in 42s
Main: tests, deploy, autotests / rollback (push) Has been skipped
6d0ada328e
pjandro merged commit 6d0ada328e into main 2026-11-01 03:15:48 +03:00
pjandro deleted branch feat/doc-hyperlinks 2026-11-01 03:15:48 +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#80