Bug 167598 - let Navigator show Titles
Summary: let Navigator show Titles
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Navigator
  Show dependency treegraph
 
Reported: 2025-07-19 23:32 UTC by George Herson
Modified: 2025-10-05 20:33 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
style find and replace with custom style example 1 (2.88 MB, video/x-matroska)
2025-10-01 22:22 UTC, Jim Raykowski
Details
style find and replace with custom style example 2 (1.11 MB, video/x-matroska)
2025-10-01 22:23 UTC, Jim Raykowski
Details
Writer macro to downgrade headings then sub/titles to headings 1 and 2 (3.40 KB, text/x-python)
2025-10-05 20:31 UTC, George Herson
Details
This file is a testbed for the attached macro. (35.92 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-10-05 20:33 UTC, George Herson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description George Herson 2025-07-19 23:32:44 UTC
Please enable Navigator to show titles under Headings, as the top-most heading (consistent with how tables of contents treat titles).  Currently, titles do not appear in Navigator at all.
Comment 1 Roman Kuznetsov 2025-08-01 20:32:52 UTC
Navigator shows Headings because they have an outline level (1,2,3 ... 10)

A default style Title does not have any outline level, it is None by default. And you can change it

So, what titles do you mean?
Comment 2 George Herson 2025-08-02 14:58:52 UTC
It'd be better for titles and subtitles to appear in the Navigator by default.  But thanks for your info: I didn't know Title was a style and that I could change a style's outline level in documents (then template that).
Comment 3 Dieter 2025-08-19 18:00:26 UTC
So your problem is solved?
=> NEEDINFO

If the problem isn't solved for you I support Roman's question: What do you mean by "title"?
Comment 4 George Herson 2025-08-19 19:01:39 UTC
What I mean by Title: The result, to the current line (i.e., the line with the insertion pointer), of clicking Styles - Title.

What I mean by Subtitle: The result, to the current line, of clicking Styles - Subtitle.

Suggestion: maybe set the top-most outline level in a document dynamically based on what styles the document has in quantity, such that Title (and Subtitle) don't consume levels 1 (and 2) unless actually present, with quantity 2+.
Comment 5 Dieter 2025-08-20 19:12:28 UTC
Not sure, but there might be a misunderstanding how styles and headings work. But if you follow the following steps you reach your goal

1. Assign styles "Titel" and "Suptitle" to some paragraphs
2. Tools -> Heading Numbering
3. Assign Paragraph Style "Titel" to numbering level 1 and PS "Subtitle" to numbering level 2 -> OK
4. Open Navigator

Result:
Navigator shows Title and Subtitels

Does this solve your problem?
=> NEEDINFO
Comment 6 George Herson 2025-08-22 17:35:12 UTC
Roman explained that in Comment 1 for which I thanked him in Comment 2.

My problem is that I have a collection of documents with many titles and subtitles each, so I'd like to be able to use the Navigator window to navigate them without first redefining the outline levels in each (document).
Comment 7 Dieter 2025-10-01 17:54:52 UTC
I won't support that feature request, but let's ask design-team and Jim Raykowski as aur navigator-expert.

If it is important to you to navigate therough the documents via PS "Title" you can do this by using Find and Replace Dialog -> Other Options -> check "Paragraph Styles"
Comment 8 Jim Raykowski 2025-10-01 22:21:07 UTC
I like Dieter's solution of using the F&R dialog to replace the Title and Subtitle styles with custom styles inherited from these that have outline levels set. I hope the attached video demonstrations help.
Comment 9 Jim Raykowski 2025-10-01 22:22:32 UTC
Created attachment 203092 [details]
style find and replace with custom style example 1
Comment 10 Jim Raykowski 2025-10-01 22:23:21 UTC
Created attachment 203093 [details]
style find and replace with custom style example 2
Comment 11 Heiko Tietze 2025-10-02 09:10:55 UTC
(In reply to George Herson from comment #6)
> ... collection of documents with many titles and subtitles each
Title and subtitle are not headings, you can make it by assigning an outline level - but in this case it would appear in the ToC (unless you exclude the level).

I wonder why each of your documents has _many_ titles and subtitles. Perhaps you need to reconsider the structure. And I hope it is clear why we cannot add some "random" paragraph style to the list of headings. I agree with WF.
Comment 12 George Herson 2025-10-05 20:31:10 UTC
Created attachment 203153 [details]
Writer macro to downgrade headings then sub/titles to headings 1 and 2

This bug, i.e., feature request, can be marked resolved.
Comment 13 George Herson 2025-10-05 20:33:28 UTC
Created attachment 203154 [details]
This file is a testbed for the attached macro.