public class FontSubstitute extends ValueObject implements Serializable
Modifier and Type | Method and Description |
---|---|
static FontSubstitute |
create(String originalFont,
String substituteWith)
Instantiate new font substitution pair.
|
String |
getOriginalFontName()
The original font name.
|
String |
getSubstituteFontName()
The substitute font name.
|
equals, equals, hashCode, op_Equality, op_Inequality
public static FontSubstitute create(String originalFont, String substituteWith)
originalFont
- Font from the source document.substituteWith
- Font which will be used to replace originalFont.public String getOriginalFontName()
public String getSubstituteFontName()