User`s guide

6 Template-Based Report Formatting
6-28
Add an Inline Hole
The only kind of holes that you can add to a part template are the holes that the
Report Explorer supports for that part template. For example, for the rgChapter part
template, the only inline holes that you can reinsert are rgChapterTitlePrefix,
rgChapterTitleNumber, and rgChapterTitle holes. Do not add multiple instances of
the same kind of hole in a part template.
Note: If you do not have a custom Word conversion template, see “Copy a Conversion
Template” on page 6-12.
1
In the Report Explorer, select Tools > Edit Document Conversion Template.
2
In the list of Word templates in the middle pane, select the custom template that you
want to edit.
3
In the Template Browser, click Open template.
4
To display Word paragraph markers, click the Show/Hide button.
5
Position the Word insertion mark at the point in a paragraph where you want to add
an inline hole.
Tip If the hole is the only content in a paragraph or is at the end of a paragraph, add
several blank spaces and insert the hole before the spaces.
6
Click the Rich Text Control button . Word inserts a rich text control at the
insertion point.
7
To see hole markup, on the Word ribbon, in the Developer tab click Design Mode.
8
Right-click in the hole and select Properties.
9
In the dialog box, in the Title and Tag fields, enter the name of the hole. Use a
Report Explorer hole name. For example, if you insert an rgChapterTitlePrefix
hole, set the Title and Tag fields to rgChapterTitlePrefix.
10
In the template, select all of the contents of the part template. In the Insert tab,
click the Quick Parts button.
11
Click Save Selection to Quick Part Gallery.
12
In the Create New Building Block dialog box, set Name to the part template name
(for example, rgChapter) and the Category to mlreportgen. Click OK.