Template Builder uses the Word comment feature to store the arguments it needs to extract and display information.
· A Word comment represents a Template Builder command.
· A Template Builder command is the logic that Template Builder uses to extract information.
NOTE: Whichever Word version you use, you should never alter the "contents" of a Word comment in a Template Builder template.
Because comments have a different appearance and different behavior in the two versions of Word, you interact with the comment feature differently in the two versions of Word. The table below illustrates these differences.
Word 2000 |
Word 2002 |
The comment indicator, called comment text, is represented like this: |
The comment indicator, called the comment marker, is represented by a vertical bar: |
Comment text indicates: · The presence of a comment · The type of Template Builder command the comment contains, such as OPEN, DISPLAY, or REPEAT. |
A comment marker indicates: · The presence of a comment
There is no indication of what type of Template Builder command a marker represents. However, Template Builder provides a representation of a native Word 2000 comment that you toggle from the Help menu.
The Template Builder command name has no programmatic function; it is simply a display-only convenience to help you recognize the command logic when you build and format the template in Word 2002. Note that when the Template Builder command is shown, the Word comment marker is difficult to see unless you use the Word Zoom feature to enlarge the view: |
Word formats comment text as hidden text.
|
Word 2002 does not treat comment markers as text. These markers have no text properties such as hidden text. |
You control the display of comment text by toggling either: · hidden text · the comment/comment text display (with View > Comment) |
A comment marker and a Template Builder command representation are independent elements. Neither is formatted as hidden text or controlled by the display of hidden text. · To toggle the display of the Template Builder command, click ProjectConsole > Show/Hide Commands · To toggle the display of the vertical bar that is the comment marker, click View > Markup |