Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PageReference returns with 1 at all. #2686

Closed
idavidka opened this issue May 14, 2024 · 0 comments
Closed

PageReference returns with 1 at all. #2686

idavidka opened this issue May 14, 2024 · 0 comments

Comments

@idavidka
Copy link

idavidka commented May 14, 2024

Adding bookmarks and using internal hyperlinks works as intended.
If I try to add a PageReference to any Paragraph, it always returns with 1, even if the bookmark is on other page.

Tested with latest docx, 8.5.0. Issue also happening with your sample code.
OS: macOS Ventura 13.5

children: [new TextRun("The bookmark can be seen on page "), new PageReference("myAnchorId")],

Screenshot 2024-05-14 at 9 47 28
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

No branches or pull requests

1 participant