public class XSLFPlaceholderDetails extends java.lang.Object implements PlaceholderDetails
PlaceholderDetails.PlaceholderSize| Modifier and Type | Method and Description |
|---|---|
Placeholder |
getPlaceholder() |
XSLFSimpleShape |
getPlaceholderShape() |
PlaceholderDetails.PlaceholderSize |
getSize() |
java.lang.String |
getText()
If the placeholder shape or object stores text, this text is returned otherwise
null. |
boolean |
isVisible() |
void |
setPlaceholder(Placeholder placeholder)
Specifies that the corresponding shape should be represented by the generating application
as a placeholder.
|
void |
setSize(PlaceholderDetails.PlaceholderSize size) |
void |
setText(java.lang.String text)
If the placeholder shape or object stores text, the given text is stored otherwise this is a no-op.
|
void |
setVisible(boolean isVisible) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDateFormat, getUserDatepublic Placeholder getPlaceholder()
getPlaceholder in interface PlaceholderDetailspublic XSLFSimpleShape getPlaceholderShape()
public void setPlaceholder(Placeholder placeholder)
PlaceholderDetailssetPlaceholder in interface PlaceholderDetailsplaceholder - The shape to use as placeholder or null if no placeholder should be set.public boolean isVisible()
isVisible in interface PlaceholderDetailspublic void setVisible(boolean isVisible)
setVisible in interface PlaceholderDetailspublic PlaceholderDetails.PlaceholderSize getSize()
getSize in interface PlaceholderDetailspublic void setSize(PlaceholderDetails.PlaceholderSize size)
setSize in interface PlaceholderDetailspublic java.lang.String getText()
PlaceholderDetailsnull.getText in interface PlaceholderDetailspublic void setText(java.lang.String text)
PlaceholderDetailssetText in interface PlaceholderDetailstext - the placeholder textCopyright 2022 The Apache Software Foundation or its licensors, as applicable.