Issue 10611 - Style / renumbered correct "Page Count" field (page count for sections)
Summary: Style / renumbered correct "Page Count" field (page count for sections)
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 1.0.1
Hardware: All All
: P4 Trivial with 5 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: oooqa, rfe_eval_ok
Depends on:
Reported: 2003-01-12 10:05 UTC by mortoray
Modified: 2013-08-07 14:38 UTC (History)
2 users (show)

See Also:
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description mortoray 2003-01-12 10:05:41 UTC
Currently the "Page Count" field retrieves the number of pages in the entire document.  This is not a useful behaviour when a document contains many different page styles and involves page renumbering (that is, if you wish to show X of Y page count on the bottom of a page, you cannot do this with the "Page Count" field).

I would like to request a "Relative Page Count" field that is capable of producing the correct page numbers with repest to renumbering.

Pages 1: Title page, First Page Style, Logical Number=1
Pages 2-3: Contents pages, Body Style, Logical Numbers=1-2
Pages 4-10: Body pages, Body Style, Logical Numbers=1-6
Pages 11-12: Index pages, Index Page Style, Logical Numbers=1-2

The desired counting field "Relative Page Count", by example would be:
Page 1: (Not seen, hidden)
Page 2:  Page i of ii
Page 4:  Page 1 of 6
Page 11: Page a of b

Currently you can only achieve the following (unless there is something I'm unaware of) using "Page Count"
Page 1: (Not seen, hidden)
Page 2: Page i of xii
Page 4: Page 1 of 12
Page 11: Page a of m

Note: My example is actually simpler than reality as I've ommited the blank pages that are inserted to keep odd numbers on the right page.
Comment 1 h.ilter 2003-01-15 16:12:16 UTC
Reassigned to BH
Comment 2 eric.savary 2003-04-16 15:34:57 UTC
Set to "NEW"
Comment 3 lohmaier 2003-07-01 22:28:33 UTC
setting target-milestone, adjusting priority, platform/os->all,
added "page count for sections" to summary
Comment 4 bettina.haberer 2003-10-24 14:11:41 UTC
Hello Andreas, in principle this is a good idea, but seems not to be
an easy and quick implementation. Could you please give an estimation
concerning the target ('Q' or later)? Thank you.
Comment 5 andreas.martens 2003-11-21 11:56:27 UTC
We don't plan this for Q, Please set to "Later".
Beside this I'm just wondering if the proposal is sufficent. I can
imagine that I choose different page styles at my "document body"
pages but I wanna count it together:
Pages 4-6: Body pages, Body Style, Logical Numbers=1-3
Pages 7: Body pages, Special Style "Rotated", Logical Numbers=4
Pages 8-10: Body pages, Body Style, Logical Numbers=5-7
Comment 6 bettina.haberer 2003-11-25 09:53:55 UTC
Target Milestone set to 'Office later'.
Comment 7 gobnat 2004-10-26 07:59:53 UTC
I agree with the original poster. 
The natural result I expect of a page count is to count the pages which "ought
to be counted", not to count every page (eg contents pages, title pages etc). 
The page count function will always fail if there are any pages which "ought not
to be counted".  

Comment 8 rabauke 2005-01-09 14:33:53 UTC
How many essays start with a title page, i.e. page number 1 not being 
page-number 1 but page-counting starting on page number 2 or 3? I think that 
>95% of essays written, start page-counting on page 2 or 3, so for all those 
the page count field is useless! Yet having page x of N is a trivial standard 
feature almost everybody writing an essay wants to use. 
If one thinks about the amount of essays written around the world day by day 
this seems to something not meant to be OOo Later but OOo yesterday. 
Comment 9 andreas.martens 2005-01-18 12:04:09 UTC
This is a work-around for your problem:
Please set references at the last page of your sections. In your example at the
last paragraph of page 3, page 10 and page 12.
Now you're able to insert references to these reference points and you're able
to choose the number "as page style".
=> You got your wished i of ii, 1 of 6, a of b!
Comment 10 bubi1311 2007-12-12 14:30:27 UTC
I'm new and I hope that this comment-box is the right place for my comment about
issue #10611:
I prefere OpenOffice against MS Word and all the others. I use it since the
beginning and have had the problem especially when I've to write essays.
Ok, I've just found one solution for the problem: I've used MS Office. And
believe me, I don't like to use it, I prefere oO, but this issue is a major
problem and should be solved.
It's possible to see the PAGENUM-function in MS Word and you can do math with
it. It's quite easy, no hidden text, no references and it's dynamic because you
can add pages of the main part without moving reference-tags around. 
Maybe it's possible to implement this kind of comfortable workaround?
Otherwise I've to write my bachlor-essay in MS Word :-(

As a conculsion: Yes, it's right, is my personal opinion and there might be some
other (real) major bugs and feature requests which have to be solved first. 
But, I've hoped that I have not to write the following words: This this case, MS
Word is better than my loved oO.

Best regards,

Comment 11 bettina.haberer 2010-05-21 14:55:37 UTC
To grep the issues easier via "requirements" I put the issues currently lying on
my owner to the owner "requirements".