Bug 57725 - FILEOPEN: Forcing page break in middle of table is not possible (causes interoperability problems with DOCX)
Summary: FILEOPEN: Forcing page break in middle of table is not possible (causes inter...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX-Tables
  Show dependency treegraph
 
Reported: 2012-11-30 09:05 UTC by ana
Modified: 2023-03-07 19:02 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Example of page breaks not working (10.08 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2012-11-30 09:05 UTC, ana
Details
Expected page breaks (95.44 KB, image/png)
2012-12-04 08:23 UTC, ana
Details
Expected page breaks (95.44 KB, image/png)
2012-12-04 09:12 UTC, ana
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ana 2012-11-30 09:05:28 UTC
Created attachment 70819 [details]
Example of page breaks not working

Hi,
Page break before doesn't work as expected.
I attached a document with an example of related issue.
Comment 1 Mirosław Zalewski 2012-12-01 12:02:47 UTC
Could you attach image showing expected result?

Also, you did attach file in DOCX format. Is this problem related to reading DOCX (created by MSO), writing DOCX (created by LO) or was this not intended?
Comment 2 ana 2012-12-04 08:23:39 UTC
Created attachment 70987 [details]
Expected page breaks
Comment 3 ana 2012-12-04 08:45:53 UTC
Hello, I attached an image of expected docx opened in ms word
Comment 4 ana 2012-12-04 09:12:25 UTC
Created attachment 70990 [details]
Expected page breaks

sorry, this is the right attachment
Comment 5 Mirosław Zalewski 2013-03-20 12:55:18 UTC
I am changing title to more accurately reflect what this bug is about (or at least what I think this bug is about, because it is still not clear to me). Feel free to change it if you think I missed a point.

I am not sure, but probably fixing this would require to extend OpenDocument specification.
Comment 6 Matthew Francis 2015-04-10 09:11:51 UTC
This has never been supported all the way back to LO / OOo 3.3.0

-> Version: Inherited from OOo
-> Platform: All
Comment 7 tommy27 2016-04-16 07:27:00 UTC Comment hidden (obsolete)
Comment 8 Sven-Jacobi 2016-06-10 13:16:30 UTC
Hi, I can confirm that this issue is still happening on Windows 5.1.3.2
Comment 9 QA Administrators 2017-12-08 08:05:56 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2019-12-11 03:39:17 UTC Comment hidden (obsolete)
Comment 11 Mike Kaganski 2019-12-20 18:17:27 UTC
Of course still here in Version: 6.5.0.0.alpha0+ (x64)
Build ID: ddd1d219beb74f55eefbccc3ab8a8883dd0b4b69
CPU threads: 12; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win; 
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: CL

This is not limited to DOCX, and is missing functionality in LibreOffice. I am not sure if this is an ODF format limitation; I suspect it's just an implementation decision. If format does not explicitly deny fo:break-before="page" in paragraph properties, then allowing it would only require compatibility option.
Comment 12 Mike Kaganski 2019-12-20 18:19:59 UTC
Additional information: in fact, in Word only the first paragraph in a cell may have the "page break before" setting -> actually it's a table row property.
Comment 13 NISZ LibreOffice Team 2020-10-08 13:22:04 UTC
https://docs.oasis-open.org/office/OpenDocument/v1.3/cs01/part3-schema/OpenDocument-v1.3-cs01-part3-schema.html#element-style_table-row-properties

Here it says table-row-properties can have fo:break-before - maybe there is hope.
Comment 14 Roman Kuznetsov 2023-03-07 19:02:09 UTC
Problem is still here

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d7c609dbb1bd08865b43719d2fb7c316d30bcde5
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: CL threaded