OdFont
Inheritance: java.lang.Object
public class OdFont
The open document font
Constructors
Constructor | Description |
---|---|
OdFont() |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | the 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:
Parameter | Type | Description |
---|---|---|
value | int | the 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:
Parameter | Type | Description |
---|---|---|
value | boolean | a 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:
Parameter | Type | Description |
---|---|---|
value | boolean | a 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:
Parameter | Type | Description |
---|---|---|
value | boolean | a value indicating whether this OdFont is strikeout. |