Mail Merge: Data Source Manager
The new Reporting ribbon tab is based on the new public class DataSourceManager that encapsulates the complete handling, logic and ready-to-use dialog boxes for the reporting template creation task. Essentially, the DataSourceManager provides all information required to create a fully-featured template designer. Like with MailMerge, a data source can be loaded from a DataSet, DataTable, Json, an object or XML.
Zoom to Page, Zoom to Text
Zoom to whole page, zoom to text and zoom to page width are new out-of-the-box options when zooming in TX Text Control. The ribbon tab and the modernized status bar can be used to adjust the new zoom options.
User-Defined Document Properties
Custom properties can be created to store additional information about the document in the document itself. These properties remain with a document and can be viewed by all MS Word users that open the document. Several property management servers provide data tracking capabilities to search for, sort, and track documents based on document properties.
Using TX Text Control X14, custom properties can be set and retrieved using the SaveSettings and LoadSettings parameter in the Load and Save methods.
New Mail Merge Events
In order to manipulate the merge process and to inject custom logic, each merge element such as merge fields and merge blocks fire events. These events return the merged field, information about the location of a field and provide access to data that is used to merge the document.
In these events, a DataRowAdapter provides access to the DataTableAdapter which gains access to the child table names, column names, the DataTable, the data rows and the table name. Additionally, the new FieldMergedEventArgs property MergeBlockName returns the block name in case the field is embedded in a merge block.