Summary: | FORMATTING: There is no page count field for different page styles or sections | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Matti Lammi <mattij.lammi> |
Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | ||
Severity: | enhancement | CC: | ahiijny, aschwarz, cno, dgp-mail, florent, heiko.tietze, ngueur, Peter, pierre_aussaguel, rgb.mldc, sdc.blanco, tim.chambers1968, vhann3000+freedesktop |
Priority: | medium | ||
Version: | Inherited From OOo | ||
Hardware: | Other | ||
OS: | All | ||
See Also: |
https://bugs.documentfoundation.org/show_bug.cgi?id=52316 https://bugs.documentfoundation.org/show_bug.cgi?id=50210 https://bugs.documentfoundation.org/show_bug.cgi?id=145072 https://bugs.documentfoundation.org/show_bug.cgi?id=153259 |
||
Whiteboard: | BSA | ||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 108137, 108519, 108576, 108904 |
Description
Matti Lammi
2013-11-13 16:13:05 UTC
I am confirming this bug. Status set to NEW. Severity set to enhancement as this is seeking to implement functionality that has never existed. The related AskLO thread is: http://ask.libreoffice.org/en/question/24941/separate-page-count-for-each-style/ The use of "style" in the title is not entirely accurate. The request is for page counts according to sub-divisions of a document i.e., part, chapter, section, etc. It would seem unlikely that this would based on a page style. I will repeat here what I stated in the related AskLO thread: > There is currently no field available to obtain a page count for a part / > chapter / section within a document as this is not supported by the ODF v1.2 > specification. Instead <text:page-count> (7.5.18.2) relates to the document as > a whole: This is what the ODF v1.2 spec states under 7.5.18.2: > The <text:page-count> element displays the value of the meta:page-count > attribute of the <meta:document-statistic> element of a document. 19.332 One workaround at the moment is to use bookmarks and cross-references as indicated in the description. or a field that counts the total starting from the place where a new page numbering in started (typically that is in the first paragraph of a page with page break before) Add my vote for this feature to be implemented! (In reply to Tim Chambers from comment #3) > Add my vote for this feature to be implemented! Thanks for that! By the way: the only way to vote in our community is by your hands / work ;) *** Bug 105668 has been marked as a duplicate of this bug. *** Changing priority back to 'medium' since the number of duplicates is lower than 5 I would be very interested in this feature too. *** Bug 50210 has been marked as a duplicate of this bug. *** *** Bug 141763 has been marked as a duplicate of this bug. *** Bug 153259 requests a way to exclude pages from counting so one could have a title page, for example, that is not counted for the total number of pages. We should realize this by adding an option to the page style "[x] Include this page style for numbering". It would only partially solve this use case but is a generic and straightforward solution. I hope this bug applies to both the "Page Number" and the "Page Count". I think a very typical use-case is for documents that have several different sections that need to be page-counted completely independently of each-other. For instance, a document can typically have: - Title Page - Table of Contents (ToC) (e.g. covering 3 pages) - Main Body (e.g. covering 100 pages) It would be very useful to be able place the page number and page count (in the footer) the following way: Let's say that the entire document has 700 pages, the Title Page is 1 page, the ToC has 3 pages, and the Main Body has 100 pages (and the remaining pages are appendixes). It should be (easily) possible to show the Page Numbers and the Page Counts the following way: The first page of the ToC shows as: Page i of iii The second page of the Main Body shows as: Page 2 of 100 The most (semi) intuitive way I can think of is by using Page Styles, where there would be a Combo-Box in the Page Style settings for: ( ) Continue page numbering from previous Page Style Section (o) Start new page numbering from [ 1 ] Another (hacky) way would be to allow users to add and subtract numbers from the Page Numbers and the Page Counts, e.g. by adding the following functionality to the "Edit Field" dialog: 1. Allow negative values for "Offset" for the "Page Number". 2. Add the "Offset" option to the dialog for Page Count (Strangely called "Statistics / Pages" instead of "Page Count"), and allow for negative values there too. |