Bug 161503

Summary: Rotated text doesn't work in some situations
Product: LibreOffice Reporter: Po-Yen Huang <jeff.huang>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: buzea.bogdan, franklin, telesto
Priority: medium    
Version: 6.3.5.2 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 104449, 106045    
Attachments: Rotated text in text box
Expected result

Description Po-Yen Huang 2024-06-11 08:33:38 UTC
Description:
In .docx, rotating text in text box doesn't show correctly.

Steps to Reproduce:
1. Insert a text box
2. Type some texts in text box
3. Choose a non-zero degree in "location & size" dialog and click apply
4. Save to .docx file format
5. Close and reopen saved file

Actual Results:
Still show zero degree text as it doesn't rotate

Expected Results:
Show rotated text in specific degrees


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.4.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 8; OS: Linux 6.9; UI render: default; VCL: kf6 (cairo+wayland)
Locale: zh-TW (zh_TW.UTF-8); UI: zh-TW
24.2.4-1
Calc: threaded
Comment 1 Po-Yen Huang 2024-06-11 08:37:03 UTC
Created attachment 194647 [details]
Rotated text in text box

This file contains two text boxes, and one set to 180 degrees rotating text box
Comment 2 Po-Yen Huang 2024-06-11 08:37:31 UTC
Created attachment 194648 [details]
Expected result
Comment 3 Franklin Weng 2024-06-11 08:52:51 UTC
I confirm this issue.

When rotating 180 degree the textbox and save as odt file, the result is correct.  However when saving as docx, the attribute of the textbox is still 180 degree rotated, but does not show correctly (still the original way without rotated).

6.3.5.2 is the earliest version I installed.  This issue should exist in even earlier version.

版本:6.3.5.2
組建 ID:dd0751754f11728f69b42ee2af66670068624673
CPU 執行緒:4; OS:Linux 6.5; UI 算繪:預設; VCL: kde5; 
語言地區:zh-TW (zh_TW.UTF-8); 介面語言:zh-TW
Calc: threaded