Download it now!
Bug 120522 - FILEOPEN XLSX Wrapped text looks different in Excel and Calc
Summary: FILEOPEN XLSX Wrapped text looks different in Excel and Calc
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.6.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, filter:xlsx, regression
Depends on:
Blocks: XLSX
  Show dependency treegraph
 
Reported: 2018-10-11 16:18 UTC by Gabor Kelemen
Modified: 2019-12-30 07:26 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Excel with wrapped text. (16.17 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2018-10-11 16:18 UTC, Gabor Kelemen
Details
Screenshot of the original document side by side in Excel and Calc (220.44 KB, image/png)
2018-10-11 16:18 UTC, Gabor Kelemen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen 2018-10-11 16:18:16 UTC
Created attachment 145619 [details]
Example file from Excel with wrapped text.

Wrapped text looks different in Excel and Calc, when the row height of the cell is default (15).

Steps to reproduce:

    1. Create a new spreadsheet in Microsoft Excel 2010.
    2. Write something in a cell.
    3. Set the vertical alignment of the cell Middle or Bottom.
    4. On the Home tab, in the Alignment group, click Wrap text.
    5. On the Home tab, in the Cells group, click Format.
    6. Under Cell Size, click Row Height.
    7. In the Row Height box, write 15.
    8. Save the file as XLSX.
    9. Open the same file in LibreOffice Calc.

Actual results:
Microsoft Excel shows top of the text, but LibreOffice Calc shows middle or bottom of the text.

Expected results:
LibreOffice Calc should show top of the text.


LibreOffice details:
Version: 6.2.0.0.alpha0+
Build ID: 94bf82a8ceba41c32cf3620529e6ce8ea94f18c0
CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-10-08_01:10:23
Locale: en-US (hu_HU); Calc: threaded
Comment 1 Gabor Kelemen 2018-10-11 16:18:44 UTC
Created attachment 145620 [details]
Screenshot of the original document side by side in Excel and Calc
Comment 2 Buovjaga 2018-11-23 18:48:31 UTC
Bibisected on Ubuntu 14.04 with 43all repo to range https://gerrit.libreoffice.org/plugins/gitiles/core/+log/cac1f33e839469d884730350e46a21d92fb442f2..9afb6e1e38c362a768e8e981f7b03cf8bcaf22cf

Probably https://gerrit.libreoffice.org/plugins/gitiles/core/+/764752f5d85cb7c86ad21340dfdda4b62754790c%5E%21/

better import xlsx heights

don't call UpdateAllRowHeights when IsAdjustHeightEnabled property is set and additionally set manual heights for *all* imported row heights ( same afaics xls import does ) - certainly this improves import ( also see documents attached in i#94028, i#93609 )

No other regression report found blaming the commit.
Comment 3 QA Administrators 2019-12-10 04:03:48 UTC Comment hidden (obsolete)
Comment 4 Roman Kuznetsov 2019-12-30 07:26:42 UTC
still repro in

Version: 6.5.0.0.alpha0+ (x64)
Build ID: 42a1a1c6b91907f81e15066ffab219411f18c4db
CPU threads: 4; OS: Windows 10.0 Build 18362; UI render: default; VCL: win; 
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: threaded