|
|||||||||
| 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
com.spire.xls.core.spreadsheet.shapes.XlsComment
public class XlsComment
| 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, 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, 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, getID, getLeft, getName, getOnAction, getResizeBehave, getRotation, getShadow, getThreeD, getTop, getVisible, getWidth, isLockAspectRatio, isLockAspectRatio, isLocked, isLocked, isPrintable, isPrintable, scale, setHeight, setName, setOnAction, setResizeBehave, setRotation, setTop, setVisible, setWidth |
| Constructor Detail |
|---|
public XlsComment(java.lang.Object parent)
| Method Detail |
|---|
public ExcelShapeType getShapeType()
XlsShape
getShapeType in interface IShapegetShapeType in class XlsShapepublic java.lang.String getAuthor()
getAuthor in interface ICommentpublic void setAuthor(java.lang.String value)
public boolean getAutoSize()
XlsShape
getAutoSize in interface ICommentgetAutoSize in class XlsShapepublic void setAutoSize(boolean value)
XlsShape
setAutoSize in class XlsShapepublic int getColumn()
getColumn in interface ICommentpublic void setColumn(int value)
public int getRow()
getRow in interface ICommentpublic void setRow(int value)
public java.lang.String getText()
ITextBox
getText in interface ITextBoxpublic void setText(java.lang.String value)
ITextBox
setText in interface ITextBoxpublic boolean isTextLocked()
ITextBox
isTextLocked in interface ITextBoxpublic void isTextLocked(boolean value)
ITextBox
isTextLocked in interface ITextBoxpublic TextRotationType getTextRotation()
ITextBox
getTextRotation in interface ITextBoxpublic void setTextRotation(TextRotationType value)
ITextBox
setTextRotation in interface ITextBoxpublic IRichTextString getRichText()
ITextBox
getRichText in interface ITextBoxpublic CommentHAlignType getHAlignment()
ITextBox
getHAlignment in interface ITextBoxpublic void setHAlignment(CommentHAlignType value)
ITextBox
setHAlignment in interface ITextBoxpublic void remove()
XlsShape
remove in interface IShaperemove in class XlsShapepublic CommentVAlignType getVAlignment()
ITextBox
getVAlignment in interface ITextBoxpublic void setVAlignment(CommentVAlignType value)
ITextBox
setVAlignment in interface ITextBoxpublic boolean isVisible()
isVisible in interface ICommentpublic IShapeFill getFill()
XlsShape
getFill in interface IShapegetFill in class XlsShape
public IShape deepCloneInner(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 | ||||||||