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

--- Comment #5 from ajlittoz <page74010...@yahoo.fr> ---
(In reply to Heiko Tietze from comment #3)
> Besides introducing a standard approach to not count pages with a certain
> style, I wonder if we should also consider bug 71583 "There is no page count
> field for different page styles or sections", which requests "page 1 of 10"
> for one part of the document and another "page 1 of 10" for a different part.

I read the request in bug 71583 but the suggestion of creating a field
page-count-for-style does not solve the question for counting pages in chapters
or parts, at least for me. My chapters are all laid out with the same page
style with "dynamic" header and footer, thanks to fields. A style-page-count
field would give me the total number of pages consumed by all chapters.

In addition what constitutes a "part" has as many definitions as there are
users. The only common criterion is: a part starts with a page break and ends
with a page break. Consequently we could have a new setting in the manual page
break dialog to restart page count. Related to this, a new field needs to be
defined to return the value of the current part page count.

We have then three fields:
-1- the present Page Count field returning the effective total number of pages
(related to document statistics, according to ODF)
-2- a field omitting the pages excluding from the count
-3- a field for the current "part" defined by the aforementioned setting in the
page break dialog

-2- covers the request for "This books contains x pages", not counting covers
et al.
-3- covers the request for chapters

However, it is not possible to have "My document is 132 pages long including 14
appendix pages." because there is presently no way to capture a field value
into a variable. This could be another enhancement request.

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

Reply via email to