xlsrectangleshape-ag凯发旗舰厅



com.spire.xls.core.spreadsheet.shapes
class xlsrectangleshape

java.lang.object
  extended by com.spire.xls.core.spreadsheet.xlsobject
      extended by com.spire.xls.core.spreadsheet.shapes.xlsshape
          extended by com.spire.xls.core.spreadsheet.shapes.xlsprstgeomshape
              extended by com.spire.xls.core.spreadsheet.shapes.xlsrectangleshape
all implemented interfaces:
iprstgeomshape, irectangleshape, ishape, itextbox

public class xlsrectangleshape
extends xlsprstgeomshape
implements irectangleshape

constructor summary
xlsrectangleshape(java.lang.object parent)
           
 
method summary
 ishape deepclone(java.lang.object parent, java.util.hashmap hashnewnames, java.util.hashmap dicfontindexes, boolean addtocollections)
          creates a clone of the current shape.
 commenthaligntype gethalignment()
          horizontal alignment of the text.
 ihyperlink gethylink()
           
 prstgeomshapetype getprstshapetype()
           
  getrectshapetype()
           
 irichtextstring getrichtext()
          text of the comment.
 excelshapetype getshapetype()
          type of shape , read only.
 java.lang.string gettext()
          text of the comment.
 textrotationtype gettextrotation()
          text rotation.
 commentvaligntype getvalignment()
          vertical alignment of the text.
 boolean istextlocked()
          indicates whether comment text is locked.
 void istextlocked(boolean value)
          indicates whether comment text is locked.
 void sethalignment(commenthaligntype value)
          horizontal alignment of the text.
 void settext(java.lang.string value)
          text of the comment.
 void settextrotation(textrotationtype value)
          text rotation.
 void setvalignment(commentvaligntype value)
          vertical alignment of the text.
 
methods inherited from class com.spire.xls.core.spreadsheet.shapes.xlsshape
deepclone, getalternativetext, getalternativetexttitle, getautosize, getbottomrow, getbottomrowoffset, getfill, getheight, gethtmlstring, getid, getleft, getleftcolumn, getleftcolumnoffset, getline, getname, getonaction, getresizebehave, getrightcolumn, getrightcolumnoffset, getrotation, getshadow, getshapeid, getthreed, gettop, gettoprow, gettoprowoffset, getupdatepositions, getvisible, getvmlshape, getwidth, hasfill, hasfill, haslineformat, haslineformat, isfliph, isfliph, isflipv, isflipv, isgroup, islockaspectratio, islockaspectratio, islocked, islocked, isprintable, isprintable, isrelative, isrelative, remove, scale, setalternativetext, setalternativetexttitle, setautosize, setbottomrow, setbottomrowoffset, setheight, sethtmlstring, setleft, setleftcolumn, setleftcolumnoffset, setname, setonaction, setresizebehave, setrightcolumn, setrightcolumnoffset, setrotation, setshapetype, settop, settoprow, settoprowoffset, setupdatepositions, setvisible, setwidth
 
methods inherited from class com.spire.xls.core.spreadsheet.xlsobject
dispose
 
methods inherited from interface com.spire.xls.core.irectangleshape
getline, getrotation
 
methods inherited from interface com.spire.xls.core.ishape
getalternativetext, getfill, getheight, gethtmlstring, getid, getleft, getname, getonaction, getresizebehave, getshadow, getthreed, gettop, getvisible, getwidth, islockaspectratio, islockaspectratio, islocked, islocked, isprintable, isprintable, remove, scale, setheight, sethtmlstring, setname, setonaction, setresizebehave, setrotation, settop, setvisible, setwidth
 
constructor detail

xlsrectangleshape

public xlsrectangleshape(java.lang.object parent)
method detail

getshapetype

public excelshapetype getshapetype()
description copied from class: xlsshape
type of shape , read only.
specified by:
getshapetype in interface ishape
overrides:
getshapetype in class xlsprstgeomshape

getrectshapetype

public  getrectshapetype()
specified by:
getrectshapetype in interface irectangleshape

gettext

public java.lang.string gettext()
description copied from interface: iprstgeomshape
text of the comment.
specified by:
gettext in interface iprstgeomshape
specified by:
gettext in interface itextbox
overrides:
gettext in class xlsprstgeomshape

settext

public void settext(java.lang.string value)
description copied from interface: iprstgeomshape
text of the comment.
specified by:
settext in interface iprstgeomshape
specified by:
settext in interface itextbox
overrides:
settext in class xlsprstgeomshape

istextlocked

public boolean istextlocked()
description copied from interface: itextbox
indicates whether comment text is locked.
specified by:
istextlocked in interface itextbox

istextlocked

public void istextlocked(boolean value)
description copied from interface: itextbox
indicates whether comment text is locked.
specified by:
istextlocked in interface itextbox

gettextrotation

public textrotationtype gettextrotation()
description copied from interface: itextbox
text rotation.
specified by:
gettextrotation in interface itextbox

settextrotation

public void settextrotation(textrotationtype value)
description copied from interface: itextbox
text rotation.
specified by:
settextrotation in interface itextbox

getrichtext

public irichtextstring getrichtext()
description copied from interface: itextbox
text of the comment. read-only.
specified by:
getrichtext in interface itextbox

gethalignment

public commenthaligntype gethalignment()
description copied from interface: itextbox
horizontal alignment of the text.
specified by:
gethalignment in interface itextbox

sethalignment

public void sethalignment(commenthaligntype value)
description copied from interface: itextbox
horizontal alignment of the text.
specified by:
sethalignment in interface itextbox

getvalignment

public commentvaligntype getvalignment()
description copied from interface: itextbox
vertical alignment of the text.
specified by:
getvalignment in interface itextbox

setvalignment

public void setvalignment(commentvaligntype value)
description copied from interface: itextbox
vertical alignment of the text.
specified by:
setvalignment in interface itextbox

gethylink

public ihyperlink gethylink()
specified by:
gethylink in interface irectangleshape

getprstshapetype

public prstgeomshapetype getprstshapetype()
specified by:
getprstshapetype in interface iprstgeomshape
overrides:
getprstshapetype in class xlsprstgeomshape

deepclone

public ishape deepclone(java.lang.object parent,
                        java.util.hashmap hashnewnames,
                        java.util.hashmap dicfontindexes,
                        boolean addtocollections)
creates a clone of the current shape.
overrides:
deepclone in class xlsprstgeomshape
parameters:
parent - new parent for the shape object.
hashnewnames - hashtable with new worksheet names.
dicfontindexes - dictionary with new font indexes.
addtocollections - indicates whether we should add created shape into all necessary parent collections.
returns:
a copy of the current shape.


网站地图