OOXML Structure
Use case
- Table of Contents - Create clickable TOC entries that jump to chapters
- Cross-References - Link to figures, tables, or sections elsewhere
- Navigation - Quick jumps in long documents without scrolling
- Index Creation - Mark important terms for automated index generation
- Document Automation - Programmatic navigation and content updates
Commands
insertBookmark
Insert a bookmark at the current cursor position. Bookmarks are invisible navigation anchors used for cross-references and document navigation.
Example:
Object with
name (required bookmark name) and optional id (unique identifier)goToBookmark
Navigate to a bookmark by name. Scrolls the document to the bookmark position.
Example:
Bookmark name to navigate to
Attributes
BookmarkStart
Bookmark name for cross-references and navigation
Unique identifier for the bookmark
BookmarkEnd
Identifier matching the corresponding bookmarkStart

