Hyperlink is missing for TOC entries based on inserted index entries

Hi

I’ve created a table of content in a Writer document. 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. Nothing happens when I ctrl + click on an entry. The other entries created from the Heading 1,2,3… are active. How can I activate ctrl + click to jump to the relevant section in the document for the extra entries?

LO v4.1.4
Windows 7 64bit

Many thanks!

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:

  1. Highlight text somewhere in document.
  2. Insert > Indexes and Tables > Entry… > Index of “Table of Contents” > click Insert.
  3. 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.

Bug reported as suggested by oweng: fdo#73295

Thanks. Confirmed and example added.