aspose.cells

Class IndividualFontConfigs

Font configs for each Workbook object.

Constructor Summary
 
Method Summary
functiongetFontSources()
Gets a copy of the array that contains the list of sources
functiongetFontSubstitutes(originalFontName)
Returns array containing font substitute names to be used if original font is not presented.
functionsetFontExclusiveSources(exclusiveSources)
Sets the fonts exclusive sources. Only fonts in the sources will be used.
functionsetFontFolder(fontFolder, recursive)
Sets the fonts folder
functionsetFontFolders(fontFolders, recursive)
Sets the fonts folders
functionsetFontSources(sources)
Sets the fonts sources.
functionsetFontSubstitutes(originalFontName, substituteFontNames)
Font substitute names for given original font name.
 

    • Constructor Detail

      • IndividualFontConfigs

        function IndividualFontConfigs()
        Ctor.
    • Method Detail

      • setFontSubstitutes

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

        function getFontSubstitutes(originalFontName)
        Returns array containing font substitute names to be used if original font is not presented.
        Parameters:
        originalFontName: String - originalFontName
        Returns:
        An array containing font substitute names to be used if original font is not presented.
      • setFontFolder

        function setFontFolder(fontFolder, recursive)
        Sets the fonts folder
        Parameters:
        fontFolder: String - The folder that contains TrueType fonts.
        recursive: boolean - Determines whether or not to scan subfolders.
      • setFontFolders

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

        function setFontSources(sources)
        Sets the fonts sources.
        Parameters:
        sources: FontSourceBase[] - An array of sources that contain TrueType fonts.
      • setFontExclusiveSources

        function setFontExclusiveSources(exclusiveSources)
        Sets the fonts exclusive sources. Only fonts in the sources will be used. System.setProperty("Aspose.Cells.FontDirExc", "fontExclusiveFolder") will be ignored if this is set.
        Parameters:
        exclusiveSources: FontSourceBase[] - An array of sources that contain TrueType fonts.
      • getFontSources

        function getFontSources()
        Gets a copy of the array that contains the list of sources
        Returns: