docoleobject-ag凯发旗舰厅



com.spire.doc.fields
class docoleobject

java.lang.object
  extended by com.spire.doc.ownerholder
      extended by com.spire.doc.documents.xml.documentserializable
          extended by com.spire.doc.documentobject
              extended by com.spire.doc.documentbase
                  extended by com.spire.doc.fields.paragraphbase
                      extended by com.spire.doc.fields.shape.shapebase
                          extended by com.spire.doc.fields.shapeobject
                              extended by com.spire.doc.fields.docoleobject
all implemented interfaces:
irunattrsource, idocoleobject, icompositeobject, idocumentobject, iparagraphbase

public class docoleobject
extends shapeobject
implements idocoleobject

constructor summary
docoleobject(document doc)
          initializes a new instance of the oleobject class.
 
method summary
 characterformat getcharacterformat()
          gets shape object's character format.
 java.io.inputstream getcontainer()
          gets the ole container.
 boolean getdisplayasicon()
          gets whether the oleobject is displayed as an icon or content.
 documentobjecttype getdocumentobjecttype()
          gets the type of the document object.
 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 package (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 class com.spire.doc.fields.shapeobject
getchildobjects, getfillcolor, getlinestyle, getstrokecolor, getstrokeweight, getwordart, hasimage, setfillcolor, setlinestyle, setstrokecolor, setstrokeweight
 
methods inherited from class com.spire.doc.fields.shape.shapebase
getallowoverlap, getbehindtext, getbottom, getdistancebottom, getdistanceleft, getdistanceright, getdistancetop, getheight, gethorizontalalignment, gethorizontalorigin, gethorizontalposition, getparentparagraph, getright, getrotation, getshapetype, gettextwrappingstyle, gettextwrappingtype, getverticalalignment, getverticalorigin, getverticalposition, getwidth, getzorder, haskey, isimage, localtoparent, removeshapeattribute, setallowoverlap, setbehindtext, setdistancebottom, setdistanceleft, setdistanceright, setdistancetop, setheight, sethorizontalalignment, sethorizontalorigin, sethorizontalposition, setrotation, setshapeattr, setshapeattribute, setshapetype, settextwrappingstyle, settextwrappingtype, setverticalalignment, setverticalorigin, setverticalposition, setwidth, setzorder
 
methods inherited from class com.spire.doc.fields.paragraphbase
applycharacterformat, applystyle, getancestor, getownerparagraph, getstylename, isdeleterevision, isinsertrevision
 
methods inherited from class com.spire.doc.documentobject
deepclone, getfirstchild, getlastchild, getnextsibling, getowner, getprevioussibling, iscomposite, tostring
 
methods inherited from class com.spire.doc.ownerholder
getdocument
 
methods inherited from interface com.spire.doc.interfaces.iparagraphbase
applystyle, getownerparagraph, getstylename
 
methods inherited from interface com.spire.doc.interfaces.idocumentobject
deepclone, getdocument, getnextsibling, getowner, getprevioussibling, iscomposite
 
methods inherited from interface com.spire.doc.documents.irunattrsource
clearrunattrs, fetchinheritedrunattr, getdirectrunattr, getdirectrunattrbyindex, getdirectrunattrscount, setrunattr
 
constructor detail

docoleobject

public docoleobject(document doc)
initializes a new instance of the oleobject class.
parameters:
doc - the doc.
method detail

getdisplayasicon

public boolean getdisplayasicon()
gets whether the oleobject is displayed as an icon or content. if true, the oleobject is displayed as an icon
specified by:
getdisplayasicon in interface idocoleobject
returns:
boolean

setdisplayasicon

public void setdisplayasicon(boolean value)
sets whether the oleobject is displayed as an icon or content. if true, the oleobject is displayed as an icon
specified by:
setdisplayasicon in interface idocoleobject
parameters:
value - boolean

getolepicture

public docpicture getolepicture()
gets the ole picture.
specified by:
getolepicture in interface idocoleobject
returns:
the ole picture.

getdocumentobjecttype

public documentobjecttype getdocumentobjecttype()
gets the type of the document object.
specified by:
getdocumentobjecttype in interface idocumentobject
overrides:
getdocumentobjecttype in class shapeobject
returns:
the type of the document object.

getcontainer

public java.io.inputstream getcontainer()
gets the ole container.
specified by:
getcontainer in interface idocoleobject
returns:
the container.

getcharacterformat

public characterformat getcharacterformat()
description copied from class: shapeobject
gets shape object's character format.
specified by:
getcharacterformat in interface idocoleobject
overrides:
getcharacterformat in class shapeobject
returns:
characterformat

getolestoragename

public java.lang.string getolestoragename()
gets the name of the ole object storage.
specified by:
getolestoragename in interface idocoleobject
returns:
the name of the ole storage.

setolestoragename

public void setolestoragename(java.lang.string value)
sets the name of the ole object storage.
specified by:
setolestoragename in interface idocoleobject
parameters:
value - the name of the ole storage.

getlinkpath

public java.lang.string getlinkpath()
gets the link path.
specified by:
getlinkpath in interface idocoleobject
returns:
the link address.

setlinkpath

public void setlinkpath(java.lang.string value)
sets the link path.
specified by:
setlinkpath in interface idocoleobject
parameters:
value - the link address.

getlinktype

public olelinktype getlinktype()
gets the type of the ole object.
specified by:
getlinktype in interface idocoleobject
returns:
the type of the ole obj.

getobjecttype

public java.lang.string getobjecttype()
gets the type of the ole object.
specified by:
getobjecttype in interface idocoleobject
returns:
the type of the object.

setobjecttype

public void setobjecttype(java.lang.string value)
sets the type of the ole object.
specified by:
setobjecttype in interface idocoleobject
parameters:
value - the type of the object.

getnativedata

public byte[] getnativedata()
gets the _native data of embedded ole object.
specified by:
getnativedata in interface idocoleobject
returns:
the _native data.

getpackagefilename

public java.lang.string getpackagefilename()
gets the name of file embedded in the package (only if oletype is "package").
specified by:
getpackagefilename in interface idocoleobject
returns:
string

setnativedata

public void setnativedata(byte[] nativedata)
sets the _native data.
specified by:
setnativedata in interface idocoleobject
parameters:
nativedata - the _native data.

setolepicture

public void setolepicture(docpicture picture)
sets the ole picture.
specified by:
setolepicture in interface idocoleobject
parameters:
picture - the picture.


网站地图