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

            Bug ID: 166320
           Summary: Page count in range UX improvement
           Product: LibreOffice
           Version: 25.8.0.0 alpha0+
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

For the new "Page count in range" field in Writer it is required to have a page
break with style change and page number reset in order for it to work.

This is not obvious for the user. We need to improve the user experience here.

I suggest the following improvements when a user tries to insert that field:

Case #1: Only one page style exists in the document
-> Display message box to explain that a page break with page number reset must
be added in order for this field to work. Don't insert it.

Dialog:
"This field only works if there is a page break with a change of page style in
the document. In addition, the page number must be reset in the page break."
[OK]

Case #2: _One_ Page break with page style change exists, but no page number
reset was done
-> Ask to add page number reset to existing page break. Only insert field when
user agrees to add the page number reset.

Dialog:
"This field requires a page number reset on the page break. Do you want to
reset the page number to 1 on the existing page break with the page style
“$PageStyle”?"
[Cancel] [OK]

Case #3: _Multiple_ page breaks with page style changes exist, but no page
number reset was done.
-> Ask to add page number reset to the nearest page break (search backwards
first, then forward). Only insert field when user agrees to add the page number
reset.

Dialog:
"This field requires a page number reset on the page break. Do you want to
reset the page number to 1 on the nearest page break with the page style
“$PageStyle”?"
[Cancel] [OK]

Case #4: At least one page break with a page number reset exists in the
document
-> Just insert the field

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

Reply via email to