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). |
Returns:
MasterSlide
Error
| Error | Condition |
|---|
| PptxReadException | When external theme cannot be applied. |
getBodyStyle
| Name | Description |
|---|
| getBodyStyle() | Returns the style of a body text. Read-only ITextStyle. |
Returns:
TextStyle
getDependingSlides
| Name | Description |
|---|
| getDependingSlides() | Returns an array with all slides, which depend on this master slide. |
Returns:
Slide
| Name | Description |
|---|
| getHeaderFooterManager() | Returns HeaderFooter manager of the master slide. Read-only IMasterSlideHeaderFooterManager. |
Returns:
MasterSlideHeaderFooterManager
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. |
Returns:
MasterLayoutSlideCollection
getName
| Name | Description |
|---|
| getName() | Returns or sets the name of a master slide. Read/write String. |
Returns:
String
getOtherStyle
| Name | Description |
|---|
| getOtherStyle() | Returns the style of an other text. Read-only ITextStyle. |
Returns:
TextStyle
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. |
Returns:
boolean
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. |
Returns:
boolean
Error
| Error | Condition |
|---|
| NotSupportedException | Thrown if set {@code true} for master slide. |
getThemeManager
| Name | Description |
|---|
| getThemeManager() | Returns the theme manager. Read-only IMasterThemeManager. |
Returns:
MasterThemeManager
getTitleStyle
| Name | Description |
|---|
| getTitleStyle() | Returns the style of a title text. Read-only ITextStyle. |
Returns:
TextStyle
hasDependingSlides
| Name | Description |
|---|
| hasDependingSlides() | Returns true if there exists at least one slide that depends on this master slide. Read-only boolean. |
Returns:
boolean
setName
| Name | Description |
|---|
| setName(String) | Returns or sets the name of a master 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. |