com.aspose.slides
Class FontsManager

java.lang.Object
  extended by com.aspose.slides.FontsManager
All Implemented Interfaces:
IFontsManager

public class FontsManager
extends java.lang.Object
implements IFontsManager

Manages fonts across the presentation


Method Summary
 IFontData[] getFonts()
           Returns the fonts used in the presentation
 IFontSubstRuleCollection getFontSubstRuleList()
           Font substitutions to use when rendering.
 void replaceFont(IFontData sourceFont, IFontData destFont)
           Replace font in presentation
 void replaceFont(IFontSubstRule substRule)
           Replace font in presentation using information provided in FontSubstRuleFontSubstRule
 void replaceFont(IFontSubstRuleCollection substRules)
           Replace font in presentation using information provided in collection of FontSubstRuleFontSubstRule
 void setFontSubstRuleList(IFontSubstRuleCollection value)
           Font substitutions to use when rendering.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFontSubstRuleList

public IFontSubstRuleCollection getFontSubstRuleList()

Font substitutions to use when rendering. Read/write IFontSubstRuleCollection.

Specified by:
getFontSubstRuleList in interface IFontsManager

setFontSubstRuleList

public void setFontSubstRuleList(IFontSubstRuleCollection value)

Font substitutions to use when rendering. Read/write IFontSubstRuleCollection.

Specified by:
setFontSubstRuleList in interface IFontsManager

getFonts

public IFontData[] getFonts()

Returns the fonts used in the presentation

Specified by:
getFonts in interface IFontsManager
Returns:
An array of fonts

replaceFont

public void replaceFont(IFontData sourceFont,
                        IFontData destFont)

Replace font in presentation

Specified by:
replaceFont in interface IFontsManager
Parameters:
sourceFont - Source font
destFont - Destination font

replaceFont

public void replaceFont(IFontSubstRule substRule)

Replace font in presentation using information provided in FontSubstRuleFontSubstRule

Specified by:
replaceFont in interface IFontsManager
Parameters:
substRule - Font substitution info

replaceFont

public void replaceFont(IFontSubstRuleCollection substRules)

Replace font in presentation using information provided in collection of FontSubstRuleFontSubstRule

Specified by:
replaceFont in interface IFontsManager
Parameters:
substRules - Font substitution rules collection


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.