https://bugs.documentfoundation.org/show_bug.cgi?id=159539
Bug ID: 159539
Summary: Setting paragraph direction is not possible in
LibreOffice viewer experimental editor
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Android Viewer
Assignee: [email protected]
Reporter: [email protected]
Description:
In LibreOffice Viewer for Android, it is not possible to set a paragraph
direction to RTL and/or LTR. This is relevant if you are using experimental
editor to create RTL documents.
Steps to Reproduce:
1. Open LibreOffice Viewer for Android
2. Open Settings from "⋮" menu and make sure that "Experimental Mode" and
"Developer Mode" are checked
3. Click "+" button and choose "New Text Document" icon
4. Try to make the paragraph right to left
Actual Results:
There is no button or other means to make the paragraph right to left (RTL).
Expected Results:
There should be two buttons available to: 1) make the paragraph right to left
(RTL), and 2) make the paragraph left to right (LTR)
These buttons should be placed near text alignment buttons, in paragraph
settings.
Reproducible: Always
User Profile Reset: No
Additional Info:
LibreOffice Viewer
Version: 7.6.5.0.0+
Build ID: 2e65401cf50c
The UNO command that makes the paragraph RTL is .uno:ParaRightToLeft. To make
the paragraph LTR, one should use .uno:ParaLeftToRight. You can see these UNO
commands in below BASIC script:
Sub Main
oFrame = ThisComponent.CurrentController.Frame
oDispatcher = createUnoService("com.sun.star.frame.DispatchHelper")
oDispatcher.executeDispatch(oFrame, ".uno:ParaRightToLeft", "", 0, Array())
End Sub
In LibreOffice Viewer, it is possible to use the same UNO commands to make the
paragraph RTL. To do that, one can open "⋮" menu and choose "Send UNO Cmd" when
"Experimental Mode" and "Developer Mode" are both enabled.
One should only type "ParaRightToLeft" or "ParaLeftToRight" (without ".uno") to
change the paragraph direction to RTL and LTR respectively.
After pressing check mark "✓" button on the top, paragraph direction changes.
--
You are receiving this mail because:
You are the assignee for the bug.