Specifies how reporting merge blocks are handled when a document is loaded. Reporting merge blocks can be saved in a document either through special document targets represented through DocumentTarget objects or through special subtextparts represented through SubTextPart objects. When a merge block is marked with document targets, the name of the starting marker begins with blockstart_ and the name of the ending marker begins with blockend_. When a merge block is marked through a subtextpart, its name begins with txmb_.

Introduced: X14.

Syntax

public ReportingMergeBlockFormat ReportingMergeBlockFormat { get; set; }
Public Property ReportingMergeBlockFormat() As ReportingMergeBlockFormat

Members

Member Description
Default The document is loaded as it is. Reporting merge blocks are not converted.
DocumentTargets This member is not used, when a document is loaded.
SubTextParts If the document contains reporting merge blocks marked with document targets, these targets are converted to subtextparts.

Examples

This example displays an easy way to use the 'TXTextControl.LoadSettings.ReportingMergeBlockFormat' property. Here, it is set to the value 'TXTextControl.ReportingMergeBlockFormat.SubTextParts', which means that if the document contains reporting merge blocks marked with document targets, these targets are converted to subtextparts.

TXTextControl.LoadSettings ls = new TXTextControl.LoadSettings();
ls.ReportingMergeBlockFormat = TXTextControl.ReportingMergeBlockFormat.SubTextParts;
Dim ls As TXTextControl.LoadSettings = New TXTextControl.LoadSettings()
ls.ReportingMergeBlockFormat = TXTextControl.ReportingMergeBlockFormat.SubTextParts