豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Docx reader: Handle REF link instruction#11296

Merged
jgm merged 1 commit intojgm:mainfrom
Ezwal:docx-crossref
Nov 30, 2025
Merged

Docx reader: Handle REF link instruction#11296
jgm merged 1 commit intojgm:mainfrom
Ezwal:docx-crossref

Conversation

@Ezwal
Copy link
Copy Markdown
Contributor

@Ezwal Ezwal commented Nov 17, 2025

This PR aims to handle a common run field instruction (fieldInstr) from docx format : REF microsoft documentation, specifically those with the "link" switch \h.

In word software, you can create REF field instruction with the Cross-reference button. You can create cross-reference to many things such as Equation, Table, Title...

I mostly re-use existing code structure so it may not be very DRY.

Thank you !

@jgm jgm merged commit fc07b06 into jgm:main Nov 30, 2025
11 of 14 checks passed
@jgm
Copy link
Copy Markdown
Owner

jgm commented Nov 30, 2025

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants