PreviousNext
Help > Programming with LAUNCHER Office > Advanced programming > Word > Pre-defined Bookmarks
Pre-defined Bookmarks

Microsoft Word have some pre-defined bookmarks.

They can be used with all LAUNCHER Office commands where a bookmark name is useful.

 

Bookmarks

Descriptions

\Sel

Current selection or inserting point.

\PrevSel1

Latest selection where editing take place.

\PrevSel2

Second latest selection where editing take place.

\StartOfSel

Beginning of current selection.

\EndOfSel

End of current selection.

\Line

Current line or current selection first line. If inserting point is set at line end but not the last section line, the bookmark includes the next line completely.

\Char

Current character. It can be the character next to the inserting point if there is no selection, or the first selection character.

\Para

Current paragraph. That is the paragraph including the inserting point, or, if several paragraphs are selected, the selection first paragraph. Note that if the inserting point, or the selection is in the document last paragraph the " \Para " bookmark does not include the paragraph mark.

\Section

Current section, including end of section break. Current section includes the inserting point or the selection. If the selection includes more than one section, the " \Section " bookmark is the selection first section.

\Doc

Active document entire content, excepted paragraph final mark.

\Page

Current page, including end of page end break. Current page includes the inserting point. If the selection includes more than one page, the " \Page " bookmark is the selection first page. Note that if the inserting point, or the selection is in the document last page the " \Page " bookmark does not include the page final mark.

\StartOfDoc

Document beginning.

\EndOfDoc

Document ending.

\Cell

Table current cell. This cell contains the inserting point. If one or more table cells are included in the current selection, the "\Cell " bookmark is the selection first cell.

\Table

Current table. This table contains the inserting point or the selection. If the selection includes more than one table, the "\Table " bookmark is the selection first table, even if the entire table has not been chosen.

\HeadingLevel

Header containing the inserting point or selection, and some more subsidiary headers and texts. If the current selection has a text body, the " \HeadingLevel " bookmark includes the previous header and any others subsidiary headers and texts.