Ask Your Question

Is there a way to remove "total" from libreoffice [closed]

asked 2018-01-19 16:11:23 +0200

pysb gravatar image

updated 2020-07-20 12:42:49 +0200

Alex Kemp gravatar image

I´m trying to set an alternating color row on libre office. I´m able to do this, but I´m having problems on the last row, as it considers a "total/sum" row. Any suggestions to circumvent this?

Autoformat UI (Soma is Total/Sum in english): image description

Example of a table repeating last line: image description

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2020-07-20 12:43:08.089547

1 Answer

Sort by » oldest newest most voted

answered 2018-01-19 23:58:03 +0200

Jim K gravatar image

updated 2018-01-20 00:03:55 +0200

Apparently the last row always uses <table:last-row> from styles.xml. If this tag is deleted, it is automatically created again when the document is saved.

The only workaround I can think of is to use one style for tables with an odd number of rows, and a different style for tables with an even number of rows. You can always modify the background for a particular row by going into Table Properties.

Of course, it's possible to embed a Calc document, as suggested at Calc can highlight alternate rows with Conditional Formatting.

Improvements for table styles have been discussed, so hopefully there will be a better solution in the future.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-01-19 16:11:23 +0200

Seen: 336 times

Last updated: Jan 20 '18