Issue 59631 - TOC hyperlink malfunctions if the headings begin with a manual number
Summary: TOC hyperlink malfunctions if the headings begin with a manual number
Status: CLOSED DUPLICATE of issue 29858
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 2.0
Hardware: All Windows NT
: P3 Trivial with 2 votes (vote)
Target Milestone: ---
Assignee: Oliver Specht
QA Contact: issues@sw
Depends on:
Reported: 2005-12-21 08:30 UTC by raindrops
Modified: 2013-08-07 14:38 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

small sample file (7.32 KB, application/vnd.oasis.opendocument.text)
2005-12-21 11:20 UTC, michael.ruess
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description raindrops 2005-12-21 08:30:11 UTC
If the headings have a manually inserted number in front, the TOC malfunctions.
(This happens if the number is inserted manually, NOT based on an outline.)

Step-by-step procedure to replicate the problem:

1. Create a odt file with some text
2. Create 2-3 levels of headings (Heading1, Heading2, etc.)
3. In the text for a few headings, insert a number. 
   (e.g. "1. Introduction").
4. Insert a TOC for the document. 
5. Insert hyperlinks in the TOC by adding "LS" and "LE" to the top-level entry
of TOC, and then clicking on the "All" button. 
6. Click on a line of TOC that does not have such a number. Writer jumps to the
corresponding page in the document, which is the correct expected behavior. 
7. Next, click on the entry of the TOC that contains a manually inserted number. 
The Writer jumps to the top of the CURRENT page; not to the actual text.

This is a defect because the behavior of the hyperlink should not depend upon
what is the content of the heading.
Comment 1 michael.ruess 2005-12-21 11:20:34 UTC
Created attachment 32625 [details]
small sample file
Comment 2 michael.ruess 2005-12-21 11:23:10 UTC
MRU->OS: see attached document. When a Heading has a manual number, it is not
possible for Writer to solve the adress of the hyperlink in the TOC correctly.
Comment 3 paradigm 2008-12-02 04:14:55 UTC
Also effects OOo 3.0.0
Comment 4 eric.savary 2008-12-02 11:45:26 UTC

*** This issue has been marked as a duplicate of 29858 ***
Comment 5 eric.savary 2008-12-02 11:45:39 UTC