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