Table, Table heading style to customize

Version: 7.4.5.1 / LibreOffice Community
Build ID: 40(Build:1)
CPU threads: 2; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.utf8); UI: en-US
7.4.5-1
Calc: threaded

How to get Table Heading style customization effective in situation as below?

.odt document
Table (cells unfilled) has been inserted to document by menu Table > Insert Table… > Styles list: certain style choosen.
Afterwards table has been filled with fixed textual content.
Table heading style customized little bit: text line horizontal alignment, font to bold
Table contents style customized little bit: spacing before paragraph/after paragraph, indentation before text

Table Heading style inherits from Table Contents style, according to paragraph style view in side bar.
On another hand and according to style inspector the Table Contents and Table Heading styles are located both at the same level of inheritance >>> here both have their root at Paragraph Styles.
Where may this discrepancy come from?

Customization made on Table Heading style not visible in table header, the document view. Also formatting bar (text alignment, font properties bold), the status of buttons reflects not the Table Heading style customization but what table view presents.
Clear direct formatting doesn’t help.

Table Styles are not real styles, they use macros to keep the defined table style. These macros override normal styles and make changes impossible. You can direct format the table to your hearts content, change font colour to purple, change the font but one change to the table such as inserting a new line and all the formatting will revert to the Table style you chose.

I recommend to always use Table Style None and then the Table Contents and Table Heading paragraph styles will apply as will other changes.

For your existing table you can change the table style to Default table style and re-apply the paragraph styles, but again any change (insert row again) and the table will revert to the previous table style

You will have to create the table afresh. Paste only unformatted text from the existing table as you don’t want to reintroduce the contamination from the previously selected Table Style

2 Likes