Class FontFaceRule
java.lang.Object
com.openhtmltopdf.css.sheet.FontFaceRule
- All Implemented Interfaces:
RulesetContainer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddContent(Ruleset ruleset) intbooleanbooleanbooleanprivate booleanhasProperty(String property) voidsetOrigin(int origin)
-
Field Details
-
_origin
private int _origin -
_ruleset
-
_calculatedStyle
-
-
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
-
hasProperty
-
hasFontFamily
public boolean hasFontFamily() -
hasFontWeight
public boolean hasFontWeight() -
hasFontStyle
public boolean hasFontStyle()
-