Bug 134707

Summary: FILEOPEN XLSX : Set the alignment of the text and the text is compressed
Product: LibreOffice Reporter: NSO LibreOffice Team <leiyang>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: buzea.bogdan, suokunlong, xiscofauli
Priority: medium    
Version: 4.4 all versions   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=130104
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 108252    
Attachments: Example file
Comparison MSO 2010 and LibreOffice 7.1 master

Description NSO LibreOffice Team 2020-07-10 03:02:20 UTC
Created attachment 162871 [details]
Example file

Description:
I'm using LibreOffice 6.4.4.2 in the China locale, finding a compatibility bug. I'll try to be as clear as possible in the description.
Open the xlsx document, merge cells, set the font alignment (vertical text, top alignment, right alignment, auto wrap), close the document, open with lo, and find that the text is compressed.


Steps to Reproduce:
1.Open the xlsx document, merge cells
2.set the font alignment -> vertical text -> top alignment -> right alignment -> auto wrap -> Input text.
3.Save and close the document
4.open with lo, and find that the text is compressed.

Actual Results:
open with lo, and find that the text is compressed.


Expected Results:
Open the document and require the alignment of the text to be preserved 


Reproducible: 
Always

Additional Info:
Version: 6.4.4.2(x64)
Build ID: 3d775be2011f3886db32dfd395a6a6d1ca2630ff
Environment:CPU threads: 12; OS: Windows 10.0 Build 18363; 
UI render: GL; VCL: win;
Locale: zh-CN (zh_CN);  UI-Language: en-US
Calc: threaded
Comment 1 Xisco FaulĂ­ 2020-07-10 16:01:12 UTC
Created attachment 162885 [details]
Comparison MSO 2010 and LibreOffice 7.1 master
Comment 2 Xisco FaulĂ­ 2020-07-10 16:02:45 UTC
Reproduced in

Version: 7.1.0.0.alpha0+
Build ID: 12bfedfac3b141fe6c91b0e5ae5b3fb2ba817c48
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Version: 5.2.0.0.alpha1+
Build ID: 5b168b3fa568e48e795234dc5fa454bf24c9805e
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; 
Locale: ca-ES (ca_ES.UTF-8)

Version: 4.3.0.0.alpha1+
Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e
Comment 3 QA Administrators 2022-07-11 03:29:36 UTC Comment hidden (obsolete, spam)
Comment 4 Kevin Suo 2022-09-14 15:11:14 UTC
Still reproducible on current master:

Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: 2ea790200f5d915f88c6f78014d978ce8d91e33f
CPU threads: 8; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: zh-CN (zh_CN.UTF-8); UI: zh-CN
Build Platform: Fedora34@X64, Branch:master, bibisect-linux-64-7.4-CN
Calc: threaded
Comment 5 Kevin Suo 2022-09-14 15:23:29 UTC
See also the fix for bug 130104 (commit 6b93ee72df1aa42d1a3482ffc396bd0c23134f8b)