Implementing the functionality

Given the Example.dot template, the following steps are enough to implement additional functionality in the ITP/Model Development Kit Microsoft Word environment:

  1. Create a copy of the Example.dot template.
  2. Open this copy.
  3. Customize the template copy (e.g., add menus, toolbars etcetera.).
  4. Implement the macros in the Custom module from the Visual Basic Editor (e.g., enable/disable menu items, buttons etcetera.).

Note

Because activation of this macros is the consequence of OLE calls from the ITP/MDK Repository, it is very important that their implementation should never be blocking, i.e., no message boxes or modal forms should be shown as a result of them.

5. Move the macro to a StartUp folder of your Microsoft Word installation.

When, after this, a document is viewed or edited from the ITP/MDK Repository, the template should be available and its functionality should be active.