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

            Bug ID: 160203
           Summary: Add ability to reference total number of list items
           Product: LibreOffice
           Version: 7.6.5.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
At present, there is no way to insert the total number of elements of a list as
a field variable. E.g.:

There are X examples, as per the following list:

1. A
2. B
3. C
4. D.

There is a kludge: Fields | Cross-references | Numbered Paragraphs, and insert
a cross-reference to the current final element of the list. For this kludge to
work, however, one must always make sure the current final element remains the
final element, only ever inserting new elements before it, which forces manual
adjustment by cutting and pasting the existing final element into a newly
inserted list element.

In order to properly implement this, it would seem that lists, which are
currently all lumped under Fields | Cross-references | Type: Numbered
Paragraphs, would have to be individually named or numbered in order to be
disambiguated so that their individual total number of elements could be
displayed.

Steps to Reproduce:
1. Go to Fields | Insert Cross-references | Type: Numbered Paragraphs.


Actual Results:
No option to insert a reference to the total number of numbered paragraphs.

Expected Results:
An option to insert a reference to the total number of numbered paragraphs.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.5.2 (X86_64) / LibreOffice Community
Build ID: 38d5f62f85355c192ef5f1dd47c5c0c0c6d6598b
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render:
Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to