public class CssMarginRule extends CssNestedAtRule
CssNestedAtRule
implementation for margins.
body
Constructor and Description |
---|
CssMarginRule(String ruleName, String ruleParameters)
Creates a new CssMarginRule instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addBodyCssDeclarations(List<CssDeclaration> cssDeclarations)
Adds the body CSS declarations.
|
addStatementsToBody, addStatementToBody, getCssRuleSets, getStatements, toString
getRuleName
public CssMarginRule(String ruleName, String ruleParameters)
CssMarginRule
instance.
ruleName
- the rule name
ruleParameters
- the rule parameters
public void addBodyCssDeclarations(List<CssDeclaration> cssDeclarations)
CssNestedAtRule
addBodyCssDeclarations
in class CssNestedAtRule
cssDeclarations
- a list of CSS declarations
Copyright © 1998–2019 iText Group NV. All rights reserved.