public class XSLFPlaceholderDetails 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) |
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 boolean isVisible()
isVisible
in interface PlaceholderDetails
public void setVisible(boolean isVisible)
setVisible
in interface PlaceholderDetails
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 2018 The Apache Software Foundation or its licensors, as applicable.