Ask Your Question
0

How do I get paragraph style background area to completely fill table cell.

asked 2019-04-09 07:35:02 +0200

JoeW666 gravatar image

Question sums it up. I've tried making cells larger or smaller, changing the table properties, etc. I always end up with a thin white line around the edge of the cell. I know that I can select an individual cell and change the background to get it to work, but it would significantly speed up my work flow if I could do this with styles.

edit retag flag offensive close merge delete

Comments

But that's not the purpose of a style sheet. If you are in a cell, e.g. 2 paragraphs that you want to format differently, there is already a problem.

ebot gravatar imageebot ( 2019-04-09 08:07:23 +0200 )edit

Maybe I'm asking the wrong question. I want to quickly change the background color of a cell and if I cut and paste the content of that cell I want to keep the background color of the cut cell. I can do almost do what I want to do with paragraph styles, however, the color doesn't fill the cell. Any suggestions?

JoeW666 gravatar imageJoeW666 ( 2019-04-09 09:50:21 +0200 )edit

If you cut the contents of a cell in the entry line, the background color of the then empty cell will be preserved.

ebot gravatar imageebot ( 2019-04-09 10:13:47 +0200 )edit

I have used tables for a long time, and filled the table cells with different backgrounds. It has always worked well and is an essential part of working with tables. The workaround to fill the whole cell, is: table > properties > background > ..and manually fill every new cell with it's own color. An extremely cumbersome task. So I have to reinstall an earlier version so I can continue using the backgound fill as I used to. Extremely annoying that such a papercut seems to have been accepted as a feature. The workaround with macros doesn't seem to be a good replacement for me (by Pierre-Yves Samyn)

Plutomedia gravatar imagePlutomedia ( 2019-10-24 14:37:56 +0200 )edit

2 Answers

Sort by » oldest newest most voted
0

answered 2019-04-09 09:50:20 +0200

ajlittoz gravatar image

Paragraph styles target the area covered by the paragraph outline, excluding the indents and spacings. When a paragraph is entered into a table cell, you must in addition take into consideration the padding between borders (visible or not) and contents.

And as @ebot mentioned, when you have two differently styled paragraphs in the same cell, you can have two different background colors.

What you request is a way to specify table properties in a user-friendly way for multiple usage. In the present state, this is impossible because there is no table style. The so-called "table styles" added in 6.x series are not styles in the usual sense but mere templates for tables.

As you have found out, the only workout is manual editing of individual cell background.

I personally wish there were true table styles and have submitted a feature request a while ago, but developers have a lot of strain to cure known bugs before addressing new features.

edit flag offensive delete link more
0

answered 2019-04-09 11:56:54 +0200

pierre-yves samyn gravatar image

Hi

As a workaround if you enable macro recording (toolsoptionslibreofficeadvanced) you can memorize (toolsmacrosrecord...) color background applying on the current cell.

Then you can customize the table toolbar to add your macros (one for each color used)

Regards

edit flag offensive delete link more

Comments

Thanks. This was just what I needed.

JoeW666 gravatar imageJoeW666 ( 2019-04-12 04:31:22 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-04-09 07:35:02 +0200

Seen: 130 times

Last updated: Apr 09 '19