public class CssMarginRule extends CssNestedAtRule
CssNestedAtRule
implementation for margins.
body
Constructor and Description |
---|
CssMarginRule(String ruleName)
Creates a new CssMarginRule instance.
|
CssMarginRule(String ruleName, String ruleParameters)
Deprecated.
Will be removed in 7.2. Use
CssMarginRule(String) instead
|
Modifier and Type | Method and Description |
---|---|
void |
addBodyCssDeclarations(List<CssDeclaration> cssDeclarations)
Adds the body CSS declarations.
|
addStatementsToBody, addStatementToBody, getCssRuleSets, getRuleParameters, getStatements, toString
getRuleName
public CssMarginRule(String ruleName)
CssMarginRule
instance.
ruleName
- the rule name
@Deprecated public CssMarginRule(String ruleName, String ruleParameters)
CssMarginRule(String)
instead
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–2023 iText Group NV. All rights reserved.