Chapter 4 Using the Report Editor


Creating a report template

A report template is a file that you can use to quickly generate a report. You can use standard templates that ship with PowerDesigner or create your own templates.

You can also create a template in the Report Editor using a report section. For more details, see Creating a template from a report section.

When you create a template, you indicate what information you want to include in the report. You can select a language to display information in the desired language.

When you create a template you need to provide the following information:

Option Description
Name Name of the template
Language Language in which you want to edit your template. English is the default language
Type Type of the model for which you create the template

Steps To create a template:

  1. Select Report→ Report Templates to display the List of Report Templates.
  2. Click the New tool and type a template name in the Name box.
  3. Select a language from the Language list. It displays the available languages. English is the default language in which the report is printed.

    For more information on languages in reports, see the Using the Report Language Editor chapter.
  4. Select a template type in the Type box.
  5. Click OK.

    The Report Template Editor window is displayed.
  6. Add items to the Template Items pane. They display in the language you selected.


    For more information on adding items to the Report Items pane, see Using Report Items.
  7. Select File→Save.

    A Save As dialog box is displayed.

    The name you type at creation in the Report Template Type dialog box is displayed by default with an RTP extension. You can choose another name.
  8. Click Save.

    The next time you create a report, you will be able to use this new template that is displayed in the List of Report Templates.

    Note   Language in a template
    When you use a template created in a language different from the one you select to create your report, only user-defined items such as Title or Text paragraph will keep the language of the template. Other items will be displayed in the report language.



    For more information on creating a report, see the "Creating Model and Multi-Model Reports" chapter.

    Note   Undo functionality not available
    You cannot use the Undo functionality in reports.


 


Copyright (C) 2007. Sybase Inc. All rights reserved.