|
iText 9.1.0 API
|
Class to store a CSS rule set. More...
Public Member Functions |
|
| CssRuleSet (ICssSelector selector, IList< CssDeclaration > declarations) | |
| Creates a new CssRuleSet from selector and raw list of declarations. More... |
|
| CssRuleSet (ICssSelector selector, IList< CssDeclaration > normalDeclarations, IList< CssDeclaration > importantDeclarations) | |
| override IList< iText.StyledXmlParser.Css.CssRuleSet > | GetCssRuleSets (INode element, MediaDeviceDescription deviceDescription) |
| Gets a list of CssRuleSet objects. More... |
|
| override String | ToString () |
| virtual ICssSelector | GetSelector () |
| Gets the CSS selector. More... |
|
| virtual IList< CssDeclaration > | GetNormalDeclarations () |
| Gets the normal CSS declarations. More... |
|
| virtual IList< CssDeclaration > | GetImportantDeclarations () |
| Gets the important CSS declarations. More... |
|
Class to store a CSS rule set.
|
inline |
Creates a new CssRuleSet from selector and raw list of declarations.
Creates a new CssRuleSet from selector and raw list of declarations. The declarations are split into normal and important under the hood. To construct the CssRuleSet instance from normal and important declarations, see CssRuleSet(iText.StyledXmlParser.Css.Selector.ICssSelector, System.Collections.Generic.IList
| selector | the CSS selector |
| declarations | the CSS declarations |
|
inlinevirtual |
Gets a list of CssRuleSet objects.
| node | a node |
| deviceDescription | a media device description |
Reimplemented from iText.StyledXmlParser.Css.CssStatement.
|
inlinevirtual |
Gets the important CSS declarations.
|
inlinevirtual |
Gets the normal CSS declarations.
|
inlinevirtual |
Gets the CSS selector.