[Bug 163646] Tooltip for Headings in Navigator should show a correct word/characters amount if there is nested outline

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Nov 3 22:34:04 UTC 2024


https://bugs.documentfoundation.org/show_bug.cgi?id=163646

--- Comment #9 from Jim Raykowski <raykowj at gmail.com> ---
(In reply to Roman Kuznetsov from comment #8)
> Yes, but 1.2 item should insert the word/chr. amount from 1.2.1 item too.
> Current movie shows 1 item include all words/chrs from all document, but 1.2
> item shows a wrong info for me.
> 
> It should be like this (I used numbers from your movie):
> 
> 1 - 847/5874 (includes all text from 1.1, 1.2 and 1.2.1)
>     1.1 - 236/1628 (includes all text from only 1.1)
>     1.2 - 611/4250 (includes all text from 1.2 and 1.2.1)
>         1.2.1 - 236/1630 (includes all text from only 1.2.1)
I think what is shown in the second demo is what you propose.

375 words for 1.2 is the total number of words from the start of heading 1.2 to
the end of content of heading 1.2.1. The number of words in the 1.2 outline
content is 139 and the number of words in the 1.2.1 outline content is 236.
This is why a count of 375 words is shown for heading 1.2

The current tool tip show these counts for the number of words in each heading:

1 - 236
1.1 - 236
1.2 - 139
1.2.1 - 236

Possibly having both the heading outline count and the total count including
subs headings when there are subs would be of use, something like:

Heading 1
Words: 236/847
Characters: (Heading 1 character count)/(Heading 1 + sub headings character
count)

Heading 1.1
Words: 236
Characters: 1628

Heading 1.2
Words: 139/375
Characters: (Heading 1.2 character count)/(Heading 1.2 + sub headings character
count)

Heading 1.2.1
Words: 236
Characters: 1630

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list