Page 1 of 1

[Solved] Table - Curved or Rounded Corners possible?

Posted: Wed Apr 27, 2016 2:59 pm
by Petyon_montana
Hello,

Is there a way to round the corners of a Table, similar to the image below?

Image

I know it's possible with Text boxes and shapes, but I'm specifically trying to figure out if there's a way with Tables.

Thanks in advance.

Re: Table - Curved or Rounded Corners possible?

Posted: Wed Apr 27, 2016 4:15 pm
by John_Ha
Welcome to the forum.

It's nice when an answer is short and sweet - namely "Sorry, but no..."

Click inside a table and go Table > Table Properties ... for a list of options.

Can I suggest you also check the up to date Writer guide and/or the OOo v3.3 Writer Manual for more details.

If this solves the problem, please click the Edit button on your original post and add [Solved] in front of your subject.

Re: Table - Curved or Rounded Corners possible?

Posted: Mon May 02, 2016 4:58 pm
by Petyon_montana
John_Ha wrote:If this solves the problem, please click the Edit button on your original post and add [Solved] in front of your subject.
Thanks :)

Based on https://www.openoffice.org/styles/, I think a workaround might be to use CSS to round the tables. Then, convert the document from HTML to PDF.

Re: Table - Curved or Rounded Corners possible? [Solved]

Posted: Mon May 02, 2016 8:32 pm
by John_Ha
A simpler workaround might be

1 Set the outer border of the table to None
2 Overlay the table with a Rectangle with rounded corners. Set the Rectangle to Wrap in background.
3 Set the Rectangle Area fill to None.

It may take a little fiddling to get the alignment correct, but if you set each table row to be, say, 8mm high, the 3 rows are 24mm, and it is easy to set the rectangle size (right-click > Position and size ...) to be 24mm deep. Ditto for columns. right-click > Position and size can also locate it horizontally and vertically where I often find I need to use small negative numbers to align with text borders. Using a Grid and Snap (see Help and Tools > Options ...) may also assist in positioning it manually.

See attached.
table.png
table.png (2.98 KiB) Viewed 27545 times