Defining a Microsoft Word Template Using Content Controls
Create a report template in Microsoft Word that uses content controls to create structured content that can be reused each time you generate a report.
-
Create a Microsoft Word (.dotx) template
using one of the following workflows:
- Use one of the predefined templates provided by Microsoft.
- Create a template with the required styling.
-
In POSTFEKO, decide on the graphs and 3D views to
be added to the report.
For this example, the startup model is used. The required views are the 3D view and the graphs are:
- startup1
- Cartesian graph1
- Smith chart1
-
In Microsoft Word, activate the
Developer tab.
- On the application menu, click Options > Customize Ribbon and select the Developer check box.
-
Add content controls to the Microsoft Word template.
- In Microsoft Word, on the ribbon click the Developer tab.
- Add a Picture Content Control (Controls group) to the template at each location in the template where a graph or 3D view is to be added.
-
Enable Design Mode in Microsoft Word.
On the Developer tab, in the Controls group, click the Design Mode icon.
-
Add tags to the Microsoft Word template.
- For each content control, on the Developer tab, in the Controls group, click Properties.
-
On the Content Control Properties dialog, add the
tag that links to a specific POSTFEKO
graph.
For this example, the tag is TagFor3dView.
- Save the Microsoft Word (.dotx) template.