Start persisting styles.
Clears the mru color list
Returns the customized Indexed colors.
Returns all customized table styles.
Themes do not contain font sizes but it is possible to set a default font size at the document or application level.
Returns an array of colors that will be used to resolve any colors that use IndexXX or ColorXX as a key.
Return a the Normal styles as an IStyle.;
Convenience mechanism (and slightly faster) way to call getNamed('Normal').getRanged();
Returns The table style. This can be either a custom or a built in table style.
Optional
name: stringReturns the current theme
This is available for functions that want to resolve colors using the index color palette.
Returns a list of colors that were added via addRecentColor.
This is available for functions that want to resolve colors for the theme used specifically for this style.
Override the default indexed colors.
An array of colors.
This will add or update a table style.
A string of the name of the table.
The values to set for the table style.
A new ITableStyle
representing the updated style.
Set the default fontSize. Note - A theme does NOT contain this.
The new default font size.
This will add or update a cell style.
The Style or Style Modifiers
Optional
mergeIfExists: booleanIf true then the style will be merged with the existing style otherwise is a replace.
The new style after any merges.
Checks the current name to see if this is a valid sheetName.
Optional
checkDuplicates: boolean
Contains collections of Named and Table Styles.