Bug 158503

Summary: Table "autoformat style" directions don't respect RTL
Product: LibreOffice Reporter: Eyal Rozenberg <eyalroz1>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: minor CC: heiko.tietze
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=131192
https://bugs.documentfoundation.org/show_bug.cgi?id=49437
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 43808, 113208    

Description Eyal Rozenberg 2023-12-03 17:11:54 UTC
Suppose I:

1. Have a table with LTR text direction, whose cells all have LTR direction, and with LTR text, in a page with LTR direction.
2. Select the table
3. On the menus, choose Table | AutoFormat Styles
4. Choose 'Academic'

The header row has cell contents aligned left.

Now, if I also:


5. Have a table with RTL text direction, whose cells all have RTL direction, and with RTL text, in a page with RTL direction.
6. Select the table
7. On the menus, choose Table | AutoFormat Styles
8. Choose 'Academic'

Expected behavior:
Header row has cell contents aligned right. (Well, to be honest, aligned _start_; see bug 131192.)

Actual behavior:
header row has cell contents aligned left.
Comment 1 Heiko Tietze 2023-12-04 14:20:30 UTC
This boils down to bug 49437 which made it necessary to create complete TS with all attributes. The same problem exists for the font where applying a TS will not follow the used PS but apply Liberation Serif (or Sans).