Hi Dave,
You didn't do anything wrong, this is just Word's internal way of referencing topics with bookmarks. If you import a Word RTF file that has, or has had, a Table of Contents generated in it, you will get these strange Topic IDs in the format Tocxxxxxxx, where the x's are numbers. This is because of bookmarks generated by Word when it creates a TOC. The Tocxxxx bookmarks are inserted at the Heading X headings when you generate a TOC in Word, and then imported by Help+Manual as the Topic IDs. You can see them if you open the Bookmarks dialog in the Insert tab in Word and activate the Hidden Bookmarks option. If they aren't present Help+Manual generates the IDs from the text of the headings with the Heading X styles.
You can delete the hidden bookmarks manually in the dialog to force Help+Manual to base the IDs on the heading texts, but that will take forever in a big project. The easiest way is to use a quick Word macro (DON'T do this on your original Word file if you also have your own bookmarks that you want to keep -- it will delete all of them -- use a copy instead):
1) With only the relevant document open in Word, press Alt+F11 in Word to open the VBA window
2) Select Module in the Insert tab.
3) Paste this code into the Module window:
Code: Select all
Sub removebookmarks()
Dim bkm As Bookmark
For Each bkm In ActiveDocument.Bookmarks
bkm.Delete
Next bkm
End Sub
4) Click the Run button or press F5 to apply VBA directly.
If you then save the Word document as RTF and import it to Help+Manual you will get IDs based on the heading texts instead of the Word bookmarks.