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 the default ITableStyle.
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.
Returns the current theme
This is available for functions that want to resolve colors using the index color palette.
Converts a list of IStyle.Modifiers
that contain shorthand values into native values.
A valid IStyle.Modifiers with values that match the normal style removed.
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
If 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.
Base implementation of IStyleCollection
TODO - defaultFontSize move to theme?