Aspose::Cells::FontConfigs class
Contents
[
Hide
]FontConfigs class
Specifies font settings.
class FontConfigs
Methods
Method | Description |
---|---|
FontConfigs() | Default constructor. |
FontConfigs(FontConfigs_Impl* impl) | Constructs from an implementation object. |
FontConfigs(const FontConfigs& src) | Copy constructor. |
static GetDefaultFontName() | Gets or sets the default font name. |
static GetFontSources() | Gets a copy of the array that contains the list of sources. |
static GetFontSubstitutes(const U16String& originalFontName) | Returns array containing font substitute names to be used if original font is not presented. |
static GetFontSubstitutes(const char16_t* originalFontName) | Returns array containing font substitute names to be used if original font is not presented. |
static GetPreferSystemFontSubstitutes() | Indicate whether to use system font substitutes first or not when a font is not presented and the substitute of this font is not set. e.g. On Ubuntu, “Arial” font is generally substituted by “Liberation Sans”. Default value is false. |
static IsFontAvailable(const U16String& fontName) | Indicate whether the font is available. |
static IsFontAvailable(const char16_t* fontName) | Indicate whether the font is available. |
IsNull() const | Checks whether the implementation object is nullptr. |
explicit operator bool() const | operator bool() |
operator=(const FontConfigs& src) | operator= |
static SetDefaultFontName(const U16String& value) | Gets or sets the default font name. |
static SetDefaultFontName(const char16_t* value) | Gets or sets the default font name. |
static SetFontFolder(const U16String& fontFolder, bool recursive) | Sets the fonts folder. |
static SetFontFolder(const char16_t* fontFolder, bool recursive) | Sets the fonts folder. |
static SetFontFolders(const Vector <U16String>& fontFolders, bool recursive) | Sets the fonts folders. |
static SetFontSources(const Vector <FontSourceBase>& sources) | Sets the fonts sources. |
static SetFontSubstitutes(const U16String& originalFontName, const Vector <U16String>& substituteFontNames) | Font substitute names for given original font name. |
static SetFontSubstitutes(const char16_t* originalFontName, const Vector <U16String>& substituteFontNames) | Font substitute names for given original font name. |
static SetPreferSystemFontSubstitutes(bool value) | Indicate whether to use system font substitutes first or not when a font is not presented and the substitute of this font is not set. e.g. On Ubuntu, “Arial” font is generally substituted by “Liberation Sans”. Default value is false. |
~FontConfigs() | Destructor. |
Fields
Field | Description |
---|---|
_impl | The implementation object. |
See Also
- Namespace Aspose::Cells
- Library Aspose.Cells for C++