public class CssStyleSheet extends Object
Constructor and Description |
---|
CssStyleSheet()
Creates a new CssStyleSheet instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addStatement(CssStatement statement)
Adds a CSS statement to the style sheet.
|
void |
appendCssStyleSheet(CssStyleSheet anotherCssStyleSheet)
Append another CSS style sheet to this one.
|
List<CssDeclaration> |
getCssDeclarations(INode node, MediaDeviceDescription deviceDescription)
Gets the CSS declarations.
|
List<CssStatement> |
getStatements()
Gets the CSS statements of this style sheet.
|
String |
toString() |
public CssStyleSheet()
CssStyleSheet
instance.
public void addStatement(CssStatement statement)
statement
- the CSS statement
public void appendCssStyleSheet(CssStyleSheet anotherCssStyleSheet)
anotherCssStyleSheet
- the other CSS style sheet
public List<CssStatement> getStatements()
public List<CssDeclaration> getCssDeclarations(INode node, MediaDeviceDescription deviceDescription)
node
- the node
deviceDescription
- the media device description
Copyright © 1998–2019 iText Group NV. All rights reserved.