FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[US-1448] DOCX example for new bookmarks API. by anovik · Pull Request #76 · unidoc/unioffice-examples · GitHub

[US-1448] DOCX example for new bookmarks API. - #76

Merged
unidoc-alip merged 1 commit into
masterfrom
bookmarks
May 30, 2026
Merged

unidoc-alip merged 1 commit into
masterfrom
bookmarks

Conversation

anovik commented May 29, 2026

Copy link
Copy Markdown
Contributor

JIRA: https://unidoc.atlassian.net/browse/US-1448

The example shows how to create named bookmarks in a DOCX, link to them with a hyperlink, enumerate them, and edit the paragraph containing the anchor.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Pull request overview

Adds a new DOCX example demonstrating the bookmarks API (creation, lookup, enumeration, hyperlink targeting, and paragraph editing via bookmarks) and bumps the unioffice/v2 dependency from v2.9.0 to v2.11.0 to make the new API available.

Changes:

  • New example document/bookmarks/main.go showcasing AddBookmark, BookmarkByName, Bookmarks, SetTargetBookmark, and Bookmark.Paragraphs.
  • Upgrade github.com/unidoc/unioffice/v2 to v2.11.0 in go.mod and go.sum.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
document/bookmarks/main.go New example file demonstrating the new bookmarks API.
go.mod Bumps unioffice/v2 to v2.11.0 for new bookmark APIs.
go.sum Updated checksums for unioffice/v2 v2.11.0.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

anovik requested review from unidoc-alip and unidoc-anom May 29, 2026 09:56

unidoc-alip left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

looks good to me

unidoc-alip merged commit 9060149 into master May 30, 2026
5 checks passed
unidoc-alip deleted the bookmarks branch May 30, 2026 16:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

4 participants


Back | FazBrowse Home | New Git URL