Load a JSON for a SheetStyle object.
Once this is called the getSharedStyle is available for all the ids defined in the JSON for the current scope.
Given the id return the style. This assumes that the fromJSON has been called previously.
This can be called multiple times.
Only shared styles that have had the toResourceId called will be shown in the persisted json.
A 0-based style id for the given style. If this is a named style or a style that is not available with the styles then this will return null.
This is a side effect operation. Calling this will cause the style to be persisted as part of the toJSON
A transient scope for persisting styles with a given set of StyleIDs. This is required because many styles may be inactive (for example the undo stack or a collaboration session)