public abstract class FontSourceBase
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
FontSourceBase()
Initializes a new instance of this class.
|
protected |
FontSourceBase(int priority)
Initializes a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList |
getAvailableFonts()
Returns list of fonts available via this source.
|
java.lang.Iterable |
getFontDataInternal() |
int |
getPriority()
Returns the font source priority.
|
int |
getPriorityInternal() |
abstract int |
getType()
Returns the type of the font source.
|
IWarningCallback |
getWarningCallback()
Called during processing of font source when an issue is detected that might result in formatting fidelity loss.
|
void |
setWarningCallback(IWarningCallback value)
Called during processing of font source when an issue is detected that might result in formatting fidelity loss.
|
protected FontSourceBase()
protected FontSourceBase(int priority)
public abstract int getType()
FontSourceType constants.public int getPriority()
This value is used when there are fonts with the same family name and style in different font sources. In this case Aspose.Words selects the font from the source with the higher priority value.
The default value is 0.
public java.util.ArrayList getAvailableFonts()
public IWarningCallback getWarningCallback()
IWarningCallback value.public void setWarningCallback(IWarningCallback value)
value - The corresponding IWarningCallback value.public int getPriorityInternal()
public java.lang.Iterable getFontDataInternal()