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
. |
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 document left border in points. |
double |
getY()
Gets the vertical offset of this
from document top border in points. |
void |
setText(String value)
Sets the text of this
. |
getImageData, setImageData
public ContentPart getParent()
WordProcessingTextPossibleWatermark
.getParent
in class PossibleWatermark
WordProcessingTextPossibleWatermark
.public double getWidth()
WordProcessingTextPossibleWatermark
> in points.getWidth
in class PossibleWatermark
public double getHeight()
WordProcessingTextPossibleWatermark
in points.getHeight
in class PossibleWatermark
public double getX()
WordProcessingTextPossibleWatermark
from document left border in points.getX
in class PossibleWatermark
public double getY()
WordProcessingTextPossibleWatermark
from document top border in points.getY
in class PossibleWatermark
public double getRotateAngle()
WordProcessingTextPossibleWatermark
in degrees.getRotateAngle
in class PossibleWatermark
public String getText()
WordProcessingTextPossibleWatermark
.getText
in class PossibleWatermark
WordProcessingTextPossibleWatermark
.public void setText(String value)
WordProcessingTextPossibleWatermark
.setText
in class PossibleWatermark
value
- The text of this WordProcessingTextPossibleWatermark
.public FormattedTextFragmentCollection getFormattedTextFragments()
WordProcessingTextPossibleWatermark
.getFormattedTextFragments
in class PossibleWatermark
WordProcessingTextPossibleWatermark
.public int getUnitOfMeasurement()
UnitOfMeasurement
of this WordProcessingTextPossibleWatermark
.getUnitOfMeasurement
in class PossibleWatermark
UnitOfMeasurement
of this WordProcessingTextPossibleWatermark
.