[Libreoffice-bugs] [Bug 138907] Wrong page numbers in footer when document is opened
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Dec 25 10:06:39 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=138907
--- Comment #7 from Justin L <jluth at mail.com> ---
There are two issues at stake here with Page 2 of 1.
I confirmed the LO 4.3 bibisect of when Page 1 turned into Page 2, at
commit 22355042a6fc7aecf3caab69b3fa3be1430b697f
Author: Michael Stahl on Wed Dec 18 00:12:09 2013 +0100
fdo#72452: ODF import/export: fix handling of style:page-number
Class XMLNumberWithAutoInsteadZeroPropHdl (which appears to be used
only
for this attribute) needs to be adapted to the change that
"PageNumberOffset" value 0 is no longer invalid; use "void" value for
invalid instead, which appears more appropriate anyway.
Unfortunately the type of style:page-number is positiveInteger so
writing 0 would be invalid; write "auto" instead for now.
There may be some strange things going on that I don't know about, but a First
Page style doesn't indicate in any way that it is not page 1. Just because it
doesn't print a page number in a footer doesn't mean it isn't counted as a
page.
If the user wants to restart page numbering at some point, that is done via
page-break-with-style-with-page-number.
So I don't see any bug with this "Page 2" or Michael's commit.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201225/030d1576/attachment.htm>
More information about the Libreoffice-bugs
mailing list