DS Server

Javascript: TXTextControl.SaveSettings.ReportingMergeBlockFormat Enumeration

Enumeration|Introduced in 28.0

Description

Specifies how reporting merge blocks are handled when a document is saved.

Members

MemberDescription
DefaultThe document is saved as it is. Reporting merge blocks are not converted.
DocumentTargetsIf the document contains reporting merge blocks marked with subtextparts, these subtextparts are converted to document targets.
SubTextPartsThis member is not used, when a document is saved.

Examples

The following example uses TXTextControl.Txtextcontrol.Savesettings.ReportingMergeBlockFormat.DocumentTargets (if the document contains reporting merge blocks marked with subtextparts, these subtextparts are converted to document targets.) in a document-editing workflow.

const value = TXTextControl.Txtextcontrol.Savesettings.ReportingMergeBlockFormat.DocumentTargets;
console.log("If the document contains reporting merge blocks marked with subtextparts, these subtextparts are converted to document targets.", value);