Package org.apache.poi.hslf.usermodel
Class HSLFShapePlaceholderDetails
- java.lang.Object
-
- org.apache.poi.hslf.usermodel.HSLFPlaceholderDetails
-
- org.apache.poi.hslf.usermodel.HSLFShapePlaceholderDetails
-
- All Implemented Interfaces:
PlaceholderDetails
public class HSLFShapePlaceholderDetails extends HSLFPlaceholderDetails
Extended placeholder details for HSLF shapes- 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()voidsetPlaceholder(Placeholder placeholder)Specifies that the corresponding shape should be represented by the generating application as a placeholder.voidsetSize(PlaceholderDetails.PlaceholderSize size)-
Methods inherited from class org.apache.poi.hslf.usermodel.HSLFPlaceholderDetails
getText, isVisible, setText, setVisible
-
-
-
-
Method Detail
-
getPlaceholder
public Placeholder getPlaceholder()
- Specified by:
getPlaceholderin interfacePlaceholderDetails- Overrides:
getPlaceholderin classHSLFPlaceholderDetails
-
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- Overrides:
setPlaceholderin classHSLFPlaceholderDetails- Parameters:
placeholder- The shape to use as placeholder or null if no placeholder should be set.
-
getSize
public PlaceholderDetails.PlaceholderSize getSize()
- Specified by:
getSizein interfacePlaceholderDetails- Overrides:
getSizein classHSLFPlaceholderDetails
-
setSize
public void setSize(PlaceholderDetails.PlaceholderSize size)
- Specified by:
setSizein interfacePlaceholderDetails- Overrides:
setSizein classHSLFPlaceholderDetails
-
-