Top Methods
org.apache.poi.sl.usermodel

public Interface Slide<S extends Shape<S, P>, P extends TextParagraph<S, P, ? extends TextRun>>

extends Sheet<S extends Shape<S, P>, P extends TextParagraph<S, P, ? extends TextRun>>
Annotations
@SuppressWarnings:unused
Imports
java.util.List, org.apache.poi.util.Removal

Method Summary

Modifier and TypeMethod and Description
public List<? extends Comment>

Returns:

the comment(s) for this slide
getComments
()

public default boolean

Returns:

true if the placeholder should be displayed/rendered
getDisplayPlaceholder
(Placeholder
the placeholder type
placeholder
)
Deprecated in POI 5.2.0 - use getDisplayPlaceholder(SimpleShape)

In XSLF, slidenumber and date shapes aren't marked as placeholders whereas in HSLF they are activated via a HeadersFooter configuration.

public default boolean

Returns:

true if the placeholder should be displayed/rendered
getDisplayPlaceholder
(SimpleShape<?, ?>
the shape which references to the placeholder
placeholderRefShape
)

In XSLF, slidenumber and date shapes aren't marked as placeholders whereas in HSLF they are activated via a HeadersFooter configuration.

public boolean
public boolean
public boolean
public Notes<S, P>
public MasterSheet<S, P>

Returns:

the assigned slide layout
getSlideLayout
()

public String

Returns:

the slide name, defaults to "Slide[slideNumber]"
getSlideName
()

public int

Returns:

the 1-based slide no.
getSlideNumber
()

public String

Returns:

title of this slide or null if title is not set
getTitle
()

public boolean

Returns:

the slide visibility, the slide is hidden when true - or shown when false
isHidden
()

public void
setFollowMasterBackground(boolean follow)

public void
public void
setFollowMasterObjects(boolean follow)

public void
setHidden(boolean
slide visibility, if true the slide is hidden, false shows the slide
hidden
)

Sets the slide visibility

public void
setNotes(Notes<S, P> notes)

Inherited from org.apache.poi.sl.usermodel.Sheet:
drawgetBackgroundgetFollowMasterGraphicsgetMasterSheetgetPlaceholderDetailsgetSlideShow

Method Detail

getCommentsback to summary
public List<? extends Comment> getComments()
Returns:List<? extends Comment>

the comment(s) for this slide

Annotations
@SuppressWarnings:java:S1452
getDisplayPlaceholderback to summary
public default boolean getDisplayPlaceholder(Placeholder placeholder)

Deprecated

in POI 5.2.0 - use getDisplayPlaceholder(SimpleShape)

In XSLF, slidenumber and date shapes aren't marked as placeholders whereas in HSLF they are activated via a HeadersFooter configuration. This method is used to generalize that handling.

Parameters
placeholder:Placeholder

the placeholder type

Returns:boolean

true if the placeholder should be displayed/rendered

Annotations
@Deprecated
@Removal
version:6.0.0
Since
POI 3.16-beta2
getDisplayPlaceholderback to summary
public default boolean getDisplayPlaceholder(SimpleShape<?, ?> placeholderRefShape)

In XSLF, slidenumber and date shapes aren't marked as placeholders whereas in HSLF they are activated via a HeadersFooter configuration. This method is used to generalize that handling.

Parameters
placeholderRefShape:SimpleShape<?, ?>

the shape which references to the placeholder

Returns:boolean

true if the placeholder should be displayed/rendered

Since
POI 5.2.0
getFollowMasterBackgroundback to summary
public boolean getFollowMasterBackground()
getFollowMasterColourSchemeback to summary
public boolean getFollowMasterColourScheme()
getFollowMasterObjectsback to summary
public boolean getFollowMasterObjects()
getNotesback to summary
public Notes<S, P> getNotes()
getSlideLayoutback to summary
public MasterSheet<S, P> getSlideLayout()
Returns:MasterSheet<S, P>

the assigned slide layout

Since
POI 4.0.0
getSlideNameback to summary
public String getSlideName()
Returns:String

the slide name, defaults to "Slide[slideNumber]"

Since
POI 4.0.0
getSlideNumberback to summary
public int getSlideNumber()
Returns:int

the 1-based slide no.

getTitleback to summary
public String getTitle()
Returns:String

title of this slide or null if title is not set

isHiddenback to summary
public boolean isHidden()
Returns:boolean

the slide visibility, the slide is hidden when true - or shown when false

Since
POI 4.0.0
setFollowMasterBackgroundback to summary
public void setFollowMasterBackground(boolean follow)
setFollowMasterColourSchemeback to summary
public void setFollowMasterColourScheme(boolean follow)
setFollowMasterObjectsback to summary
public void setFollowMasterObjects(boolean follow)
setHiddenback to summary
public void setHidden(boolean hidden)

Sets the slide visibility

Parameters
hidden:boolean

slide visibility, if true the slide is hidden, false shows the slide

Since
POI 4.0.0
setNotesback to summary
public void setNotes(Notes<S, P> notes)