Bug 158503 - Table "autoformat style" directions don't respect RTL
Summary: Table "autoformat style" directions don't respect RTL
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: RTL-CTL Table-AutoFormat
  Show dependency treegraph
 
Reported: 2023-12-03 17:11 UTC by Eyal Rozenberg
Modified: 2023-12-04 14:20 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 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).