Apache OpenOffice (AOO) Bugzilla – Issue 24889
Page count field saved or loaded as Page number
Last modified: 2017-05-20 11:22:17 UTC
Hi I'm editing a document with openoffice 1.1 (debian/sid). In the footer, I inserted the page count and page number fields to get page numbering as: <page number> / <pages count> When I save, close openoffice, restart and load the document, the pages count fields appears as page number. I have tried to reproduce it from a new document but failed. Therefore you'll send a guilty document to whoever will ask me (or join it if join pieces are accepted). Regards.
Created attachment 12778 [details] File for which the page count in the footer appears as page number
HI->ES: Could not reproduce, maybe you can.
If you couldn't reproduce with the joined file you should close the bug. From a new document, I can't reproduce the bug. But with the joined one it is reproduced at 100%. I suspect it's because this document has been imported for openoffice 1.0
It appears that can only be reproduced with the French version. The fields page / page count are correct. It's only (!!!) the display of Page count which is wrong. I'll try to find out what's wrong...
Ok, I got it (I think)! ES->xordoquy First of all, I thought it was a bug in the French build only. Wrong. It exists in English zoo. The bug is that the field simply doesn't update on load. Press F9 and it will be updated. ES->OS: the update fails due to the combination of settings: - fields are in a frame which is itself in the footer - footer is set to "AutoFit Height" - Frame anchored as character I could reproduce it from scratch with a new document.
I am using OO writer 1.1.0 (debian/sid). I added a footer with "Page <page> of <count>" type entry. It seemed to work in OO writer (the file was saved as MS-Word 97/2000/XP doc format). I later editted the document in MS-Word 97 (MS-Windows NT 4 + Citrix). I noticed the page count field was not working. It displayed a constant '1'. eg. Page 3 of 1. I deleted the field and re-added the page count field in MS-Word and continued editing. I then edited the document in OO writer again and noticed that the page count field was now working. Opening the document in MS-Word again show the same fault: eg. Page 3 of 1. MS-Word does not update the page count field until printing or print preview it seems, so there is no fault.
In my case, I never tried to save the document to any other format than sxw. Moreover, the trouble is a bit different from what your reporting. The total page field isn't locked to 1 but is the same as the page number. However, I my case, updating (F9) fixes the total page number field. There's no need to delete and reinsert it.
I can't see the need for OOo 2.0 -> set to OOo later
Reset assigne to the default "issues@openoffice.apache.org".