FontSubstRule
Contents
[
Hide
]Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.slides.IFontSubstRule
public class FontSubstRule implements IFontSubstRule
Represents font subtituition information
Constructors
Constructor | Description |
---|---|
FontSubstRule(IFontData sourceFont, IFontData destFont) | Creates new instance. |
FontSubstRule(IFontData sourceFont, IFontData destFont, int fontSubstRule) | Creates new instance. |
Methods
Method | Description |
---|---|
getSourceFont() | Font to substitute. |
getDestFont() | Font to use for substitution. |
getReplaceFontCondition() | Rule to apply for substitution. |
FontSubstRule(IFontData sourceFont, IFontData destFont)
public FontSubstRule(IFontData sourceFont, IFontData destFont)
Creates new instance.
Parameters:
Parameter | Type | Description |
---|---|---|
sourceFont | IFontData | Source font. |
destFont | IFontData | Destination font. |
FontSubstRule(IFontData sourceFont, IFontData destFont, int fontSubstRule)
public FontSubstRule(IFontData sourceFont, IFontData destFont, int fontSubstRule)
Creates new instance.
Parameters:
Parameter | Type | Description |
---|---|---|
sourceFont | IFontData | Source font. |
destFont | IFontData | Destination font. |
fontSubstRule | int | Font subst rule. |
getSourceFont()
public final IFontData getSourceFont()
Font to substitute. Read-only IFontData.
Returns: IFontData
getDestFont()
public final IFontData getDestFont()
Font to use for substitution. Read-only IFontData.
Returns: IFontData
getReplaceFontCondition()
public final int getReplaceFontCondition()
Rule to apply for substitution. Read-only FontSubstCondition.
Returns: int