https://bugs.freedesktop.org/show_bug.cgi?id=57908

          Priority: medium
            Bug ID: 57908
          Assignee: [email protected]
           Summary: Margins, header/footer spacing imported incorrectly
                    from .doc
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: x86 (IA32)
            Status: UNCONFIRMED
           Version: 4.0.0.0.alpha0+ Master
         Component: Writer
           Product: LibreOffice

The bugdoc for fdo#56513 exhibited a secondary import problem.  This item is
picking that up:

To reproduce:
1. Open the .doc sample attached to fdo#56513
2. Observe that the second page header and footer are positioned further from
the edge than on other pages: the top/bottom margin and the header/footer
spacing have different values on this page than other pages

Expected output: the vertical position of headers and footers on all three
pages should be the same

Explanation: The second page is the start of a second section, whose header and
footer are set as "Different First Page" *and* "Link to Previous" in Word. 
When LibreOffice imports this section, it thinks there is no header or footer
on this page, because (rSection.maSep.grpfIhdt & WW8_HEADER_FIRST) is not set
(same for footer) and so imports margins accordingly.  It seems that this flag
is only set in the .doc file if the section actually includes its own header,
as opposed to being linked to the previous section's header.

-- 
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

Reply via email to