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 can be seen in use as part of MottMac's page X of Y functionality.
<Cmd case="BaseExtensions:insert-named-bookmark" name="xx" insertBookmarkAt="xx"/>
Define the name of the bookmark to be added
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