public abstract class BaseSlide extends java.lang.Object implements IBaseSlide
Represents common data for all slide types.
Modifier and Type | Method and Description |
---|---|
IBackgroundEffectiveData |
createBackgroundEffective()
Deprecated.
Use Background.GetEffective() instead. The method will be removed after release of version 20.8.
|
IThemeEffectiveData |
createThemeEffective()
Returns an effective theme for this slide.
|
boolean |
equals(IBaseSlide slide)
Determines whether the two IBaseSlide instances are equal.
|
IShape |
findShapeByAltText(java.lang.String altText)
Finds first occurrence of a shape with the specified alternative text.
|
IBackground |
getBackground()
Returns slide's background.
|
IControlCollection |
getControls()
Returns the collection of ActiveX controls on a slide.
|
ICustomData |
getCustomData()
Returns the slide's custom data.
|
IHyperlinkQueries |
getHyperlinkQueries()
Provides easy access to contained hyperlinks.
|
java.lang.String |
getName()
Returns or sets the name of a slide.
|
com.aspose.slides.IDOMObject |
getParent_Immediate()
Returns Parent_Immediate object.
|
IPresentation |
getPresentation()
Returns IPresentation interface.
|
IShapeCollection |
getShapes()
Returns the shapes of a slide.
|
abstract boolean |
getShowMasterShapes()
Specifies if shapes on the master slide should be shown on slides or not.
|
IBaseSlide |
getSlide()
Returns the base slide.
|
long |
getSlideId()
Returns the ID of a slide.
|
ISlideShowTransition |
getSlideShowTransition()
Returns the Transition object which contains information about
how the specified slide advances during a slide show.
|
IAnimationTimeLine |
getTimeline()
Returns animation timeline object.
|
void |
joinPortionsWithSameFormatting()
Joins runs with same formatting in all paragraphs all acceptable shapes.
|
void |
joinPortionsWithSameFormatting(IShapeCollection collection)
Joins runs with same formatting in all paragraphs in all acceptable shapes.
|
void |
setName(java.lang.String value)
Returns or sets the name of a slide.
|
abstract void |
setShowMasterShapes(boolean value)
Specifies if shapes on the master slide should be shown on slides or not.
|
public final IShapeCollection getShapes()
Returns the shapes of a slide.
Read-only IShapeCollection
.
getShapes
in interface IBaseSlide
public final IControlCollection getControls()
Returns the collection of ActiveX controls on a slide.
Read-only IControlCollection
.
getControls
in interface IBaseSlide
public java.lang.String getName()
Returns or sets the name of a slide.
Read/write String
.
getName
in interface IBaseSlide
public void setName(java.lang.String value)
Returns or sets the name of a slide.
Read/write String
.
setName
in interface IBaseSlide
public final long getSlideId()
Returns the ID of a slide.
Read-only long
.
getSlideId
in interface IBaseSlide
public final 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.
equals
in interface IBaseSlide
slide
- The IBaseSlide to compare with the current IBaseSlide.<b>true</b>
if the specified IBaseSlide is equal to the current IBaseSlide;
otherwise, <b>false</b>
.public void joinPortionsWithSameFormatting()
Joins runs with same formatting in all paragraphs all acceptable shapes.
joinPortionsWithSameFormatting
in interface IBaseSlide
public void joinPortionsWithSameFormatting(IShapeCollection collection)
Joins runs with same formatting in all paragraphs in all acceptable shapes.
public final IThemeEffectiveData createThemeEffective()
Returns an effective theme for this slide.
createThemeEffective
in interface IThemeable
public final ICustomData getCustomData()
Returns the slide's custom data.
Read-only ICustomData
.
getCustomData
in interface IBaseSlide
public final IAnimationTimeLine getTimeline()
Returns animation timeline object.
Read-only IAnimationTimeLine
.
getTimeline
in interface IBaseSlide
public ISlideShowTransition getSlideShowTransition()
Returns the Transition object which contains information about
how the specified slide advances during a slide show.
Read-only ISlideShowTransition
.
getSlideShowTransition
in interface IBaseSlide
public final IBackground getBackground()
Returns slide's background.
Read-only IBackground
.
getBackground
in interface IBaseSlide
public final IHyperlinkQueries getHyperlinkQueries()
Provides easy access to contained hyperlinks.
Read-only IHyperlinkQueries
.
getHyperlinkQueries
in interface IBaseSlide
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
.
getShowMasterShapes
in interface IBaseSlide
com.aspose.ms.System.NotSupportedException
- Thrown if set true
for master slide.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
.
setShowMasterShapes
in interface IBaseSlide
com.aspose.ms.System.NotSupportedException
- Thrown if set true
for master slide.@Deprecated public final IBackgroundEffectiveData createBackgroundEffective()
Creates and returns IBackgroundEffectiveData
object which contains effective background properties.
createBackgroundEffective
in interface IBaseSlide
IBackgroundEffectiveData
instance.public final IShape findShapeByAltText(java.lang.String altText)
Finds first occurrence of a shape with the specified alternative text.
findShapeByAltText
in interface IBaseSlide
altText
- Alternative text.public final com.aspose.slides.IDOMObject getParent_Immediate()
Returns Parent_Immediate object.
Read-only IDOMObject
.
public final IPresentation getPresentation()
Returns IPresentation interface.
Read-only IPresentation
.
getPresentation
in interface IPresentationComponent
public final IBaseSlide getSlide()
ISlideComponent
Returns the base slide.
Read-only IBaseSlide
.
getSlide
in interface ISlideComponent