SaveSettings Object
Description
The SaveSettings class provides properties for advanced settings and information during save operations.
Syntax
TXTextControl.SaveSettingsExamples
The following example demonstrates TXTextControl.SaveSettings in a practical document-editing workflow. The SaveSettings class provides properties for advanced settings and information during save operations.
function inspectSaveSettings(saveSettings) {
console.log("TXTextControl.SaveSettings object:", saveSettings);
}Members
Properties
| Property | Description |
|---|---|
| author | The document's author which will be saved in the document. |
| creationDate | The document's creation date which will be saved in the document. |
| creatorApplication | The application, which has created the document. |
| cssSaveMode | HTML only. Specifies how to save stylesheet data with an HTML document. |
| documentAccessPermissions | Specifies how a document can be accessed after it has been opened. |
| documentKeywords | Sets the document's keywords which will be saved in the document. |
| documentLevelJavaScriptActions | Specifies an array of strings containing Javascript. |
| documentSubject | Sets the document's subject string which will be saved in the document. |
| documentTitle | Sets the document's title that will be saved in the document. |
| flattenFormFields | Specifies whether or not form fields are flattened when the document is saved. |
| imageCompressionQuality | Sets a value between 1 and 100, which is the quality of a lossy image compression used when a document is saved. |
| imageExportFilterIndex | Sets the format used for saving all images contained in the document. |
| imageMaxResolution | Sets the maximum resolution for all images in the document in dots per inch when the document is saved. |
| lastModificationDate | Sets the date the document is last modified. |
| masterPassword | Specifies a password for the document's access permissions. |
| omittedContent | Specifies data to be omitted when the document is saved. |
| reportingMergeBlockFormat | Specifies how reporting merge blocks are handled when a document is saved. |
| saveDocumentBackColor | Specifies whether or not the document background color is saved. |
| userPassword | Specifies the password for the user when the document is reopened. |
Enumerations
| Enumeration | Description |
|---|---|
| CssSaveMode | HTML only. Specifies how to save stylesheet data with an HTML document. |
| OmittedContent | Specifies data to be omitted when the document is saved. |
| ReportingMergeBlockFormat | Specifies how reporting merge blocks are handled when a document is saved. |