public class SpreadsheetHeaderFooterPossibleWatermark extends PossibleWatermark
Represents possible watermark in a header or footer of an Excel document.
Modifier and Type | Method and Description |
---|---|
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 worksheet left border in points. |
double |
getY()
Gets the vertical offset of this
from
worksheet top border in points. |
void |
setText(String value)
Sets the text of this
. |
getFormattedTextFragments, getImageData, setImageData
public ContentPart getParent()
SpreadsheetHeaderFooterPossibleWatermark
.getParent
in class PossibleWatermark
SpreadsheetHeaderFooterPossibleWatermark
.public double getWidth()
SpreadsheetHeaderFooterPossibleWatermark
in points.getWidth
in class PossibleWatermark
SpreadsheetHeaderFooterPossibleWatermark
in points.public double getHeight()
SpreadsheetHeaderFooterPossibleWatermark
in points.getHeight
in class PossibleWatermark
SpreadsheetHeaderFooterPossibleWatermark
in points.public double getX()
SpreadsheetHeaderFooterPossibleWatermark
from worksheet left border in points.getX
in class PossibleWatermark
SpreadsheetHeaderFooterPossibleWatermark
.public double getY()
SpreadsheetHeaderFooterPossibleWatermark
from
worksheet top border in points.getY
in class PossibleWatermark
SpreadsheetHeaderFooterPossibleWatermark
.public double getRotateAngle()
SpreadsheetHeaderFooterPossibleWatermark
in degrees.getRotateAngle
in class PossibleWatermark
SpreadsheetHeaderFooterPossibleWatermark
in degrees.public String getText()
SpreadsheetHeaderFooterPossibleWatermark
.getText
in class PossibleWatermark
SpreadsheetHeaderFooterPossibleWatermark
.public void setText(String value)
SpreadsheetHeaderFooterPossibleWatermark
.setText
in class PossibleWatermark
value
- The text of this SpreadsheetHeaderFooterPossibleWatermark
.public int getUnitOfMeasurement()
UnitOfMeasurement
of this SpreadsheetHeaderFooterPossibleWatermark
.getUnitOfMeasurement
in class PossibleWatermark
UnitOfMeasurement
of this SpreadsheetHeaderFooterPossibleWatermark
.