![]() |
||
Home Products Purchase Downloads Demos Forums Blogs Ticket Wiki API Corporate |
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.cells.Comment
public class Comment
Encapsulates the object that represents a cell comment.
Method Summary | |
---|---|
void |
addHyperlink(java.lang.String address)
Adds a hyperlink to the mso drawing object. |
int |
getColumn()
Gets the column index of the comment. |
ShapeFill |
getFill()
Gets a object that contains fill formatting properties for the specified shape. |
Font |
getFont()
Gets the font of comment. |
int |
getHeight()
Gets the height, in unit of pixel. |
double |
getHeightCM()
Gets the height, in unit of centimeters. |
float |
getHeightInch()
Gets the height, in unit of inches. |
int |
getHeightInChart()
Gets the height, in units of 1/4000 of the chart area. |
Hyperlink |
getHyperlink()
Gets a hyperlink from the mso drawing object. |
int |
getLeft()
Gets the horizontal offset of textbox from its left column, in unit of pixel. |
double |
getLeftCM()
Gets the horizontal offset of textbox from its left column, in unit of centimeters. |
float |
getLeftInch()
Gets the horizontal offset of textbox from its left column, in unit of inches. |
int |
getLeftInChart()
Gets the horizontal offset of textbox from its left column, in units of 1/4000 of the chart area. |
ShapeLine |
getLine()
Gets a object that contains line formatting properties for the shape. |
java.lang.String |
getNote()
Gets the content of comment. |
int |
getPlacement()
Gets the way the drawing obejct is attached to the cells below it. |
int |
getRow()
Gets the row index of the comment. |
int |
getTop()
Gets the vertical offset of textbox from its top row, in unit of pixel. |
double |
getTopCM()
Gets the vertical offset of textbox from its top row, in unit of centimeters. |
float |
getTopInch()
Gets the vertical offset of textbox from its top row, in unit of inches. |
int |
getTopInChart()
Gets the vertical offset of textbox from its top row, in units of 1/4000 of the chart area. |
int |
getUpperLeftColumn()
Gets the upper left column index. |
int |
getUpperLeftRow()
Gets the upper left row index. |
int |
getWidth()
Gets the widthx, in unit of pixel. |
double |
getWidthCM()
Gets the width, in unit of centimeters. |
float |
getWidthInch()
Gets the width, in unit of inches. |
int |
getWidthInChart()
Gets the widthx, in units of 1/4000 of the chart area. |
boolean |
hasLine()
Indicates whether shape has border line. |
boolean |
isFilled()
Indicates whether shape is filled. |
boolean |
isVisible()
Indicates whether the comment is visible or not. |
void |
setColumn(int column)
Sets the column index of the comment. |
void |
setFilled(boolean isFilled)
Sets whether shape is filled. |
void |
setFont(Font font)
Sets the font of comment. |
void |
setHasLine(boolean hasLine)
Sets whether shape has border line. |
void |
setHeight(int height)
Sets the height, in unit of pixel. |
void |
setHeightCM(double height)
Sets the height, in unit of centimeters. |
void |
setHeightInch(double height)
Sets the height, in unit of inches. |
void |
setHeightInChart(int height)
Sets the height, in units of 1/4000 of the chart area. |
void |
setLeft(int left)
Sets the horizontal offset of textbox from its left column, in unit of pixel. |
void |
setLeftCM(double left)
Sets the horizontal offset of textbox from its left column, in unit of centimeters. |
void |
setLeftInch(double left)
Sets the horizontal offset of textbox from its left column, in unit of inches. |
void |
setLeftInChart(int left)
Sets the horizontal offset of textbox from its left column, in units of 1/4000 of the chart area. |
void |
setNote(java.lang.String note)
Sets the content of comment. |
void |
setPlacement(byte placementType)
Sets the way the drawing obejct is attached to the cells below it. |
void |
setRow(int row)
Sets the row index of the comment. |
void |
setTop(int top)
Sets the vertical offset of textbox from its top row, in unit of pixel. |
void |
setTopCM(double top)
Sets the vertical offset of textbox from its top row, in unit of centimeters. |
void |
setTopInch(double top)
Sets the vertical offset of textbox from its top row, in unit of inches. |
void |
setTopInChart(int top)
Sets the vertical offset of textbox from its top row, in units of 1/4000 of the chart area. |
void |
setUpperLeftColumn(int column)
Sets the upper left column index. |
void |
setUpperLeftRow(int row)
Sets the upper left row index. |
void |
setVisible(boolean isVisible)
Sets whether the comment is visible or not. |
void |
setWidth(int width)
Sets the width, in unit of pixel. |
void |
setWidthCM(double width)
Sets the width, in unit of centimeters. |
void |
setWidthInch(double width)
Sets the width, in unit of inches. |
void |
setWidthInChart(int width)
Sets the width, in units of 1/4000 of the chart area. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getColumn()
public void setColumn(int column)
column
- the column index of the comment.
CellsException
- if Comments has been removed.public Font getFont()
CellsException
- if Comments has been removed.public void setFont(Font font)
font
- the font of comment.
CellsException
- if Comments has been removed.public boolean isVisible()
public void setVisible(boolean isVisible)
isVisible
- whether the comment is visible or not.
CellsException
- if Comments has been removed.public java.lang.String getNote()
public void setNote(java.lang.String note)
note
- the content of comment.
CellsException
- if Comments has been removed.public int getRow()
public void setRow(int row)
row
- the row index of the comment.
CellsException
- if Comments has been removed.public ShapeFill getFill()
public ShapeLine getLine()
public boolean isFilled()
public void setFilled(boolean isFilled)
isFilled
- whether shape is filled.public Hyperlink getHyperlink()
public void addHyperlink(java.lang.String address)
address
- address of this hyperlink.This parameter can't be empty.public boolean hasLine()
public void setHasLine(boolean hasLine)
hasLine
- whether shape has border line.public int getUpperLeftColumn()
public void setUpperLeftColumn(int column)
column
- the upper left column index .public int getUpperLeftRow()
public void setUpperLeftRow(int row)
row
- the upper left row index.public int getHeight()
public void setHeight(int height)
height
- the height, in unit of pixel.public int getHeightInChart()
public void setHeightInChart(int height)
height
- the height, in units of 1/4000 of the chart area.
java.lang.IllegalArgumentException
- if height > 4000;public float getHeightInch()
public void setHeightInch(double height)
height
- the heigh, in unit of inches.public double getHeightCM()
public void setHeightCM(double height)
height
- the height, in unit of centimeters.public int getWidth()
public void setWidth(int width)
width
- the width, in unit of pixel.public int getWidthInChart()
public void setWidthInChart(int width)
width
- the width, in units of 1/4000 of the chart area.
java.lang.IllegalArgumentException
- if width > 4000;public float getWidthInch()
public void setWidthInch(double width)
width
- the width, in unit of inches.public double getWidthCM()
public void setWidthCM(double width)
width
- the width, in unit of centimeters.public int getLeft()
public void setLeft(int left)
left
- the horizontal offset of textbox from its left column, in unit
of pixel.public int getLeftInChart()
public void setLeftInChart(int left)
left
- the horizontal offset of textbox from its left column, in units of 1/4000 of the chart area.
java.lang.IllegalArgumentException
- if left > 4000;public float getLeftInch()
public void setLeftInch(double left)
left
- the horizontal offset of textbox from its left column, in unit
of inches.public double getLeftCM()
public void setLeftCM(double left)
left
- the horizontal offset of textbox from its left column, in unit
of centimeters.public int getTop()
public void setTop(int top)
top
- the vertical offset of textbox from its top row, in unit of
pixel.public int getTopInChart()
public void setTopInChart(int top)
top
- the vertical offset of textbox from its top row, in units of 1/4000 of the chart area.
java.lang.IllegalArgumentException
- if top > 4000;public float getTopInch()
public void setTopInch(double top)
top
- the vertical offset of textbox from its top row, in unit of
inches.public double getTopCM()
public void setTopCM(double top)
top
- the vertical offset of textbox from its top row, in unit of
centimeters.public int getPlacement()
setPlacement(byte)
public void setPlacement(byte placementType)
placementType
- the way the drawing obejct is attached to the cells below it. It
could be one of the following values: PlacementType.FREE_FLOATING |
PlacementType.MOVE |
PlacementType.MOVE_AND_SIZE |
java.lang.IllegalArgumentException
- if placementType is not member of PlacementType
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |