Adding a region element
Regions are static elements that are used to display the
text from another element in the template. When you generate the output,
the content of that element displays where the region element is used
in the template. Region elements are helpful when you have an element
that must be updated frequently.
About this task
Note: Dynamic regions cannot be created using a region element.
Use a bookmark element to create dynamic regions, for
example count_1 or count_2.
The general process
of using region elements:- In the Palette view, select the
Region element
and drag it into the template editor where the content is to appear
when the output is generated. - Enter a name for the region.
- Place an element that must be frequently updated at the beginning of a template. This element might be, but is not limited to, a paragraph element or a text element. At the beginning of a template, you can quickly locate that element to make changes.
- Enter the region name in the Target region property.
Note: Conditions that are set on region elements are ignored
because they are not dynamic elements. In HTML and XSL-FO outputs,
region elements are ignored entirely because sections cannot be created
in these outputs.
Procedure
What to do next
- Select an element in the template. Example: Paragraph
- In the Properties view, select the General tab.
- In the Target region field, enter the name of region. Example: Region 1.
- Save the changes.
Tip: If you find that the
ordering of the elements is not being honored in the generated output,
add an empty paragraph element after the region element.