MasterSlide
MasterSlide class
Represents a master slide in a presentation.
applyExternalThemeToDependingSlides
| Name | Description |
|---|
| applyExternalThemeToDependingSlides(String) | Creates a new master slide based on the current one, applying an external theme to it and applies the created master slide to all dependent slides. |
Parameters:
| Name | Type | Description |
|---|
| fname | String | Path to the external theme file (.thmx). |
Result:
MasterSlide
Error
| Error | Condition |
|---|
| PptxReadException | When external theme cannot be applied. |
createThemeEffective
| Name | Description |
|---|
| createThemeEffective() | Returns an effective theme for this slide. |
Result:
ThemeEffectiveData
equals
| Name | Description |
|---|
| equals(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:
| Name | Type | Description |
|---|
| slide | Slide | The IBaseSlide to compare with the current IBaseSlide. |
Result:
boolean
equals
| Name | Description |
|---|
| equals(MasterNotesSlide) | 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:
| Name | Type | Description |
|---|
| slide | MasterNotesSlide | The IBaseSlide to compare with the current IBaseSlide. |
Result:
boolean
equals
| Name | Description |
|---|
| equals(MasterSlide) | 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:
| Name | Type | Description |
|---|
| slide | MasterSlide | The IBaseSlide to compare with the current IBaseSlide. |
Result:
boolean
equals
| Name | Description |
|---|
| equals(LayoutSlide) | 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:
| Name | Type | Description |
|---|
| slide | LayoutSlide | The IBaseSlide to compare with the current IBaseSlide. |
Result:
boolean
equals
| Name | Description |
|---|
| equals(MasterHandoutSlide) | 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:
| Name | Type | Description |
|---|
| slide | MasterHandoutSlide | The IBaseSlide to compare with the current IBaseSlide. |
Result:
boolean
equals
| Name | Description |
|---|
| equals(NotesSlide) | 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:
| Name | Type | Description |
|---|
| slide | NotesSlide | The IBaseSlide to compare with the current IBaseSlide. |
Result:
boolean
findShapeByAltText
| Name | Description |
|---|
| findShapeByAltText(String) | Finds first occurrence of a shape with the specified alternative text. |
Parameters:
| Name | Type | Description |
|---|
| altText | String | Alternative text. |
Result:
SummaryZoomSection, AutoShape, AudioFrame, OleObjectFrame, SummaryZoomFrame, ZoomFrame, GraphicalObject, PictureFrame, ZoomObject, VideoFrame, GeometryShape, SmartArtShape, SmartArt, Ink, Chart, GroupShape, Table, SectionZoomFrame, Shape, LegacyDiagram, Connector
getBackground
| Name | Description |
|---|
| getBackground() | Returns slide’s background. Read-only IBackground. |
Result:
Background
getBodyStyle
| Name | Description |
|---|
| getBodyStyle() | Returns the style of a body text. Read-only ITextStyle. |
Result:
TextStyle
getControls
| Name | Description |
|---|
| getControls() | Returns the collection of ActiveX controls on a slide. Read-only IControlCollection. |
Result:
ControlCollection
getCustomData
| Name | Description |
|---|
| getCustomData() | Returns the slide’s custom data. Read-only ICustomData. |
Result:
CustomData
getDependingSlides
| Name | Description |
|---|
| getDependingSlides() | Returns an array with all slides, which depend on this master slide. |
Result:
Slide
| Name | Description |
|---|
| getHeaderFooterManager() | Returns HeaderFooter manager of the master slide. Read-only IMasterSlideHeaderFooterManager. |
Result:
MasterSlideHeaderFooterManager
getHyperlinkQueries
| Name | Description |
|---|
| getHyperlinkQueries() | Provides easy access to contained hyperlinks. Read-only IHyperlinkQueries. |
Result:
HyperlinkQueries
getLayoutSlides
| Name | Description |
|---|
| getLayoutSlides() | Returns the collection of child layout slides for this master slide. Read-only IMasterLayoutSlideCollection. You can access to alternative API for adding/inserting/removing/cloning layout slides by using ( IPresentation#getLayoutSlides) property. |
Result:
MasterLayoutSlideCollection
getName
| Name | Description |
|---|
| getName() | Returns or sets the name of a master slide. Read/write String. |
Result:
String
getName
| Name | Description |
|---|
| getName() | Returns or sets the name of a slide. Read/write String. |
Result:
String
getOtherStyle
| Name | Description |
|---|
| getOtherStyle() | Returns the style of an other text. Read-only ITextStyle. |
Result:
TextStyle
| Name | Description |
|---|
| getParent_Immediate() | |
getPresentation
| Name | Description |
|---|
| getPresentation() | Returns IPresentation interface. Read-only IPresentation. |
Result:
Presentation
getPreserve
| Name | Description |
|---|
| getPreserve() | Determines whether the corresponding master is deleted when all the slides that follow that master are deleted. Note: Aspose.Slides will never remove any unused master by itself, to actually remove unused masters call MasterSlideCollection#removeUnused(boolean) Read/write boolean. |
Result:
boolean
getShapes
| Name | Description |
|---|
| getShapes() | Returns the shapes of a slide. Read-only IShapeCollection. |
Result:
ShapeCollection
getShowMasterShapes
| Name | Description |
|---|
| 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. |
Result:
boolean
Error
| Error | Condition |
|---|
| NotSupportedException | Thrown if set {@code true} for master slide. |
getShowMasterShapes
| Name | Description |
|---|
| 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. |
Result:
boolean
Error
| Error | Condition |
|---|
| NotSupportedException | Thrown if set true for master slide. |
getSlide
| Name | Description |
|---|
| getSlide() | |
Result:
Slide, MasterNotesSlide, BaseSlide, MasterSlide, LayoutSlide, MasterHandoutSlide, NotesSlide
getSlideId
| Name | Description |
|---|
| getSlideId() | Returns the ID of a slide. Read-only long. |
Result:
long
getSlideShowTransition
| Name | Description |
|---|
| getSlideShowTransition() | Returns the Transition object which contains information about how the specified slide advances during a slide show. Read-only ISlideShowTransition. |
Result:
SlideShowTransition
getThemeManager
| Name | Description |
|---|
| getThemeManager() | Returns the theme manager. Read-only IMasterThemeManager. |
Result:
MasterThemeManager
getTimeline
| Name | Description |
|---|
| getTimeline() | Returns animation timeline object. Read-only IAnimationTimeLine. |
Result:
AnimationTimeLine
getTitleStyle
| Name | Description |
|---|
| getTitleStyle() | Returns the style of a title text. Read-only ITextStyle. |
Result:
TextStyle
hasDependingSlides
| Name | Description |
|---|
| hasDependingSlides() | Returns true if there exists at least one slide that depends on this master slide. Read-only boolean. |
Result:
boolean
| Name | Description |
|---|
| joinPortionsWithSameFormatting() | Joins runs with same formatting in all paragraphs all acceptable shapes. |
| Name | Description |
|---|
| joinPortionsWithSameFormatting(ShapeCollection) | Joins runs with same formatting in all paragraphs in all acceptable shapes. |
setName
| Name | Description |
|---|
| setName(String) | Returns or sets the name of a master slide. Read/write String. |
setName
| Name | Description |
|---|
| setName(String) | Returns or sets the name of a slide. Read/write String. |
setPreserve
| Name | Description |
|---|
| setPreserve(boolean) | Determines whether the corresponding master is deleted when all the slides that follow that master are deleted. Note: Aspose.Slides will never remove any unused master by itself, to actually remove unused masters call MasterSlideCollection#removeUnused(boolean) Read/write boolean. |
setShowMasterShapes
| Name | Description |
|---|
| setShowMasterShapes(boolean) | 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. |
Error
| Error | Condition |
|---|
| NotSupportedException | Thrown if set {@code true} for master slide. |
setShowMasterShapes
| Name | Description |
|---|
| setShowMasterShapes(boolean) | 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. |
Error
| Error | Condition |
|---|
| NotSupportedException | Thrown if set true for master slide. |