https://bugs.documentfoundation.org/show_bug.cgi?id=166571

            Bug ID: 166571
           Summary: FILEOPEN DOC/X: need to honour "Suppress Space Before
                    After Hard Page Or Column Break"
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: filter:doc, filter:docx
          Severity: minor
          Priority: low
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
            Blocks: 107830, 112682

Created attachment 200788
  --> https://bugs.documentfoundation.org/attachment.cgi?id=200788&action=edit
forum-mso-de-9007.docx: minimimized and emphasized and DOCX'd

Normally, after a regular page break (at least when the page break is the first
"thing" in the paragraph), the top margin is applied after the page break.

However, there is a layout flag in MS Word (Options - Advanced - Layout
Options) to avoid applying any top margin at all around a page or column break.
Although LO somewhat recognizes this suppressSpBfAfterPgBrk flag in both DOC
and DOCX, it is not used or round-tripped. [do CASE-INSENSITIVE searches for
that string in the code base]

Steps to reproduce:
1.) Open forum-mso-de-9007.docx

There should be no real gap between the header and the body text on any of the
pages except for page 5 ("1      Text 1") which shows that top margins still do
apply after a section page break...

Found when investigating why so many examples looked worse after my attempted
fix for related bug 166503. Marking as low/minor priority.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=107830
[Bug 107830] [META] DOCX (OOXML) paragraph-related issues
https://bugs.documentfoundation.org/show_bug.cgi?id=112682
[Bug 112682] [META] DOC (binary) paragraph-related issues
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to