@twip/web
    Preparing search index...

    Interface StyleDialogSession

    The style dialog: a dialog session, and its Format menu.

    interface StyleDialogSession {
        fields: {
            alignment?: FieldInfo;
            autoUpdate?: FieldInfo;
            basedOn?: FieldInfo;
            bold?: FieldInfo;
            border?: FieldInfo;
            cellAlignment?: FieldInfo;
            color?: FieldInfo;
            columnBand?: FieldInfo;
            description?: FieldInfo;
            fill?: FieldInfo;
            font?: FieldInfo;
            italic?: FieldInfo;
            leftIndent?: FieldInfo;
            lineSpacing?: FieldInfo;
            listLevel?: FieldInfo;
            listLevels?: FieldInfo;
            name?: FieldInfo;
            next?: FieldInfo;
            open?: FieldInfo;
            pending?: FieldInfo;
            quick?: FieldInfo;
            rowBand?: FieldInfo;
            shortForm?: FieldInfo;
            size?: FieldInfo;
            spaceAfter?: FieldInfo;
            spaceBefore?: FieldInfo;
            tablePart?: FieldInfo;
            type?: FieldInfo;
            underline?: FieldInfo;
        };
        kind: "style";
        values: StyleDialogValues;
        apply(): Promise<void>;
        cancel(): void;
        openFormat<K extends FormatDialogKind>(
            kind: K,
        ): Promise<FormatDialogSession<K>>;
        preview(size: PreviewSize): Promise<PreviewPicture>;
        update(patch: Partial<DialogValues[K]>): Promise<StyleDialogSession>;
    }

    Hierarchy (View Summary)

    Index
    fields: {
        alignment?: FieldInfo;
        autoUpdate?: FieldInfo;
        basedOn?: FieldInfo;
        bold?: FieldInfo;
        border?: FieldInfo;
        cellAlignment?: FieldInfo;
        color?: FieldInfo;
        columnBand?: FieldInfo;
        description?: FieldInfo;
        fill?: FieldInfo;
        font?: FieldInfo;
        italic?: FieldInfo;
        leftIndent?: FieldInfo;
        lineSpacing?: FieldInfo;
        listLevel?: FieldInfo;
        listLevels?: FieldInfo;
        name?: FieldInfo;
        next?: FieldInfo;
        open?: FieldInfo;
        pending?: FieldInfo;
        quick?: FieldInfo;
        rowBand?: FieldInfo;
        shortForm?: FieldInfo;
        size?: FieldInfo;
        spaceAfter?: FieldInfo;
        spaceBefore?: FieldInfo;
        tablePart?: FieldInfo;
        type?: FieldInfo;
        underline?: FieldInfo;
    }

    Each field's label, kind, range and state, by field name; a field may have no entry.

    Type Declaration

    • Optional Readonlyalignment?: FieldInfo

      The alignment (paragraph and linked styles).

    • Optional ReadonlyautoUpdate?: FieldInfo

      Direct formatting of a paragraph in the style changes the style.

    • Optional ReadonlybasedOn?: FieldInfo

      The style it is based on.

    • Optional Readonlybold?: FieldInfo

      Bold.

    • Optional Readonlyborder?: FieldInfo

      A table style: the part's border line, on every edge, or null.

    • Optional ReadonlycellAlignment?: FieldInfo

      A table style: the part's cells' vertical alignment.

    • Optional Readonlycolor?: FieldInfo

      The font color.

    • Optional ReadonlycolumnBand?: FieldInfo
    • Optional Readonlydescription?: FieldInfo

      The style's formatting in words, written by the editor.

    • Optional Readonlyfill?: FieldInfo

      A table style: the part's cell fill, or null.

    • Optional Readonlyfont?: FieldInfo

      The font.

    • Optional Readonlyitalic?: FieldInfo

      Italic.

    • Optional ReadonlyleftIndent?: FieldInfo

      The left indent.

    • Optional ReadonlylineSpacing?: FieldInfo

      The line spacing.

    • Optional ReadonlylistLevel?: FieldInfo
    • Optional ReadonlylistLevels?: FieldInfo

      A list style: its levels, and the level shown (0 to 8).

    • Optional Readonlyname?: FieldInfo

      The style's name; a built-in style renamed keeps its name and takes the new one as an alias.

    • Optional Readonlynext?: FieldInfo

      The style of the paragraph after one in this style.

    • Optional Readonlyopen?: FieldInfo

      Creating a style, or modifying one.

    • Optional Readonlypending?: FieldInfo

      The style as changed so far, the Format menu's dialogs included: give it back unchanged.

    • Optional Readonlyquick?: FieldInfo

      Shown in the Styles gallery.

    • Optional ReadonlyrowBand?: FieldInfo

      A table style: the rows, and the columns, in each band.

    • Optional ReadonlyshortForm?: FieldInfo

      The short form: the name and the preview.

    • Optional Readonlysize?: FieldInfo

      The size.

    • Optional ReadonlyspaceAfter?: FieldInfo

      The space after paragraphs.

    • Optional ReadonlyspaceBefore?: FieldInfo

      The space before paragraphs.

    • Optional ReadonlytablePart?: FieldInfo

      A table style: the part the formatting applies to.

    • Optional Readonlytype?: FieldInfo

      Its type, chosen when creating.

    • Optional Readonlyunderline?: FieldInfo

      The underline.

    kind: "style"

    Which dialog.

    The selection's current values, 'mixed' where they differ.