Bug 133817 - Fileopen DOCX: wrong table height (because of excessive tabs and indent?)
Summary: Fileopen DOCX: wrong table height (because of excessive tabs and indent?)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX-Tables DOCX-Paragraph
  Show dependency treegraph
 
Reported: 2020-06-09 10:47 UTC by Timur
Modified: 2024-11-25 15:19 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
DOCX compared MSO LO (263.52 KB, image/png)
2020-06-09 10:47 UTC, Timur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timur 2020-06-09 10:47:12 UTC
Created attachment 161803 [details]
DOCX compared MSO LO

This is a follow-up of bug 77417. 
Open 4-pages sample DOCX from MSO attachment 157397 [details] and see it's 6 pages in LO 7.1+. 

As noted by NISZ (for the first table FINANCIAL HIGHLIGHTS):
There is a TAB character after the values that is not rendered by Word but is rendered by Writer.
Under 2012 column the After Text indent is 0.45 cm in Writer, but 0.44 cm in Word. Manually adjusting this somehow fixes the line break problem.
Comment 1 Dieter 2020-06-12 10:49:07 UTC
I confirm it with

Version: 7.0.0.0.beta1 (x64)
Build ID: 94f789cbb33335b4a511c319542c7bdc31ff3b3c
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL
Comment 2 NISZ LibreOffice Team 2021-05-21 08:32:22 UTC
This works in Word similar to the tabs over margin thing: if there are extra tabs defined (on the ruler, not autotabs) at the end of the cell, Word ignores them, just like with normal text body lines and tabs that would go over the right margin.

We have a compatibility option for this latter situation, which might serve as inspiration handling this one.

Note: looks like in bug #142404 that the behavior of the page level tabs changed in Word 15, but this example is also from that and does not show a behavior change in Word.
Comment 3 QA Administrators 2023-05-22 03:15:08 UTC Comment hidden (obsolete)
Comment 4 Dieter 2023-05-30 11:25:27 UTC
Still present in

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 4b3d3354119b643ec20aaad187d0a6506ea307fb
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded
Comment 5 Buovjaga 2024-11-25 15:19:22 UTC
Still 6 pages. The crazy thing is that office.com shows it as 11 pages.

Arch Linux 64-bit
Version: 25.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: afa42fcd26d9d8677b246fcc4485a11c50d5d67d
CPU threads: 8; OS: Linux 6.11; UI render: default; VCL: kf6 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 25 November 2024