IndividualFontConfigs

Inheritance: java.lang.Object

public class IndividualFontConfigs

Font configs for each Workbook object.

Constructors

ConstructorDescription
IndividualFontConfigs()Ctor.

Methods

MethodDescription
equals(Object arg0)
getClass()
getFontSources()Gets a copy of the array that contains the list of sources
getFontSubstitutes(String originalFontName)Returns an array containing font substitute names to be used if original font is not presented.
hashCode()
notify()
notifyAll()
setFontExclusiveSources(FontSourceBase[] exclusiveSources)Sets the fonts exclusive sources.
setFontFolder(String fontFolder, boolean recursive)Sets the fonts folder
setFontFolders(String[] fontFolders, boolean recursive)Sets the font folders
setFontSources(FontSourceBase[] sources)Sets the font sources.
setFontSubstitutes(String originalFontName, String[] substituteFontNames)Sets font substitute names for a given original font name.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

IndividualFontConfigs()

public IndividualFontConfigs()

Ctor.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getFontSources()

public FontSourceBase[] getFontSources()

Gets a copy of the array that contains the list of sources

Returns: com.aspose.cells.FontSourceBase[] -

getFontSubstitutes(String originalFontName)

public String[] getFontSubstitutes(String originalFontName)

Returns an array containing font substitute names to be used if original font is not presented.

Parameters:

ParameterTypeDescription
originalFontNamejava.lang.StringoriginalFontName

Returns: java.lang.String[] - An array containing font substitute names to be used if original font is not presented.

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setFontExclusiveSources(FontSourceBase[] exclusiveSources)

public void setFontExclusiveSources(FontSourceBase[] exclusiveSources)

Sets the fonts exclusive sources. Only fonts in the sources will be used.

Remarks

System.setProperty(“Aspose.Cells.FontDirExc”, “fontExclusiveFolder”) will be ignored if this is set.

Parameters:

ParameterTypeDescription
exclusiveSourcesFontSourceBase[]An array of sources that contain TrueType fonts.

setFontFolder(String fontFolder, boolean recursive)

public void setFontFolder(String fontFolder, boolean recursive)

Sets the fonts folder

Parameters:

ParameterTypeDescription
fontFolderjava.lang.StringThe folder that contains TrueType fonts.
recursivebooleanDetermines whether or not to scan subfolders.

setFontFolders(String[] fontFolders, boolean recursive)

public void setFontFolders(String[] fontFolders, boolean recursive)

Sets the font folders

Parameters:

ParameterTypeDescription
fontFoldersjava.lang.String[]The folders that contains TrueType fonts.
recursivebooleanDetermines whether or not to scan subfolders.

setFontSources(FontSourceBase[] sources)

public void setFontSources(FontSourceBase[] sources)

Sets the font sources.

Parameters:

ParameterTypeDescription
sourcesFontSourceBase[]An array of sources that contain TrueType fonts.

setFontSubstitutes(String originalFontName, String[] substituteFontNames)

public void setFontSubstitutes(String originalFontName, String[] substituteFontNames)

Sets font substitute names for a given original font name.

Parameters:

ParameterTypeDescription
originalFontNamejava.lang.StringOriginal font name.
substituteFontNamesjava.lang.String[]List of font substitute names to be used if original font is not presented.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int