All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aspose.cells.IndividualFontConfigs.html Maven / Gradle / Ivy

There is a newer version: 23.1
Show newest version





IndividualFontConfigs




com.aspose.cells
Class IndividualFontConfigs

java.lang.Object
    extended by com.aspose.cells.IndividualFontConfigs

public class IndividualFontConfigs 
extends java.lang.Object

Font configs for each Workbook object.


Constructor Summary
IndividualFontConfigs()
           Ctor.
 
Method Summary
com.aspose.cells.FontSourceBase[]getFontSources()
           Gets a copy of the array that contains the list of sources
java.lang.String[]getFontSubstitutes(java.lang.String originalFontName)
           Returns array containing font substitute names to be used if original font is not presented.
voidsetFontFolder(java.lang.String fontFolder, boolean recursive)
           Sets the fonts folder
voidsetFontFolders(java.lang.String[] fontFolders, boolean recursive)
           Sets the fonts folders
voidsetFontSources(com.aspose.cells.FontSourceBase[] sources)
           Sets the fonts sources.
voidsetFontSubstitutes(java.lang.String originalFontName, java.lang.String[] substituteFontNames)
           Font substitute names for given original font name.
 

Constructor Detail

IndividualFontConfigs

public IndividualFontConfigs()
Ctor.

Method Detail

setFontSubstitutes

public void setFontSubstitutes(java.lang.String originalFontName, java.lang.String[] substituteFontNames)
Font substitute names for given original font name.
Parameters:
originalFontName - Original font name.
substituteFontNames - List of font substitute names to be used if original font is not presented.

getFontSubstitutes

public java.lang.String[] getFontSubstitutes(java.lang.String originalFontName)
Returns array containing font substitute names to be used if original font is not presented.
Parameters:
originalFontName - originalFontName
Returns:
An array containing font substitute names to be used if original font is not presented.

setFontFolder

public void setFontFolder(java.lang.String fontFolder, boolean recursive)
Sets the fonts folder
Parameters:
fontFolder - The folder that contains TrueType fonts.
recursive - Determines whether or not to scan subfolders.

setFontFolders

public void setFontFolders(java.lang.String[] fontFolders, boolean recursive)
Sets the fonts folders
Parameters:
fontFolders - The folders that contains TrueType fonts.
recursive - Determines whether or not to scan subfolders.

setFontSources

public void setFontSources(com.aspose.cells.FontSourceBase[] sources)
Sets the fonts sources.
Parameters:
sources - An array of sources that contain TrueType fonts.

getFontSources

public com.aspose.cells.FontSourceBase[] getFontSources()
Gets a copy of the array that contains the list of sources
Returns:

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy