Issue 61089

Summary: Make index page number clickable
Product: Writer Reporter: raindrops <na1000>
Component: formattingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Major    
Priority: P3 CC: florisv59, issues, lanica21, openoffice, orcmid, rainerbielefeld_ooo_qa, rog, rony
Version: OOo 2.0.1Keywords: oooqa
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Linked page number in table of contents by default
none
Linked page number with style in table of contents by default none

Description raindrops 2006-01-24 08:41:24 UTC
In Writer, each page number in the index should be clickable, so that the user
can simply click there to reach the concerned page.

In other words, let the user insert a hyperlink just as in TOC.

Note: 
We have another suggestion to provide a pair of navigation buttons called "Back"
and "Forwards" (just like like in browsers or Acrobat Reader). When that feature
is implemented, the clickable Index will be much more useful: The user can
follow a link from Index, come back to Index using that pair of Navigational
buttons and then follow yet another link from the Index.
Comment 1 michael.ruess 2006-01-24 09:38:08 UTC
Reassigned to ES.
Comment 2 eric.savary 2006-01-24 12:10:16 UTC
Reassigned
Comment 3 Rainer Bielefeld 2006-12-21 06:04:52 UTC
I think so, too. It should be possible to add hypelinks in the index dialogue as
it is possible in the TOC dialogue
Comment 4 andreataglietti 2007-02-26 16:01:26 UTC
*** Issue 61089 has been confirmed by votes. ***
Comment 5 raindrops 2007-02-27 02:17:25 UTC
...In fact, a sizable number of readers will enjoy the hyperlinks in Index even
BEFORE the "Back" and "Forwards" buttons are added to OOo: When a pdf file is
created out of the odt file, it will automatically inherit the hyperlinked
index. Since ALL pdf readers already have the "Back" and "Forwards" buttons,
readers do not have to wait till they are added in OOo too.
Comment 6 stephencorlett 2007-02-27 07:36:22 UTC
Ditto for HTML output, I hope - and for derivatives of that (for instance I use
OOo to produce HTML as input to Plucker, which formats it for reading on a Palm,
and the contents lists are therefore clickable on the Palm - and the Plucker
viewer, like any other HTML browser, has forward and back).
Comment 7 hagar_de_lest 2008-09-03 20:49:37 UTC
Isn't it a duplicate of Issue 29279?
Comment 8 Matthias Basler 2008-11-22 22:03:12 UTC
I strongly support this. Nowadays most users will expect this to simply work  -
by default.
Comment 9 rony 2012-09-08 12:36:25 UTC
All AOO generated indexes (list of tables, list of figures, user defined lists) should be hyperlinkable like the TOC. Although there are (cumbersome, unintuitive) workarounds by abusing the AOO TOC functionality, there is no solution whatsoever for "alphabetical indexes".

Being in the middle of finishing a book this is an incredible lack of functionality which seriously hampers AOO (and suggesting it for creating books tzhat need indexes). 

Hence trying to raise the level from "trivial" (it is not trivial at all!) to "major" (to signal that this functionality is very important), as this is a major problem for anyone in the need of a hyperlinked "alphabetical index" (and also for all other indexes)!

The hyperlink problem should be systematically solved like in the TOC: make a Hyperlink button available to all other automatically generated indexes!
Comment 10 hanya 2012-11-06 12:12:21 UTC
Created attachment 79866 [details]
Linked page number in table of contents by default

The patch adds LS and LE between # (page number) to add hyperlink to page number 
by default.
Comment 11 hanya 2012-11-06 12:52:34 UTC
Created attachment 79867 [details]
Linked page number with style in table of contents by default

