|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.xls.ExcelCommentObject
public class ExcelCommentObject
| Constructor Summary | |
|---|---|
ExcelCommentObject(ICommentShape commentShape)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAlternativeText()
Alternative text. |
java.lang.String |
getAuthor()
Gets the author of the comment. |
boolean |
getAutoSize()
Indicates whether the size of the specified object is changed automatically to fit text within its boundaries. |
int |
getColumn()
Gets column of the commented range. |
IShapeFill |
getFill()
|
CommentHAlignType |
getHAlignment()
Horizontal alignment of the text. |
int |
getHeight()
Gets height of comment. |
int |
getID()
Returns the type for the specified object. |
int |
getLeft()
Gets position of left |
IShapeLineFormat |
getLine()
|
java.lang.String |
getName()
Gets name of object. |
java.lang.String |
getOnAction()
|
java.lang.Object |
getParent()
|
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. |
IRichTextString |
getRichText()
Gets comment rich text. |
int |
getRotation()
Returns the rotation of the shape, in degrees. |
int |
getRow()
Gets row of the commented range. |
IShadow |
getShadow()
|
ExcelShapeType |
getShapeType()
Gets shape type of object. |
java.lang.String |
getText()
Gets comment text |
TextRotationType |
getTextRotation()
Text rotation. |
IFormat3D |
getThreeD()
|
int |
getTop()
Gets top of object. |
CommentVAlignType |
getVAlignment()
Vertical alignment of the text. |
boolean |
getVisible()
Determines whether the object is visible. |
int |
getWidth()
Gets width of object. |
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 |
isTextLocked()
Indicates whether comment text is locked. |
void |
isTextLocked(boolean value)
Indicates whether comment text is locked. |
boolean |
isVisible()
Indicates whether the comment is visible. |
void |
isVisible(boolean value)
Indicates whether the comment is visible. |
void |
remove()
Removes comment. |
void |
scale(int scaleWidth,
int scaleHeight)
Scales all comments. |
void |
setAlternativeText(java.lang.String value)
Sets alternative text. |
void |
setAutoSize(boolean value)
Sets whether the size of the specified object is changed automatically to fit text within its boundaries. |
void |
setCommentLocation(boolean isMoveWithCell,
boolean isSizeWithCell)
|
void |
setHAlignment(CommentHAlignType value)
Horizontal alignment of the text. |
void |
setHeight(int value)
Sets height of comment. |
void |
setLeft(int value)
Sets position of left |
void |
setName(java.lang.String value)
Sets name of object. |
void |
setOnAction(java.lang.String value)
|
void |
setResizeBehave(ResizeBehaveType value)
Sets 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. |
void |
setRotation(int value)
Sets the rotation of the shape, in degrees. |
void |
setShapeType(ExcelShapeType value)
Sets shape type of object. |
void |
setText(java.lang.String value)
Sets comment text |
void |
setTextRotation(TextRotationType value)
Text rotation. |
void |
setTop(int value)
Sets top of object. |
void |
setVAlignment(CommentVAlignType value)
Vertical alignment of the text. |
void |
setVisible(boolean value)
Determines whether the object is visible. |
void |
setWidth(int value)
Sets width of object. |
| Constructor Detail |
|---|
public ExcelCommentObject(ICommentShape commentShape)
| Method Detail |
|---|
public void setCommentLocation(boolean isMoveWithCell,
boolean isSizeWithCell)
public java.lang.String getAuthor()
getAuthor in interface ICommentpublic boolean isVisible()
isVisible in interface ICommentpublic void isVisible(boolean value)
public int getRow()
getRow in interface ICommentpublic int getColumn()
getColumn in interface ICommentpublic IRichTextString getRichText()
getRichText in interface ITextBoxpublic IShapeLineFormat getLine()
getLine in interface ITextBoxShapepublic IShapeFill getFill()
getFill in interface IShapepublic java.lang.String getText()
getText in interface ITextBoxpublic void setText(java.lang.String value)
setText in interface ITextBoxpublic boolean getAutoSize()
getAutoSize in interface ICommentpublic void setAutoSize(boolean value)
public ResizeBehaveType getResizeBehave()
getResizeBehave in interface IShapepublic void setResizeBehave(ResizeBehaveType value)
setResizeBehave in interface IShapepublic boolean getVisible()
IShape
getVisible in interface IShapepublic void setVisible(boolean value)
IShape
setVisible in interface IShapepublic int getHeight()
getHeight in interface IShapepublic void setHeight(int value)
setHeight in interface IShapepublic CommentHAlignType getHAlignment()
ITextBox
getHAlignment in interface ITextBoxpublic void setHAlignment(CommentHAlignType value)
ITextBox
setHAlignment in interface ITextBoxpublic CommentVAlignType getVAlignment()
ITextBox
getVAlignment in interface ITextBoxpublic void setVAlignment(CommentVAlignType value)
ITextBox
setVAlignment in interface ITextBoxpublic TextRotationType getTextRotation()
ITextBox
getTextRotation in interface ITextBoxpublic void setTextRotation(TextRotationType value)
ITextBox
setTextRotation in interface ITextBoxpublic int getID()
IShape
getID in interface IShapepublic int getLeft()
getLeft in interface IShapepublic void setLeft(int value)
public java.lang.String getName()
getName in interface IShapepublic void setName(java.lang.String value)
setName in interface IShapepublic int getTop()
getTop in interface IShapepublic void setTop(int value)
setTop in interface IShapepublic int getWidth()
getWidth in interface IShapepublic void setWidth(int value)
setWidth in interface IShapepublic ExcelShapeType getShapeType()
getShapeType in interface IShapepublic void setShapeType(ExcelShapeType value)
value - public boolean isLocked()
IShape
isLocked in interface IShapepublic void isLocked(boolean value)
IShape
isLocked in interface IShapepublic boolean isPrintable()
IShape
isPrintable in interface IShapepublic void isPrintable(boolean value)
IShape
isPrintable in interface IShapepublic java.lang.String getAlternativeText()
getAlternativeText in interface IShapepublic void setAlternativeText(java.lang.String value)
public java.lang.Object getParent()
public boolean isTextLocked()
ITextBox
isTextLocked in interface ITextBoxpublic void isTextLocked(boolean value)
ITextBox
isTextLocked in interface ITextBoxpublic java.lang.String getOnAction()
getOnAction in interface IShapepublic void setOnAction(java.lang.String value)
setOnAction in interface IShapepublic boolean isLockAspectRatio()
IShape
isLockAspectRatio in interface IShapepublic void isLockAspectRatio(boolean value)
IShape
isLockAspectRatio in interface IShapepublic IShadow getShadow()
getShadow in interface IShapepublic IFormat3D getThreeD()
getThreeD in interface IShapepublic int getRotation()
getRotation in interface IShapepublic void setRotation(int value)
setRotation in interface IShapepublic void remove()
remove in interface IShape
public void scale(int scaleWidth,
int scaleHeight)
scale in interface IShapescaleWidth - Width scale in percents.scaleHeight - Height scale in percents.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||