Page 1 of 1

howto prevent table splitting

Posted: Sat Feb 08, 2014 5:21 pm
by cube
How do I prevent table splitting / page break inside a table?

I'm adding a number of small tables in a document and I do not want to habe a pagebreak inside a table. It should be between two tables.

Regards

Rainer Hamann

Posted: Mon Feb 10, 2014 10:26 am
by Sergey Tkachenko
The simplest way is excluding rvtoRowsSplit from table.PrintOptions
(however, this option cannot be saved in RTF and DocX)

Posted: Mon Feb 10, 2014 8:11 pm
by cube
Now a part of the table is not printed. Is it possible to recognize, if a page break has do be inserted before that table?

Regards

Rainer Hamann

Posted: Tue Feb 11, 2014 9:14 am
by Sergey Tkachenko
Insert this table in another table 1x1 without borders.
Assign table.Rows[0].KeepTogether = True for this outer table.

(this method works as you expect in RVPrint, not in ScaleRichView, because ScaleRichView does not support pagebreaks inside cells yet)