|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectag.ion.bion.officelayer.internal.beans.AbstractProperties
ag.ion.bion.officelayer.internal.text.CharacterProperties
public class CharacterProperties
Properties of characters.
| Field Summary |
|---|
| Fields inherited from interface ag.ion.bion.officelayer.text.ICharacterProperties |
|---|
TYPE_ID |
| Constructor Summary | |
|---|---|
CharacterProperties(com.sun.star.beans.XPropertySet xPropertySet)
Constructs new CharacterProperties. |
|
| Method Summary | |
|---|---|
static java.lang.String[] |
getDefaultPropertyKeys()
Returns the default property keys. |
int |
getFontColor()
Returns the font color. |
float |
getFontSize()
Returns the font size. |
static IPropertyKey[] |
getPossiblyPropertyKeys()
Returns the possible property keys. |
java.lang.String |
getTypeID()
Returns the id of the property. |
boolean |
isFontBold()
Returns if the text is bold or italic or both. |
boolean |
isFontItalic()
Returns if the text ist bold or italic or both. |
boolean |
isFontUnderlined()
Returns if the text ist bold or italic or both. |
void |
setFontBold(boolean param)
Sets the font of the character to bold style. |
void |
setFontColor(int color)
Sets the font color of the caracter. |
void |
setFontItalic(boolean param)
Sets the font of the character to italic style. |
void |
setFontSize(float fontSize)
Sets the font size of the specific character. |
void |
setFontUnderline(boolean param)
Sets the character to be underlined. |
| Methods inherited from class ag.ion.bion.officelayer.internal.beans.AbstractProperties |
|---|
copyTo, getXPropertySet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ag.ion.bion.officelayer.beans.IProperties |
|---|
copyTo, getXPropertySet |
| Constructor Detail |
|---|
public CharacterProperties(com.sun.star.beans.XPropertySet xPropertySet)
throws java.lang.IllegalArgumentException
xPropertySet - OpenOffice.org XPropertySet interface
java.lang.IllegalArgumentException - if the OpenOffice.org interface is not valid| Method Detail |
|---|
public static IPropertyKey[] getPossiblyPropertyKeys()
public static java.lang.String[] getDefaultPropertyKeys()
public java.lang.String getTypeID()
getTypeID in interface IPropertiesgetTypeID in class AbstractProperties
public float getFontSize()
throws TextException
getFontSize in interface ICharacterPropertiesTextException - if the property can not be fetched
public void setFontSize(float fontSize)
throws TextException
setFontSize in interface ICharacterPropertiesfontSize - the fontSize to be set
TextException - if any error occurs
public boolean isFontBold()
throws TextException
isFontBold in interface ICharacterPropertiesTextException - if the property can not be fetched
public void setFontBold(boolean param)
throws TextException
setFontBold in interface ICharacterPropertiesparam - the value if to be set to bold (if true then yes)
TextException - if any error occurs
public boolean isFontItalic()
throws TextException
isFontItalic in interface ICharacterPropertiesTextException - if the property can not be fetched
public void setFontItalic(boolean param)
throws TextException
setFontItalic in interface ICharacterPropertiesparam - the value if to be set to italic (if true then yes)
TextException - if any error occurs
public boolean isFontUnderlined()
throws TextException
isFontUnderlined in interface ICharacterPropertiesTextException - if the property can not be set
public void setFontUnderline(boolean param)
throws TextException
setFontUnderline in interface ICharacterPropertiesparam - the value that indicates if the character should be underlined (if true then yes)
TextException - if any error occurs
public int getFontColor()
throws TextException
getFontColor in interface ICharacterPropertiesTextException - if the property can not be fetched
public void setFontColor(int color)
throws TextException
setFontColor in interface ICharacterPropertiescolor - the font color
TextException - if the property can not be set
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||