Package com.openhtmltopdf.css.sheet
Class FontFaceRule
java.lang.Object
com.openhtmltopdf.css.sheet.FontFaceRule
- All Implemented Interfaces:
RulesetContainer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addContent
(Ruleset ruleset) int
boolean
boolean
boolean
private boolean
hasProperty
(String property) void
setOrigin
(int origin)
-
Field Details
-
_origin
private int _origin -
_ruleset
-
_calculatedStyle
-
-
Constructor Details
-
FontFaceRule
public FontFaceRule(int origin)
-
-
Method Details
-
addContent
- Specified by:
addContent
in interfaceRulesetContainer
-
getOrigin
public int getOrigin()- Specified by:
getOrigin
in interfaceRulesetContainer
-
setOrigin
public void setOrigin(int origin) -
getCalculatedStyle
-
hasProperty
-
hasFontFamily
public boolean hasFontFamily() -
hasFontWeight
public boolean hasFontWeight() -
hasFontStyle
public boolean hasFontStyle()
-