Index: .ohk

Index entries use three distinct formats: a one-part format for sections, a two-part format for the index term, and a three-part format for the index references.

For the one-item terms, the content is normally a letter A-Z for aphabetic sections, 0 (zero) for any numeric (Num) section, and ! for any symbol (Sym) section. Each is used just once at the start of its section:

["F"]

For both of the other two items, the first item is the same: the Index level, a single digit from 1 to 9. (As with Contents, zero is unused and reserved.).

For the two-item index terms, the second item is always the text of the term to display:

[1,"FileName"],
[2,"custom marker for split/extracted files"],

For the three-item references, the second item is normally the link to the specific anchor that marks the location within the topic file where the index entry was placed. The last item is the index of the Contents entry in tocItems, whose title is used for the link text:

[3,"aa1069770.htm#Xaa1069772",50],

If, however, the first character of the second item in a three-item reference is a hash, then the reference is for a See or See Also, and the link is to a location in the index itself, where it matches the text of its target entry. At present, OmniHelp accepts only top-level entry names; any added levels are trimmed off. The third item is then the actual text to be shown for the link, normally the same as the second item, but without the leading hash:

[2,"See also HTML Help, JavaHelp, Oracle Help"],
[3,"#Help","Help"],