https://bugs.freedesktop.org/show_bug.cgi?id=56665
Priority: medium
Bug ID: 56665
Assignee: [email protected]
Summary: FORMATTING: Office Open XML page header rendering does
not conform to ECMA-376 standard.
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
Version: 3.6.3.2 release
Component: Writer
Product: LibreOffice
Created attachment 69422
--> https://bugs.freedesktop.org/attachment.cgi?id=69422&action=edit
A comparison of the first page header vs the default header. They render
differently even though they are styled identically.
Problem description:
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:sectPr>
<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" />
</w:sectPr>
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.
Current behavior:
The title page, or first page, header is incorrectly displayed. See attached
screen shots.
Expected behavior:
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
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs