I added some extra entries manually (select text and the select in the menu Insert > Indexes & Tables > Entry…) The manually added entries are missing the hyperlink function.
It appears to be an as-yet unimplemented function. Presumably you used:
- Highlight text somewhere in document.
-
Insert > Indexes and Tables > Entry… > Index of “Table of Contents” > click Insert.
- Right-click on ToC > Update Index/Table.
The entry is added as expected, but does not include any hyperlink capability. Right-click on the ToC > Edit Index/Table > Index/Table tab > Create from section > the Index marks option is what pulls in these entries, however the resultant XML:
<text:p text:style-name="P8">Highlighted text<text:tab/>3</text:p>
… is missing the hyperlink definition present in a typical ToC outline / style entry:
<text:p text:style-name="P9">
<text:a xlink:type="simple" xlink:href="#__RefHeading__117_1035361803" text:style-name="Index_20_Link" text:visited-style-name="Index_20_Link">2.1.Heading 7<text:tab/>3</text:a>
</text:p>
I can’t find an open bug for this issue, so please feel free to raise a bug and include as much detail as possible. Be sure to mark your bug as an enhancement and report a link back here to any bug raised using the format “fdo#123456”. For reference, fdo#37608 and fdo#71385 are related enhancement requests to get hyperlink functionality implemented for list of tables and alphabetic indexes, respectively.