# TXTextControl.Proofing Object

> A JavaScript object which was introduced to act as a namespace for all proofing and spell checking methods and properties.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Object
- **Introduced:** 25.0
- **Path:** DS Server > Reference > JavaScript API > TXTextControl.Proofing Object
- **715 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-proofing/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-proofing/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-proofing/llms-full.txt

---

### Description

A JavaScript object which was introduced to act as a namespace for all proofing and spell checking methods and properties.

### Syntax

```javascript
TXTextControl.Proofing
```

### Examples

The following example demonstrates `TXTextControl.Proofing` in a practical document-editing workflow. A JavaScript object which was introduced to act as a namespace for all proofing and spell checking methods and properties.

```javascript
function inspectProofing(proofing) {
    proofing.getDictionaryList(
        function(dictionaries) {
            if (!dictionaries) {
                console.warn("No dictionary info was returned.");
                return;
            }
            
            console.log("get dictionary list result:", dictionaries);
        }
    );
}
```

---

## In This Section

- [Javascript: TXTextControl.Proofing.addWordToUserDictionary Method](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-proofing/addwordtouserdictionary-method/llms-full.txt): Adds a word to an existing user dictionary.
- [Javascript: TXTextControl.Proofing.getDictionaryList Method](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-proofing/getdictionarylist-method/llms-full.txt): Retrieves a list of the names of all dictionary files on the server.
- [Javascript: TXTextControl.Proofing.getUserDictionaryInfo Method](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-proofing/getuserdictionaryinfo-method/llms-full.txt): Retrieves information about all currently existing user dictionaries via a callback function.
- [Javascript: TXTextControl.Proofing.loadDictionary Method](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-proofing/loaddictionary-method/llms-full.txt): Loads a dictionary.
- [Javascript: TXTextControl.Proofing.loadUserDictionary Method](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-proofing/loaduserdictionary-method/llms-full.txt): Loads a list of words given as a string array as a user dictionary.
- [Javascript: TXTextControl.Proofing.removeDictionary Method](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-proofing/removedictionary-method/llms-full.txt): Removes a dictionary from the loaded dictionaries.
- [Javascript: TXTextControl.Proofing.removeUserDictionary Method](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-proofing/removeuserdictionary-method/llms-full.txt): Removes an existing user dictionary.
- [Javascript: TXTextControl.Proofing.removeWordFromUserDictionary Method](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-proofing/removewordfromuserdictionary-method/llms-full.txt): Removes a word from an existing user dictionary.
- [Javascript: TXTextControl.Proofing.saveUserDictionary Method](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-proofing/saveuserdictionary-method/llms-full.txt): Saves an existing user dictionary by supplying the contained words as a string array to a callback function.

---

## Nearby

- **Previous:** [Javascript: TXTextControl.printDocument Method](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/printdocument-method/llms-full.txt)
- **Next:** [Javascript: TXTextControl.Proofing.addWordToUserDictionary Method](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-proofing/addwordtouserdictionary-method/llms-full.txt)
