ioleobject-ag凯发旗舰厅



com.spire.presentation
interface ioleobject


public interface ioleobject

method summary
 void dispose()
          dispose object and free resources.
 java.lang.string getalternativetext()
          gets the alternative text associated with a shape.
 clickhyperlink getclick()
          gets the hyperlink defined for mouse click.
 byte[] getdata()
          gets embedded object as byte array.
 effectdag geteffectdag()
          gets the effectformat object which contains pixel effects applied to a shape.
 fillformat getfill()
          gets the fillformat object that contains fill formatting properties for a shape.
 graphicframe getframe()
          gets the shape frame's properties.
 float getheight()
          gets the height of the shape.
 float getleft()
          gets the x-coordinate of the upper-left corner of the shape.
 textlineformat getline()
          gets the lineformat object that contains line formatting properties for a shape.
 java.lang.string getlinkfilepath()
          gets the full path to a linked file.
 java.lang.string getlinkshortfilepath()
          gets the full path to a linked file.
 clickhyperlink getmouseover()
          gets the hyperlink defined for mouse over.
 java.lang.string getname()
          gets the name of a shape.
 java.lang.string getobjectname()
          gets the name of an object.
 java.lang.object getparent()
          reference to parent object.
 placeholderex getplaceholder()
          gets the placeholder for a shape.
 presentation getpresentation()
           
 java.lang.string getprogid()
          gets the progid of an object.
 float getrotation()
          gets the number of degrees the specified shape is rotated around the z-axis.
 graphicalnodelocking getshapelocking()
          gets lock type of shape.
 activeslide getslide()
          gets the parent slide of a shape.
 picturefillformat getsubstituteimagepicturefillformat()
          gets oleobject image fill properties object.
 tagcollection gettagslist()
          gets the shape's tags collection.
 float gettop()
          gets the y-coordinate of the upper-left corner of the shape.
 float getwidth()
          gets the width of the shape.
 int getzorderposition()
          gets the position of a shape in the z-order.
 boolean ishidden()
          indicates whether the shape is hidden.
 void ishidden(boolean value)
           
 boolean isiconvisible()
          indicates whether an object is visible as icon.
 void isiconvisible(boolean value)
           
 boolean isobjectlink()
          indicates whether an object is linked to external file.
 boolean istextbox()
          indicates whether the shape is textholder.
 void removeplaceholder()
          removes placeholder from the shape.
 void setalternativetext(java.lang.string value)
          sets the alternative text associated with a shape.
 void setclick(clickhyperlink value)
          sets the hyperlink defined for mouse click.
 void setdata(byte[] value)
          sets embedded object as byte array.
 void setframe(graphicframe value)
          sets the shape frame's properties.
 void setheight(float value)
          sets the height of the shape.
 void setleft(float value)
          sets the x-coordinate of the upper-left corner of the shape.
 void setlinkfilepath(java.lang.string value)
          sets the full path to a linked file.
 void setmouseover(clickhyperlink value)
          sets the hyperlink defined for mouse over.
 void setname(java.lang.string value)
          sets the name of a shape.
 void setobjectname(java.lang.string value)
          sets the name of an object.
 void setprogid(java.lang.string value)
          sets the progid of an object.
 void setrotation(float value)
          sets the number of degrees the specified shape is rotated around the z-axis.
 void settop(float value)
          sets the y-coordinate of the upper-left corner of the shape.
 void setwidth(float value)
          sets the width of the shape.
 void setzorderposition(int zorderposition)
          sets the position of a shape in the z-order.
 
method detail

getsubstituteimagepicturefillformat

picturefillformat getsubstituteimagepicturefillformat()
gets oleobject image fill properties object. readonly .
returns:

getobjectname

java.lang.string getobjectname()
gets the name of an object. read/write .
returns:

setobjectname

void setobjectname(java.lang.string value)
sets the name of an object. read/write .

getprogid

java.lang.string getprogid()
gets the progid of an object. read/write .
returns:

setprogid

void setprogid(java.lang.string value)
sets the progid of an object. read/write .

getdata

byte[] getdata()
gets embedded object as byte array. read/write [].
returns:
throws:
java.lang.exception

setdata

void setdata(byte[] value)
sets embedded object as byte array. read/write [].

getlinkshortfilepath

