Bug 37307 - Fields for very long titles don't allow the use of reduced versions in TOC
Summary: Fields for very long titles don't allow the use of reduced versions in TOC
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.4.4 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Fields
  Show dependency treegraph
 
Reported: 2011-05-18 01:16 UTC by Jose Gómez
Modified: 2017-10-26 21:26 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
File showing the problem and possible solutions (12.59 KB, application/vnd.oasis.opendocument.text)
2011-05-18 01:16 UTC, Jose Gómez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jose Gómez 2011-05-18 01:16:51 UTC
Created attachment 46849 [details]
File showing the problem and possible solutions

This is an old bug from the OpenOffice bug report: http://openoffice.org/bugzilla/show_bug.cgi?id=54700


If a title (a "heading1", for example) is something like this:

    This is a very very very long long long title
    splited over several lines.

the title field will reflect the whole paragraph, but in my heading I want, instead of that, the following:

    A long title...

That is, a reduced version. In latex, you can assign a brief "alias" to a very
long title (something like \Chapter[brief title]{The very long complete
title}), so if you use a fancy header, the alias and not the actual title is displayed in the header.

In OOo/LO, the title field display the whole paragraph, correctly aligned with
line breaks when needed, but there is no way to set an "alias", which is an
important limitation to the design of complex documents.


Another option (solution 2) would be to include the option to truncate the TOC entry so that it will always occupy just one line.
Comment 1 Björn Michaelsen 2011-12-23 12:03:36 UTC Comment hidden (obsolete)
Comment 2 Jose Gómez 2011-12-23 14:45:21 UTC
This problem is still present in LibreOffice 3.4.4.
Comment 3 Florian Reisinger 2012-08-14 14:02:34 UTC Comment hidden (obsolete)
Comment 4 Florian Reisinger 2012-08-14 14:03:31 UTC Comment hidden (obsolete)
Comment 5 Florian Reisinger 2012-08-14 14:08:05 UTC Comment hidden (obsolete)
Comment 6 Florian Reisinger 2012-08-14 14:10:11 UTC Comment hidden (obsolete)
Comment 7 sasha.libreoffice 2012-09-05 09:11:52 UTC
reopening because of RFE
Comment 8 Joel Madero 2013-01-27 19:54:48 UTC
Seems like a good enhancement request to me.

Verified on 3.6.4.3


Marking as:
New (confirmed)
Enhancement (done already)
Low (personally I love the idea but realistically I don't see it impacting work flow much and I think it will only affect a limited number of users.

Thanks for the suggestion!
Comment 9 Urmas 2013-01-27 20:59:02 UTC
Meanwhile it can be solved with assigning 0 level to offending heading, and using the TOC field with desired text instead.