You can add elements such as paragraphs, lists, images,
footnotes, or a table of contents to your template. There are multiple
ways to insert elements and you can select the one that allows you
to work most efficiently.
Before you begin
If you do not see
the Palette view in Document Studio, you can add it by clicking .
If you do not see the Outline view in Document Studio,
you can add it by clicking .
About this task
There are multiple places in the user interface from which
you can insert elements into a template. You can review the benefits
of each and choose the method that you prefer.
Table 1. Methods
for inserting elementsInsert from |
Benefit |
The Outline view |
The available elements that display are only
those elements that can be put in the location you selected in the
template. |
The Palette view |
All elements are visible in the Palette view
as you are working in the Template Content editor. |
The Template Content editor |
The available elements that display are only
those elements that can be put in the location you selected in the
template. You can also work in the Template Content editor without
having the Outline or Palette view open. |
Procedure
Insert elements into a template from the Outline view,
the Palette view, or the Template Content editor:
- From the Outline view:
- In the Outline view, right-click Content or
another existing element that is a child of Content.
- Select Insert. A context-sensitive list of available elements displays.
- Select an element to add to the
template.
- Click the Save icon
to save your changes.
- From the Palette view:
- In the Palette view, select
an element. When you move the cursor into the Template
Content editor, the cursor changes from an arrow to an arrow with
a plus sign.

- Click the location in the Template Content editor to
place the element. You can click multiple locations to place the same
element into multiple places in the template. For some
elements, you can place the element inside another element. For example, you can place a Row element inside a Table element
to add a row to a table. Not all elements can be put
inside of others. When the cursor changes to an icon indicating that
you cannot insert the element
, you cannot insert the element into the location
you selected. For example, you cannot add a Row element
to a Container element. To remove an element from
your cursor, click the Select element in the Palette view.
- Click the Save icon
to save your changes.
- From the Template Content editor:
- In the Template Content editor, right-click the template
area or an existing element.
- Select Insert. A context-sensitive list of available elements displays.
- Select an element to add to the
template.
- Click the Save icon
to save your changes.
Example
To insert an image in the template:
Note: Document Studio
and the Rational Publishing Engine support different sets of image
formats. Some images supported by the RPE Engine, such as .emf or .wmf,
might not render correctly in the Document Studio Editor. These elements
show as Image cannot be rendered. Until
Rational Publishing Engine 1.1.2.1, there was no visual difference
between an Image element without an image attached and one with an
image that could not be rendered by Document Studio. To distinguish
the elements that do have an .emf or .wmf image
attached, you are given this visual indication. Though you might see
this message, Image cannot be rendered,
in the Document Studio template editor, the output created with that
template renders the image properly.
- In the Outline view, right-click Content or
another existing element that is a child of Content.
- Select . The image is inserted into your template.
- In the Outline view, right-click the Image
element and select .
- Click Browse and select an image on your
computer.
- Click . The image preview is visible in the template.
- Click the Save icon to save your changes.
What to do next
In the
Properties view, enter values
to customize the properties for each element you inserted. To open
the Properties view, click .
If you place an element in the wrong place, in the
Template Content editor, you can select the element and drag it to
the correct place. To remove an element from the template, select
it and press the Delete key.