IMasterSlide

All Implemented Interfaces: com.aspose.slides.IBaseSlide, com.aspose.slides.IMasterThemeable

public interface IMasterSlide extends IBaseSlide, IMasterThemeable

Represents a master slide in a presentation.

Methods

MethodDescription
getHeaderFooterManager()Returns HeaderFooter manager of the master slide.
getTitleStyle()Returns the style of a title text.
applyExternalThemeToDependingSlides(String fname)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.
getBodyStyle()Returns the style of a body text.
getOtherStyle()Returns the style of an other text.
getLayoutSlides()Returns the collection of child layout slides for this master slide.
getPreserve()Determines whether the corresponding master is deleted when all the slides that follow that master are deleted.
setPreserve(boolean value)Determines whether the corresponding master is deleted when all the slides that follow that master are deleted.
hasDependingSlides()Returns true if there exists at least one slide that depends on this master slide.
getDependingSlides()Returns an array with all slides, which depend on this master slide.

getHeaderFooterManager()

public abstract IMasterSlideHeaderFooterManager getHeaderFooterManager()

Returns HeaderFooter manager of the master slide. Read-only IMasterSlideHeaderFooterManager.

Returns: IMasterSlideHeaderFooterManager

getTitleStyle()

public abstract ITextStyle getTitleStyle()

Returns the style of a title text. Read-only ITextStyle.

Returns: ITextStyle

applyExternalThemeToDependingSlides(String fname)

public abstract IMasterSlide applyExternalThemeToDependingSlides(String fname)

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:

ParameterTypeDescription
fnamejava.lang.StringPath to the external theme file (.thmx).

Returns: IMasterSlide - New themed MasterSlide.

getBodyStyle()

public abstract ITextStyle getBodyStyle()

Returns the style of a body text. Read-only ITextStyle.

Returns: ITextStyle

getOtherStyle()

public abstract ITextStyle getOtherStyle()

Returns the style of an other text. Read-only ITextStyle.

Returns: ITextStyle

getLayoutSlides()

public abstract IMasterLayoutSlideCollection 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: IMasterLayoutSlideCollection

getPreserve()

public abstract boolean 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 IMasterSlideCollection.removeUnused(boolean) Read/write boolean.

Returns: boolean

setPreserve(boolean value)

public abstract void setPreserve(boolean value)

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 IMasterSlideCollection.removeUnused(boolean) Read/write boolean.

Parameters:

ParameterTypeDescription
valueboolean

hasDependingSlides()

public abstract boolean hasDependingSlides()

Returns true if there exists at least one slide that depends on this master slide. Read-only boolean.

Returns: boolean

getDependingSlides()

public abstract ISlide[] getDependingSlides()

Returns an array with all slides, which depend on this master slide.

Returns: com.aspose.slides.ISlide[] - Array of ISlide, which depend on this master slide