Bookmarks procedure allows Word document lay out or modification, addressing
to document positions to insert text, object or picture.
With Word, Bookmarks must be inserted first in the template using "Inserting – Bookmarks" menu.
A bookmark is named. It refers to a position or a selection within the text.
LNCCMD
program WBOOKMARK key word allows
setting Word pointer at a bookmark position and inserts text.
If the bookmark stands for a selection, the new text will replace it all.
WTYPETEXT key word allows to insert text to the current pointer position.
While inserting text with WBOOKMARK or WTYPETEXT, Word will readjust document lay out, taking care of borders, lines and page jumps as well as alignments.
A bookmark can also be used to set the pointer in view of inserting another document (WINSERTF) or image (WINSERTIMG).
Special values for bookmark names allows scrolling through charts, to include cells. See WBOOKMARK detail.
Word offers to the programmer a set of pre-defined bookmarks in order to reach some identified document parts. See Bookmarks preset.
Bookmark can be found anywhere within a document including headers, footers.
Before launching the mailing part of the final document, a mailing template can be prepared with bookmarks procedure.
It allows template enhancement adding, as example, a logo.
There is no more bookmark in the final document resulting of a mailing !