DS Server

Javascript: TXTextControl.SaveSettings.OmittedContent Enumeration

Enumeration|Introduced in 28.0

Description

Specifies data to be omitted when the document is saved.

Members

MemberDescription
NoneNothing is omitted.
SubTextPartsSubtextparts are omitted. Only the subtextpart is omitted, the text and formatting attributes belonging to the subtextpart are saved.
TrackedChangesTracked changes are omitted. Only the markup is omitted, the text and formatting attributes belonging to the tracked change are saved.
EditableRegionsEditable regions are omitted. Only the region marker are omitted, the text and formatting attributes belonging to the editable region are saved.
SectionsSections are omitted.
TextFieldsText fields are omitted.

Examples

The following example uses TXTextControl.Txtextcontrol.Savesettings.OmittedContent.SubTextParts (subtextparts are omitted. Only the subtextpart is omitted, the text and formatting attributes belonging to the subtextpart are saved.) in a document-editing workflow.

const value = TXTextControl.Txtextcontrol.Savesettings.OmittedContent.SubTextParts;
console.log("Subtextparts are omitted. Only the subtextpart is omitted, the text and formatting attributes belonging to the subtextpart are saved.", value);