# Javascript: TXTextControl.SaveSettings.OmittedContent Enumeration

> Specifies data to be omitted when the document is saved.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Enumeration
- **Introduced:** 28.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: TXTextControl.SaveSettings.OmittedContent Enumeration
- **363 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-savesettings/omittedcontent-enumeration/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-savesettings/omittedcontent-enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-savesettings/omittedcontent-enumeration/llms-full.txt

---

### Description

Specifies data to be omitted when the document is saved.

### Members

| Member | Description |
|---|---|
| None | Nothing is omitted. |
| SubTextParts | Subtextparts are omitted. Only the subtextpart is omitted, the text and formatting attributes belonging to the subtextpart are saved. |
| TrackedChanges | Tracked changes are omitted. Only the markup is omitted, the text and formatting attributes belonging to the tracked change are saved. |
| EditableRegions | Editable regions are omitted. Only the region marker are omitted, the text and formatting attributes belonging to the editable region are saved. |
| Sections | Sections are omitted. |
| TextFields | Text 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.

```javascript
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);
```

---

## Nearby

- **Previous:** [Javascript: TXTextControl.SaveSettings.masterPassword Property](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-savesettings/masterpassword-property/llms-full.txt)
- **Next:** [Javascript: TXTextControl.SaveSettings.omittedContent Property](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-savesettings/omittedcontent-property/llms-full.txt)
