Categories > OpenTBS with DOCX >

Prevention of page breaks

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Neil Sverdloff
Date: 2015-10-16
Time: 11:26

Prevention of page breaks

Hi All,

I have a table in a word document with a main block and following a sub block with n rows.
eg.

[sample;block=begin][sample.SampleName]
[SubBlock.TestName;block=tbs:row] etc. non specific quantity of these
[sample;block=end]

Can anyone please tell me if it is possible to prevent word inserting a page break within the main block i.e. sample name and test will always appear on the same page?

Many Thanks
By: Skrol29
Date: 2015-10-16
Time: 12:12

Re: Prevention of page breaks

Use the paragraph's properties « keep  with text » and « keep lines together ».
They are available at the « Lines and page breaks » tab of the Paragraph dialog box.
By: Neil Sverdloff
Date: 2015-10-16
Time: 13:29

Re: Prevention of page breaks

Thanks so much for that.

After some mucking about I finally discovered that those properties needed to be placed on the block end paragraph.

Working like a charm now.