public interface StyleResolver
Modifier and Type | Method and Description |
---|---|
StyleResolver |
deriveInstance() |
LayoutStyle |
getInitialStyle()
Returns the style for a generic element for which none of the defined selectors (except the global one) match.
|
void |
initialize(DocumentContext documentContext) |
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.
|
StyleResolver deriveInstance()
void resolveStyle(LayoutElement element)
element
- boolean isPseudoElementStyleResolvable(LayoutElement element, String pseudo)
element
- pseudo
- void initialize(DocumentContext documentContext)
LayoutStyle resolvePageStyle(CSSValue pageName, PseudoPage[] pseudoPages, PageAreaType pageArea)
LayoutStyle getInitialStyle()