Created attachment 168591 [details] attachment #168524 [details] saved by current Writer This is split off from bug #139266 The attachment there contains two pages (caused by a footnote inside a two column section), but after saving to DOCX Word 2013 displays it as a single page document. Steps to reproduce: 1. Open attachment #168524 [details] 2. Save as docx, reopen in Word 2013+ Actual results: Document is one page in Word 2013+ Expected results: Document should be two pages. LibreOffice details: Version: 7.2.0.0.alpha0+ (x64) Build ID: c0eee433e079d8e3413f4691607e075b99af92b0 CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: CL Additional Information: Bibisected using bibisect-win64-7.0 to: URL: https://cgit.freedesktop.org/libreoffice/core/commit/?id=f25985c55541cbbc9a4fc79e660592d3d0485196 author Justin Luth <justin.luth@collabora.com> 2020-03-13 07:14:29 +0300 committer Miklos Vajna <vmiklos@collabora.com> 2020-03-18 09:29:03 +0100 tdf#131304 .docx: flag new files as MS Word 2019 native mode Adding CC to: Justin Luth
Created attachment 168592 [details] Screenshot of the original and exported document side by side in Word and Writer
There really is nothing in the document that indicates a second page should exist. It happens to do so in LO because it decided to expand the column to the entire page since it includes a footnote. Take the footnote away, and the column shrinks and everything fits on one page. I would probably consider the fact that the ODT takes up two pages to be a LO bug. And it seems like Word came to that same conclusion for 2013.
Created attachment 168782 [details] DEMOA-LO72.pdf: exported from Word 2010 - two pages, no divider line. Well, although I don't intend to do anything about this, I can certainly confirm that this problem exists, and allowing both possibilities depending on the compatibilityLevel would increase interoperability with MS Word. This is primarily a layout issue I assume. One thing to note is that LibreOffice draws the column divider all the way down the page. Word doesn't draw the divider line until some content exists in the second column - but then in Word 2010 it did draw the line down the entire page.
(In reply to Justin L from comment #3) > Created attachment 168782 [details] > DEMOA-LO72.pdf: exported from Word 2010 - two pages, no divider line. > > Well, although I don't intend to do anything about this, I can certainly > confirm that this problem exists, and allowing both possibilities depending > on the compatibilityLevel would increase interoperability with MS Word. > > This is primarily a layout issue I assume. > > One thing to note is that LibreOffice draws the column divider all the way > down the page. Word doesn't draw the divider line until some content exists > in the second column - but then in Word 2010 it did draw the line down the > entire page. Moving to NEW
(In reply to Justin L from comment #2) > I would probably consider the fact that the ODT takes up two pages to be a > LO bug. And it seems like Word came to that same conclusion for 2013. That is bug 54465 then.
Attila Szűcs committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/4c31b4ef2083087a822c3ae648fd09acc67d2f88 tdf#139336 sw: fix extra pages of multicolumn sections with footnotes 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.
Verified in: Version: 7.3.0.0.alpha1+ (x64) / LibreOffice Community Build ID: 73334560b2dd2d60ac58d2cc2b1a5295490b03e1 CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: default; VCL: win Locale: hu-HU (hu_HU); UI: hu-HU Calc: threaded
Attila Szűcs committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/41cc1d2c0c0c3bfa5ba341311f68df05375859fb tdf#54465 tdf#139336 sw: add compat. flag for footnote in column It will be available in 7.4.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.
Attila Szűcs committed a patch related to this issue. It has been pushed to "libreoffice-7-3": https://git.libreoffice.org/core/commit/8a82c6f3f1e85c941ac05b48416450cec813a04e tdf#54465 tdf#139336 sw: add compat. flag for footnote in column It will be available in 7.3.0.0.beta2. 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.