For documents saved in the MS Word DOC/XML formats the page numbering resets to 1 whenever the starting page number is set above 255 when set via the following:
[x] Insert [Type: Page Position: Before]
[x] With Page Style [Type: Default Page Number: 255]
Similar behavior is present in documents saved in the RTF and DocBook XML formats. Lastly, documents saved in the UOT format became completely corrupted.
How to repeat:
1) create a new multi-page MS Word DOC or XML document using default settings
2) modify style of first paragraph on first page as described above, setting
the starting page number to 255.
3) enable "Footer On" in first page style if needed
4) insert "Page Number" field in footer of first page
5) observe that all document pages display Page Number field in
footer area and are numbered sequentially starting at 255
6) save and close document
7) reopen document; page numbering should still start at 255
8) modify style of first paragraph on first page again, setting the
starting page number to 256. Save and close document.
9) reopen document; page numbering has reset, starting at 1
Oddly enough, documents saved in MS Word DOCX format did not appear to suffer from this bug. This bug has also been found in current stable version of Apache OpenOffice Writer (re: https://issues.apache.org/ooo/show_bug.cgi?id=124032 ).
Tested using "typical" install on Windows XP.
(from Help>About LibreOffice)
Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba71
What do you mean by "MS Word DOC or XML" format ? In the dropdown list of formats when I do File > Save as..., I get "Microsoft Word 2003 XML (.xml)" and "Microsoft Word 97/2000/XP/2003 (.doc)"
That said I did a doc with LibreOffice 4.2.0 (Linux) in OpenDocument (.odt) format starting at page 256 with the page number field in the footer and :
- if I save this document in "Microsoft Word 2003 XML (.xml)", the xml file loose the footer on the first page and the page number on the second one is 2.
- if I save the ODF document in "Microsoft Word 97/2000/XP/2003 (.doc)" the page number in the first page is 0.
So set the status to NEW.
Created attachment 93177 [details]
test doc in ODF with starting page at 256
** Please read this message in its entirety before responding **
To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.
There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.
If you have time, please do the following:
Test to see if the bug is still present on a currently supported version of LibreOffice (4.4.2 or later)
If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System
Please DO NOT
Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case)
If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3)
2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword
Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa
Thank you for your help!
-- The LibreOffice QA Team This NEW Message was generated on: 2015-05-02
The bug appears to still be present when saving to the following formats:
MS Word 2003 XML (.xml) **
MS Word 97/2000/XP/2003 (.doc)
MS Word 97/2000/XP/2003 Template (.dot)
** does not even keep footer display changes
Used "test_page256.odt" uploaded by Jean-Baptiste Faure as starting point.
Installed Libreoffice version/build:
Build ID: c4c7d32d0d49397cad38d62472b0bc8acff48dd6
% uname -smrvpio
Linux 3.11-2-amd64 #1 SMP Debian 3.11.8-1 (2013-11-13) x86_64 unknown unknown GNU/Linux
Oliver Specht committed a patch related to this issue.
It has been pushed to "master":
tdf#74328: loading section page no. as 16 bit unsigned
It will be available in 5.2.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
*** Bug 44350 has been marked as a duplicate of this bug. ***