public class SpreadsheetCellPossibleWatermark extends PossibleWatermark
Represents possible cell watermark in an Excel document.
Modifier and Type | Method and Description |
---|---|
FormattedTextFragmentCollection |
getFormattedTextFragments()
Gets the collection of formatted text fragments of this
. |
double |
getHeight()
Gets the height of this
in points. |
ContentPart |
getParent()
Gets the parent of this
. |
double |
getRotateAngle()
Gets the rotate angle of this
in degrees. |
String |
getText()
Gets the text of this
. |
int |
getUnitOfMeasurement()
Gets the
of this . |
double |
getWidth()
Gets the width of this
in points. |
double |
getX()
Gets the horizontal offset of this
from content left border in points. |
double |
getY()
Gets the vertical offset of this
from content
top border in points. |
void |
setText(String value)
Sets the text of this
. |
getImageData, setImageData
public ContentPart getParent()
SpreadsheetCellPossibleWatermark
.getParent
in class PossibleWatermark
SpreadsheetCellPossibleWatermark
.public double getWidth()
SpreadsheetCellPossibleWatermark
in points.getWidth
in class PossibleWatermark
SpreadsheetCellPossibleWatermark
in points.public double getHeight()
SpreadsheetCellPossibleWatermark
in points.getHeight
in class PossibleWatermark
SpreadsheetCellPossibleWatermark
in points.public double getX()
SpreadsheetCellPossibleWatermark
from content left border in points.getX
in class PossibleWatermark
SpreadsheetCellPossibleWatermark
.public double getY()
SpreadsheetCellPossibleWatermark
from content
top border in points.getY
in class PossibleWatermark
SpreadsheetCellPossibleWatermark
.public double getRotateAngle()
SpreadsheetCellPossibleWatermark
in degrees.getRotateAngle
in class PossibleWatermark
SpreadsheetCellPossibleWatermark
in degrees.public String getText()
SpreadsheetCellPossibleWatermark
.getText
in class PossibleWatermark
SpreadsheetCellPossibleWatermark
.public void setText(String value)
SpreadsheetCellPossibleWatermark
.setText
in class PossibleWatermark
value
- The text of this SpreadsheetCellPossibleWatermark
.public FormattedTextFragmentCollection getFormattedTextFragments()
SpreadsheetCellPossibleWatermark
.getFormattedTextFragments
in class PossibleWatermark
SpreadsheetCellPossibleWatermark
.public int getUnitOfMeasurement()
UnitOfMeasurement
of this SpreadsheetCellPossibleWatermark
.getUnitOfMeasurement
in class PossibleWatermark
UnitOfMeasurement
of this SpreadsheetCellPossibleWatermark
.