OdFont

Inheritance: java.lang.Object

public class OdFont

The open document font

Constructors

ConstructorDescription
OdFont()

Methods

MethodDescription
getFacename()Gets the facename.
setFacename(String value)Sets the facename.
getHeight()Gets the height.
setHeight(int value)Sets the height.
getBold()Gets a value indicating whether this OdFont is weight.
setBold(boolean value)Sets a value indicating whether this OdFont is weight.
getItalic()Gets a value indicating whether this OdFont is italic.
setItalic(boolean value)Sets a value indicating whether this OdFont is italic.
getStrikeout()Gets a value indicating whether this OdFont is strikeout.
setStrikeout(boolean value)Sets a value indicating whether this OdFont is strikeout.

OdFont()

public OdFont()

getFacename()

public final String getFacename()

Gets the facename.

Returns: java.lang.String - the facename.

setFacename(String value)

public final void setFacename(String value)

Sets the facename.

Parameters:

ParameterTypeDescription
valuejava.lang.Stringthe facename.

getHeight()

public final int getHeight()

Gets the height.

Returns: int - the height.

setHeight(int value)

public final void setHeight(int value)

Sets the height.

Parameters:

ParameterTypeDescription
valueintthe height.

getBold()

public final boolean getBold()

Gets a value indicating whether this OdFont is weight.

Returns: boolean - a value indicating whether this OdFont is weight.

setBold(boolean value)

public final void setBold(boolean value)

Sets a value indicating whether this OdFont is weight.

Parameters:

ParameterTypeDescription
valuebooleana value indicating whether this OdFont is weight.

getItalic()

public final boolean getItalic()

Gets a value indicating whether this OdFont is italic.

Returns: boolean - a value indicating whether this OdFont is italic.

setItalic(boolean value)

public final void setItalic(boolean value)

Sets a value indicating whether this OdFont is italic.

Parameters:

ParameterTypeDescription
valuebooleana value indicating whether this OdFont is italic.

getStrikeout()

public final boolean getStrikeout()

Gets a value indicating whether this OdFont is strikeout.

Returns: boolean - a value indicating whether this OdFont is strikeout.

setStrikeout(boolean value)

public final void setStrikeout(boolean value)

Sets a value indicating whether this OdFont is strikeout.

Parameters:

ParameterTypeDescription
valuebooleana value indicating whether this OdFont is strikeout.