java.lang.string getlinkshortfilepath()
gets the full path to a linked file. read-only .
returns:

getlinkfilepath

java.lang.string getlinkfilepath()
gets the full path to a linked file. read-only .
returns:

setlinkfilepath

void setlinkfilepath(java.lang.string value)
sets the full path to a linked file. read-only .

isiconvisible

boolean isiconvisible()
indicates whether an object is visible as icon. read/write .
returns:

isiconvisible

void isiconvisible(boolean value)

isobjectlink

boolean isobjectlink()
indicates whether an object is linked to external file. read-only .
returns:

getshapelocking

graphicalnodelocking getshapelocking()
gets lock type of shape. read-only .
returns:

istextbox

boolean istextbox()
indicates whether the shape is textholder. read-only .
returns:

getplaceholder

placeholderex getplaceholder()
gets the placeholder for a shape. read-only .
returns:

gettagslist

tagcollection gettagslist()
gets the shape's tags collection. read-only .
returns:

getframe

graphicframe getframe()
gets the shape frame's properties. read/write .
returns:

setframe

void setframe(graphicframe value)
sets the shape frame's properties. read/write .

getline

textlineformat getline()
gets the lineformat object that contains line formatting properties for a shape. read-only .
returns:
can return null for certain types of shapes which don't have line properties.

geteffectdag

effectdag geteffectdag()
gets the effectformat object which contains pixel effects applied to a shape. read-only
returns:
can return null for certain types of shapes which don't have effect properties.

getfill

fillformat getfill()
gets the fillformat object that contains fill formatting properties for a shape. read-only .
returns:
can return null for certain types of shapes which don't have fill properties.

getclick

clickhyperlink getclick()
gets the hyperlink defined for mouse click. read/write .
returns:

setclick

void setclick(clickhyperlink value)
sets the hyperlink defined for mouse click. read/write .

getmouseover

clickhyperlink getmouseover()
gets the hyperlink defined for mouse over. read/write .
returns:

setmouseover

void setmouseover(clickhyperlink value)
sets the hyperlink defined for mouse over. read/write .

ishidden

boolean ishidden()
indicates whether the shape is hidden. read/write .
returns:

ishidden

void ishidden(boolean value)

getzorderposition

int getzorderposition()
gets the position of a shape in the z-order. shapes[0] returns the shape at the back of the z-order,and shapes[shapes.count - 1] returns the shape at the front of the z-order. read-only .
returns:

setzorderposition

void setzorderposition(int zorderposition)
sets the position of a shape in the z-order.
parameters:
zorderposition -

getrotation

float getrotation()
gets the number of degrees the specified shape is rotated around the z-axis. a positive value indic indicates counterclockwise rotation. read/write .
returns:

setrotation

void setrotation(float value)
sets the number of degrees the specified shape is rotated around the z-axis. a positive value indic indicates counterclockwise rotation. read/write .

getleft

float getleft()
gets the x-coordinate of the upper-left corner of the shape. read/write .
returns:

setleft

void setleft(float value)
sets the x-coordinate of the upper-left corner of the shape. read/write .

gettop

float gettop()
gets the y-coordinate of the upper-left corner of the shape. read/write .
returns:

settop

void settop(float value)
sets the y-coordinate of the upper-left corner of the shape. read/write .

getwidth

float getwidth()
gets the width of the shape. read/write .
returns:

setwidth

void setwidth(float value)
sets the width of the shape. read/write .

getheight

float getheight()
gets the height of the shape. read/write .
returns:

setheight

void setheight(float value)
sets the height of the shape. read/write .

getalternativetext

java.lang.string getalternativetext()
gets the alternative text associated with a shape. read/write .
returns:

setalternativetext

void setalternativetext(java.lang.string value)
sets the alternative text associated with a shape. read/write .

getname

java.lang.string getname()
gets the name of a shape. read/write .
returns:

setname

void setname(java.lang.string value)
sets the name of a shape. read/write .

getslide

activeslide getslide()
gets the parent slide of a shape. read-only .
returns:

getpresentation

presentation getpresentation()

getparent

java.lang.object getparent()
reference to parent object. read-only.
returns:

removeplaceholder

void removeplaceholder()
removes placeholder from the shape.

dispose

void dispose()
dispose object and free resources.


网站地图