@sheetxl/models
Version:
Models - A Headless javascript spreadsheet library.
41 lines (37 loc) • 1.04 kB
TypeScript
export declare enum AppContext {
excel = "excel",
word = "word",
powerpoint = "powerpoint",
other = "other"
}
/**
* OOXML does this as separate fields
ThemeBase {
colorScheme: IColorScheme;
fontScheme: IFontScheme;
formatScheme: IFormatScheme; (OOXML calls this MatrixStyle)
objectDefaults: IShapeDefaults; (OOXML calls this MatrixStyle)
extraColorSchemeList: any?
}
IFontScheme {
majorFontLatin: string (Major is called 'Heading Font' in Office)
majorFontEa: string
majorFontCS: string
additionalMajorFonts: string[]
minorFontLatin: string (Major is called 'Body Font' in Office)
minorFontEa: string
minorFontCS: string
additionalMinorFonts: string[]
}
IFormatScheme {
fillStyles: IFillStyle
bgFillStyles: IFillStyle
lnStyles: IStrokeStyle
effectStyles: IEffectsStyle
}
*/
export default interface IShapeOptions {
readonly appContext?: AppContext;
noDefaultProperties?: boolean;
}
//# sourceMappingURL=IShapeOptions.d.ts.map