Table Glitches in Writer, Help Needed

File 1.odt (15.9 KB)
File 2.odt (15.4 KB)

File 1
at 180% Zoom, Test A and D cell has a white line despite filling
the cell with black.

In tandem, when adjusting the thickness of the table borders - there are visual glitches that appear but will correct themselves when scrolling away from the table.


File 2
In spite of the Libre “Default Paragraph Style” > Table Contents being Arial font, the table “Standard Academic Table” defaults to Liberation Serif.

If I click on the first cell (Pigment), and apply a custom paragraph style or direct formatting to Arial font and then proceed to add a column or row - it resets the font to Liberation Serif again.

In tandem, Paragraph Styles are not editable nor can you add any.

It is just screen artifacts.

Table styles are not styles at all, they are macros that are called whenever the table layout is changed.
Never use Table styles unless you know exactly what you want and know it won’t change ever.

There is no way to remove a table style.

  • You can change it to a new table style, so if you create a table style with the formatting you want, or untick the font definition in the new style, you can bend it to your requirements it retains the old font definition even if Font is unticked. Working from None style you can untick Font, alignment, etc. and have a Table style that can have paragraph styles applied.
  • You can convert to text and then convert to table again
    1. You can select the entire table, click Table > Convert > Table to text.
    2. In the dialogue, leave the Separate text at Tabs setting and Format at None
    3. Select all the text that was in the table and click Table > Convert > Text to table
    4. In the dialogue, select Separate text at Tabs, select your options for Heading and Width, then make sure that Format is set to None. OK
    5. Apply Table Contents to entire table and then apply Table Heading to top row or as desired.

The easier way, is to always select None for table style, then the table will accept the paragraph styles as in the second option above.

I see that you are trying to apply your own set of styles from scratch. That requires expert knowledge, you are better off adapting the existing styles.

Paragraph styles inherit. The grandfather is Default Paragraph Style which you can see in the hierarchical view. If you set that to Arial, then every sub-style will be set to Arial. The main exception is Heading which has a different font applied so that particular setting is cut from inheritance. You can set a font here for all child headings or, in its Font tab you can click Reset to Parent which will rejoin the link to Default Paragraph Style.

There is more on styles in Chapter 20 8 & 9 of the Writer Guide, download from English documentation | LibreOffice Documentation - LibreOffice User Guides

[Edit]
Here is an example of a table using just Pattern and Border
TableStyleWithLimitedEffects131217.odt (19.3 KB)

Thanks for the response.

I am not necessarily using scratch custom PG styles, I have a handful of those there for very specific purposes required for what I use them for.

Under most circumstances, I have set the default PG style to Arial.

So if my understanding is correct, I should abandon the use of Table Styles and stick with None.
That said, then I would have to use direct formatting if I wanted to have interchanging / alternating colors on every bi-row or column etc?

You can create a table style just to have a set heading row and footer row with alternating rows in between. This is similar to the sample given in my previous comment. But take care with each step.

  1. In a new blank document, create a new 4 row table with style None. Starting with None is important
  2. Colour the first row and last row as desired for header and footer rows.
  3. Colour row 3 with your alternating colour
  4. Select the entire table and click Table - AutoFormat styles
  5. In the new dialogue, click Add. Give the new table style a suitable name. Untick the boxes along the bottom except for Pattern. OK

To test the sheet:

  1. click in one of the alternating cells and then click Table > Insert rows below, the pattern should continue.
  2. Add some numbers or some text to some of the cells. Right click Default Paragraph Style and select Edit Style. Change the font from Liberation Serif to Liberation Sans. You should see the font in the table change. Add a row, the font will not change back to serif. Look in the style window, the table is using Table Contents paragraph style.
  3. Create a new table and apply the new style to it.

AlternatingTableStylePatternOnly.odt (24.5 KB)

[Edit]

Don’t add more than one row at a time or you start getting heading and footer rows inserted.

1 Like

I would like to note, this is not just artifacts my friend.

I printed the document and those lines are very visible.

I even saved as a PDF, opened the PDF in adobe photoshop.

As you can see, in this document here the “cell” is not fully filled. This is clearly a Libre issue.
goals.odt (10.2 KB)

If I export your goals document as pdf, I cannot see the lines in Adobe Reader; I can see lines at some zoom levels in Firefox & Sumatra; I can see lines form and then disappear in Microsoft Edge; I can see lines in Draw but that is not a pdf reader.

This thread regarding microsoft office has a similar issue, and they have determined that it is something to do with the margins within the cells.

I do not see a way to mimic that within Libre.

The fact that those spaces are showing on a printed document means it is not an artifact, but something to do with the way Libre handles cells / spacing etc.