documentproperty-ag凯发旗舰厅



com.spire.xls
class documentproperty

java.lang.object
  extended by com.spire.xls.documentproperty
all implemented interfaces:
idocumentproperty

public class documentproperty
extends java.lang.object
implements idocumentproperty

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.
  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( 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

documentproperty

public documentproperty()

documentproperty

public documentproperty(java.lang.string name)
method detail

isbuiltin

public boolean isbuiltin()
indicates whether property is built-in. read-only.
specified by:
isbuiltin in interface idocumentproperty

getpropertyid

public builtinpropertytype getpropertyid()
returns property id for built-in properties. read-only.
specified by:
getpropertyid in interface idocumentproperty

setpropertyid

public void setpropertyid(builtinpropertytype value)
sets property id for built-in properties. read-only.

getpropertytype

public  getpropertytype()
gets document property type.

getname

public java.lang.string getname()
returns property name. read-only.
specified by:
getname in interface idocumentproperty

getvalue

public java.lang.object getvalue()
gets property value.
specified by:
getvalue in interface idocumentproperty

setvalue

public void setvalue(java.lang.object value)
sets property value.
specified by:
setvalue in interface idocumentproperty

getblob

public byte[] getblob()
gets blob value.

setblob

public void setblob(byte[] value)
sets blob value.

getboolean

public boolean getboolean()
gets boolean value.
specified by:
getboolean in interface idocumentproperty

setboolean

public void setboolean(boolean value)
sets boolean value.
specified by:
setboolean in interface idocumentproperty

getinteger

public int getinteger()
gets integer value.
specified by:
getinteger in interface idocumentproperty

setinteger

public void setinteger(int value)
sets integer value.
specified by:
setinteger in interface idocumentproperty

getint32

public int getint32()
gets 4-bytes signed integer value.
specified by:
getint32 in interface idocumentproperty

setint32

public void setint32(int value)
sets 4-bytes signed integer value.
specified by:
setint32 in interface idocumentproperty

getdouble

public double getdouble()
gets double value.
specified by:
getdouble in interface idocumentproperty

setdouble

public void setdouble(double value)
sets double value.
specified by:
setdouble in interface idocumentproperty

gettext

public java.lang.string gettext()
gets string value.
specified by:
gettext in interface idocumentproperty

settext

public void settext(java.lang.string value)
sets string value.
specified by:
settext in interface idocumentproperty

getdatetime

public java.util.date getdatetime()
gets date time value.
specified by:
getdatetime in interface idocumentproperty

setdatetime

public void setdatetime(java.util.date value)
sets date time value.
specified by:
setdatetime in interface idocumentproperty

getlinksource

public java.lang.string getlinksource()
returns the source of a linked custom document property. read/write string.
specified by:
getlinksource in interface idocumentproperty

setlinksource

public void setlinksource(java.lang.string value)
sets the source of a linked custom document property. read/write string.
specified by:
setlinksource in interface idocumentproperty

getlinktocontent

public boolean getlinktocontent()
true if the value of the custom document property is linked to the content of the container document. false if the value is static. read/write boolean.
specified by:
getlinktocontent in interface idocumentproperty

setlinktocontent

public void setlinktocontent(boolean value)
specified by:
setlinktocontent in interface idocumentproperty

deepclone

public java.lang.object deepclone()
creates a new object that is a copy of the current instance.
returns:
a new object that is a copy of this instance.

setlinksource

public void setlinksource( variant)

correctindex

public static int correctindex(builtinpropertytype propertyid,
                               boolean[] bsummary)
converts property id into correct index.
parameters:
propertyid - property id to convert.
bsummary - indicates whether this is documnet summary property of simply document property.
returns:
correct property index.


网站地图