Bug 168296 - Issues with list rendering including alignment, positioning, visibilty - in Writer document OLE objects
Summary: Issues with list rendering including alignment, positioning, visibilty - in W...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
25.8.1.1 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on: 168390
Blocks: OLE-Objects RTL
  Show dependency treegraph
 
Reported: 2025-09-06 09:14 UTC by yashar
Modified: 2025-09-13 08:59 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
RTL text problem in OLE object (235.05 KB, image/jpeg)
2025-09-06 09:15 UTC, yashar
Details
example file (18.74 KB, application/vnd.oasis.opendocument.spreadsheet)
2025-09-08 19:07 UTC, yashar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yashar 2025-09-06 09:14:58 UTC
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:
-
Comment 1 yashar 2025-09-06 09:15:40 UTC
Created attachment 202705 [details]
RTL text problem in OLE object
Comment 2 Eyal Rozenberg 2025-09-06 10:17:17 UTC
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.
Comment 3 yashar 2025-09-08 19:06:43 UTC
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.
Comment 4 yashar 2025-09-08 19:07:25 UTC
Created attachment 202755 [details]
example file
Comment 5 Eyal Rozenberg 2025-09-13 08:29:10 UTC
This seems to involve more than one bug. I'll create a blocker for one of the problems here.