© National Instruments Corporation E-1 DocumentIt User Guide
E

Generating Documents Using

Microsoft Word

This appendix describes how to use the Microsoft Word documentation
example. This includes describing how to:
Generate documents and encapsulated PostScript files.
Import Enhanced Metafile (.emf) files into a generated document
automatically and manually.
Format table data for Microsoft Word.
All Microsoft Word documentation example files for Windows platforms,
including a sample file that demonstrates these tasks, are located in the
%CASE%\DIT\templates\msword\general\mswgp.wrd file.
Using Your Own Templates
To customize your generated document, make a copy o f this file in your
local directory and make appropriate changes. You must regenerate your
document every time you make changes to mswgp.tpl and mswgp.wrd.
If you want to generate documentation using your own templates, consider
copying the supplied example files and then modifying them. The purpose
of each file is listed in TableE-1.
Note Your templates must be in rich text format (RTF), with TPL commands included. Do
not make a template in Microsoft Word *.doc format.
The mswgp.tpl and mswgp.wrd files are in the %CASE%\DIT\
templates\msword\general directory. The
Controller_Logic_gen.dat file is in the %CASE%\DIT\templates\
ascii directory.