Created attachment 98923 [details] Test document with a header and a section An odt-document containing a protected section and a header looses the header if saved in Microsoft docx-format. Steps to reproduce: 1. Open the attached file Section Export.odt 2. Save it as docx-file 3. Open it with MS-Word and find that MS Office indeed shows a header in the document, but this header is empty.
Created attachment 98924 [details] The document as shown by LO
Created attachment 98925 [details] The document as shown by MS-Word
Already reproducible using LibreOffice 4.2.4 -> marking as such. I can reproduce it too using Version: 4.3.0.0.alpha1+ Build ID: 48eccfb812284f43ba24c3be3903537ce954944d TinderBox: Win-x86@39, Branch:master, Time: 2014-05-16_00:35:19 Kind regards, Joren
works OK if there is an enter before the section
was OK in 4.0.6, but not in the first 4.1.0 I have available. (would not be surprised if this is related to the changed behaviour in Headings/Footers first&following pages..)
This is not a regression from my testing of 3.3.0, 3.6.7, and 4.0.6, as none of them output a docx that has the header which appears in Word 2013.
I would bibisect this, but I could not reproduce it having ever worked. In addition to Jay Philips' reproductions using MS Word above, converting the sample file to .docx does not result in a header for me on the following versions when reopened with LibreOffice: - 4.0.6.2 release - The start of the 43all bibisect repository (3.5.0) - The end of the 43all bibisect repository - Current 4.5 master -> Setting Version:3.3.0 (as OOo/AOO have never been able to save .docx, this isn't inherited but a genuine day 1 LO bug) -> Removing Whiteboard:bibisectRequest and Keywords:regression Would anyone intending to re-add this as a regression please document their reproduction steps in as much detail as possible.
(In reply to Cor Nouws from comment #5) > was OK in 4.0.6, but not in the first 4.1.0 I have available. Indeed, my test there was wrong. From the files saved in the various versions, I see that I erroneously saved as .odt is stead of .docx. Apologies, Cor
Reproducible with LO 4.4.1.2, Win 8.1
Eilidh McAdam committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=f10ab3425f02a4caea22b2bdbf60a731bd059419 tdf#78606: Write DOCX header even if section is first paragraph It will be available in 5.0.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.
Eilidh McAdam committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=362c1b188d92b29bfcdad9e6c0bad50954131f11 tdf#78606: unittest for docx section header export bug It will be available in 5.0.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.
Hello, Is this bug fixed? If so, could you please close it as RESOLVED FIXED?
indeed fixed
verified in master 20160919