[Bug 35694] "Page number" automatic field stops counting before last page if offset >0 (see comment 22)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Mar 25 12:59:46 UTC 2024


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

--- Comment #69 from Eyal Rozenberg <eyalroz1 at gmx.com> ---
(In reply to Mike Kaganski from comment #68)

(not continuing the discussion about how "real" page numbers are set.)

> Note that the wish to show numbers outside of the existing
> range is wrong *in principle*. There is bug 149480; please think about it.
> The page field must not show any "random" number: it must show the number
> *flexibly* assigned to a specified page. Only having that page physically,
> can you know what page number is assigned to it - it could be an arbitrary
> number, say, 1 again (because user specified that manually). Its type may be
> arbitrary, say, Roman or Arabic.

That logic applies is when the user wants to cross-reference a different page.
What most users want when setting the offset field - and what motivates this
bug report and its 12 (!) dupes - is to show the number of the _current_ page,
but with an offset. In other words, users want (and are told by the UI that
they will get):

ApplyOffset(GetNumberOf(CurrentPage()), N )

while the behavior the spec allows us to offer using the page-adjust attribute
is:

GetNumberOf(ApplyOffset(CurrentPage(), N))

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


More information about the Libreoffice-ux-advise mailing list