public class WordProcessingTextPossibleWatermark extends PossibleWatermark
Represents possible watermark in a Word document text.
Modifier and Type | Method and Description |
---|---|
FormattedTextFragmentCollection |
getFormattedTextFragments()
Gets the collection of formatted text fragments of this
WordProcessingTextPossibleWatermark . |
double |
getHeight()
Gets the height of this
WordProcessingTextPossibleWatermark in points. |
ContentPart |
getParent()
Gets the parent of this
WordProcessingTextPossibleWatermark . |
double |
getRotateAngle()
Gets the rotate angle of this
WordProcessingTextPossibleWatermark in degrees. |
String |
getText()
Gets the text of this
WordProcessingTextPossibleWatermark . |
int |
getUnitOfMeasurement()
Gets the unit of measurement of this
WordProcessingTextPossibleWatermark . |
double |
getWidth()
Gets the width of this
WordProcessingTextPossibleWatermark in points. |
double |
getX()
Gets the horizontal offset of this
WordProcessingTextPossibleWatermark
from document left border in points. |
double |
getY()
Gets the vertical offset of this
WordProcessingTextPossibleWatermark
from document top border in points. |
void |
setText(String value)
Sets the text of this
WordProcessingTextPossibleWatermark . |
getImageData, setImageData
public ContentPart getParent()
Gets the parent of this WordProcessingTextPossibleWatermark
.
getParent
in class PossibleWatermark
WordProcessingTextPossibleWatermark
.public double getWidth()
Gets the width of this WordProcessingTextPossibleWatermark
in points.
getWidth
in class PossibleWatermark
public double getHeight()
Gets the height of this WordProcessingTextPossibleWatermark
in points.
getHeight
in class PossibleWatermark
public double getX()
Gets the horizontal offset of this WordProcessingTextPossibleWatermark
from document left border in points.
getX
in class PossibleWatermark
public double getY()
Gets the vertical offset of this WordProcessingTextPossibleWatermark
from document top border in points.
getY
in class PossibleWatermark
public double getRotateAngle()
Gets the rotate angle of this WordProcessingTextPossibleWatermark
in degrees.
getRotateAngle
in class PossibleWatermark
public String getText()
Gets the text of this WordProcessingTextPossibleWatermark
.
getText
in class PossibleWatermark
WordProcessingTextPossibleWatermark
.public void setText(String value)
Sets the text of this WordProcessingTextPossibleWatermark
.
setText
in class PossibleWatermark
value
- The text of this WordProcessingTextPossibleWatermark
.public FormattedTextFragmentCollection getFormattedTextFragments()
Gets the collection of formatted text fragments of this WordProcessingTextPossibleWatermark
.
getFormattedTextFragments
in class PossibleWatermark
WordProcessingTextPossibleWatermark
.public int getUnitOfMeasurement()
Gets the unit of measurement of this WordProcessingTextPossibleWatermark
.
getUnitOfMeasurement
in class PossibleWatermark
WordProcessingTextPossibleWatermark
.Copyright © 2020. All rights reserved.