Bug Hunting Session
Bug 111409 (Text-Direction-Unification) - [META] Unify text direction functionality for all components
Summary: [META] Unify text direction functionality for all components
Status: NEW
Alias: Text-Direction-Unification
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.0.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on: 51330 103720 104606 104835 117921 126405 33278 104353 104912 117906
Blocks: RTL-CTL Vertical-Text
  Show dependency treegraph
 
Reported: 2017-08-06 09:48 UTC by Volga
Modified: 2019-10-03 14:04 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Volga 2017-08-06 09:48:08 UTC
Description:
Currently all the LibreOffice compoments can manage direction, but the implementations are different between them, notably, Writer can switch all four text direction for the whole page or just in a frame, but text box have no way to use TB-LR direction; and table have no way to use all vertical text direction unless it was inserted in a frame. Calc does not allow vertical text direction to be used in a cell.

Steps to Reproduce:
-

Actual Results:  
-

Expected Results:
To fix such bugs, we need efforts to transfer the same functionality between all compoments of LibreOffice, making sure all text diretion functionality based on the same codes, and making them well performanced in both interface, file loading & saving.


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0
Comment 1 Buovjaga 2017-08-26 16:56:15 UTC
It would be better to have reports for each component.
Comment 2 Volga 2017-08-27 03:22:21 UTC Comment hidden (obsolete)
Comment 3 Volga 2017-10-15 04:46:12 UTC
We can reconstructing the codes as a module that any component can share.
Comment 4 Eyal Rozenberg 2018-09-30 18:45:21 UTC
There are actually 16 options for directionality: Within-line direction (LTR or RTL), Within-page direction (TTB or BTT), and glyph orientation (0 deg, 90 deg, 180 deg, 270 deg relative to a parallel to the bottom of the page).

So which "four directions" do you mean?
Comment 5 Volga 2018-10-02 05:42:20 UTC Comment hidden (no-value)
Comment 6 Volga 2019-10-03 13:45:24 UTC
(In reply to Eyal Rozenberg from comment #4)
> There are actually 16 options for directionality: Within-line direction (LTR
> or RTL), Within-page direction (TTB or BTT), and glyph orientation (0 deg,
> 90 deg, 180 deg, 270 deg relative to a parallel to the bottom of the page).
> 
> So which "four directions" do you mean?
I have previously thought of LTR, RTL and two block directions (TB-RL and TB-LR), and I have not seen BTT and other fancy directions. OK, it would be awesome if you implemented all 16 options and make them available in Writer, Calc, Impress and Draw.
Comment 7 Volga 2019-10-03 14:04:00 UTC
It’s also possible to add them in Math for some attributions for annotation, and Base, for the form.