public class HSLFPlaceholderDetails extends java.lang.Object implements PlaceholderDetails
PlaceholderDetails.PlaceholderSize
Modifier and Type | Method and Description |
---|---|
Placeholder |
getPlaceholder() |
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, wait
getDateFormat, getUserDate
public boolean isVisible()
isVisible
in interface PlaceholderDetails
public void setVisible(boolean isVisible)
setVisible
in interface PlaceholderDetails
public Placeholder getPlaceholder()
getPlaceholder
in interface PlaceholderDetails
public void setPlaceholder(Placeholder placeholder)
PlaceholderDetails
setPlaceholder
in interface PlaceholderDetails
placeholder
- The shape to use as placeholder or null if no placeholder should be set.public PlaceholderDetails.PlaceholderSize getSize()
getSize
in interface PlaceholderDetails
public void setSize(PlaceholderDetails.PlaceholderSize size)
setSize
in interface PlaceholderDetails
public java.lang.String getText()
PlaceholderDetails
null
.getText
in interface PlaceholderDetails
public void setText(java.lang.String text)
PlaceholderDetails
setText
in interface PlaceholderDetails
text
- the placeholder textCopyright 2022 The Apache Software Foundation or its licensors, as applicable.