|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.xls.DocumentProperty
public class DocumentProperty
| Constructor Summary | |
|---|---|
DocumentProperty()
|
|
DocumentProperty(java.lang.String name)
|
|
| Method Summary | |
|---|---|
static int |
correctIndex(BuiltInPropertyType propertyId,
boolean[] bSummary)
Converts property id into correct index. |
java.lang.Object |
deepClone()
Creates a new object that is a copy of the current instance. |
byte[] |
getBlob()
Gets blob value. |
boolean |
getBoolean()
Gets boolean value. |
java.util.Date |
getDateTime()
Gets date time value. |
double |
getDouble()
Gets double value. |
int |
getInt32()
Gets 4-bytes signed integer value. |
int |
getInteger()
Gets integer value. |
java.lang.String |
getLinkSource()
Returns the source of a linked custom document property. |
boolean |
getLinkToContent()
True if the value of the custom document property is linked to the content of the container document. |
java.lang.String |
getName()
Returns property name. |
BuiltInPropertyType |
getPropertyId()
Returns property id for built-in properties. |
PropertyType |
getPropertyType()
Gets document property type. |
java.lang.String |
getText()
Gets string value. |
java.lang.Object |
getValue()
Gets property value. |
boolean |
isBuiltIn()
Indicates whether property is built-in. |
void |
setBlob(byte[] value)
Sets Blob value. |
void |
setBoolean(boolean value)
Sets boolean value. |
void |
setDateTime(java.util.Date value)
Sets date time value. |
void |
setDouble(double value)
Sets double value. |
void |
setInt32(int value)
Sets 4-bytes signed integer value. |
void |
setInteger(int value)
Sets integer value. |
void |
setLinkSource(IPropertyData variant)
|
void |
setLinkSource(java.lang.String value)
Sets the source of a linked custom document property. |
void |
setLinkToContent(boolean value)
|
void |
setPropertyId(BuiltInPropertyType value)
Sets property id for built-in properties. |
void |
setText(java.lang.String value)
Sets string value. |
void |
setValue(java.lang.Object value)
Sets property value. |
| Constructor Detail |
|---|
public DocumentProperty()
public DocumentProperty(java.lang.String name)
| Method Detail |
|---|
public boolean isBuiltIn()
isBuiltIn in interface IDocumentPropertypublic BuiltInPropertyType getPropertyId()
getPropertyId in interface IDocumentPropertypublic void setPropertyId(BuiltInPropertyType value)
public PropertyType getPropertyType()
public java.lang.String getName()
getName in interface IDocumentPropertypublic java.lang.Object getValue()
getValue in interface IDocumentPropertypublic void setValue(java.lang.Object value)
setValue in interface IDocumentPropertypublic byte[] getBlob()
public void setBlob(byte[] value)
public boolean getBoolean()
getBoolean in interface IDocumentPropertypublic void setBoolean(boolean value)
setBoolean in interface IDocumentPropertypublic int getInteger()
getInteger in interface IDocumentPropertypublic void setInteger(int value)
setInteger in interface IDocumentPropertypublic int getInt32()
getInt32 in interface IDocumentPropertypublic void setInt32(int value)
setInt32 in interface IDocumentPropertypublic double getDouble()
getDouble in interface IDocumentPropertypublic void setDouble(double value)
setDouble in interface IDocumentPropertypublic java.lang.String getText()
getText in interface IDocumentPropertypublic void setText(java.lang.String value)
setText in interface IDocumentPropertypublic java.util.Date getDateTime()
getDateTime in interface IDocumentPropertypublic void setDateTime(java.util.Date value)
setDateTime in interface IDocumentPropertypublic java.lang.String getLinkSource()
getLinkSource in interface IDocumentPropertypublic void setLinkSource(java.lang.String value)
setLinkSource in interface IDocumentPropertypublic boolean getLinkToContent()
getLinkToContent in interface IDocumentPropertypublic void setLinkToContent(boolean value)
setLinkToContent in interface IDocumentPropertypublic java.lang.Object deepClone()
public void setLinkSource(IPropertyData variant)
public static int correctIndex(BuiltInPropertyType propertyId,
boolean[] bSummary)
propertyId - Property id to convert.bSummary - Indicates whether this is documnet summary property of simply document property.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||