Class CssMarginRule
java.lang.Object
com.itextpdf.styledxmlparser.css.CssStatement
com.itextpdf.styledxmlparser.css.CssAtRule
com.itextpdf.styledxmlparser.css.CssNestedAtRule
com.itextpdf.styledxmlparser.css.page.CssMarginRule
CssNestedAtRule
implementation for margins.
-
Field Summary
Fields inherited from class com.itextpdf.styledxmlparser.css.CssNestedAtRule
body
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBodyCssDeclarations
(List<CssDeclaration> cssDeclarations) Adds the body CSS declarations.Methods inherited from class com.itextpdf.styledxmlparser.css.CssNestedAtRule
addStatementsToBody, addStatementToBody, getCssRuleSets, getRuleParameters, getStatements, toString
Methods inherited from class com.itextpdf.styledxmlparser.css.CssAtRule
getRuleName
-
Constructor Details
-
CssMarginRule
Creates a newCssMarginRule
instance.- Parameters:
-
ruleName
- the rule name
-
-
Method Details
-
addBodyCssDeclarations
Description copied from class:CssNestedAtRule
Adds the body CSS declarations.- Overrides:
-
addBodyCssDeclarations
in classCssNestedAtRule
- Parameters:
-
cssDeclarations
- a list of CSS declarations
-