public class CssPageRule extends CssNestedAtRule
CssNestedAtRule
implementation for page rules.
body
Constructor and Description |
---|
CssPageRule(String ruleParameters)
Creates a new CssPageRule instance.
|
Modifier and Type | Method and Description |
---|---|
void |
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.
|
getCssRuleSets, getRuleParameters, getStatements, toString
getRuleName
public CssPageRule(String ruleParameters)
CssPageRule
instance.
ruleParameters
- the rule parameters
public void addBodyCssDeclarations(List<CssDeclaration> cssDeclarations)
CssNestedAtRule
addBodyCssDeclarations
in class CssNestedAtRule
cssDeclarations
- a list of CSS declarations
public void addStatementToBody(CssStatement statement)
CssNestedAtRule
addStatementToBody
in class CssNestedAtRule
statement
- a CSS statement
public void addStatementsToBody(Collection<CssStatement> statements)
CssNestedAtRule
addStatementsToBody
in class CssNestedAtRule
statements
- a list of CSS statements
Copyright © 1998–2019 iText Group NV. All rights reserved.