public class CssFontFaceRule extends CssNestedAtRule
body
Constructor and Description |
---|
CssFontFaceRule()
Instantiates a new CSS font face rule.
|
CssFontFaceRule(String ruleParameters)
Deprecated.
Will be removed in 7.2. Use
CssFontFaceRule() instead
|
Modifier and Type | Method and Description |
---|---|
void |
addBodyCssDeclarations(List<CssDeclaration> cssDeclarations)
Adds the body CSS declarations.
|
List<CssDeclaration> |
getProperties()
Gets the properties.
|
String |
toString() |
addStatementsToBody, addStatementToBody, getCssRuleSets, getRuleParameters, getStatements
getRuleName
public CssFontFaceRule()
@Deprecated public CssFontFaceRule(String ruleParameters)
CssFontFaceRule()
instead
ruleParameters
- the rule parameters
public List<CssDeclaration> getProperties()
public void addBodyCssDeclarations(List<CssDeclaration> cssDeclarations)
CssNestedAtRule
addBodyCssDeclarations
in class CssNestedAtRule
cssDeclarations
- a list of CSS declarations
public String toString()
toString
in class CssNestedAtRule
Copyright © 1998–2020 iText Group NV. All rights reserved.