com.acesoft.aceoffix.wordwriter
Class Font

java.lang.Object
  extended by com.acesoft.aceoffix.wordwriter.Font

public class Font
extends java.lang.Object

Font class represents the font object defined in Microsoft Word.

Version:
5.0
Author:
Acesoft Corporation

Method Summary
 void setBold(boolean value)
          Sets a value that indicates whether the font is bold.
 void setColor(java.awt.Color value)
          Sets the color of the font.
 void setItalic(boolean value)
          Sets a value that indicates whether the font is italic.
 void setName(java.lang.String value)
          Sets the name of the font.
 void setNameAscii(java.lang.String value)
          Sets the font name for US-ASCII.
 void setShadow(boolean value)
          Sets a value that indicates whether the font has shadow.
 void setSize(float value)
          Sets the size of the font, in points.
 void setStrikeThrough(boolean value)
          Sets a value that indicates whether the strikethrough is applied to the font.
 void setUnderline(WdUnderline value)
          Sets the type of underline applied to the font.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setName

public void setName(java.lang.String value)
             throws java.io.IOException
Sets the name of the font.

Throws:
java.io.IOException

setNameAscii

public void setNameAscii(java.lang.String value)
                  throws java.io.IOException
Sets the font name for US-ASCII.

Throws:
java.io.IOException

setColor

public void setColor(java.awt.Color value)
Sets the color of the font.


setSize

public void setSize(float value)
Sets the size of the font, in points.


setBold

public void setBold(boolean value)
Sets a value that indicates whether the font is bold.


setItalic

public void setItalic(boolean value)
Sets a value that indicates whether the font is italic.


setUnderline

public void setUnderline(WdUnderline value)
                  throws java.io.IOException
Sets the type of underline applied to the font.

Throws:
java.io.IOException

setStrikeThrough

public void setStrikeThrough(boolean value)
Sets a value that indicates whether the strikethrough is applied to the font.


setShadow

public void setShadow(boolean value)
Sets a value that indicates whether the font has shadow.