<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Wrong page numbers in footer when document is opened"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=138907#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Wrong page numbers in footer when document is opened"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=138907">bug 138907</a>
from <span class="vcard"><a class="email" href="mailto:jluth@mail.com" title="Justin L <jluth@mail.com>"> <span class="fn">Justin L</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>