com.aspose.cells

Class IndividualFontConfigs

  • java.lang.Object
    • com.aspose.cells.IndividualFontConfigs
public class IndividualFontConfigs 
extends java.lang.Object

Font configs for each Workbook object.

Constructor Summary
 
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: