com.aspose.words
Class FontFallbackSettings

java.lang.Object
    extended by com.aspose.words.FontFallbackSettings

public class FontFallbackSettings 
extends java.lang.Object

Specifies font fallback mechanism settings. By default fallback settings are initialized with predefined settings which mimics the Microsoft Word fallback.

Method Summary
voidbuildAutomatic()
           Automatically builds the fallback settings by scanning available fonts.
voidload(java.lang.String fileName)
           Loads font fallback settings from XML file.
voidloadMsOfficeFallbackSettings()
           Loads predefined fallback settings which mimics the Microsoft Word fallback and uses Microsoft office fonts.
voidsave(java.lang.String fileName)
           Saves the current fallback settings to file.
 

Method Detail

buildAutomatic

public void buildAutomatic()
Automatically builds the fallback settings by scanning available fonts. This method may produce non-optimal fallback settings. Fonts are checked by Unicode Character Range fields and not by the actual glyphs presence. Also Unicode ranges are checked individually and several ranges related to single language/script may use different fallback fonts.

load

public void load(java.lang.String fileName)
         throws java.lang.Exception
Loads font fallback settings from XML file.
Parameters:
fileName - Input file name.

loadMsOfficeFallbackSettings

public void loadMsOfficeFallbackSettings()
Loads predefined fallback settings which mimics the Microsoft Word fallback and uses Microsoft office fonts.

save

public void save(java.lang.String fileName)
         throws java.lang.Exception
Saves the current fallback settings to file.
Parameters:
fileName - Output file name.

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