Bug 93213 - DOCX import table: tailing spaces displayed while apparently ignored in Word
Summary: DOCX import table: tailing spaces displayed while apparently ignored in Word
Status: VERIFIED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX-Tables
  Show dependency treegraph
 
Reported: 2015-08-06 20:11 UTC by augustz
Modified: 2018-03-18 09:45 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Image showing the comparison between the two tables (110.64 KB, image/png)
2015-08-06 20:11 UTC, augustz
Details
Test document (16.11 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2015-08-06 20:12 UTC, augustz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description augustz 2015-08-06 20:11:35 UTC
Created attachment 117723 [details]
Image showing the comparison between the two tables

When importing tables formatted with styles extra space develops in LibreOffice that is not in Word.
Comment 1 augustz 2015-08-06 20:12:38 UTC
Created attachment 117724 [details]
Test document
Comment 2 Cor Nouws 2015-08-08 13:40:48 UTC
Hi August,

Thanks for the report and the sample file.
The alignment in column 2014 of row 1 and Total is caused by tailing spaces.
Apparently Word ignores tailing spaces (there is a similar issue for tailing tabs in footers, IIRC)

I set this to knew for that.
I've no idea about the top row with 2014 and 2015. That should be a separate issue. Maybe report separately too?

Cheers,
Cor
Comment 3 Cor Nouws 2015-08-08 13:42:04 UTC
I see the same problem in 3.3.0, so it is inherited from OOo.
Comment 4 QA Administrators 2016-09-20 10:20:54 UTC Comment hidden (obsolete)
Comment 5 eisa01 2018-03-18 09:32:02 UTC
This renders similarly in Word and LO for me

Version: 6.1.0.0.alpha0+
Build ID: 8e8dd8f320a3ff59ff8a16c1a7a867888ce80700
CPU threads: 2; OS: Mac OS X 10.12.6; UI render: default; 
TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2018-03-13_23:59:29
Locale: en-US (en_US.UTF-8); Calc: group
Comment 6 Eyal Rozenberg 2018-03-18 09:45:39 UTC
(In reply to eisa01 from comment #5)
> This renders similarly in Word and LO for me

For me as well, LO rendering seems extremely similar/identical to the MS Word rendering in the attached image.

Version: 6.0.2.1
Build ID: f7f06a8f319e4b62f9bc5095aa112a65d2f3ac89
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk2; 
Locale: he-IL (en_US.UTF-8); Calc: group