11 #ifndef __STY_StyleSheet__
12 #define __STY_StyleSheet__
61 static void setRegisteredStyleSheetMap(
67 getDefAttributeName();
88 {
return myMaterials; }
98 {
return myOverrideSets; }
103 {
return myImportFiles; }
114 void loadStyleSheetString(
const char *json_str,
const UT_StringArray & getImportFiles() const
Gets a list of imported style sheet files.
Represents a material defined within a style sheet.
const UT_WorkBuffer & getErrors() const
Get any errors encounterd during the parsing of the stylesheet.
Class which writes ASCII or binary JSON streams.
A reference counter base class for use with UT_IntrusivePtr.
STY_StyleSheetFlags
Flags that may be set on stylesheets.
STY_StyleSheetFlags getFlags() const
Gets the flags for this style sheet.
Defines a script that computes an override value.
const STY_OverrideScriptMap & getScripts() const
Gets all shared script definitions provided by the style sheet.
const STY_OverrideBlockMap & getOverrideSets() const
Gets all material definitions provided by the style sheet.
Class to store JSON objects as C++ objects.
const UT_Array< STY_StyleHandle > & getStyles() const
Get the style entries defined by this style sheet.
const STY_MaterialMap & getMaterialDefinitions() const
Gets all material definitions provided by the style sheet.