Class CssPageRule
java.lang.Object
com.itextpdf.styledxmlparser.css.CssStatement
com.itextpdf.styledxmlparser.css.CssAtRule
com.itextpdf.styledxmlparser.css.CssNestedAtRule
com.itextpdf.styledxmlparser.css.page.CssPageRule
CssNestedAtRule
implementation for page rules.
-
Field Summary
Fields inherited from class com.itextpdf.styledxmlparser.css.CssNestedAtRule
body
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBodyCssDeclarations
(List<CssDeclaration> cssDeclarations) Adds the body CSS declarations.void
addStatementsToBody
(Collection<CssStatement> statements) Adds CSS statements to the body.void
addStatementToBody
(CssStatement statement) Adds a CSS statement to body.Methods inherited from class com.itextpdf.styledxmlparser.css.CssNestedAtRule
getCssRuleSets, getRuleParameters, getStatements, toString
Methods inherited from class com.itextpdf.styledxmlparser.css.CssAtRule
getRuleName
-
Constructor Details
-
CssPageRule
Creates a newCssPageRule
instance.- Parameters:
-
ruleParameters
- the rule parameters
-
-
Method Details
-
addBodyCssDeclarations
Description copied from class:CssNestedAtRule
Adds the body CSS declarations.- Overrides:
-
addBodyCssDeclarations
in classCssNestedAtRule
- Parameters:
-
cssDeclarations
- a list of CSS declarations
-
addStatementToBody
Description copied from class:CssNestedAtRule
Adds a CSS statement to body.- Overrides:
-
addStatementToBody
in classCssNestedAtRule
- Parameters:
-
statement
- a CSS statement
-
addStatementsToBody
Description copied from class:CssNestedAtRule
Adds CSS statements to the body.- Overrides:
-
addStatementsToBody
in classCssNestedAtRule
- Parameters:
-
statements
- a list of CSS statements
-