IBaseSlide

All Implemented Interfaces: com.aspose.slides.IThemeable

public interface IBaseSlide extends IThemeable

Represents common data for all slide types.

Methods

Method Description
getShapes() Returns the shapes of a slide.
getControls() Returns the collection of ActiveX controls on a slide.
getName() Returns or sets the name of a slide.
setName(String value) Returns or sets the name of a slide.
getSlideId() Returns the ID of a slide.
getCustomData() Returns the slide’s custom data.
getTimeline() Returns animation timeline object.
getSlideShowTransition() Returns the TransitionEx object which contains information about how the specified slide advances during a slide show.
getBackground() Returns slide’s background.
getHyperlinkQueries() Provides easy access to contained hyperlinks.
getShowMasterShapes() Specifies if shapes on the master slide should be shown on slides or not.
setShowMasterShapes(boolean value) Specifies if shapes on the master slide should be shown on slides or not.
findShapeByAltText(String altText) Finds first occurrence of a shape with the specified alternative text.
joinPortionsWithSameFormatting() Joins runs with same formatting in all paragraphs in all acceptable shapes.
equals(IBaseSlide slide) Determines whether the two IBaseSlide instances are equal.

getShapes()

public abstract IShapeCollection getShapes()

Returns the shapes of a slide. Read-only IShapeCollection.

Returns: IShapeCollection

getControls()

public abstract IControlCollection getControls()

Returns the collection of ActiveX controls on a slide. Read-only IControlCollection.

Returns: IControlCollection

getName()

public abstract String getName()

Returns or sets the name of a slide. Read/write String.

Returns: java.lang.String

setName(String value)

public abstract void setName(String value)

Returns or sets the name of a slide. Read/write String.

Parameters:

Parameter Type Description
value java.lang.String

getSlideId()

public abstract long getSlideId()

Returns the ID of a slide. Read-only long.

Returns: long

getCustomData()

public abstract ICustomData getCustomData()

Returns the slide’s custom data. Read-only ICustomData.

Returns: ICustomData

getTimeline()

public abstract IAnimationTimeLine getTimeline()

Returns animation timeline object. Read-only IAnimationTimeLine.

Returns: IAnimationTimeLine

getSlideShowTransition()

public abstract ISlideShowTransition getSlideShowTransition()

Returns the TransitionEx object which contains information about how the specified slide advances during a slide show. Read-only ISlideShowTransition.

Returns: ISlideShowTransition

getBackground()

public abstract IBackground getBackground()

Returns slide’s background. Read-only IBackground.

Returns: IBackground

getHyperlinkQueries()

public abstract IHyperlinkQueries getHyperlinkQueries()

Provides easy access to contained hyperlinks. Read-only IHyperlinkQueries.

Returns: IHyperlinkQueries

getShowMasterShapes()

public abstract boolean getShowMasterShapes()

Specifies if shapes on the master slide should be shown on slides or not. For master slide itself this property always returns false. Read/write boolean.

Returns: boolean

setShowMasterShapes(boolean value)

public abstract void setShowMasterShapes(boolean value)

Specifies if shapes on the master slide should be shown on slides or not. For master slide itself this property always returns false. Read/write boolean.

Parameters:

Parameter Type Description
value boolean

findShapeByAltText(String altText)

public abstract IShape findShapeByAltText(String altText)

Finds first occurrence of a shape with the specified alternative text.

Parameters:

Parameter Type Description
altText java.lang.String Alternative text.

Returns: IShape - ShapeEx object or null.

joinPortionsWithSameFormatting()

public abstract void joinPortionsWithSameFormatting()

Joins runs with same formatting in all paragraphs in all acceptable shapes.

equals(IBaseSlide slide)

public abstract boolean equals(IBaseSlide slide)

Determines whether the two IBaseSlide instances are equal. Returning value is calculated based on slide’s structure and static content. Two slides are equal if all shapes, styles, texts, animation and other settings. etc. are equal. The comparison doesn’t take into account unique identifier values, e.g. SlideId and dynamic content, e.g. current date value in Date Placeholder.

Parameters:

Parameter Type Description
slide IBaseSlide The IBaseSlide to compare with the current IBaseSlide.

Returns: boolean - true if the specified IBaseSlide is equal to the current IBaseSlide; otherwise, false.