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

            Bug ID: 166154
           Summary: FILEOPEN DOCX: Header is missing font size on
                    paragraph
           Product: LibreOffice
           Version: 5.3.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisected, bisected
          Severity: minor
          Priority: low
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
            Blocks: 107830

Created attachment 200325
  --> https://bugs.documentfoundation.org/attachment.cgi?id=200325&action=edit
tdf96172-1.docx_import-compare-2.png: Overlay where RED=Word 2019 and
black=24.8.6

On page 2 of Schindler Excellence.docx (attachment 120911 from bug 96172), the
header should start with an empty paragraph that has a font-size of 22, and no
above spacing (auto spacing).

The size was correct until 5.3 commit 50bf96d31ab2eb546f6c71cc93c1fa5dd4bf3044
Author: Justin Luth on Sat Jun 25 22:21:08 2016 +0300
    tdf#90697 docx - don't change continuous break into page break

which looks like just a side effect that the font-size changed.

The 0.19cm spacing above was finally removed with
24.8 commit 86ad08f9d25110e91e92a0badf6de75e785b3644
Author: Michael Stahl on Thu Feb 1 12:53:07 2024 +0100
    writerfilter: fix missing paragraph break on tdf136445-1.rtf

which also looks like a side effect. Unfortunately, the position of everything
on that page depends on these settings, and it just happened to look perfect
before mstahl's patch. But I'm sure this is not a true regression in either
case - although both might prove helpful code pointers (and bRemove sounds very
suspicious).

Steps to reproduce:
1. Open Schindler Excellence.docx  (attachment 120911)

Notice that the first page header is fine - the font is Arial 22.
However, the header of Converted 1 starts with an empty paragraph with Arial
10, when it should have Arial 22.

Found by Collabora's mso-test


Referenced Bugs:

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

Reply via email to