[Libreoffice-bugs] [Bug 143726] New: FILESAVE DOCX TOC Heading style changes name on save

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Aug 4 15:12:50 UTC 2021


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

            Bug ID: 143726
           Summary: FILESAVE DOCX TOC Heading style changes name on save
           Product: LibreOffice
           Version: 5.2.0.4 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisected, bisected, filter:docx, regression
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: libreoffice at nisz.hu
                CC: marklh9 at gmail.com, nemeth at numbertext.org,
                    varga.balazs3 at nisz.hu
            Blocks: 104524

Created attachment 174076
  --> https://bugs.documentfoundation.org/attachment.cgi?id=174076&action=edit
Example file from Writer

When a new TOC is inserted to a Writer document its title gets the “Contents
Heading” style.
When saved as docx this name is changed to “TOA Heading” which belongs to a
different object, a “Table of Authorities” in Word.
This could cause roundtrip issues in case bug 143722 is fixed.

Steps to reproduce:
    1. Open attached example file
    2. Notice the TOC heading has “Contents Heading” style
    3. Save as DOCX, reopen

Actual results:
The TOC heading has now “TOA Heading” style.

Expected results:
TOC heading keeps its “Contents Heading” style.

LibreOffice details:
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: ad1b12686da88bea57582df10fa85268ada209b8
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: CL

Also in 7.0, 6.0, 5.2.
Not yet in 5.1.

Additional Information:
Bibisected using bibisect-win32-5.2 to:
URL:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=78284714b73a8307174c596295894e8f3951e09a 

author  Mark Hung <marklh9 at gmail.com>   2016-02-04 00:53:01 +0800
committer       Mark Hung <marklh9 at gmail.com>   2016-02-13 15:22:52 +0000
commit  78284714b73a8307174c596295894e8f3951e09a (patch)

tdf#76817: fix missing heading styles assigned to outline levels in ooxml

Adding CC to:  Mark Hung


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=104524
[Bug 104524] [META] DOCX (OOXML) Table of Contents (ToC) and Index related
issues
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210804/2d23cde4/attachment.htm>


More information about the Libreoffice-bugs mailing list