<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Starting document with Left Page style doesn't use "first" header/footer."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=135338">135338</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Starting document with Left Page style doesn't use "first" header/footer.
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.0.0.3 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>trivial
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Writer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jluth@mail.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=163802" name="attach_163802" title="firstWhen.odt: Initial page uses the normal left footer, not the first page footer.">attachment 163802</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=163802&action=edit" title="firstWhen.odt: Initial page uses the normal left footer, not the first page footer.">[details]</a></span>
firstWhen.odt: Initial page uses the normal left footer, not the first page
footer.
When using the alternating Left/Right page styles, each page always uses the
"first" headers and footers. That's fine. But if (strangely) you BEGIN the
document with the left page style (i.e. start with page 2), that page shows the
"Left" h/f instead of "FirstLeft".
This has always been the case AFAICS. However, it works for "Right Page".
Support for the first h/f seemed to arrive in LO 6.0 with
commit bff8cd3d52223002263dcb8c09758c4fc753b6e3
Author: Luke Deller on Wed Jul 12 23:56:50 2017 +1000
<a class="bz_bug_link
bz_status_VERIFIED bz_closed"
title="VERIFIED FIXED - ODF: LibreOffice writes invalid element <style:header-first>"
href="show_bug.cgi?id=109080">tdf#109080</a> First page header/footer ODF (1/2)
The proposal to add <style:header-first> / <style:footer-first>
to the ODF standard has not yet been accepted, so meanwhile we
should be using an extension namespace for these elements.
This first commit (intended for backport) adds support for reading
<loext:header-first> / <loext:footer-first>
This is a trivial problem. I only note it because it doesn't export to DOCX
that way, so there is an inconsistency. The DOCX version ends up being the way
I would expect it to be (always showing the first h/f, even on the first page).
If any page was to show the "first" h/f, I would expect it to be the first page
in the document.
VERY IMPORTANT: The UI for a left-page-only style doesn't allow you to change
the settings to allow for a separate first page. (But that can be worked around
by temporarily changing the style to be for right and left.) However, if
separate ones are defined, it does honour that. So the difficulty in making
this kind of problematic document makes this odd behaviour even less important.
Steps to reproduce
1.) just open firstWhen.odt.
Notice that the initial page has the footer is "left/even". Now look at the
rest of the pages. They all start with the "first" footer for their page style.
So why is the first use of Left Page different from the other times?
Hmm. sw/source/core/layout/newfrm.cxx::Init
// Create a page and put it in the layout
// The first page is always a right-page and always a first-page</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>