Apache OpenOffice (AOO) Bugzilla – Issue 115185
hyperlink refers always to 1st of three identical Headings in attached sample
Last modified: 2017-05-20 11:15:23 UTC
File HypSource.odt has 4 headings: Aaaa, and Bbbb #1, 2, 3. In HypCheck.odt, hyperlink @ has been set to Bbbb #3 (sec.1.1.4). ^Click on it, get the FIRST one, Bbbb #1 --wrong. Apparently, hyperlink remembers only the heading ('Bbbb'), not its location in the document. In a long document, the same heading, such as 'Definition', can be reused several times; hyperlink search will always 'find' the 1st one.
Created attachment 72140 [details] file with hyperlinks
Created attachment 72141 [details] file with ref to hyperlink
MRU->OS: could you please have a look? In the attached sample, the hyperlink always jumps tp the first of the three identical "bbbb" headings, though the number is set correctly in the link. When I create a similar sample from the scratch, this works fine...
Here is a work-around: make identical Headings different by attaching a substring to each; make the substrings Hidden so they won't show in the final document. But... if such a heading appears in a page header, it does so WITH the supposedly-hidden substring!
Reset assigne to the default "issues@openoffice.apache.org".