TX Text Control Blog

Sneak Peek X15: Keeping table rows together

Björn Meyer

Blogged by Björn Meyer on August 9, 2017 and tagged with release, windows forms, wpf, asp.net.


A unique advantage of Flow Type Layout Reporting is the possibility to control the layout using typical word processing rules and constraints. TX Text Control combines a word processor with powerful reporting functionality. Paragraphs have attributes that control the flow and behavior when breaking across pages. Pagination is done automatically in TX Text Control, but can be controlled finely tuned.

It is possible to keep paragraphs together, so that they are rendered on the same page and if there is not enough space on a page, they are shifted to the next page. This can be adjusted programmatically or using the paragraph dialog which is shown in the screenshot below:

Sneak Peek X15: Keeping table rows together

In version X15, these settings can be applied to paragraphs in tables as well. The setting of the first paragraph in a table row (first cell) is used to control the table row behavior. Using this setting, table rows can be kept together (Keep with next) or a page break can be inserted before (Page break before) which causes the table to be split at the paragraph location.

Consider a table that shows the sub total, taxes, freight and total due on an invoice. This table block should be rendered at the end of an invoice, but should not be divided at a page break. In this case, all 4 rows can be kept together, so that the complete table is rendered on the next page, if there is not enough space on the previous page.

Sneak Peek X15: Keeping table rows together

Another great feature of TX Text Control X15 - stay tuned for more.

 
 
Call us: +1 704-544-7445 (United States)
 
 

Products

Support

Downloads

Corporate

Buy Now

About Text Control

Founded in 1991, Text Control is an award-winning Visual Studio Industry Partner and leading vendor of word processing and reporting components for Microsoft development technologies. The products help thousands of developers add comprehensive word processing functionality to their applications. Text Control is 100% self-owned and independent of all investor decisions. Customers benefit from these years of experience, large user-base, and at the same time, appreciate developing with a mature, reliable product.

SD Times 100SD Times 100SD Times 100SD Times 100SD Times 100SD Times 100Visual Studio 2015 Launch PartnerVisual Studio 2013 Launch PartnerVisual Studio 2012 Launch PartnerVisual Studio Partner