https://bugs.documentfoundation.org/show_bug.cgi?id=129655
Bug ID: 129655
Summary: Shape textbox in writer ignores WritingMode.
Product: LibreOffice
Version: 6.5.0.0.alpha0+ Master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Description:
Use macro to change writing mode of a Shape textbox. Comparing the text inside
the shape without a textbox, the results are different.
Steps to Reproduce:
1.Open the attached document. There are two shapes. One has the textbox
attached and the other doesn't.
2.Insert following Basic code as a macro and execute it.
Sub Main
Dim oDrawPage As Variant
Dim oObj1 As Variant
Dim oObj2 As Variant
Dim oObj3 As Variant
Dim oObj4 As Variant
Dim nTextWritingMode As Long
oDrawPage = ThisComponent.getDrawPage()
oObj1 = oDrawPage.getByIndex(0)
oObj1.TextWritingMode = 2
msgbox "WritingMode:" & oObj1.TextWritingMode
oObj2 = oDrawPage.getByIndex(1)
oObj2.TextWritingMode = 2
msgbox "WritingMode:" & oObj2.TextWritingMode
End Sub
Actual Results:
The text in the textbox stays left-to-right.
Expected Results:
The text in the textbox should be top-to-down (TB-RL).
Reproducible: Always
User Profile Reset: No
Additional Info:
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs