xlscomment-ag凯发旗舰厅



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

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.xlscomment
all implemented interfaces:
icomment, icommentshape, ishape, itextbox, itextboxshape

public class xlscomment
extends xlsshape
implements icommentshape

constructor summary
xlscomment(java.lang.object parent)
           
 
method summary
 ishape deepcloneinner(java.lang.object parent, java.util.hashmap hashnewnames, java.util.hashmap dicfontindexes, boolean addtocollections)
          creates a clone of the current shape.
 java.lang.string getauthor()
          comment's author.
 boolean getautosize()
          true if the size of the specified object is changed automatically to fit text within its boundaries.
 int getcolumn()
          column of the commented cell.
 ishapefill getfill()
          represents fill properties.
 commenthaligntype gethalignment()
          horizontal alignment of the text.
 irichtextstring getrichtext()
          text of the comment.
 int getrow()
          row of the commented cell.
 excelshapetype getshapetype()
          type of shape , read only.
 java.lang.string gettext()
          sets 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.
 boolean isvisible()
          indicates whether comment is visible.
 void remove()
          removes object.
 void setauthor(java.lang.string value)
          comment's author.
 void setautosize(boolean value)
          true if the size of the specified object is changed automatically to fit text within its boundaries.
 void setcolumn(int value)
          column of the commented cell.
 void sethalignment(commenthaligntype value)
          horizontal alignment of the text.
 void setrow(int value)
          row of the commented cell.
 void settext(java.lang.string value)
          sets 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, deepclone, getalternativetext, getalternativetexttitle, getbottomrow, getbottomrowoffset, 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, scale, setalternativetext, setalternativetexttitle, 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.itextboxshape
getline
 
methods inherited from interface com.spire.xls.core.ishape
getalternativetext, getheight, gethtmlstring, getid, getleft, getname, getonaction, getresizebehave, getrotation, getshadow, getthreed, gettop, getvisible, getwidth, islockaspectratio, islockaspectratio, islocked, islocked, isprintable, isprintable, scale, setheight, sethtmlstring, setname, setonaction, setresizebehave, setrotation, settop, setvisible, setwidth
 
constructor detail

xlscomment

public xlscomment(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 xlsshape

getauthor

public java.lang.string getauthor()
comment's author.
specified by:
getauthor in interface icomment

setauthor

public void setauthor(java.lang.string value)
comment's author.

getautosize

public boolean getautosize()
description copied from class: xlsshape
true if the size of the specified object is changed automatically to fit text within its boundaries.
specified by:
getautosize in interface icomment
overrides:
getautosize in class xlsshape

setautosize

public void setautosize(boolean value)
description copied from class: xlsshape
true if the size of the specified object is changed automatically to fit text within its boundaries.
overrides:
setautosize in class xlsshape

getcolumn

public int getcolumn()
column of the commented cell.
specified by:
getcolumn in interface icomment

setcolumn

public void setcolumn(int value)
column of the commented cell.

getrow

public int getrow()
row of the commented cell.
specified by:
getrow in interface icomment

setrow

public void setrow(int value)
row of the commented cell.

gettext

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

settext

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

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

remove

public void remove()
description copied from class: xlsshape
removes object.
specified by:
remove in interface ishape
overrides:
remove in class xlsshape

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

isvisible

public boolean isvisible()
indicates whether comment is visible.
specified by:
isvisible in interface icomment

getfill

public ishapefill getfill()
description copied from class: xlsshape
represents fill properties.
specified by:
getfill in interface ishape
overrides:
getfill in class xlsshape

deepcloneinner

public ishape deepcloneinner(java.lang.object parent,
                             java.util.hashmap hashnewnames,
                             java.util.hashmap dicfontindexes,
                             boolean addtocollections)
creates a clone of the current shape.
parameters:
parent - new parent for the shape object.
hashnewnames - hashtable with new worksheet names.
dicfontindexes - dictionary with new font indexes.
returns:
a copy of the current shape.


网站地图