public class Matcher extends Object
| Constructor and Description |
|---|
Matcher(TreeResolver tr,
AttributeResolver ar,
StylesheetFactory factory,
List<Stylesheet> stylesheets,
String medium) |
| Modifier and Type | Method and Description |
|---|---|
CascadedStyle |
getCascadedStyle(Object e,
boolean restyle) |
List<FontFaceRule> |
getFontFaceRules() |
PageInfo |
getPageCascadedStyle(String pageName,
String pseudoPage) |
CascadedStyle |
getPECascadedStyle(Object e,
String pseudoElement)
May return null.
|
boolean |
isActiveStyled(Object e) |
boolean |
isFocusStyled(Object e) |
boolean |
isHoverStyled(Object e) |
boolean |
isVisitedStyled(Object e) |
protected com.openhtmltopdf.css.newmatch.Matcher.Mapper |
matchElement(Object e) |
void |
removeStyle(Object e) |
public Matcher(TreeResolver tr, AttributeResolver ar, StylesheetFactory factory, List<Stylesheet> stylesheets, String medium)
public void removeStyle(Object e)
public CascadedStyle getCascadedStyle(Object e, boolean restyle)
public CascadedStyle getPECascadedStyle(Object e, String pseudoElement)
public List<FontFaceRule> getFontFaceRules()
public boolean isVisitedStyled(Object e)
public boolean isHoverStyled(Object e)
public boolean isActiveStyled(Object e)
public boolean isFocusStyled(Object e)
protected com.openhtmltopdf.css.newmatch.Matcher.Mapper matchElement(Object e)
Copyright © 2018. All rights reserved.