Bug 150153 - Table AutoFormat Styles: Allow to disable the application of Total Row format
Summary: Table AutoFormat Styles: Allow to disable the application of Total Row format
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.5.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Tables-Style Table-AutoFormat Writer-Table-Insert-Dialog
  Show dependency treegraph
 
Reported: 2022-07-26 15:02 UTC by Rafael Lima
Modified: 2022-08-10 06:49 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2022-07-26 15:02:45 UTC
While triaging bug 150152 I came across another opportunity to improve the dialog: table formats will always assume that the last row is a Total Row. Therefore, if you simply want banded rows without total rows, you simply cannot do that in a table where the number of rows is even (4, 6, 8, ... rows).

Steps to reproduce:
1) Open Writer and insert a table with 4 rows and 5 colums
2) Go to Table - AutoFormat Styles
3) Select the style "Simple Grid Rows" and click OK

The resulting table has the last 2 rows with grey background. There is no way to disable the Total Row and have the last row in white color.

What I'm proposing is to add a "Total row" checkbox that disable the application of the total row format.
Comment 1 Dieter 2022-08-10 06:10:39 UTC
I confirm the described behaviour with

Version: 7.3.5.2 (x64) / LibreOffice Community
Build ID: 184fe81b8c8c30d8b5082578aee2fed2ea847c01
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

but I don't know, if every table style has a total row as last row. If this is true, I support the idea.

We could add that option at
1) Insert table dialog
2) AutoFormat dialog

cc: Design-Team
Comment 2 Heiko Tietze 2022-08-10 06:49:33 UTC
The legacy "autoformat" dialog indeed misses this option. However, we wanted to retire it and have a new UI as requested in bug 105933. So adding it could be an intermediate solution but hard to say if it's worth the effort.