Interface Presentation
public interface Presentation
Presentation represents a single presentation created manually or from other sources that is intended to be
communicated outside the software. Presentation contains some metadata but the bulk of the information is in
Slide
s.- Since:
- 9.10.8
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Adds the given slide to this presentation.static Presentation
create()
Creates an empty presentation.static Presentation
Creates an empty presentation with the given name.getName()
Returns the name of this presentation.Returns all the issues in this presentation.Returns the unique id of the presentation.boolean
removeSlide
(Slide slide) Removes the given slide from this presentation.void
setTrackingIdPrefix
(String trackingIdPrefix) Sets the tracking id prefix of the presentation.
-
Method Details
-
create
Creates an empty presentation. The presentation will be added to the open project and have a default name, otherwise the new presentation is without name and not attached to the project.- Returns:
- the new presentation
- Since:
- 9.12.0
-
create
Creates an empty presentation with the given name. The presentation will be added to the open project, otherwise the new presentation is not attached to the project. In case of blank name a generated default name is used.- Parameters:
name
- the name of the presentation- Returns:
- the new presentation
- Since:
- 9.12.7
-
getSlides
Collection<Slide> getSlides()Returns all the issues in this presentation. The returned collection is unmodifiable. The returned issues inside that collection might not be.- Returns:
- the issues
- Since:
- 9.10.8
-
addSlide
Adds the given slide to this presentation.- Parameters:
slide
- the new slide- Returns:
- true if the slide did not previously exist for this presentation, false otherwise
- Since:
- 9.12.0
-
removeSlide
Removes the given slide from this presentation. If the slide is not in this presentation, nothing happens.- Parameters:
slide
- the slide to remove- Returns:
- true if the slide was removed, false if it didn't exist to begin with
- Since:
- 9.12.0
-
getName
String getName()Returns the name of this presentation.- Returns:
- the name
- Since:
- 9.10.8
-
setTrackingIdPrefix
Sets the tracking id prefix of the presentation.- Parameters:
trackingIdPrefix
- the tracking id prefix- Since:
- 9.12.7
-
getUniqueId
String getUniqueId()Returns the unique id of the presentation.- Returns:
- the unique id
- Since:
- 9.12.7
-