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

            Bug ID: 164908
           Summary: FILEOPEN DOCX: heading 1 no longer centered (despite
                    direct formatting)
           Product: LibreOffice
           Version: 24.2.4.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisected, bisected
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
            Blocks: 107830

Created attachment 198836
  --> https://bugs.documentfoundation.org/attachment.cgi?id=198836&action=edit
forum-mso-de-132466.docx: example file

One page 3, the heading "Chapter 1" is not centred (nor Chapter 2 etc.).

>From 24.8 (backported to 24.2.4) commit
ab1697cb4c17fd7a2fbf8d374ac95fc03b4d00be
Author: Michael Stahl on Fri May 3 12:12:24 2024 +0200
    tdf#160402 filter,writerfilter: import locale-dependent STYLEREF names

Something funny must be going on. Direct formatting of "center" is pretty
clear.
  <w:pPr>
    <w:pStyle w:val="berschrift1"/>
    <w:jc w:val="center"/>
  <w:rPr>

w:style w:type="paragraph" w:styleId="berschrift1">
  <w:name w:val="heading 1"/>

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