|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.xls.core.spreadsheet.xlsobject
com.spire.xls.core.spreadsheet.shapes.xlsshape
public class xlsshape
constructor summary | |
---|---|
xlsshape(java.lang.object parent)
|
method summary | |
---|---|
java.lang.object |
deepclone(java.lang.object parent)
creates a clone of the current shape. |
ishape |
deepclone(java.lang.object parent,
java.util.hashmap hashnewnames,
java.util.hashmap dicfontindexes,
boolean addtocollections)
creates a clone of the current shape. |
java.lang.string |
getalternativetext()
returns or sets the descriptive (alternative) text string for a shape object when the object is saved to a web page. |
java.lang.string |
getalternativetexttitle()
returns or sets the descriptive (alternative) text title string for a shape object when the object is saved to a web page. |
boolean |
getautosize()
true if the size of the specified object is changed automatically to fit text within its boundaries. |
int |
getbottomrow()
bottom row. |
int |
getbottomrowoffset()
bottom row offset. |
ishapefill |
getfill()
represents fill properties. |
int |
getheight()
height of object. |
java.lang.string |
gethtmlstring()
gets the html string which contains data and some formattings in this shape. |
int |
getid()
id of object. |
int |
getleft()
x of object |
int |
getleftcolumn()
left column. |
int |
getleftcolumnoffset()
left column offset. |
ishapelineformat |
getline()
represents line format properties. |
java.lang.string |
getname()
name of object. |
java.lang.string |
getonaction()
gets or sets macro-command that is called when action happens. |
resizebehavetype |
getresizebehave()
specifies all possible settings for how drawing object shall be resized when the rows and columns between its start and ending anchor are resized or inserted(comboboxshape and checkboxshape and radiobuttonshape set moveandresize type value is invalid) |
int |
getrightcolumn()
right column. |
int |
getrightcolumnoffset()
right column offset. |
int |
getrotation()
returns or sets the rotation of the shape, in degrees. |
ishadow |
getshadow()
gets the shadow properties. |
int |
getshapeid()
gets / sets shape id. |
excelshapetype |
getshapetype()
type of shape , read only. |
iformat3d |
getthreed()
gets the chart3 d properties. |
int |
gettop()
top of object. |
int |
gettoprow()
top row. |
int |
gettoprowoffset()
top row offset.256 means whole row offset |
boolean |
getupdatepositions()
indicates whether we have to update absolute positions after setting toprow, bottomrow, leftcolumn, rightcolumn. |
boolean |
getvisible()
determines whether the object is visible. |
boolean |
getvmlshape()
indicates whether this is vml shape or not. |
int |
getwidth()
width of object. |
boolean |
hasfill()
indicates whether xlsfill item was created. |
void |
hasfill(boolean value)
indicates whether xlsfill item was created. |
boolean |
haslineformat()
indicates whether line item was created. |
void |
haslineformat(boolean value)
indicates whether line item was created. |
boolean |
isfliph()
returns or sets if the shape flips horizontal.false is default; |
void |
isfliph(boolean value)
returns or sets if the shape flips horizontal.false is default; |
boolean |
isflipv()
returns or sets if the shape flips vertical.false is default; |
void |
isflipv(boolean value)
returns or sets if the shape flips vertical.false is default; |
boolean |
isgroup()
this shape is group shape. |
boolean |
islockaspectratio()
true means that don't allow changes in aspect ratio. |
void |
islockaspectratio(boolean value)
true means that don't allow changes in aspect ratio. |
boolean |
islocked()
true if the object is locked, false if the object can be modified when the sheet is protected. |
void |
islocked(boolean value)
true if the object is locked, false if the object can be modified when the sheet is protected. |
boolean |
isprintable()
true if the object is printable |
void |
isprintable(boolean value)
true if the object is printable |
boolean |
isrelative()
|
void |
isrelative(boolean value)
|
void |
remove()
removes object. |
void |
scale(int scalewidth,
int scaleheight)
scales the shape. |
void |
setalternativetext(java.lang.string value)
returns or sets the descriptive (alternative) text string for a shape object when the object is saved to a web page. |
void |
setalternativetexttitle(java.lang.string value)
returns or sets the descriptive (alternative) text title string for a shape object when the object is saved to a web page. |
void |
setautosize(boolean value)
true if the size of the specified object is changed automatically to fit text within its boundaries. |
void |
setbottomrow(int value)
bottom row. |
void |
setbottomrowoffset(int value)
bottom row offset. |
void |
setheight(int height)
sets height of object. |
void |
sethtmlstring(java.lang.string value)
sets the html string which contains data and some formattings in this shape. |
void |
setleft(int value)
x of object |
void |
setleftcolumn(int value)
left column. |
void |
setleftcolumnoffset(int columnoffset)
sets left column offset. |
void |
setname(java.lang.string name)
sets object name |
void |
setonaction(java.lang.string value)
gets or sets macro-command that is called when action happens. |
void |
setresizebehave(resizebehavetype value)
specifies all possible settings for how drawing object shall be resized when the rows and columns between its start and ending anchor are resized or inserted(comboboxshape and checkboxshape and radiobuttonshape set moveandresize type value is invalid) |
void |
setrightcolumn(int value)
right column. |
void |
setrightcolumnoffset(int value)
right column offset. |
void |
setrotation(int value)
returns or sets the rotation of the shape, in degrees. |
void |
setshapetype(excelshapetype value)
type of shape , read only. |
void |
settop(int value)
top of object. |
void |
settoprow(int value)
top row. |
void |
settoprowoffset(int toprowoffset)
sets top row offset.256 means whole row offset |
void |
setupdatepositions(boolean value)
indicates whether we have to update absolute positions after setting toprow, bottomrow, leftcolumn, rightcolumn. |
void |
setvisible(boolean value)
determines whether the object is visible. |
void |
setwidth(int width)
sets width of object. |
methods inherited from class com.spire.xls.core.spreadsheet.xlsobject |
---|
dispose |
constructor detail |
---|
public xlsshape(java.lang.object parent)
method detail |
---|
public java.lang.string getname()
getname
in interface ishape
public void setname(java.lang.string name)
setname
in interface ishape
name
- name to set.public int getheight()
getheight
in interface ishape
public void setheight(int height)
setheight
in interface ishape
public int getid()
getid
in interface ishape
public int getshapeid()
public int getleft()
getleft
in interface ishape
public void setleft(int value)
public int gettop()
gettop
in interface ishape
public void settop(int value)
settop
in interface ishape
public int getwidth()
getwidth
in interface ishape
public void setwidth(int width)
setwidth
in interface ishape
public excelshapetype getshapetype()
getshapetype
in interface ishape
public void setshapetype(excelshapetype value)
public boolean getvmlshape()
public boolean isrelative()
public void isrelative(boolean value)
public boolean getvisible()
ishape
getvisible
in interface ishape
public void setvisible(boolean value)
ishape
setvisible
in interface ishape
public java.lang.string gethtmlstring()
gethtmlstring
in interface ishape
public void sethtmlstring(java.lang.string value)
sethtmlstring
in interface ishape
value
- public java.lang.string getalternativetext()
getalternativetext
in interface ishape
public void setalternativetext(java.lang.string value)
public ishapefill getfill()
getfill
in interface ishape
public boolean getupdatepositions()
public void setupdatepositions(boolean value)
public boolean hasfill()
public void hasfill(boolean value)
public boolean haslineformat()
public void haslineformat(boolean value)
public boolean isfliph()
public void isfliph(boolean value)
public boolean isflipv()
public void isflipv(boolean value)
public boolean isgroup()
public java.lang.string getalternativetexttitle()
public void setalternativetexttitle(java.lang.string value)
public java.lang.string getonaction()
getonaction
in interface ishape
public void setonaction(java.lang.string value)
setonaction
in interface ishape
public boolean islocked()
ishape
islocked
in interface ishape
public void islocked(boolean value)
ishape
islocked
in interface ishape
public boolean isprintable()
ishape
isprintable
in interface ishape
public void isprintable(boolean value)
ishape
isprintable
in interface ishape
public resizebehavetype getresizebehave()
getresizebehave
in interface ishape
public void setresizebehave(resizebehavetype value)
setresizebehave
in interface ishape
public boolean islockaspectratio()
islockaspectratio
in interface ishape
public void islockaspectratio(boolean value)
islockaspectratio
in interface ishape
public int getbottomrow()
public void setbottomrow(int value)
public int getbottomrowoffset()
public void setbottomrowoffset(int value)
public int getleftcolumn()
public void setleftcolumn(int value)
public int getleftcolumnoffset()
public void setleftcolumnoffset(int columnoffset)
public int getrightcolumn()
public void setrightcolumn(int value)
public int getrightcolumnoffset()
public void setrightcolumnoffset(int value)
public int gettoprow()
public void settoprow(int value)
public int gettoprowoffset()
public void settoprowoffset(int toprowoffset)
public ishapelineformat getline()
public boolean getautosize()
public void setautosize(boolean value)
public int getrotation()
getrotation
in interface ishape
public void setrotation(int value)
setrotation
in interface ishape
public ishadow getshadow()
getshadow
in interface ishape
public iformat3d getthreed()
getthreed
in interface ishape
public void remove()
remove
in interface ishape
public void scale(int scalewidth, int scaleheight)
scale
in interface ishape
scalewidth
- width scale in percent.scaleheight
- height scale in percent.public java.lang.object deepclone(java.lang.object parent)
parent
- new parent for the shape object.
public ishape deepclone(java.lang.object parent, java.util.hashmap hashnewnames, java.util.hashmap dicfontindexes, boolean addtocollections)
parent
- new parent for the shape object.hashnewnames
- hashtable with new worksheet names.dicfontindexes
- dictionary with new font indexes.
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |