Ask Your Question

Writer: Prevent table from breaking between two rows

asked 2019-10-07 12:34:12 +0200

JanB gravatar image

I want to prevent a table from splitting to the next page between two specific rows. It may split anywhere else. The table format settings are correct already - table is allowed split, but rows not. In Word I can accomplish this using paragraph formatting in the upper row to "keep with next." In Writer this does not work, however. Any advice?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2019-10-07 13:07:41 +0200

ajlittoz gravatar image

updated 2019-10-07 17:40:02 +0200

Text flow properties for tables are "global": they apply to the whole table. You can't allow page break for the table but for a pair of rows.

However, you can cheat, provided you don't try to use your table like you would do in Calc, i.e. you don't compute values, you use a table only for tabular presentation of some text, images or other data.

In Writer, a table has no semantic meaning per se. It is a collection of joined rectangular areas with or without borders. Consequently, it does not matter if the tabular presentation is made of one or several technical tables.

Therefore, you split your table into three: a first one with split across pages enabled, a second one encompassing your "critical" rows with the attribute disabled and the third one with the attribute enabled. All have row split disabled.

EDIT 1: changed a "disabled" word for "enabled". The error made the trick faulty.

You must take care of Spacing above and below in the Table tab of Table>Properties so as not to leave any gap between the sub-tables. Also check the borders to avoid double-thickness (one of the upper/lower borders may need to be suppressed.

Of course, don't insert paragraphs between the sub-tables otherwise they won't touch each other.

To show the community your question has been answered, click the ✓ next to the correct answer, and "upvote" by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

edit flag offensive delete link more


Thank you for the comprehensive response! It appears there is no short methods or tricks to control table breaks then.

JanB gravatar imageJanB ( 2019-10-07 17:26:33 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-10-07 12:34:12 +0200

Seen: 20 times

Last updated: Oct 07