Bug 148057 - FILEOPEN DOCX Column break disappears in 1 column per page document
Summary: FILEOPEN DOCX Column break disappears in 1 column per page document
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: implementationError
Depends on:
Blocks: DOCX-Page
  Show dependency treegraph
Reported: 2022-03-17 17:19 UTC by Gabor Kelemen (allotropia)
Modified: 2023-07-29 01:06 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

The example file in Word and Writer master (96.63 KB, image/png)
2022-03-17 17:20 UTC, Gabor Kelemen (allotropia)

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2022-03-17 17:19:16 UTC
This is a continuation of bug 146851

When attachment 177662 [details] is opened, there should be a page break before the " 
Schedule 2 Particulars of the Company [and the Subsidiaries]" part around page 24.

1, Open attachment 177662 [details] 
2, Note the layout of the "Schedule 2 Particulars of the Company" text: in Word there is a column break before it, working as a page break, in Writer it is on the previous page of "Schedule 1 Particulars of the Investors and the Founders"

Version: / LibreOffice Community
Build ID: cfd82e7a2cc2b45b738eb0efa0827196d2de61a4
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: hu-HU
Calc: threaded

Started to look like this in 4.4, in range:


of which this commit stands out as suspicious:

author	Miklos Vajna <vmiklos@collabora.co.uk>	2014-10-20 14:43:42 +0200
committer	Miklos Vajna <vmiklos@collabora.co.uk>	2014-10-20 15:23:50 +0200
commit 382bab9412b87f82da82276332496eb28b28d4f3 (patch)

DOCX import: fix <w:pageBreakBefore> wrt. inherited styles

Before the commit range there was a whole empty page in place of the column break, so it was not good either.
Comment 1 Gabor Kelemen (allotropia) 2022-03-17 17:20:07 UTC
Created attachment 178944 [details]
The example file in Word and Writer master
Comment 2 Dieter 2022-03-31 15:24:14 UTC
I confirm it with

Version: (x64) / LibreOffice Community
Build ID: 49f2b1bff42cfccbd8f788c8dc32c1c309559be0
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: zh-CN (de_DE); UI: en-GB
Calc: CL