|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--ru.novosoft.dc.rtf.dom.objects.CustomProperty
Describes a custom rtf-property.
| Field Summary | |
static byte |
BOOLEAN_TYPE
The property is interpreted as a boolean value (0 false, 1 true). |
static byte |
DATE_TYPE
The property is interpreted as a date (its value has the format MM.DD.YYYY). |
static byte |
INTEGER_TYPE
The property is interpreted as an integer number. |
static byte |
REAL_TYPE
The property is interpreted as a real number. |
static byte |
TEXT_TYPE
The property is interpreted as a text string. |
| Constructor Summary | |
CustomProperty()
|
|
| Method Summary | |
void |
exportTo(org.w3c.dom.Element elem,
java.lang.String name)
Export the contents of this object to the specified DOM element. |
java.lang.String |
getBookmarkName()
Return a name of bookmark linked to this property or null if the property has no bookmark linked. |
int |
getType()
Return the property type. |
java.lang.String |
getValue()
Return the property value. |
void |
setBookmarkName(java.lang.String value)
Set a name of bookmark linked to this property. |
void |
setType(int value)
Set a type for the property (the default type is TEXT). |
void |
setValue(java.lang.String value)
Set a value for the property. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
public static final byte INTEGER_TYPE
public static final byte REAL_TYPE
public static final byte BOOLEAN_TYPE
public static final byte TEXT_TYPE
public static final byte DATE_TYPE
| Constructor Detail |
public CustomProperty()
| Method Detail |
public final void setType(int value)
public final int getType()
public final void setValue(java.lang.String value)
public final java.lang.String getValue()
public final void setBookmarkName(java.lang.String value)
public final java.lang.String getBookmarkName()
public void exportTo(org.w3c.dom.Element elem,
java.lang.String name)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||