> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IDocumentEditor

> Drive the FlexiCapture document editor from scripts with IDocumentEditor: save documents, toggle form mode, and reach the image, form, and errors windows.

## What it does

Represents the document editor.

## Methods

| **Definition** | **Description**    |
| -------------- | ------------------ |
| Save() : bool  | Saves the document |

## Properties

| **Name**     | **Type**                                                             | **Access** | **Description**                                       |
| ------------ | -------------------------------------------------------------------- | ---------- | ----------------------------------------------------- |
| Document     | [IDocument](/flexi-capture/appendix/scripts/idocument)               | Read-only  | The document being edited                             |
| ErrorsWindow | [IErrorsWindow](/flexi-capture/appendix/scripts-shell/ierrorswindow) | Read-only  | The errors window                                     |
| FormMode     | bool                                                                 | Read/write | Specifies whether the data displaying mode is enabled |
| FormWindow   | [IFormWindow](/flexi-capture/appendix/scripts-shell/iformwindow)     | Read-only  | The form window                                       |
| Handle       | int                                                                  | Read-only  | The handle of the window                              |
| ImageWindow  | [IImageWindow](/flexi-capture/appendix/scripts-shell/iimagewindow)   | Read-only  | The image window                                      |
| Modified     | bool                                                                 | Read-only  | Specifies whether the document is modified            |
| TaskWindow   | [ITaskWindow](/flexi-capture/appendix/scripts-shell/itaskwindow)     | Read-only  | The task window                                       |
