Add bookmark

Modified on Mon, 5 Oct at 1:55 PM

BaseExtensions can be used to add or move bookmarks in a Word document. If the bookmark does not already exist in the document then it will be added at the location defined by the user. If it does already exist then it will be moved to the location defined by the user.

An example of this feature:

CMD

<Cmd case="BaseExtensions:insert-named-bookmark" name="xx" insertBookmarkAt="xx"/>

Parameters

name

Define the name of the bookmark to be added

insertBookmarkAt

The parameter accepts one of three different values.

Selection places the bookmark at the current location of the cursor

PageStart places the bookmark before the first character of the currently selected page

PageEnd places the bookmark after the last character of the currently selected page

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article