Bug 141561 - DOCX: FILESAVE: Writer adds extra page breaks between pages with tables
Summary: DOCX: FILESAVE: Writer adds extra page breaks between pages with tables
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX-Page
  Show dependency treegraph
 
Reported: 2021-04-08 11:25 UTC by Roman Kuznetsov
Modified: 2022-08-30 01:09 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
ODT example (26.55 KB, application/vnd.oasis.opendocument.text)
2021-04-08 11:25 UTC, Roman Kuznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Kuznetsov 2021-04-08 11:25:16 UTC
Description:
DOCX: FILESAVE: Writer adds extra page breaks between pages with tables

Steps to Reproduce:
1. Open ODT file from attach
2. Save it to DOCX format
3. Open DOCX in MS Word => there are extra empty pages between pages with tables

But you can't see it in Writer! Only in MS Word

Actual Results:
Writer adds extra page breaks between pages with tables

Expected Results:
Writer adds extra page breaks between pages with tables in DOCX format


Reproducible: Always


User Profile Reset: No



Additional Info:
Writer doesn't add extra page breaks between pages with tables in DOCX format
Comment 1 Roman Kuznetsov 2021-04-08 11:25:47 UTC
Created attachment 171031 [details]
ODT example
Comment 2 NISZ LibreOffice Team 2021-04-12 08:19:24 UTC
This is an interesting layout difference.

The tables are in the odt followed by an empty paragraph with 14 pt font size and page breaks, these are exported to docx correctly.

Now the difference seems to be in the rendering of the empty paragraphs:
- in Writer they are rendered on the same page as the table until they are less than 26 pt in size.
- in Word they are rendered on the same page as the table until they are less than 12 pt in size. Manually changing the empty paragraphs font size to 11 pt in Word restores the original layout.

Happens with Word 19 and:

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 7a0e0a84a02f505200331c19b28d45e898cd5a12
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: CL