Created attachment 174076 [details] 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@gmail.com> 2016-02-04 00:53:01 +0800 committer Mark Hung <marklh9@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
Created attachment 174077 [details] The original file saved by Writer
Created attachment 174078 [details] Screenshot of the original and exported document side by side in Writer
confirm in Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 41f1d389d4b513a7f616542d00fd58268ab5ea07 CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win Locale: en-US (ru_RU); UI: en-US Calc: threaded
Gabor Kelemen committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/5440492ff9f949ee9ed9052e8bab6f5136d78b2a tdf143726 DOCX: export default TOC Header style with correct name It will be available in 7.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Gabor Kelemen committed a patch related to this issue. It has been pushed to "libreoffice-7-2": https://git.libreoffice.org/core/commit/50044ecd89ea039cad4017ea4ccecd79893534de tdf143726 DOCX: export default TOC Header style with correct name It will be available in 7.2.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Verified in: Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community Build ID: c2de581d1943df2d84f2b71817b6a8bee41f0217 CPU threads: 8; OS: Windows 10.0 Build 18363; UI render: Skia/Vulkan; VCL: win Locale: hu-HU (hu_HU); UI: hu-HU Calc: CL