Linked page number with "Internet Link" style in table of contents by default.
Comment 12 rog 2012-11-12 17:29:14 UTC
Very pertinent to my current project - would be most welcome
Comment 13 Flower 2015-03-23 18:11:25 UTC
solution
inset>indexes and tables>indexes and tables
Index/Table tab: 
1. change title for Index if you want.
2. Type must remain Table of Content
3. Create index/table for chapter (in my case it was concerning only a section after the last Heading1)
4. uncheck outline<
5. check Additional Style and click on the "..." button. Then, move index to 1 and click Ok
Entries tab
6. create a hyperlink like you normally do (cursor before E + click hyperlink + cursor after E + click hyperlink)
7. Ok
The End
Comment 14 Peter Roelofsen 2016-07-20 19:20:50 UTC
I'm not so sure that this is a good idea. First, see the comment by foxcole in the community forum: https://forum.openoffice.org/en/forum/viewtopic.php?f=7&t=1227#p4788 In short: A fully hyperlinked index with hundreds or even thousands of items would add an enormous overhead in file size and build time, especially when people generate an index using a concordance file.

There's also another objection: alphabetical indexes were invented to make searching in printed text less time consuming. In digital texts you can simply use the Search or Find command of the viewing software, which doesn't require any overhead.
Comment 15 Matthias Basler 2016-07-21 16:18:53 UTC
Hi Peter,
1. Increase in file size? Hundreds of similar links should get packed rather nicely in the zipped .odt files, shouldn't they? I havn't tried, I admit.

BTW: This feature could be optional for people who simply don't need the overhead.

2. Searching through a document is much less efficient than a hand-defined index, where only the really relevant occurrences of a word or phrase are indexed. 

Think about finding entries for Windows in a Java GUI book. A full text search would likely find the term "Window" on almost every page. Same goes for other terms which can have different meanings in different context.

My typical use case is a genealogy report. The index lists all people alphabetically and allows to quickly jump to the page where a person is described in detail. A full text search would bring up all references, i.e. where this person is child, father, uncle, ...
Comment 16 Peter Roelofsen 2016-07-21 16:46:23 UTC
Hi Matthias,
1. And I was thinking about uncompressed file size.

2. You're talking with experienced users in mind, how many of those are there? Just think about the many people who just think it's cool to have a fully hyperlinked index generated from a concordance file. :)

You can turn on Find whole words in most decent programs. Then you won't find window when you look for Windows. 

For your genealogy report it'd be better to have a variant of a TOC where you can sort the items, as it'd probably be based on paragraph styles.
Comment 17 orcmid 2016-07-22 19:32:33 UTC
(In reply to Peter Roelofsen from comment #16)
(In reply to raindrops from comment #5)
> ...In fact, a sizable number of readers will enjoy the hyperlinks in Index
> even
> BEFORE the "Back" and "Forwards" buttons are added to OOo: When a pdf file is
> created out of the odt file, it will automatically inherit the hyperlinked
> index. Since ALL pdf readers already have the "Back" and "Forwards" buttons,
> readers do not have to wait till they are added in OOo too.

I make PDFs for exactly that reason.  The idea of having the page numbers in an index link to the occurrence of the indexed item is a great one.  

There is already overhead or marking an item for inclusion in an index, since indexes must be regeneratable (just like TOCs).  

Having said that, it is unlikely that this feature will be provided in the foreseeable future.
Comment 18 orcmid 2016-07-22 19:34:44 UTC
(In reply to orcmid from comment #17)
> Having said that, it is unlikely that this feature will be provided in the
> foreseeable future.

I should add that it is unclear that the ODF 1.2 format provides for accomplishing this.
Comment 19 Peter Roelofsen 2016-07-22 20:13:30 UTC
Hi orcmid, are you referring to a hyperlinked index, or to a sorted TOC used as an index?
Comment 20 orcmid 2016-07-22 20:20:44 UTC
(In reply to Peter Roelofsen from comment #19)
> Hi orcmid, are you referring to a hyperlinked index, or to a sorted TOC used
> as an index?

I'm referring to the subject of this issue, page numbers in indexes, not TOCs, which do provide hyperlinking already.