User`s guide

13 Create a Report Program
13-34
3
On the Word ribbon, select the Insert tab.
4
Select the content that you have created for the document part template.
5
On the Insert ribbon, click the Explore Quick Parts button. Select Save
Selection to the Quick Part Gallery to save a copy of the selected prototype in
the Quick Part Gallery of the template file. The Create New Building Block dialog
box appears.
6
In the Create New Building Block dialog box, in the Name field, enter a unique
name for the template. Use this name in the constructor of a DocumentPart object
to be based on this quick part.
7
For the first document part template you create in the template file, in the
Category list, click Create New Category. Create a category named
mlreportgen. Then select mlreportgen from the Category list.