Description: Text and Multi-Level List not working fine in RTL texts in in OLE Object Actual Results: - Expected Results: - Reproducible: Always User Profile Reset: Yes Additional Info: -
Created attachment 202705 [details] RTL text problem in OLE object
Please provide exact reproduction instructions - first, for creating the object to be inserted (the OLE object), then for creating the document into which the OLE document is inserted. It would also help if you could attach the resulting document, which you used for generating the screenshot.
Reproduction Instructions: Open a new, empty spreadsheet in LibreOffice Calc. From the top menu, go to Insert > OLE Object.... In the dialog box that appears, select the "Create new" option. From the "Object type" list, choose "LibreOffice Text Document" and click OK. A frame for editing the text document will appear inside your spreadsheet. Inside this frame, perform the following steps: a. Click the "Right-to-Left" paragraph alignment button in the toolbar to switch the text direction. b. Enable the "Toggle Numbered List" feature from the toolbar. c. Type a line in Persian, for example: سطح اول - مورد ۱ and press Enter. d. Type a second line: سطح اول - مورد ۲ and press Enter. e. Now, press the Tab key to create an indented sub-level. f. Type a sub-item, for example: سطح دوم - مورد الف. g. Press Enter again, and type another sub-item: سطح دوم - مورد ب. Click anywhere outside the OLE object frame on the spreadsheet to finish editing and embed the object. Observe the text inside the newly created OLE object. Example of the list to create: سطح اول - مورد ۱ سطح اول - مورد ۲ a. سطح دوم - مورد الف b. سطح دوم - مورد ب Actual Results (What Happens): The text inside the OLE object is rendered incorrectly. The numbering (e.g., "1.", "2.", "a.") appears on the left side of the text instead of the right. The indentation of the multi-level list is broken or displayed incorrectly. The overall RTL text flow is jumbled and hard to read. Expected Results: The text and multi-level list inside the OLE object should be displayed perfectly, exactly as they appeared during the editing process. The text direction should be correctly set to Right-to-Left. The list numbering should appear on the right side of the text. The indentation for sub-items should be preserved correctly, creating a clean and readable multi-level list.
Created attachment 202755 [details] example file
This seems to involve more than one bug. I'll create a blocker for one of the problems here.