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: 2021-05-21 08:32 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:
Regression By:


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.