Steps: 1) Open attachment 133132 [details] 2) Export to docx 3) Unzip the docx and open up /word/styles.xml 4) Notice that heading styles will have 2 outline tags, like below. <w:style w:type="paragraph" w:styleId="Heading1"> <...> <w:pPr> <...> <w:outlineLvl w:val="0" /> <w:outlineLvl w:val="0" /> </w:pPr> <...> </w:style> Regression as this doesnt happen in 4.1. Version: 5.4.0.0.alpha0+ Build ID: 74ccd02eda2d6325a27266fd935aba29b3d75020 CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2; TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-04-27_23:51:14 Locale: en-US (en_US.UTF-8); Calc: group
Yep. Arch Linux 64-bit, KDE Plasma 5 Version: 5.4.0.0.alpha1+ Build ID: c0968aa4673a8ac9a8a09a0e291b58b94bdbb35e CPU threads: 8; OS: Linux 4.10; UI render: default; VCL: kde4; Locale: fi-FI (fi_FI.UTF-8); Calc: group Built on May 13th 2016
This seems to have begun at the below commit. Adding Cc: to Miklos Vajna ; Could you possibly take a look at this one? Thanks 03f833537e4020e3af49756998394c2a33bd06fc is the first bad commit commit 03f833537e4020e3af49756998394c2a33bd06fc Author: Matthew Francis <mjay.francis@gmail.com> Date: Sat Sep 5 21:43:21 2015 +0800 source-hash-fd2d14d5543c82eb875e720c98b51518699a8fbc commit fd2d14d5543c82eb875e720c98b51518699a8fbc Author: Miklos Vajna <vmiklos@collabora.co.uk> AuthorDate: Fri Oct 4 10:18:22 2013 +0200 Commit: Miklos Vajna <vmiklos@collabora.co.uk> CommitDate: Fri Oct 4 10:20:30 2013 +0200 Implement DOCX export of paragraph outline level
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=fe13c249c8964355e39869a357c393f3208b6def tdf#107684 DOCX export: fix duplicated <w:outlineLvl> element for styles It will be available in 5.5.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Miklos Vajna committed a patch related to this issue. It has been pushed to "libreoffice-5-4": http://cgit.freedesktop.org/libreoffice/core/commit/?id=287a33e5dadba7b284bbc1f25336c8bf0a6324de&h=libreoffice-5-4 tdf#107684 DOCX export: fix duplicated <w:outlineLvl> element for styles It will be available in 5.4.0.1. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Miklos Vajna committed a patch related to this issue. It has been pushed to "libreoffice-5-3": http://cgit.freedesktop.org/libreoffice/core/commit/?id=35e62d9e649badfe00d0b8ea4c307d3fbbda735c&h=libreoffice-5-3 tdf#107684 DOCX export: fix duplicated <w:outlineLvl> element for styles It will be available in 5.3.5. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.