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
SpreadsheetCellPossibleWatermark . |
double |
getHeight()
Gets the height of this
SpreadsheetCellPossibleWatermark in points. |
ContentPart |
getParent()
Gets the parent of this
SpreadsheetCellPossibleWatermark . |
double |
getRotateAngle()
Gets the rotate angle of this
SpreadsheetCellPossibleWatermark in degrees. |
String |
getText()
Gets the text of this
SpreadsheetCellPossibleWatermark . |
int |
getUnitOfMeasurement()
Gets the unit of measurement of this
SpreadsheetCellPossibleWatermark . |
double |
getWidth()
Gets the width of this
SpreadsheetCellPossibleWatermark in points. |
double |
getX()
Gets the horizontal offset of this
SpreadsheetCellPossibleWatermark
from content left border in points. |
double |
getY()
Gets the vertical offset of this
SpreadsheetCellPossibleWatermark from content
top border in points. |
void |
setText(String value)
Sets the text of this
SpreadsheetCellPossibleWatermark . |
getImageData, setImageData
public ContentPart getParent()
Gets the parent of this SpreadsheetCellPossibleWatermark
.
getParent
in class PossibleWatermark
SpreadsheetCellPossibleWatermark
.public double getWidth()
Gets the width of this SpreadsheetCellPossibleWatermark
in points.
getWidth
in class PossibleWatermark
SpreadsheetCellPossibleWatermark
in points.public double getHeight()
Gets the height of this SpreadsheetCellPossibleWatermark
in points.
getHeight
in class PossibleWatermark
SpreadsheetCellPossibleWatermark
in points.public double getX()
Gets the horizontal offset of this SpreadsheetCellPossibleWatermark
from content left border in points.
getX
in class PossibleWatermark
SpreadsheetCellPossibleWatermark
.public double getY()
Gets the vertical offset of this SpreadsheetCellPossibleWatermark
from content
top border in points.
getY
in class PossibleWatermark
SpreadsheetCellPossibleWatermark
.public double getRotateAngle()
Gets the rotate angle of this SpreadsheetCellPossibleWatermark
in degrees.
getRotateAngle
in class PossibleWatermark
SpreadsheetCellPossibleWatermark
in degrees.public String getText()
Gets the text of this SpreadsheetCellPossibleWatermark
.
getText
in class PossibleWatermark
SpreadsheetCellPossibleWatermark
.public void setText(String value)
Sets the text of this SpreadsheetCellPossibleWatermark
.
setText
in class PossibleWatermark
value
- The text of this SpreadsheetCellPossibleWatermark
.public FormattedTextFragmentCollection getFormattedTextFragments()
Gets the collection of formatted text fragments of this SpreadsheetCellPossibleWatermark
.
getFormattedTextFragments
in class PossibleWatermark
SpreadsheetCellPossibleWatermark
.public int getUnitOfMeasurement()
Gets the unit of measurement of this SpreadsheetCellPossibleWatermark
.
getUnitOfMeasurement
in class PossibleWatermark
SpreadsheetCellPossibleWatermark
.Copyright © 2020. All rights reserved.