@twip/web
    Preparing search index...

    Interface CommandValues

    The value each command reports in state, for the commands that report one.

    interface CommandValues {
        copyFormatting: boolean;
        pasteFormatting: boolean;
        redo: string | null;
        setActiveComment: CommentId | null;
        setAlignment: Mixed<"center" | "left" | "right" | "justify">;
        setAllCaps: Tri;
        setAutoHyphenation: boolean;
        setBold: Tri;
        setCharacterPosition: Mixed<number>;
        setCharacterSpacing: Mixed<number>;
        setColumns: {
            count: number;
            separator: boolean;
            spacing: number;
            widths: ColumnWidth[];
        };
        setConsecutiveHyphenLimit: Mixed<number>;
        setDifferentFirstPage: boolean;
        setDifferentOddEvenPages: boolean;
        setDoubleStrikethrough: Tri;
        setFont: Mixed<string>;
        setFontColor: Mixed<`#${string}` | "auto">;
        setFontSize: Mixed<number>;
        setHeaderFooterDistance: { footer: number; header: number };
        setHidden: Tri;
        setHighlight: Mixed<"none" | HighlightColor>;
        setHyphenateCaps: boolean;
        setHyphenationZone: Mixed<number>;
        setIndents: {
            firstLine: Mixed<number>;
            hanging: Mixed<number>;
            left: Mixed<number>;
            mirror: Tri;
            right: Mixed<number>;
        };
        setItalic: Tri;
        setLineSpacing: Mixed<LineSpacing>;
        setList: Mixed<"none" | "bullet" | "numbered">;
        setListLevel: Mixed<number>;
        setMargins: {
            bottom: number;
            gutter: number;
            left: number;
            right: number;
            top: number;
        };
        setMarkupView: MarkupView;
        setMode: "editing"
        | "design";
        setOrientation: "portrait" | "landscape";
        setPaperSize: { height: number; width: number };
        setParagraphBorders: Mixed<"none" | "bottom" | "box" | "other">;
        setParagraphFlow: {
            dontHyphenate: Tri;
            keepLinesTogether: Tri;
            keepWithNext: Tri;
            pageBreakBefore: Tri;
            suppressLineNumbers: Tri;
            textboxTightWrap: Mixed<TightWrap>;
            widowControl: Tri;
        };
        setParagraphShading: Mixed<`#${string}` | "none">;
        setParagraphSpacing: {
            after: Mixed<number | "auto">;
            before: Mixed<number | "auto">;
        };
        setParagraphStyle: Mixed<StyleId>;
        setRulerTabType: TabSelector;
        setSelectionMode: "normal" | "extend" | "block";
        setSmallCaps: Tri;
        setStrikethrough: Tri;
        setSubscript: Tri;
        setSuperscript: Tri;
        setTablePosition: Required<TablePosition>;
        setTrackChanges: boolean;
        setUnderline: Mixed<UnderlineStyle>;
        setViewOptions: {
            formattingMarks: boolean;
            gridlines: boolean;
            liveLayout: boolean;
            textBoundaries: boolean;
        };
        setZoom: number;
        undo: string
        | null;
    }
    Index
    copyFormatting: boolean

    Whether formatting is held.

    pasteFormatting: boolean

    Whether formatting is held.

    redo: string | null

    The redo label.

    setActiveComment: CommentId | null

    The active comment.

    setAlignment: Mixed<"center" | "left" | "right" | "justify">

    The alignment.

    setAllCaps: Tri

    All caps.

    setAutoHyphenation: boolean

    Automatic hyphenation.

    setBold: Tri

    Bold.

    setCharacterPosition: Mixed<number>

    The raised or lowered position.

    setCharacterSpacing: Mixed<number>

    The character spacing.

    setColumns: {
        count: number;
        separator: boolean;
        spacing: number;
        widths: ColumnWidth[];
    }

    The text columns.

    setConsecutiveHyphenLimit: Mixed<number>

    The most consecutive hyphenated lines, 0 for no limit.

    setDifferentFirstPage: boolean

    A different first page.

    setDifferentOddEvenPages: boolean

    Different odd and even pages.

    setDoubleStrikethrough: Tri

    Double strikethrough.

    setFont: Mixed<string>

    The document's font family.

    setFontColor: Mixed<`#${string}` | "auto">

    The font colour.

    setFontSize: Mixed<number>

    The font size.

    setHeaderFooterDistance: { footer: number; header: number }

    The header and footer distances.

    setHidden: Tri

    Hidden text.

    setHighlight: Mixed<"none" | HighlightColor>

    The highlight.

    setHyphenateCaps: boolean

    Words in capitals are hyphenated.

    setHyphenationZone: Mixed<number>

    The hyphenation zone.

    setIndents: {
        firstLine: Mixed<number>;
        hanging: Mixed<number>;
        left: Mixed<number>;
        mirror: Tri;
        right: Mixed<number>;
    }

    The indents.

    setItalic: Tri

    Italic.

    setLineSpacing: Mixed<LineSpacing>

    The line spacing.

    setList: Mixed<"none" | "bullet" | "numbered">

    The list kind.

    setListLevel: Mixed<number>

    The list level.

    setMargins: {
        bottom: number;
        gutter: number;
        left: number;
        right: number;
        top: number;
    }

    The margins.

    setMarkupView: MarkupView

    The markup view.

    setMode: "editing" | "design"

    The mode.

    setOrientation: "portrait" | "landscape"

    The orientation.

    setPaperSize: { height: number; width: number }

    The paper size.

    setParagraphBorders: Mixed<"none" | "bottom" | "box" | "other">

    The paragraph borders.

    setParagraphFlow: {
        dontHyphenate: Tri;
        keepLinesTogether: Tri;
        keepWithNext: Tri;
        pageBreakBefore: Tri;
        suppressLineNumbers: Tri;
        textboxTightWrap: Mixed<TightWrap>;
        widowControl: Tri;
    }

    The pagination flags.

    setParagraphShading: Mixed<`#${string}` | "none">

    The paragraph shading.

    setParagraphSpacing: {
        after: Mixed<number | "auto">;
        before: Mixed<number | "auto">;
    }

    The space before and after.

    setParagraphStyle: Mixed<StyleId>

    The paragraph style.

    setRulerTabType: TabSelector

    What a click on the ruler adds.

    setSelectionMode: "normal" | "extend" | "block"

    The selection mode.

    setSmallCaps: Tri

    Small caps.

    setStrikethrough: Tri

    Strikethrough.

    setSubscript: Tri

    Subscript.

    setSuperscript: Tri

    Superscript.

    setTablePosition: Required<TablePosition>

    The caret's table's position, every field set; absent for a table in the text.

    setTrackChanges: boolean

    Whether changes are tracked.

    setUnderline: Mixed<UnderlineStyle>

    The underline style.

    setViewOptions: {
        formattingMarks: boolean;
        gridlines: boolean;
        liveLayout: boolean;
        textBoundaries: boolean;
    }

    The view options.

    setZoom: number

    The zoom, in percent.

    undo: string | null

    The undo label.