### 31.6.2 Converting graphics with the Mif2Go exwmf utility

This is a desperate hack for those who:

• do not have conversion tools such as Graphic Workshop:
http://www.mindworkshop.com

• cannot use FrameMaker export (see §5.7.2.2 Using FrameMaker graphic export filters)

but who do have Microsoft Word.

1. Run Mif2Go to produce Word RTF, then load the result in Word; when Word is finished importing the graphics, save the file in Word as RTF.

2. Run the exwmf utility program included with Mif2Go on the Word RTF file, by typing on a command line:

exwmf filename.rtf

This utility extracts from Word’s RTF the internal WMF image that Word made for each imported graphic, and names it according to the original graphic name but with a .wmf extension.

3. Run Mif2Go again, to produce WinHelp RTF. Provided you have made the required entries in the [GraphFiles] section (such as cdr=wmf if your original graphics were from Corel Draw) Mif2Go uses the WMF files produced by exwmf to make the final WMFs for WinHelp.

If the WMF graphics are stand-alone images, the same files are used, as is. If they are integrated with other elements in Frame vector graphics, they are re-imported and blended into the final WinHelp WMF graphics.

If you use WMF graphics this way to produce WinHelp, you must be sure the graphic file names do not conflict between input and output. One way is to specify a different number of digits for generated file names. You can set properties for WinHelp external metafile names in the [Graphics] section, as MetaNameChars (default 5) and MetaNumDigits (default 3). See §5.7.4.3 Naming external graphic metafiles for more information.

| 31.6.1 Converting graphics with Microsoft Word filters |  | 32 Working with content models |