UNPKG

@sheetxl/models

Version:

Models - A Headless javascript spreadsheet library.

46 lines 1.32 kB
import PropertyPersister from "../dagm/PropertyPersister"; export declare enum FontStyle { Normal = "normal", Italic = "italic" } export declare enum FontScheme { Major = "major", Minor = "minor", None = "none" } export declare enum UnderlineStyle { None = "none", Double = "double", DoubleAccounting = "doubleAccounting", Single = "single", SingleAccounting = "singleAccounting" } /** * This is a lightweight reference to a font. */ export interface IFontFace { toJSON(): any; readonly name: string | undefined; readonly pitch: string | undefined; readonly panose: string | undefined; toString(): string; readonly isIFontFace: true; } /** read only font */ export declare class SimpleFontFace implements IFontFace { _private: any; constructor(input: any); toJSON(): any; get name(): string | undefined; get pitch(): string | undefined; get panose(): string | undefined; toString(): any; get isIFontFace(): true; } declare const fontSetter: (value: string | SimpleFontFace) => string | SimpleFontFace; declare class FontFacePersister extends PropertyPersister { toJSON(value: any): any; fromJSON(jsonValue: any): SimpleFontFace; } export { fontSetter, FontFacePersister }; //# sourceMappingURL=FontFace.d.ts.map