This section describes the comment element, which can be
used to design your document.
Before you begin
Remember: Comments are visible in Microsoft Word and PDF output. To insert
comments that are visible in the template, but not in the output,
use a
Template comment element instead
of a comment.
About this task
By design, only the first line of content
entered for elements that use the Content property
display in the template content editor. Subsequent lines of text are
hidden so that the template designer can focus on the structure of
the template at a given time rather than the content of individual
elements.
Procedure
- In the Palette view, select the
Comment element
and drag it into the template content editor.
- Double-click the comment element to add the comment text
to the Content field.
- In the Set content for current element window,
enter your comment text and click OK.
- Add formatting to make the comment easier to identify in
your template content editor.
Tip: The template
comment element displays with a yellow background. To differentiate
between the two types of comments, do not use a yellow background
for the comment element.
For example, select a
color for the text: - Select the comment element.
- In the Properties view, select the Font tab.
- For the Color property, enter a hexadecimal color. For example, if you enter 505050,
the text color is grey. If you enter a value correctly, a preview
of the color displays next to the value you entered.
- Optional: Add a condition for when the comment
is to appear in the output:
- In the Properties view, select
the General tab.
- For the Conditions property,
click the ellipses to set the condition. For example, set
the condition to display every time a variable appears.
- For the left operand, select a variable.
- For the operator, select Not equals to.
- For the right operand, do not enter a value.
- Click Add. The condition displays as: variable !=
""
- Click OK.
- Click the Save icon to save your
changes.