public class DefaultStyleResolver extends AbstractStyleResolver
Constructor and Description |
---|
DefaultStyleResolver() |
Modifier and Type | Method and Description |
---|---|
StyleResolver |
deriveInstance() |
void |
initialize(DocumentContext layoutProcess) |
boolean |
isPseudoElementStyleResolvable(LayoutElement element,
String pseudo)
Performs tests, whether there is a pseudo-element definition for the given element.
|
LayoutStyle |
resolvePageStyle(CSSValue pageName,
PseudoPage[] pseudoPages,
PageAreaType pageArea) |
void |
resolveStyle(LayoutElement element)
Resolves the style.
|
getInitialStyle
public void initialize(DocumentContext layoutProcess)
initialize
in interface StyleResolver
initialize
in class AbstractStyleResolver
public boolean isPseudoElementStyleResolvable(LayoutElement element, String pseudo)
element
- pseudo
- public void resolveStyle(LayoutElement element)
element
- the elemen that should be resolved.public StyleResolver deriveInstance()
public LayoutStyle resolvePageStyle(CSSValue pageName, PseudoPage[] pseudoPages, PageAreaType pageArea)