Bug 44281 - [FORMATTING] [TOC] Character style of [LS] and [LE] marks should be 'Index Link'
Summary: [FORMATTING] [TOC] Character style of [LS] and [LE] marks should be 'Index Link'
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
3.5.0 Beta2
Hardware: Other All
: medium normal
Assignee: Cédric Bosdonnat
: 37308 42320 (view as bug list)
Depends on:
Reported: 2011-12-29 10:12 UTC by Gustavo Pacheco
Modified: 2012-05-18 06:55 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

Screenshot: 'toc_index_link_lo-3-5_2011-12-28.png' (63.89 KB, image/png)
2011-12-29 12:13 UTC, manj_k

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo Pacheco 2011-12-29 10:12:46 UTC
Create a new document with some headings with 'Heading 1', 'Heading 2' and 'Heading 3' styles;
Insert a TOC (Insert > Indexes and Tables > Indexes and Tables);
In the new TOC, all entries will be underlined as a link because there are [LS] and [LE] marks with 'None' character style in the entry level structures of the TOC.
Have links in TOC is good! However, the underline will appear in Page Preview and in the printed document.
I suggest that character style of [LS] and [LE] marks is changed from 'None' to 'Index Link' for all TOC levels. Using 'Index Link' style, TOC keeps the link function and preserves the text formatting.

Gustavo Pacheco.
Comment 1 manj_k 2011-12-29 12:10:59 UTC
Confirmed for LibO 3.5.0 Beta2 (on WinXP 32b · UI en-US).

That is already fixed in LO-3-5 branch, e.g.:
LOdev 3.5.0beta2+ · Build ID: fab993b-7ef74e0-6f9c6e1
[ http://dev-builds.libreoffice.org/daily/Win-x86@6-fast/libreoffice-3-5/ ]

LS (Hyperlink Start) has Character Style 'Index Link' by default.

Writer: Hyperlinks on ToX have 'Index Link' style by default

Should be integrated into 3.5.0 Beta3.

See also:
Index table: character style 'Index link' instead of 'Internet link'

Sample: Screenshot 'toc_index_link_lo-3-5_2011-12-28.png'
Comment 2 manj_k 2011-12-29 12:13:00 UTC
Created attachment 54952 [details]
Screenshot: 'toc_index_link_lo-3-5_2011-12-28.png'

Screenshot: LS (Hyperlink Start) has Character Style 'Index Link' by default.
Comment 3 manj_k 2011-12-30 08:47:27 UTC
*** Bug 37308 has been marked as a duplicate of this bug. ***
Comment 5 manj_k 2012-05-18 06:55:40 UTC
*** Bug 42320 has been marked as a duplicate of this bug. ***