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
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
Modifier and TypeMethodDescriptiongetSize()
void
setPlaceholder
(Placeholder placeholder) Specifies that the corresponding shape should be represented by the generating application as a placeholder.void
Methods inherited from class org.apache.poi.hslf.usermodel.HSLFPlaceholderDetails
getText, isVisible, setText, setVisible
-
Method Details
-
getPlaceholder
- Specified by:
getPlaceholder
in interfacePlaceholderDetails
- Overrides:
getPlaceholder
in classHSLFPlaceholderDetails
-
setPlaceholder
Description copied from interface:PlaceholderDetails
Specifies 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:
setPlaceholder
in interfacePlaceholderDetails
- Overrides:
setPlaceholder
in classHSLFPlaceholderDetails
- Parameters:
placeholder
- The shape to use as placeholder or null if no placeholder should be set.
-
getSize
- Specified by:
getSize
in interfacePlaceholderDetails
- Overrides:
getSize
in classHSLFPlaceholderDetails
-
setSize
- Specified by:
setSize
in interfacePlaceholderDetails
- Overrides:
setSize
in classHSLFPlaceholderDetails
-