Package org.apache.poi.xslf.usermodel
Class XSLFPlaceholderDetails
- java.lang.Object
 - 
- org.apache.poi.xslf.usermodel.XSLFPlaceholderDetails
 
 
- 
- All Implemented Interfaces:
 PlaceholderDetails
public class XSLFPlaceholderDetails extends java.lang.Object implements PlaceholderDetails
XSLF Placeholder Details- Since:
 - POI 4.0.0
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface org.apache.poi.sl.usermodel.PlaceholderDetails
PlaceholderDetails.PlaceholderSize 
 - 
 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlaceholdergetPlaceholder()PlaceholderDetails.PlaceholderSizegetSize()java.lang.StringgetText()If the placeholder shape or object stores text, this text is returned otherwisenull.booleanisVisible()voidsetPlaceholder(Placeholder placeholder)Specifies that the corresponding shape should be represented by the generating application as a placeholder.voidsetSize(PlaceholderDetails.PlaceholderSize size)voidsetText(java.lang.String text)If the placeholder shape or object stores text, the given text is stored otherwise this is a no-op.voidsetVisible(boolean isVisible) 
 - 
 
- 
- 
Method Detail
- 
getPlaceholder
public Placeholder getPlaceholder()
- Specified by:
 getPlaceholderin interfacePlaceholderDetails
 
- 
setPlaceholder
public void setPlaceholder(Placeholder placeholder)
Description copied from interface:PlaceholderDetailsSpecifies that the corresponding shape should be represented by the generating application as a placeholder. When a shape is considered a placeholder by the generating application it can have special properties to alert the user that they may enter content into the shape. Different types of placeholders are allowed and can be specified by using the placeholder type attribute for this element- Specified by:
 setPlaceholderin interfacePlaceholderDetails- Parameters:
 placeholder- The shape to use as placeholder or null if no placeholder should be set.
 
- 
isVisible
public boolean isVisible()
- Specified by:
 isVisiblein interfacePlaceholderDetails
 
- 
setVisible
public void setVisible(boolean isVisible)
- Specified by:
 setVisiblein interfacePlaceholderDetails
 
- 
getSize
public PlaceholderDetails.PlaceholderSize getSize()
- Specified by:
 getSizein interfacePlaceholderDetails
 
- 
setSize
public void setSize(PlaceholderDetails.PlaceholderSize size)
- Specified by:
 setSizein interfacePlaceholderDetails
 
- 
getText
public java.lang.String getText()
Description copied from interface:PlaceholderDetailsIf the placeholder shape or object stores text, this text is returned otherwisenull.- Specified by:
 getTextin interfacePlaceholderDetails- Returns:
 - the text of the shape / placeholder
 
 
- 
setText
public void setText(java.lang.String text)
Description copied from interface:PlaceholderDetailsIf the placeholder shape or object stores text, the given text is stored otherwise this is a no-op.- Specified by:
 setTextin interfacePlaceholderDetails- Parameters:
 text- the placeholder text
 
 - 
 
 -