Bug 108786 - UI: Page count called Pages in Fields dialog
Summary: UI: Page count called Pages in Fields dialog
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: low enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Fields-Page-Count Fields-Dialog
  Show dependency treegraph
 
Reported: 2017-06-26 10:33 UTC by Dieter
Modified: 2018-10-08 07:44 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dieter 2017-06-26 10:33:56 UTC
1. Open the fields-dialog => document
2. Choose the type "page"
3. The selection "page count" is missing, although you can insert a field "page count" via insert => field => page count. That is inconsistent.

By the way: I also would change "page numbers" to "page number" (like in the menu-entry)
Comment 1 Buovjaga 2017-06-28 17:25:33 UTC
Repro.

Arch Linux 64-bit, KDE Plasma 5
Version: 6.0.0.0.alpha0+
Build ID: f808c50c6eece87d515df3b84b1c774395b5d9bc
CPU threads: 8; OS: Linux 4.11; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on June 26th 2017

Arch Linux 64-bit
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 2 Ulrich Moser 2017-11-09 14:26:49 UTC
There is another problem correlated with this.
When I want my page numbering to start with the first page that holds actual content after title page and table of content and I want page numbers on the page formatted like 
page page namber of pages 
pages always contains the total number of pages in the document.
I now you have a title page two pages table of content and maybe an additional page table of figures this results in 4 additional pages. As a result the page numbering on the last page with let's say 9 pages content reads
page 9 of 13
which is irritating for the reader.
The only workaround currently known is to add a textmark at the last paragraph of the the content and use a page referenz to that textmark instead of the pages variable.
Ideally the number of pages of content should be dynamically calculated based on the page marker at the beginning of the area to count.
Comment 3 Thomas Lendo 2018-10-07 21:53:20 UTC Comment hidden (obsolete)
Comment 4 Thomas Lendo 2018-10-07 23:35:28 UTC
(In reply to Ulrich Moser from comment #2)
> There is another problem correlated with this. [...]
Please see bug 50210 and bug bug 71583 for this.

(In reply to Dieter Praas from comment #0)
> 1. Open the fields-dialog => document
> 2. Choose the type "page"
> 3. The selection "page count" is missing, although you can insert a field
> "page count" via insert => field => page count. That is inconsistent.
Sounds easy to rename but I thinks it's more complicated. What's with the other field names (Pages, Tables, etc.)? They also must be renamed for sake of consistency.

> By the way: I also would change "page numbers" to "page number" (like in the
> menu-entry)
See bug 120395.