SheetXL - v1.0.2
    Preparing search index...

    Interface INamed

    Represents a named cell style that can be selected and applied across multiple cells. Named styles provide a convenient way to apply predefined or custom styling options available within the application's UI. Commonly used for both built-in and user-defined styles in spreadsheet applications.

    interface INamed {
        isINamed: true;
        delete(): void;
        getBuiltInID(): number | null;
        getILevel(): number | null;
        getName(): string;
        getRanged(): ICellRanged<ICellStyle.Properties<Serializable>>;
        isCustomized(): boolean;
        isHidden(): boolean;
        toJSON(): NamedJSON;
    }
    Index
    isINamed: true

    For runtime type checking.

    • Deletes the style.

      Returns void

      For built-in styles, this method will hide.

    • Identifies the built-in ID for predefined styles, if applicable.

      Returns number | null

      The built-in ID number if the style is a predefined one, or null if the style is custom.

    • Specifies if this style is applied to outline levels in the application.

      Returns number | null

      The outline level if this style applies to outlines, or null if it is not associated with any outline levels.

      • Outline styles allow automatic application of the style to cells at a specific outline level.
      • Returns null if outline does not affect styles.
      • This is only used for built-in styles RowLevel_# and ColLevel_#.
    • Returns the name for the style.

      Returns string

    • Whether this built-in style's definition has been changed from the predefined one.

      Returns boolean

      Always false for a style that is not built in.

    • If 'true' do not show this style in the application UI.

      Returns boolean