|
iText 7 7.1.8 API
|
Class to store a nested CSS at-rule Nested at-rules are a subset of nested statements, which can be used as a statement of a style sheet as well as inside of conditional group rules. More...
Public Member Functions |
|
| CssNestedAtRule (String ruleName, String ruleParameters) | |
| Creates a CssNestedAtRule instance with an empty body. More... |
|
| virtual void | AddStatementToBody (CssStatement statement) |
| Adds a CSS statement to body. More... |
|
| virtual void | AddStatementsToBody (ICollection< CssStatement > statements) |
| Adds CSS statements to the body. More... |
|
| virtual void | AddBodyCssDeclarations (IList< CssDeclaration > cssDeclarations) |
| Adds the body CSS declarations. More... |
|
| override IList< CssRuleSet > | GetCssRuleSets (INode node, MediaDeviceDescription deviceDescription) |
| Gets a list of CssRuleSet objects. More... |
|
| virtual IList< CssStatement > | GetStatements () |
| Gets the list of CSS statements. More... |
|
| override String | ToString () |
| virtual String | GetRuleParameters () |
Public Member Functions inherited from iText.StyledXmlParser.Css.CssAtRule |
|
| virtual String | GetRuleName () |
| Gets the rule name. More... |
|
Class to store a nested CSS at-rule Nested at-rules are a subset of nested statements, which can be used as a statement of a style sheet as well as inside of conditional group rules.
|
inline |
Creates a CssNestedAtRule instance with an empty body.
| ruleName | the rule name |
| ruleParameters | the rule parameters |
|
inlinevirtual |
Adds the body CSS declarations.
| cssDeclarations | a list of CSS declarations |
Reimplemented in iText.StyledXmlParser.Css.Page.CssPageRule, iText.StyledXmlParser.Css.Page.CssMarginRule, and iText.StyledXmlParser.Css.CssFontFaceRule.
|
inlinevirtual |
Adds CSS statements to the body.
| statements | a list of CSS statements |
Reimplemented in iText.StyledXmlParser.Css.Page.CssPageRule.
|
inlinevirtual |
Adds a CSS statement to body.
| statement | a CSS statement |
Reimplemented in iText.StyledXmlParser.Css.Page.CssPageRule.
|
inlinevirtual |
Gets a list of CssRuleSet objects.
| node | a node |
| deviceDescription | a media device description |
Reimplemented from iText.StyledXmlParser.Css.CssStatement.
Reimplemented in iText.StyledXmlParser.Css.Media.CssMediaRule.
|
inlinevirtual |
Gets the list of CSS statements.