idocoleobject-ag凯发旗舰厅



com.spire.doc.fields
interface idocoleobject

all superinterfaces:
idocumentobject, iparagraphbase
all known implementing classes:
docoleobject

public interface idocoleobject
extends iparagraphbase

interface publishes base the ole objects


method summary
 characterformat getcharacterformat()
          gets the current characterformat.
 java.io.inputstream getcontainer()
          gets the ole container.
 boolean getdisplayasicon()
          gets whether the oleobject is displayed as an icon or content.
 java.lang.string getlinkpath()
          gets the link path.
 olelinktype getlinktype()
          gets the type of the ole object.
 byte[] getnativedata()
          gets the _native data of embedded ole object.
 java.lang.string getobjecttype()
          gets the type of the ole object.
 docpicture getolepicture()
          gets the ole picture.
 java.lang.string getolestoragename()
          gets the name of the ole object storage.
 java.lang.string getpackagefilename()
          gets the name of file embedded in the openpackage (only if oletype is "package").
 void setdisplayasicon(boolean value)
          sets whether the oleobject is displayed as an icon or content.
 void setlinkpath(java.lang.string value)
          sets the link path.
 void setnativedata(byte[] nativedata)
          sets the _native data.
 void setobjecttype(java.lang.string value)
          sets the type of the ole object.
 void setolepicture(docpicture picture)
          sets the ole picture.
 void setolestoragename(java.lang.string value)
          sets the name of the ole object storage.
 
methods inherited from interface com.spire.doc.interfaces.iparagraphbase
applystyle, getownerparagraph, getstylename
 
methods inherited from interface com.spire.doc.interfaces.idocumentobject
deepclone, getdocument, getdocumentobjecttype, getnextsibling, getowner, getprevioussibling, iscomposite
 
method detail

getcharacterformat

characterformat getcharacterformat()
gets the current characterformat.
returns:
characterformat

getcontainer

java.io.inputstream getcontainer()
gets the ole container.
returns:
the container.

getdisplayasicon

boolean getdisplayasicon()
gets whether the oleobject is displayed as an icon or content. if true, the oleobject is displayed as an icon
returns:
boolean

setdisplayasicon

void setdisplayasicon(boolean value)
sets whether the oleobject is displayed as an icon or content.
parameters:
value - boolean

getlinkpath

java.lang.string getlinkpath()
gets the link path.
returns:
the link address.

setlinkpath

void setlinkpath(java.lang.string value)
sets the link path.
parameters:
value - the link address.

getlinktype

olelinktype getlinktype()
gets the type of the ole object.
returns:
the type of the ole obj.

getnativedata

byte[] getnativedata()
gets the _native data of embedded ole object.
returns:
the _native data.

getobjecttype

java.lang.string getobjecttype()
gets the type of the ole object.
returns:
the type of the object.

setobjecttype

void setobjecttype(java.lang.string value)
sets the type of the ole object.
parameters:
value - the type of the object.

getolepicture

docpicture getolepicture()
gets the ole picture.
returns:
the ole picture.

getolestoragename

java.lang.string getolestoragename()
gets the name of the ole object storage.
returns:
the name of the ole storage.

setolestoragename

void setolestoragename(java.lang.string value)
sets the name of the ole object storage.
parameters:
value - the name of the ole storage.

getpackagefilename

java.lang.string getpackagefilename()
gets the name of file embedded in the openpackage (only if oletype is "package").
returns:
string

setnativedata

void setnativedata(byte[] nativedata)
sets the _native data.
parameters:
nativedata - the _native data.

setolepicture

void setolepicture(docpicture picture)
sets the ole picture.
parameters:
picture - the picture.


网站地图