Description: Case 1. Rotated text box when saved as .docx file and then reopened is corrupted: Textbox is still rotated as when saved but text has separated and appears as unrotated. Case 2. Rotated text box when saved as .doc file and then reopened is completely missing both box and text. Steps to Reproduce: 1. Insert textbox 2. Type text in textbox 3. Right-click, select Position and Size, type rotation angle, OK 4. Save file as .docx (or .doc) 5. Close file 6. Open file Actual Results: Case 1. When .docx is opened, textbox is still rotated but text is horizontal through center of box. Rotated box will resize if additional horizontal text is added. Case 2. When .doc is opened, textbox and text are both missing (or somehow invisible). Expected Results: Rotated text box containing rotated text should appear as it was when saved. Reproducible: Always User Profile Reset: No Additional Info: This fault occurred both in LibreOffice Writer 6.2.0.3 (x64) and in fresh install of LibreOffice Writer 6.4.0.0.alpha1 (x64)
Created attachment 155868 [details] Example image of saved textbox vs. as reopened
Not a bug; .docx (or .doc) does not support rotated text boxes
Word renders the rotated text boxes without problems. For modern Word versions it is the same as a shape and LibreOffice exports it as shape. The error is in LibreOffice import. When the file is imported into Writer, the text is not treated as shape label (as it would be in Impress), but the shape gets an associated frame. And such frame cannot rotate. I think, the current import from docx needs to be changed, so that a frame is only used, if there exists rich content in the text, e.g. Math-OLE, table or pictures. Otherwise it should be handled the same as in Impress. The old .doc format is a different problem. The relevant code parts are different from .docx import. Please report the problem in a separate bug report.
This bug is missing source ODT to test. There's a nice sample ODT attachment 47439 [details] with many angles in bug 37828 for DOC. When later is saved as DOCX and opened in MSO, it's mostly wrong for horizontal text and fine for vertical text.
*** Bug 129263 has been marked as a duplicate of this bug. ***
Based on comment 3 and comment 4 I think this is a duplicate. *** This bug has been marked as a duplicate of bug 82627 ***