Package | Description |
---|---|
org.xhtmlrenderer.context | |
org.xhtmlrenderer.css.newmatch | |
org.xhtmlrenderer.css.style | |
org.xhtmlrenderer.layout | |
org.xhtmlrenderer.render |
Modifier and Type | Method and Description |
---|---|
CascadedStyle |
StyleReference.getCascadedStyle(org.w3c.dom.Element e,
boolean restyle)
Gets the CascadedStyle for an element.
|
CascadedStyle |
StyleReference.getPseudoElementStyle(org.w3c.dom.Node node,
java.lang.String pseudoElement)
Gets the pseudoElementStyle attribute of the StyleReference object
|
Modifier and Type | Field and Description |
---|---|
static CascadedStyle |
CascadedStyle.emptyCascadedStyle
Get an empty singleton, used to negate inheritance of properties
|
Modifier and Type | Method and Description |
---|---|
static CascadedStyle |
CascadedStyle.createAnonymousStyle(IdentValue display)
Creates a
CascadedStyle , setting the display property to
to the value of the display parameter. |
static CascadedStyle |
CascadedStyle.createLayoutStyle(CascadedStyle startingPoint,
PropertyDeclaration[] decls)
Creates a
CascadedStyle using style information from
startingPoint and then adding the property declarations
from decls . |
static CascadedStyle |
CascadedStyle.createLayoutStyle(java.util.List decls) |
static CascadedStyle |
CascadedStyle.createLayoutStyle(PropertyDeclaration[] decls)
Creates a
CascadedStyle using the provided property
declarations. |
CascadedStyle |
PageInfo.createMarginBoxStyle(MarginBoxName marginBox,
boolean alwaysCreate) |
CascadedStyle |
Matcher.getCascadedStyle(java.lang.Object e,
boolean restyle) |
CascadedStyle |
PageInfo.getPageStyle() |
CascadedStyle |
Matcher.getPECascadedStyle(java.lang.Object e,
java.lang.String pseudoElement)
May return null.
|
Modifier and Type | Method and Description |
---|---|
static CascadedStyle |
CascadedStyle.createLayoutStyle(CascadedStyle startingPoint,
PropertyDeclaration[] decls)
Creates a
CascadedStyle using style information from
startingPoint and then adding the property declarations
from decls . |
Constructor and Description |
---|
PageInfo(java.util.List properties,
CascadedStyle pageStyle,
java.util.Map marginBoxes) |
Modifier and Type | Method and Description |
---|---|
CalculatedStyle |
CalculatedStyle.deriveStyle(CascadedStyle matched)
derives a child style from this style.
|
Modifier and Type | Method and Description |
---|---|
void |
StyleTracker.addStyle(CascadedStyle style) |
Modifier and Type | Method and Description |
---|---|
CascadedStyle |
BlockBox.getFirstLetterStyle() |
CascadedStyle |
BlockBox.getFirstLineStyle() |
Modifier and Type | Method and Description |
---|---|
void |
BlockBox.setFirstLetterStyle(CascadedStyle firstLetterStyle) |
void |
BlockBox.setFirstLineStyle(CascadedStyle firstLineStyle) |