public class Matcher extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Matcher.AllDescendantMapper |
| 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) |
String |
getCSSForAllDescendants(Object e)
Returns CSS rulesets for descendants of e.
|
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 |
isMarkerStyled(Object e) |
boolean |
isVisitedStyled(Object e) |
protected com.openhtmltopdf.css.newmatch.Matcher.Mapper |
matchElement(Object e) |
public Matcher(TreeResolver tr, AttributeResolver ar, StylesheetFactory factory, List<Stylesheet> stylesheets, String medium)
public CascadedStyle getCascadedStyle(Object e, boolean restyle)
public String getCSSForAllDescendants(Object e)
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)
public boolean isMarkerStyled(Object e)
protected com.openhtmltopdf.css.newmatch.Matcher.Mapper matchElement(Object e)
Copyright © 2004–2025. All rights reserved.