Created attachment 69422 [details]
A comparison of the first page header vs the default header. They render differently even though they are styled identically.
I am writing and application that produces DOCX files using ECMA-376 3rd ed. standard. In the document final section properties (ECMA-376 Section 17.6.17), there can be more than one headerReference element (ECMA-376 Section 17.10.5): one for the first page, one for odd pages, and one for even pages. I specified a first and default (left) page reference. I also specified that there shall be a title page using titlePg (ECMA-376 Section 17.10.6), so my document final section properties look like so:
<w:headerReference r:id="rId2" w:type="first" />
<w:headerReference r:id="rId3" w:type="default" />
<w:pgNumType w:fmt="decimal" />
<w:pgMar w:bottom="1440" w:footer="0" w:gutter="0" w:header="0" w:left="1440" w:right="1440" w:top="1440" />
<w:pgSz w:h="15840" w:w="12240" />
<w:textDirection w:val="lr" />
<w:titlePg w:val="1" />
<w:type w:val="nextPage" />
I have also styled my headers in the style part of the document to be vertically centered in the top margin of the page. The default header renders correctly, however, the first page header renders incorrectly.
The title page, or first page, header is incorrectly displayed. See attached screen shots.
When multiple headers are specified in the document final section properties, they should both be displayed correctly.
Platform (if different from the browser):
Win 7 Home
Browser: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4
Thank you for your bug report, and apologies for not responding to you sooner. I'm not an expert in the particulars of the DOCX file format, but I'm cc'ing one of our developers who has more experience in this area.
It would be helpful if you could attach an example Writer DOCX file that demonstrates this problem (as you show in your screenshot). I suggest that you try downloading a current stable version of LibreOffice (https://www.libreoffice.org/download/) and use that to edit your example file. We've made a lot of progress since 3.5.6, and it's possible that the header rendering issue you're describing has been fixed.
Dear Bug Submitter,
Please read the entire message before proceeding.
This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INVALID due to lack of needed information.
For more information about our NEEDINFO policy please read the wiki located here:
If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed.
Thank you for helping us make LibreOffice even better for everyone!
Dear Bug Submitter,
Please read this message in its entirety before proceeding.
Your bug report is being closed as INVALID due to inactivity and a lack of information which is needed in order to accurately reproduce and confirm the problem. We encourage you to retest your bug against the latest release. If the issue is still present in the latest stable release, we need the following information (please ignore any that you've already provided):
a) Provide details of your system including your operating system and the latest version of LibreOffice that you have confirmed the bug to be present
b) Provide easy to reproduce steps – the simpler the better
c) Provide any test case(s) which will help us confirm the problem
d) Provide screenshots of the problem if you think it might help
e) Read all comments and provide any requested information
Once all of this is done, please set the bug back to UNCONFIRMED and we will attempt to reproduce the issue.
Please do not:
a) respond via email
b) update the version field in the bug or any of the other details on the top section of FDO