Package com.openhtmltopdf.css.sheet
Class FontFaceRule
java.lang.Object
com.openhtmltopdf.css.sheet.FontFaceRule
- All Implemented Interfaces:
RulesetContainer
public class FontFaceRule extends Object implements RulesetContainer
-
Constructor Summary
Constructors Constructor Description FontFaceRule(int origin) -
Method Summary
Modifier and Type Method Description voidaddContent(Ruleset ruleset)CalculatedStylegetCalculatedStyle()intgetOrigin()booleanhasFontFamily()booleanhasFontStyle()booleanhasFontWeight()voidsetOrigin(int origin)
-
Constructor Details
-
FontFaceRule
public FontFaceRule(int origin)
-
-
Method Details
-
addContent
- Specified by:
addContentin interfaceRulesetContainer
-
getOrigin
public int getOrigin()- Specified by:
getOriginin interfaceRulesetContainer
-
setOrigin
public void setOrigin(int origin) -
getCalculatedStyle
-
hasFontFamily
public boolean hasFontFamily() -
hasFontWeight
public boolean hasFontWeight() -
hasFontStyle
public boolean hasFontStyle()
-