Understand the Word Processor Macros Files HotDocs Uses to Work with the Word Processor

From HotDocs Wiki

Jump to: navigation, search

When you first create a template, HotDocs opens the word processor, copies the underlying text from the source document (if any) into the template, and adds the HotDocs Edit and HotDocs Navigation toolbars to the template.

The HotDocs Edit and Navigation toolbars include buttons that perform different automation tasks. These tasks are defined in macro files that are unique for each word processor you have installed.

For example, in Microsoft Word, if you click the Variable Field button, HotDocs calls a macro in the hd6edit.dot file, which then displays the Variable Field dialog box. (It is at this dialog box that you choose which type of variable you want to create as well as define the properties for the variable.)

HotDocs also adds the HotDocs button to the word processor toolbar. Clicking this button launches HotDocs if it is not already running, or it brings the HotDocs template library to the front if it is running. This button is visible each time you start the word processor, regardless of whether you are editing a template.

HotDocs uses the following files to integrate with the different versions of Microsoft Word:

Microsoft Word 2003 (and Earlier)

  • hd6edit.dot
  • hd6icon.dot

Microsoft Word 2007

  • hd2007edit.dotm
  • HotDocsRibbon.dotm

HotDocs uses the following files to integrate with WordPerfect: