public class SpreadsheetShape extends ShapeSearchAdapter implements IRotatableTwoDObject
Represents a drawing shape in an Excel document.
Modifier and Type | Method and Description |
---|---|
String |
getAlternativeText()
Gets the descriptive (alternative) text associated with this
. |
int |
getAutoShapeType()
Gets the auto shape type.
|
FormattedTextFragmentCollection |
getFormattedTextFragments()
Gets the collection of formatted text fragments of this
. |
double |
getHeight()
Gets the height of this
in points. |
String |
getHyperlink()
Gets the hyperlink associated with this
. |
int |
getId()
Gets the identifier of this
. |
SpreadsheetWatermarkableImage |
getImage()
Gets the image of this
. |
SpreadsheetImageFillFormat |
getImageFillFormat()
Gets the image fill format settings of this
. |
int |
getMsoDrawingType()
Gets the mso drawing type.
|
String |
getName()
Gets the name of this
. |
double |
getRotateAngle()
Gets or sets the rotate angle of this
in degrees. |
String |
getText()
Gets the text of this
. |
double |
getWidth()
Gets the width of this
in points. |
SpreadsheetWorksheet |
getWorksheet()
Gets the parent worksheet of this
. |
double |
getX()
Gets the horizontal offset of this
from worksheet left border in points. |
double |
getY()
Gets the vertical offset of this
from worksheet top border in points. |
boolean |
isWordArt()
Gets a value indicating whether this
is a WordArt object. |
void |
setAlternativeText(String value)
Sets the descriptive (alternative) text associated with this
. |
void |
setHeight(double value)
Sets the height of this
in points. |
void |
setHyperlink(String value)
Sets the hyperlink associated with this
. |
void |
setImage(SpreadsheetWatermarkableImage value)
Sets the image of this
. |
void |
setRotateAngle(double value)
Gets or sets the rotate angle of this
in degrees. |
void |
setText(String value)
Sets the text of this
. |
void |
setWidth(double value)
Sets the width of this
in points. |
void |
setX(double value)
Sets the horizontal offset of this
from worksheet left border in points. |
void |
setY(double value)
Sets the vertical offset of this
from worksheet top border in points. |
public final SpreadsheetWorksheet getWorksheet()
SpreadsheetShape
.SpreadsheetShape
.public final int getAutoShapeType()
Gets the auto shape type.
public final int getMsoDrawingType()
Gets the mso drawing type.
public final String getText()
SpreadsheetShape
.SpreadsheetShape
.public final void setText(String value)
SpreadsheetShape
.value
- The text of this SpreadsheetShape
.public final FormattedTextFragmentCollection getFormattedTextFragments()
SpreadsheetShape
.SpreadsheetShape
.public final SpreadsheetWatermarkableImage getImage()
SpreadsheetShape
.SpreadsheetShape
or null if the shape has no image.public final void setImage(SpreadsheetWatermarkableImage value)
SpreadsheetShape
.value
- The image of this SpreadsheetShape
or null if the image should be removed.public final SpreadsheetImageFillFormat getImageFillFormat()
SpreadsheetShape
.SpreadsheetShape
.public final int getId()
SpreadsheetShape
.SpreadsheetShape
.public final String getAlternativeText()
SpreadsheetShape
.SpreadsheetShape
.public final void setAlternativeText(String value)
SpreadsheetShape
.value
- The descriptive (alternative) text associated with this SpreadsheetShape
.public final boolean isWordArt()
SpreadsheetShape
is a WordArt object.public final String getName()
SpreadsheetShape
.SpreadsheetShape
.public final String getHyperlink()
SpreadsheetShape
.SpreadsheetShape
.public final void setHyperlink(String value)
SpreadsheetShape
.value
- The hyperlink associated with this SpreadsheetShape
.public final double getX()
SpreadsheetShape
from worksheet left border in points.getX
in interface ITwoDObject
SpreadsheetShape
.public final void setX(double value)
SpreadsheetShape
from worksheet left border in points.value
- The x-coordinate of this SpreadsheetShape
.public final double getY()
SpreadsheetShape
from worksheet top border in points.getY
in interface ITwoDObject
SpreadsheetShape
.public final void setY(double value)
SpreadsheetShape
from worksheet top border in points.value
- The y-coordinate of this SpreadsheetShape
.public final double getWidth()
SpreadsheetShape
in points.getWidth
in interface ITwoDObject
SpreadsheetShape
in points.public final void setWidth(double value)
SpreadsheetShape
in points.value
- The width of this SpreadsheetShape
in points.public final double getHeight()
SpreadsheetShape
in points.getHeight
in interface ITwoDObject
SpreadsheetShape
in points.public final void setHeight(double value)
SpreadsheetShape
in points.value
- The height of this SpreadsheetShape
in points.public final double getRotateAngle()
SpreadsheetShape
in degrees.getRotateAngle
in interface IRotatableTwoDObject
SpreadsheetShape
in degrees.public final void setRotateAngle(double value)
SpreadsheetShape
in degrees.value
- The rotate angle of this SpreadsheetShape
in degrees.