com.aspose.slides
Interface IFontStyle

All Known Implementing Classes:
Portion

public interface IFontStyle

Represents font style properties for a portion of text.


Method Summary
 int getAsianOrComplexFontIndex()
          Returns the index of the 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 index of color in color scheme or (-1) for scheme-independed color.
 short getFontHeight()
          Returns the font height of a portion.
 int getFontIndex()
          Returns the index of the used font in a Fonts collection.
 int getSymbolFontIndex()
          Returns the index of the 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 setAsianOrComplexFontIndex(int value)
          Sets the index of the 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 index of color in color scheme or (-1) for scheme-independed 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 the used 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 the 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 of a portion.

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.

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 index of color in color scheme or (-1) for scheme-independed color.

Returns:
index of color in color scheme.

setFontColorIndex

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

Parameters:
value - Sets index of color in color scheme.

getFontIndex

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

Returns:
The font index.

setFontIndex

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

Parameters:
value - index of the new font.

getSymbolFontIndex

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

Returns:
The font index.

setSymbolFontIndex

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

Parameters:
value - index of the new font.

getAsianOrComplexFontIndex

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

Returns:
The font index.

setAsianOrComplexFontIndex

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

Parameters:
value - index of the 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.