com.aspose.slides
Interface IFontStyle

All Known Implementing Classes:
Portion

public interface IFontStyle

The interface for text portions with font style properties.


Method Summary
 int getAnsiFontIndex()
          Returns the index of a font used for ANSI text in a Fonts collection.
 int getAsianOrComplexFontIndex()
          Returns the index of a font used for East Asian and complex text in a Fonts collection.
 short getEscapement()
          Returns superscript or subscript text.
 java.awt.Color getFontColor()
          Returns the color of a portion.
 short getFontColorIndex()
          Returns the index of a color in a color scheme or (-1) for a scheme-independent color.
 short getFontHeight()
          Returns the font height.
 int getFontIndex()
          Returns the index of a font in a Fonts collection.
 int getSymbolFontIndex()
          Returns the index of a font used for special symbols in a Fonts collection.
 boolean isFontBold()
          Determines whether the font is bold.
 boolean isFontEmbossed()
          Determines whether the font is embossed.
 boolean isFontItalic()
          Determines whether the font is italic
 boolean isFontShadow()
          Determines whether the font has shadow.
 boolean isFontUnderline()
          Determines whether the font is underlined.
 void setAnsiFontIndex(int value)
          Sets the index of a font used for ANSI text in a Fonts collection.
 void setAsianOrComplexFontIndex(int value)
          Sets the index of a font used for East Asian and complex text in a Fonts collection.
 void setEscapement(short value)
          Sets superscript or subscript text.
 void setFontBold(boolean value)
          Sets whether the font is bold.
 void setFontColor(java.awt.Color value)
          Sets the color of a portion.
 void setFontColorIndex(short value)
          Sets the index of a color in a color scheme or (-1) for a scheme-independent color.
 void setFontEmbossed(boolean value)
          Sets whether the font is embossed.
 void setFontHeight(short value)
          Sets the font height of a portion.
 void setFontIndex(int value)
          Sets the index of a font in a Fonts collection.
 void setFontItalic(boolean value)
          Sets whether the font is italic.
 void setFontShadow(boolean value)
          Sets whether the font has shadow.
 void setFontUnderline(boolean value)
          Sets whether the font is underlined.
 void setSymbolFontIndex(int value)
          Sets the index of a font used for special symbols in a Fonts collection.
 

Method Detail

isFontBold

boolean isFontBold()
Determines whether the font is bold.

Returns:
true if the font is bold.

setFontBold

void setFontBold(boolean value)
Sets whether the font is bold.

Parameters:
value - true to make bold font.

isFontItalic

boolean isFontItalic()
Determines whether the font is italic

Returns:
true if the font is italic.

setFontItalic

void setFontItalic(boolean value)
Sets whether the font is italic.

Parameters:
value - true to make italic font.

isFontUnderline

boolean isFontUnderline()
Determines whether the font is underlined.

Returns:
true if the font is underlined.

setFontUnderline

void setFontUnderline(boolean value)
Sets whether the font is underlined.

Parameters:
value - true to make underlined font.

isFontShadow

boolean isFontShadow()
Determines whether the font has shadow.

Returns:
true if the font has shadow.

setFontShadow

void setFontShadow(boolean value)
Sets whether the font has shadow.

Parameters:
value - true to make font with shadow.

isFontEmbossed

boolean isFontEmbossed()
Determines whether the font is embossed.

Returns:
true if the font is embossed.

setFontEmbossed

void setFontEmbossed(boolean value)
Sets whether the font is embossed.

Parameters:
value - true to make embossed font.

getFontHeight

short getFontHeight()
Returns the font height.


setFontHeight

void setFontHeight(short value)
Sets the font height of a portion.

Parameters:
value - new font height.

getFontColor

java.awt.Color getFontColor()
Returns the color of a portion.


setFontColor

void setFontColor(java.awt.Color value)
Sets the color of a portion.

Parameters:
value - new color for a portion.

getFontColorIndex

short getFontColorIndex()
Returns the index of a color in a color scheme or (-1) for a scheme-independent color.

Returns:
index of a color in a color scheme.

setFontColorIndex

void setFontColorIndex(short value)
Sets the index of a color in a color scheme or (-1) for a scheme-independent color.

Parameters:
value - new index of a color in a color scheme.

getFontIndex

int getFontIndex()
Returns the index of a font in a Fonts collection.


setFontIndex

void setFontIndex(int value)
Sets the index of a font in a Fonts collection.

Parameters:
value - index of a new font.

getSymbolFontIndex

int getSymbolFontIndex()
Returns the index of a font used for special symbols in a Fonts collection.


setSymbolFontIndex

void setSymbolFontIndex(int value)
Sets the index of a font used for special symbols in a Fonts collection.

Parameters:
value - index of a new font.

getAsianOrComplexFontIndex

int getAsianOrComplexFontIndex()
Returns the index of a font used for East Asian and complex text in a Fonts collection.


setAsianOrComplexFontIndex

void setAsianOrComplexFontIndex(int value)
Sets the index of a font used for East Asian and complex text in a Fonts collection.

Parameters:
value - index of a new font.

getAnsiFontIndex

int getAnsiFontIndex()
Returns the index of a font used for ANSI text in a Fonts collection.


setAnsiFontIndex

void setAnsiFontIndex(int value)
Sets the index of a font used for ANSI text in a Fonts collection.

Parameters:
value - index of a new font.

getEscapement

short getEscapement()
Returns superscript or subscript text.

Returns:
value from (-100%) - subscript to (100%) - superscript.

setEscapement

void setEscapement(short value)
Sets superscript or subscript text.

Parameters:
value - from (-100%) - subscript to (100%) - superscript.