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
FieldsFields inherited from class CssNestedAtRule
body -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBodyCssDeclarations(List<CssDeclaration> cssDeclarations) Adds the body CSS declarations.voidaddStatementsToBody(Collection<CssStatement> statements) Adds CSS statements to the body.voidaddStatementToBody(CssStatement statement) Adds a CSS statement to body.Methods inherited from class CssNestedAtRule
getCssRuleSets, getRuleParameters, getStatements, toStringMethods inherited from class CssAtRule
getRuleName
-
Field Details
-
pageSelectors
The page selectors.
-
-
Constructor Details
-
CssPageRule
Creates a newCssPageRuleinstance.- Parameters:
ruleParameters- the rule parameters
-
-
Method Details
-
addBodyCssDeclarations
Description copied from class:CssNestedAtRuleAdds the body CSS declarations.- Overrides:
addBodyCssDeclarationsin classCssNestedAtRule- Parameters:
cssDeclarations- a list of CSS declarations
-
addStatementToBody
Description copied from class:CssNestedAtRuleAdds a CSS statement to body.- Overrides:
addStatementToBodyin classCssNestedAtRule- Parameters:
statement- a CSS statement
-
addStatementsToBody
Description copied from class:CssNestedAtRuleAdds CSS statements to the body.- Overrides:
addStatementsToBodyin classCssNestedAtRule- Parameters:
statements- a list of CSS statements
-