Adding elements to a template

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 Window > Show View > Palette.

If you do not see the Outline view in Document Studio, you can add it by clicking Window > Show View > Outline.

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 elements
Insert 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:

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.
  1. In the Outline view, right-click Content or another existing element that is a child of Content.
  2. Select Insert > Image. The image is inserted into your template.
  3. In the Outline view, right-click the Image element and select Image > Load Image.
  4. Click Browse and select an image on your computer.
  5. Click Open > OK. The image preview is visible in the template.
  6. 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 Window > Show View > Properties.

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.


Feedback