Represents the styleset rule.
Public Member Functions | |
override string[] | GetNames () |
The set of all names that this at rule can use. Usually just one. E.g. font-face etc. More... | |
void | AddToDocument (ReflowDocument document) |
The parent rule of this rule. More... | |
void | RemoveFromDocument (ReflowDocument document) |
Removes this rule from the lookups in the given document. More... | |
override void | SetupParsing (CssLexer lexer) |
This e.g. sets AtRuleMode. It's true if this @ rule uses nested selectors. Media and keyframes are two examples. More... | |
virtual void | ToOpenTypeFeature (Css.Value value, List< OpenTypeFeature > results) |
Maps the given value to an OpenType feature. More... | |
override Rule | LoadRule (Css.Rule parent, StyleSheet sheet, Css.Value value) |
Called on this instance object to load it's values from the given value object. More... | |
Public Member Functions inherited from Css.CssAtRule | |
virtual CssAtRule | Copy () |
Copies this at rule. More... | |
Public Attributes | |
Dictionary< string, List < OpenTypeFeature > > | Properties =new Dictionary<string,List<OpenTypeFeature>>() |
The properties in the rule. More... | |
Css.Value | RawValue |
The raw value. More... | |
StyleSheet | ParentSheet |
The parent stylesheet. More... | |
Properties | |
virtual string | FeatureName [get] |
The feature name e.g. 'styleset'. More... | |
string | cssText [get, set] |
The CSS text of this rule. More... | |
StyleSheet | parentStyleSheet [get] |
The parent stylesheet. More... | |
int | type [get] |
Rule type. More... | |
Properties inherited from Css.CssAtRule | |
string | Name [get] |
The main name of this function. Originates from the first result returned by GetNames. More... | |
Properties inherited from Css.Rule | |
int | type [get] |
The type of rule. More... | |
StyleSheet | parentStyleSheet [get] |
The parent style sheet. More... | |
string | cssText [get, set] |
The CSS text. More... | |
|
inline |
The parent rule of this rule.
Adds this rule to the lookups in the given document.
Implements Css.Rule.
|
inlinevirtual |
The set of all names that this at rule can use. Usually just one. E.g. font-face etc.
Reimplemented from Css.CssAtRule.
|
inlinevirtual |
Called on this instance object to load it's values from the given value object.
Reimplemented from Css.CssAtRule.
|
inline |
Removes this rule from the lookups in the given document.
Implements Css.Rule.
|
inlinevirtual |
This e.g. sets AtRuleMode. It's true if this @ rule uses nested selectors. Media and keyframes are two examples.
Reimplemented from Css.CssAtRule.
|
inlinevirtual |
Maps the given value to an OpenType feature.
Reimplemented in Css.AtRules.AnnotationRule, Css.AtRules.CharacterVariantRule, Css.AtRules.OrnamentsRule, Css.AtRules.StyleSetRule, Css.AtRules.StylisticRule, and Css.AtRules.SwashRule.
StyleSheet Css.AtRules.CssFontFeatureSubRule.ParentSheet |
The parent stylesheet.
Dictionary<string,List<OpenTypeFeature> > Css.AtRules.CssFontFeatureSubRule.Properties =new Dictionary<string,List<OpenTypeFeature>>() |
The properties in the rule.
Css.Value Css.AtRules.CssFontFeatureSubRule.RawValue |
The raw value.
|
getset |
The CSS text of this rule.
|
get |
The feature name e.g. 'styleset'.
|
get |
The parent stylesheet.
|
get |
Rule type.