@twip/web
    Preparing search index...

    Interface EditorState

    The editor's UI snapshot: small, immutable, and cached on the calling side.

    interface EditorState {
        autoCorrect: AutoCorrectOptions;
        commands: {
            acceptAllRevisions: CommandState<"acceptAllRevisions">;
            acceptRevision: CommandState<"acceptRevision">;
            acceptRevisionsInSelection: CommandState<"acceptRevisionsInSelection">;
            activatePictureControl: CommandState<"activatePictureControl">;
            addComment: CommandState<"addComment">;
            addEditableRange: CommandState<"addEditableRange">;
            addTabStop: CommandState<"addTabStop">;
            adjustListIndents: CommandState<"adjustListIndents">;
            alignObjects: CommandState<"alignObjects">;
            applyCharacterStyle: CommandState<"applyCharacterStyle">;
            applyListEntry: CommandState<"applyListEntry">;
            arrangeObject: CommandState<"arrangeObject">;
            autoFitColumns: CommandState<"autoFitColumns">;
            changeCase: CommandState<"changeCase">;
            changePicture: CommandState<"changePicture">;
            clearFormatting: CommandState<"clearFormatting">;
            clearTabStops: CommandState<"clearTabStops">;
            closeHeaderFooter: CommandState<"closeHeaderFooter">;
            closePopover: CommandState<"closePopover">;
            closeSubTemplate: CommandState<"closeSubTemplate">;
            continueNumbering: CommandState<"continueNumbering">;
            convertNotes: CommandState<"convertNotes">;
            convertTableToText: CommandState<"convertTableToText">;
            convertTextToTable: CommandState<"convertTextToTable">;
            copy: CommandState<"copy">;
            copyFormatting: CommandState<"copyFormatting">;
            createSubTemplate: CommandState<"createSubTemplate">;
            cut: CommandState<"cut">;
            decreaseIndent: CommandState<"decreaseIndent">;
            delete: CommandState<"delete">;
            deleteBookmark: CommandState<"deleteBookmark">;
            deleteCells: CommandState<"deleteCells">;
            deleteColumns: CommandState<"deleteColumns">;
            deleteComment: CommandState<"deleteComment">;
            deleteObject: CommandState<"deleteObject">;
            deleteRows: CommandState<"deleteRows">;
            deleteStyle: CommandState<"deleteStyle">;
            deleteTable: CommandState<"deleteTable">;
            deleteTabStop: CommandState<"deleteTabStop">;
            describeFormatting: CommandState<"describeFormatting">;
            distributeColumns: CommandState<"distributeColumns">;
            distributeRows: CommandState<"distributeRows">;
            editComment: CommandState<"editComment">;
            editFooter: CommandState<"editFooter">;
            editHeader: CommandState<"editHeader">;
            editHyperlink: CommandState<"editHyperlink">;
            editSubTemplate: CommandState<"editSubTemplate">;
            escape: CommandState<"escape">;
            fillControl: CommandState<"fillControl">;
            fillFormField: CommandState<"fillFormField">;
            flipObject: CommandState<"flipObject">;
            goBack: CommandState<"goBack">;
            goToBookmark: CommandState<"goToBookmark">;
            goToPage: CommandState<"goToPage">;
            groupObjects: CommandState<"groupObjects">;
            growFont: CommandState<"growFont">;
            increaseIndent: CommandState<"increaseIndent">;
            insertAlignmentTab: CommandState<"insertAlignmentTab">;
            insertBookmark: CommandState<"insertBookmark">;
            insertColumnBreak: CommandState<"insertColumnBreak">;
            insertColumns: CommandState<"insertColumns">;
            insertControl: CommandState<"insertControl">;
            insertEndnote: CommandState<"insertEndnote">;
            insertField: CommandState<"insertField">;
            insertFootnote: CommandState<"insertFootnote">;
            insertFormField: CommandState<"insertFormField">;
            insertHyperlink: CommandState<"insertHyperlink">;
            insertLineBreak: CommandState<"insertLineBreak">;
            insertNote: CommandState<"insertNote">;
            insertPageBreak: CommandState<"insertPageBreak">;
            insertPageNumber: CommandState<"insertPageNumber">;
            insertParagraph: CommandState<"insertParagraph">;
            insertPicture: CommandState<"insertPicture">;
            insertRows: CommandState<"insertRows">;
            insertSectionBreak: CommandState<"insertSectionBreak">;
            insertShape: CommandState<"insertShape">;
            insertSymbol: CommandState<"insertSymbol">;
            insertTab: CommandState<"insertTab">;
            insertTable: CommandState<"insertTable">;
            insertText: CommandState<"insertText">;
            insertTextBox: CommandState<"insertTextBox">;
            markElements: CommandState<"markElements">;
            mergeCells: CommandState<"mergeCells">;
            moveColumnBoundary: CommandState<"moveColumnBoundary">;
            moveRows: CommandState<"moveRows">;
            moveSelection: CommandState<"moveSelection">;
            moveTableColumnBoundary: CommandState<"moveTableColumnBoundary">;
            moveTableRowBoundary: CommandState<"moveTableRowBoundary">;
            moveTabStop: CommandState<"moveTabStop">;
            moveToCell: CommandState<"moveToCell">;
            neverAutoCorrect: CommandState<"neverAutoCorrect">;
            paste: CommandState<"paste">;
            pasteFormatting: CommandState<"pasteFormatting">;
            pasteText: CommandState<"pasteText">;
            redo: CommandState<"redo">;
            rejectAllRevisions: CommandState<"rejectAllRevisions">;
            rejectRevision: CommandState<"rejectRevision">;
            rejectRevisionsInSelection: CommandState<"rejectRevisionsInSelection">;
            removeControl: CommandState<"removeControl">;
            removeDataPart: CommandState<"removeDataPart">;
            removeEditableRanges: CommandState<"removeEditableRanges">;
            removeElement: CommandState<"removeElement">;
            removeFrame: CommandState<"removeFrame">;
            removeHeaderFooter: CommandState<"removeHeaderFooter">;
            removeHyperlink: CommandState<"removeHyperlink">;
            removeSubTemplate: CommandState<"removeSubTemplate">;
            removeWatermark: CommandState<"removeWatermark">;
            renameSubTemplate: CommandState<"renameSubTemplate">;
            repeat: CommandState<"repeat">;
            replaceBody: CommandState<"replaceBody">;
            replaceFont: CommandState<"replaceFont">;
            replaceInElements: CommandState<"replaceInElements">;
            replyToComment: CommandState<"replyToComment">;
            resetObjectSize: CommandState<"resetObjectSize">;
            resolveComment: CommandState<"resolveComment">;
            restartNumbering: CommandState<"restartNumbering">;
            revertAutoCorrect: CommandState<"revertAutoCorrect">;
            select: CommandState<"select">;
            selectAll: CommandState<"selectAll">;
            selectComment: CommandState<"selectComment">;
            selectGroupChild: CommandState<"selectGroupChild">;
            selectNextObject: CommandState<"selectNextObject">;
            selectRevision: CommandState<"selectRevision">;
            setActiveComment: CommandState<"setActiveComment">;
            setAlignment: CommandState<"setAlignment">;
            setAllCaps: CommandState<"setAllCaps">;
            setAltText: CommandState<"setAltText">;
            setAnchorLocked: CommandState<"setAnchorLocked">;
            setApplicationFieldTypes: CommandState<"setApplicationFieldTypes">;
            setAuthorColor: CommandState<"setAuthorColor">;
            setAutoCorrect: CommandState<"setAutoCorrect">;
            setAutoHyphenation: CommandState<"setAutoHyphenation">;
            setBold: CommandState<"setBold">;
            setCellAlignment: CommandState<"setCellAlignment">;
            setCellBorders: CommandState<"setCellBorders">;
            setCellMargins: CommandState<"setCellMargins">;
            setCellProperties: CommandState<"setCellProperties">;
            setCellShading: CommandState<"setCellShading">;
            setCharacterEffects: CommandState<"setCharacterEffects">;
            setCharacterPosition: CommandState<"setCharacterPosition">;
            setCharacterSpacing: CommandState<"setCharacterSpacing">;
            setCheckbox: CommandState<"setCheckbox">;
            setColumns: CommandState<"setColumns">;
            setColumnWidth: CommandState<"setColumnWidth">;
            setConsecutiveHyphenLimit: CommandState<"setConsecutiveHyphenLimit">;
            setControl: CommandState<"setControl">;
            setDefaultTableStyle: CommandState<"setDefaultTableStyle">;
            setDefaultTabStop: CommandState<"setDefaultTabStop">;
            setDifferentFirstPage: CommandState<"setDifferentFirstPage">;
            setDifferentOddEvenPages: CommandState<"setDifferentOddEvenPages">;
            setDocumentDefaults: CommandState<"setDocumentDefaults">;
            setDocumentProperties: CommandState<"setDocumentProperties">;
            setDocumentProtection: CommandState<"setDocumentProtection">;
            setDocumentVariable: CommandState<"setDocumentVariable">;
            setDoubleStrikethrough: CommandState<"setDoubleStrikethrough">;
            setDropCap: CommandState<"setDropCap">;
            setField: CommandState<"setField">;
            setFieldLabels: CommandState<"setFieldLabels">;
            setFieldResults: CommandState<"setFieldResults">;
            setFieldsLocked: CommandState<"setFieldsLocked">;
            setFileName: CommandState<"setFileName">;
            setFont: CommandState<"setFont">;
            setFontColor: CommandState<"setFontColor">;
            setFontSize: CommandState<"setFontSize">;
            setFormField: CommandState<"setFormField">;
            setFormFieldShading: CommandState<"setFormFieldShading">;
            setFrame: CommandState<"setFrame">;
            setHeaderFooterDistance: CommandState<"setHeaderFooterDistance">;
            setHeaderFooterLinked: CommandState<"setHeaderFooterLinked">;
            setHeaderRow: CommandState<"setHeaderRow">;
            setHidden: CommandState<"setHidden">;
            setHighlight: CommandState<"setHighlight">;
            setHyphenateCaps: CommandState<"setHyphenateCaps">;
            setHyphenationZone: CommandState<"setHyphenationZone">;
            setIndents: CommandState<"setIndents">;
            setItalic: CommandState<"setItalic">;
            setLanguage: CommandState<"setLanguage">;
            setLineNumbering: CommandState<"setLineNumbering">;
            setLineSpacing: CommandState<"setLineSpacing">;
            setList: CommandState<"setList">;
            setListDefinition: CommandState<"setListDefinition">;
            setListLevel: CommandState<"setListLevel">;
            setMargins: CommandState<"setMargins">;
            setMarkupView: CommandState<"setMarkupView">;
            setMode: CommandState<"setMode">;
            setMultiplePages: CommandState<"setMultiplePages">;
            setNoteProperties: CommandState<"setNoteProperties">;
            setNumberingValue: CommandState<"setNumberingValue">;
            setObjectPosition: CommandState<"setObjectPosition">;
            setObjectRotation: CommandState<"setObjectRotation">;
            setObjectSize: CommandState<"setObjectSize">;
            setObjectWrap: CommandState<"setObjectWrap">;
            setObjectWrapOptions: CommandState<"setObjectWrapOptions">;
            setOrientation: CommandState<"setOrientation">;
            setOutline: CommandState<"setOutline">;
            setPageBorders: CommandState<"setPageBorders">;
            setPageColor: CommandState<"setPageColor">;
            setPageNumbering: CommandState<"setPageNumbering">;
            setPageVerticalAlignment: CommandState<"setPageVerticalAlignment">;
            setPaperSize: CommandState<"setPaperSize">;
            setParagraphBorderLines: CommandState<"setParagraphBorderLines">;
            setParagraphBorders: CommandState<"setParagraphBorders">;
            setParagraphFlow: CommandState<"setParagraphFlow">;
            setParagraphShading: CommandState<"setParagraphShading">;
            setParagraphSpacing: CommandState<"setParagraphSpacing">;
            setParagraphStyle: CommandState<"setParagraphStyle">;
            setParagraphTextDirection: CommandState<"setParagraphTextDirection">;
            setPictureAdjust: CommandState<"setPictureAdjust">;
            setPictureCrop: CommandState<"setPictureCrop">;
            setProtectedPictureControls: CommandState<"setProtectedPictureControls">;
            setRowCanBreak: CommandState<"setRowCanBreak">;
            setRowHeight: CommandState<"setRowHeight">;
            setRowProperties: CommandState<"setRowProperties">;
            setRulerTabType: CommandState<"setRulerTabType">;
            setSectionBreakType: CommandState<"setSectionBreakType">;
            setSectionTextDirection: CommandState<"setSectionTextDirection">;
            setSelectionMode: CommandState<"setSelectionMode">;
            setShading: CommandState<"setShading">;
            setShapeAdjust: CommandState<"setShapeAdjust">;
            setShapeEffects: CommandState<"setShapeEffects">;
            setShapeFill: CommandState<"setShapeFill">;
            setShapeLine: CommandState<"setShapeLine">;
            setShapePreset: CommandState<"setShapePreset">;
            setShapeText: CommandState<"setShapeText">;
            setSmallCaps: CommandState<"setSmallCaps">;
            setStrikethrough: CommandState<"setStrikethrough">;
            setStyleMeta: CommandState<"setStyleMeta">;
            setSubscript: CommandState<"setSubscript">;
            setSubTemplateRules: CommandState<"setSubTemplateRules">;
            setSubTemplateView: CommandState<"setSubTemplateView">;
            setSuperscript: CommandState<"setSuperscript">;
            setTableAlignment: CommandState<"setTableAlignment">;
            setTableAltText: CommandState<"setTableAltText">;
            setTableCellSpacing: CommandState<"setTableCellSpacing">;
            setTableIndent: CommandState<"setTableIndent">;
            setTablePosition: CommandState<"setTablePosition">;
            setTableStyle: CommandState<"setTableStyle">;
            setTableStyleOptions: CommandState<"setTableStyleOptions">;
            setTableWidth: CommandState<"setTableWidth">;
            setTextBorder: CommandState<"setTextBorder">;
            setTextEffects: CommandState<"setTextEffects">;
            setTrackChanges: CommandState<"setTrackChanges">;
            setTypography: CommandState<"setTypography">;
            setUnderline: CommandState<"setUnderline">;
            setUnderlineColor: CommandState<"setUnderlineColor">;
            setViewOptions: CommandState<"setViewOptions">;
            setWatermark: CommandState<"setWatermark">;
            setZoom: CommandState<"setZoom">;
            showAutoCorrectOptions: CommandState<"showAutoCorrectOptions">;
            showFieldCodes: CommandState<"showFieldCodes">;
            showTabStop: CommandState<"showTabStop">;
            showTabTypes: CommandState<"showTabTypes">;
            shrinkFont: CommandState<"shrinkFont">;
            splitCells: CommandState<"splitCells">;
            splitTable: CommandState<"splitTable">;
            undo: CommandState<"undo">;
            ungroupObjects: CommandState<"ungroupObjects">;
            unlinkFields: CommandState<"unlinkFields">;
            updateFields: CommandState<"updateFields">;
            updateStyleToSelection: CommandState<"updateStyleToSelection">;
            wrapInRepeatingSection: CommandState<"wrapInRepeatingSection">;
            writeDataPart: CommandState<"writeDataPart">;
        };
        dialogs: {
            accessibility: boolean;
            adjustListIndents: boolean;
            altText: boolean;
            banding: boolean;
            bordersShading: boolean;
            bulletsNumbering: boolean;
            defineBullet: boolean;
            defineMultilevelList: boolean;
            defineNumberFormat: boolean;
            dropCap: boolean;
            fillEffects: boolean;
            font: boolean;
            frame: boolean;
            hyperlink: boolean;
            insertTable: boolean;
            manageStyles: boolean;
            pageSetup: boolean;
            paragraph: boolean;
            pictureSize: boolean;
            printedWatermark: boolean;
            setNumberingValue: boolean;
            style: boolean;
            tableProperties: boolean;
            tabs: boolean;
        };
        editing?: EditingTarget;
        fonts: FontsState;
        formatPainter: boolean;
        formatting: CharacterFormatting;
        history: {
            canRedo: boolean;
            canUndo: boolean;
            redoLabel: string
            | null;
            undoLabel: string | null;
        };
        load: "opening"
        | "ready"
        | "layingOut";
        mode: "editing" | "design";
        modified: boolean;
        page: PageFormatting;
        pages: { complete: boolean; count: number; current: number };
        paragraph: ParagraphFormatting;
        readOnly: boolean;
        review: ReviewState;
        revision: number;
        ruler: RulerModel;
        selection: SelectionSummary;
        sequence: number;
        spelling: { enabled: boolean; language: string; misspellings: number };
        themeColours: `#${string}`[];
        view: ViewState;
    }
    Index
    autoCorrect: AutoCorrectOptions

    What typing corrects (setAutoCorrect).

    commands: {
        acceptAllRevisions: CommandState<"acceptAllRevisions">;
        acceptRevision: CommandState<"acceptRevision">;
        acceptRevisionsInSelection: CommandState<"acceptRevisionsInSelection">;
        activatePictureControl: CommandState<"activatePictureControl">;
        addComment: CommandState<"addComment">;
        addEditableRange: CommandState<"addEditableRange">;
        addTabStop: CommandState<"addTabStop">;
        adjustListIndents: CommandState<"adjustListIndents">;
        alignObjects: CommandState<"alignObjects">;
        applyCharacterStyle: CommandState<"applyCharacterStyle">;
        applyListEntry: CommandState<"applyListEntry">;
        arrangeObject: CommandState<"arrangeObject">;
        autoFitColumns: CommandState<"autoFitColumns">;
        changeCase: CommandState<"changeCase">;
        changePicture: CommandState<"changePicture">;
        clearFormatting: CommandState<"clearFormatting">;
        clearTabStops: CommandState<"clearTabStops">;
        closeHeaderFooter: CommandState<"closeHeaderFooter">;
        closePopover: CommandState<"closePopover">;
        closeSubTemplate: CommandState<"closeSubTemplate">;
        continueNumbering: CommandState<"continueNumbering">;
        convertNotes: CommandState<"convertNotes">;
        convertTableToText: CommandState<"convertTableToText">;
        convertTextToTable: CommandState<"convertTextToTable">;
        copy: CommandState<"copy">;
        copyFormatting: CommandState<"copyFormatting">;
        createSubTemplate: CommandState<"createSubTemplate">;
        cut: CommandState<"cut">;
        decreaseIndent: CommandState<"decreaseIndent">;
        delete: CommandState<"delete">;
        deleteBookmark: CommandState<"deleteBookmark">;
        deleteCells: CommandState<"deleteCells">;
        deleteColumns: CommandState<"deleteColumns">;
        deleteComment: CommandState<"deleteComment">;
        deleteObject: CommandState<"deleteObject">;
        deleteRows: CommandState<"deleteRows">;
        deleteStyle: CommandState<"deleteStyle">;
        deleteTable: CommandState<"deleteTable">;
        deleteTabStop: CommandState<"deleteTabStop">;
        describeFormatting: CommandState<"describeFormatting">;
        distributeColumns: CommandState<"distributeColumns">;
        distributeRows: CommandState<"distributeRows">;
        editComment: CommandState<"editComment">;
        editFooter: CommandState<"editFooter">;
        editHeader: CommandState<"editHeader">;
        editHyperlink: CommandState<"editHyperlink">;
        editSubTemplate: CommandState<"editSubTemplate">;
        escape: CommandState<"escape">;
        fillControl: CommandState<"fillControl">;
        fillFormField: CommandState<"fillFormField">;
        flipObject: CommandState<"flipObject">;
        goBack: CommandState<"goBack">;
        goToBookmark: CommandState<"goToBookmark">;
        goToPage: CommandState<"goToPage">;
        groupObjects: CommandState<"groupObjects">;
        growFont: CommandState<"growFont">;
        increaseIndent: CommandState<"increaseIndent">;
        insertAlignmentTab: CommandState<"insertAlignmentTab">;
        insertBookmark: CommandState<"insertBookmark">;
        insertColumnBreak: CommandState<"insertColumnBreak">;
        insertColumns: CommandState<"insertColumns">;
        insertControl: CommandState<"insertControl">;
        insertEndnote: CommandState<"insertEndnote">;
        insertField: CommandState<"insertField">;
        insertFootnote: CommandState<"insertFootnote">;
        insertFormField: CommandState<"insertFormField">;
        insertHyperlink: CommandState<"insertHyperlink">;
        insertLineBreak: CommandState<"insertLineBreak">;
        insertNote: CommandState<"insertNote">;
        insertPageBreak: CommandState<"insertPageBreak">;
        insertPageNumber: CommandState<"insertPageNumber">;
        insertParagraph: CommandState<"insertParagraph">;
        insertPicture: CommandState<"insertPicture">;
        insertRows: CommandState<"insertRows">;
        insertSectionBreak: CommandState<"insertSectionBreak">;
        insertShape: CommandState<"insertShape">;
        insertSymbol: CommandState<"insertSymbol">;
        insertTab: CommandState<"insertTab">;
        insertTable: CommandState<"insertTable">;
        insertText: CommandState<"insertText">;
        insertTextBox: CommandState<"insertTextBox">;
        markElements: CommandState<"markElements">;
        mergeCells: CommandState<"mergeCells">;
        moveColumnBoundary: CommandState<"moveColumnBoundary">;
        moveRows: CommandState<"moveRows">;
        moveSelection: CommandState<"moveSelection">;
        moveTableColumnBoundary: CommandState<"moveTableColumnBoundary">;
        moveTableRowBoundary: CommandState<"moveTableRowBoundary">;
        moveTabStop: CommandState<"moveTabStop">;
        moveToCell: CommandState<"moveToCell">;
        neverAutoCorrect: CommandState<"neverAutoCorrect">;
        paste: CommandState<"paste">;
        pasteFormatting: CommandState<"pasteFormatting">;
        pasteText: CommandState<"pasteText">;
        redo: CommandState<"redo">;
        rejectAllRevisions: CommandState<"rejectAllRevisions">;
        rejectRevision: CommandState<"rejectRevision">;
        rejectRevisionsInSelection: CommandState<"rejectRevisionsInSelection">;
        removeControl: CommandState<"removeControl">;
        removeDataPart: CommandState<"removeDataPart">;
        removeEditableRanges: CommandState<"removeEditableRanges">;
        removeElement: CommandState<"removeElement">;
        removeFrame: CommandState<"removeFrame">;
        removeHeaderFooter: CommandState<"removeHeaderFooter">;
        removeHyperlink: CommandState<"removeHyperlink">;
        removeSubTemplate: CommandState<"removeSubTemplate">;
        removeWatermark: CommandState<"removeWatermark">;
        renameSubTemplate: CommandState<"renameSubTemplate">;
        repeat: CommandState<"repeat">;
        replaceBody: CommandState<"replaceBody">;
        replaceFont: CommandState<"replaceFont">;
        replaceInElements: CommandState<"replaceInElements">;
        replyToComment: CommandState<"replyToComment">;
        resetObjectSize: CommandState<"resetObjectSize">;
        resolveComment: CommandState<"resolveComment">;
        restartNumbering: CommandState<"restartNumbering">;
        revertAutoCorrect: CommandState<"revertAutoCorrect">;
        select: CommandState<"select">;
        selectAll: CommandState<"selectAll">;
        selectComment: CommandState<"selectComment">;
        selectGroupChild: CommandState<"selectGroupChild">;
        selectNextObject: CommandState<"selectNextObject">;
        selectRevision: CommandState<"selectRevision">;
        setActiveComment: CommandState<"setActiveComment">;
        setAlignment: CommandState<"setAlignment">;
        setAllCaps: CommandState<"setAllCaps">;
        setAltText: CommandState<"setAltText">;
        setAnchorLocked: CommandState<"setAnchorLocked">;
        setApplicationFieldTypes: CommandState<"setApplicationFieldTypes">;
        setAuthorColor: CommandState<"setAuthorColor">;
        setAutoCorrect: CommandState<"setAutoCorrect">;
        setAutoHyphenation: CommandState<"setAutoHyphenation">;
        setBold: CommandState<"setBold">;
        setCellAlignment: CommandState<"setCellAlignment">;
        setCellBorders: CommandState<"setCellBorders">;
        setCellMargins: CommandState<"setCellMargins">;
        setCellProperties: CommandState<"setCellProperties">;
        setCellShading: CommandState<"setCellShading">;
        setCharacterEffects: CommandState<"setCharacterEffects">;
        setCharacterPosition: CommandState<"setCharacterPosition">;
        setCharacterSpacing: CommandState<"setCharacterSpacing">;
        setCheckbox: CommandState<"setCheckbox">;
        setColumns: CommandState<"setColumns">;
        setColumnWidth: CommandState<"setColumnWidth">;
        setConsecutiveHyphenLimit: CommandState<"setConsecutiveHyphenLimit">;
        setControl: CommandState<"setControl">;
        setDefaultTableStyle: CommandState<"setDefaultTableStyle">;
        setDefaultTabStop: CommandState<"setDefaultTabStop">;
        setDifferentFirstPage: CommandState<"setDifferentFirstPage">;
        setDifferentOddEvenPages: CommandState<"setDifferentOddEvenPages">;
        setDocumentDefaults: CommandState<"setDocumentDefaults">;
        setDocumentProperties: CommandState<"setDocumentProperties">;
        setDocumentProtection: CommandState<"setDocumentProtection">;
        setDocumentVariable: CommandState<"setDocumentVariable">;
        setDoubleStrikethrough: CommandState<"setDoubleStrikethrough">;
        setDropCap: CommandState<"setDropCap">;
        setField: CommandState<"setField">;
        setFieldLabels: CommandState<"setFieldLabels">;
        setFieldResults: CommandState<"setFieldResults">;
        setFieldsLocked: CommandState<"setFieldsLocked">;
        setFileName: CommandState<"setFileName">;
        setFont: CommandState<"setFont">;
        setFontColor: CommandState<"setFontColor">;
        setFontSize: CommandState<"setFontSize">;
        setFormField: CommandState<"setFormField">;
        setFormFieldShading: CommandState<"setFormFieldShading">;
        setFrame: CommandState<"setFrame">;
        setHeaderFooterDistance: CommandState<"setHeaderFooterDistance">;
        setHeaderFooterLinked: CommandState<"setHeaderFooterLinked">;
        setHeaderRow: CommandState<"setHeaderRow">;
        setHidden: CommandState<"setHidden">;
        setHighlight: CommandState<"setHighlight">;
        setHyphenateCaps: CommandState<"setHyphenateCaps">;
        setHyphenationZone: CommandState<"setHyphenationZone">;
        setIndents: CommandState<"setIndents">;
        setItalic: CommandState<"setItalic">;
        setLanguage: CommandState<"setLanguage">;
        setLineNumbering: CommandState<"setLineNumbering">;
        setLineSpacing: CommandState<"setLineSpacing">;
        setList: CommandState<"setList">;
        setListDefinition: CommandState<"setListDefinition">;
        setListLevel: CommandState<"setListLevel">;
        setMargins: CommandState<"setMargins">;
        setMarkupView: CommandState<"setMarkupView">;
        setMode: CommandState<"setMode">;
        setMultiplePages: CommandState<"setMultiplePages">;
        setNoteProperties: CommandState<"setNoteProperties">;
        setNumberingValue: CommandState<"setNumberingValue">;
        setObjectPosition: CommandState<"setObjectPosition">;
        setObjectRotation: CommandState<"setObjectRotation">;
        setObjectSize: CommandState<"setObjectSize">;
        setObjectWrap: CommandState<"setObjectWrap">;
        setObjectWrapOptions: CommandState<"setObjectWrapOptions">;
        setOrientation: CommandState<"setOrientation">;
        setOutline: CommandState<"setOutline">;
        setPageBorders: CommandState<"setPageBorders">;
        setPageColor: CommandState<"setPageColor">;
        setPageNumbering: CommandState<"setPageNumbering">;
        setPageVerticalAlignment: CommandState<"setPageVerticalAlignment">;
        setPaperSize: CommandState<"setPaperSize">;
        setParagraphBorderLines: CommandState<"setParagraphBorderLines">;
        setParagraphBorders: CommandState<"setParagraphBorders">;
        setParagraphFlow: CommandState<"setParagraphFlow">;
        setParagraphShading: CommandState<"setParagraphShading">;
        setParagraphSpacing: CommandState<"setParagraphSpacing">;
        setParagraphStyle: CommandState<"setParagraphStyle">;
        setParagraphTextDirection: CommandState<"setParagraphTextDirection">;
        setPictureAdjust: CommandState<"setPictureAdjust">;
        setPictureCrop: CommandState<"setPictureCrop">;
        setProtectedPictureControls: CommandState<"setProtectedPictureControls">;
        setRowCanBreak: CommandState<"setRowCanBreak">;
        setRowHeight: CommandState<"setRowHeight">;
        setRowProperties: CommandState<"setRowProperties">;
        setRulerTabType: CommandState<"setRulerTabType">;
        setSectionBreakType: CommandState<"setSectionBreakType">;
        setSectionTextDirection: CommandState<"setSectionTextDirection">;
        setSelectionMode: CommandState<"setSelectionMode">;
        setShading: CommandState<"setShading">;
        setShapeAdjust: CommandState<"setShapeAdjust">;
        setShapeEffects: CommandState<"setShapeEffects">;
        setShapeFill: CommandState<"setShapeFill">;
        setShapeLine: CommandState<"setShapeLine">;
        setShapePreset: CommandState<"setShapePreset">;
        setShapeText: CommandState<"setShapeText">;
        setSmallCaps: CommandState<"setSmallCaps">;
        setStrikethrough: CommandState<"setStrikethrough">;
        setStyleMeta: CommandState<"setStyleMeta">;
        setSubscript: CommandState<"setSubscript">;
        setSubTemplateRules: CommandState<"setSubTemplateRules">;
        setSubTemplateView: CommandState<"setSubTemplateView">;
        setSuperscript: CommandState<"setSuperscript">;
        setTableAlignment: CommandState<"setTableAlignment">;
        setTableAltText: CommandState<"setTableAltText">;
        setTableCellSpacing: CommandState<"setTableCellSpacing">;
        setTableIndent: CommandState<"setTableIndent">;
        setTablePosition: CommandState<"setTablePosition">;
        setTableStyle: CommandState<"setTableStyle">;
        setTableStyleOptions: CommandState<"setTableStyleOptions">;
        setTableWidth: CommandState<"setTableWidth">;
        setTextBorder: CommandState<"setTextBorder">;
        setTextEffects: CommandState<"setTextEffects">;
        setTrackChanges: CommandState<"setTrackChanges">;
        setTypography: CommandState<"setTypography">;
        setUnderline: CommandState<"setUnderline">;
        setUnderlineColor: CommandState<"setUnderlineColor">;
        setViewOptions: CommandState<"setViewOptions">;
        setWatermark: CommandState<"setWatermark">;
        setZoom: CommandState<"setZoom">;
        showAutoCorrectOptions: CommandState<"showAutoCorrectOptions">;
        showFieldCodes: CommandState<"showFieldCodes">;
        showTabStop: CommandState<"showTabStop">;
        showTabTypes: CommandState<"showTabTypes">;
        shrinkFont: CommandState<"shrinkFont">;
        splitCells: CommandState<"splitCells">;
        splitTable: CommandState<"splitTable">;
        undo: CommandState<"undo">;
        ungroupObjects: CommandState<"ungroupObjects">;
        unlinkFields: CommandState<"unlinkFields">;
        updateFields: CommandState<"updateFields">;
        updateStyleToSelection: CommandState<"updateStyleToSelection">;
        wrapInRepeatingSection: CommandState<"wrapInRepeatingSection">;
        writeDataPart: CommandState<"writeDataPart">;
    }

    Each command's availability and value, keyed by command id.

    dialogs: {
        accessibility: boolean;
        adjustListIndents: boolean;
        altText: boolean;
        banding: boolean;
        bordersShading: boolean;
        bulletsNumbering: boolean;
        defineBullet: boolean;
        defineMultilevelList: boolean;
        defineNumberFormat: boolean;
        dropCap: boolean;
        fillEffects: boolean;
        font: boolean;
        frame: boolean;
        hyperlink: boolean;
        insertTable: boolean;
        manageStyles: boolean;
        pageSetup: boolean;
        paragraph: boolean;
        pictureSize: boolean;
        printedWatermark: boolean;
        setNumberingValue: boolean;
        style: boolean;
        tableProperties: boolean;
        tabs: boolean;
    }

    Each dialog's availability: whether dialogs.open opens it now.

    editing?: EditingTarget

    The sub-template being edited; absent while the template is.

    fonts: FontsState

    The document's fonts that draw with a stand-in, and the characters no font has.

    formatPainter: boolean

    Whether formatting is held for pasteFormatting.

    The selection's character formatting.

    history: {
        canRedo: boolean;
        canUndo: boolean;
        redoLabel: string | null;
        undoLabel: string | null;
    }

    Undo and redo.

    load: "opening" | "ready" | "layingOut"

    Whether a document is opening, ready, or still being laid out.

    mode: "editing" | "design"

    Editing or the merge designer's design mode.

    modified: boolean

    Changed since the last open or DOCX export; undoing back clears it.

    The selection's section.

    pages: { complete: boolean; count: number; current: number }

    The pages laid out so far and the caret's page. Background layout adds pages until complete; each change is a new state with the same revision.

    The selection's paragraph formatting.

    readOnly: boolean

    Whether edits are refused.

    review: ReviewState

    Track changes and comments.

    revision: number

    Rises by one per committed transaction.

    ruler: RulerModel

    The ruler model for the selection, in points, with no viewport mapping.

    selection: SelectionSummary

    What is selected.

    sequence: number

    Rises by one per observable change, selection included.

    spelling: { enabled: boolean; language: string; misspellings: number }

    Spell checking.

    themeColours: `#${string}`[]

    The document's 12 theme colours, in ThemeColour order (text1, background1, text2, background2, accent1 to accent6, hyperlink, followedHyperlink), for an application's colour picker.

    view: ViewState

    View settings.