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
Comments
0 comments
Please sign in to leave a comment.