com.aspose.slides
Class MasterSlide

java.lang.Object
  extended by com.aspose.slides.BaseSlide
      extended by com.aspose.slides.MasterSlide
All Implemented Interfaces:
IBaseSlide, IMasterSlide, IMasterThemeable, IPresentationComponent, ISlideComponent, IThemeable

public class MasterSlide
extends BaseSlide
implements IMasterSlide

Represents a master slide in a presentation.


Method Summary
 void applyColorScheme(ExtraColorScheme scheme)
          Deprecated. 
 ITextStyle getBodyStyle()
           Returns the style of a body text.
 ISlide[] getDependingSlides()
           Returns an array with all slides, which depend on this master slide.
 IMasterLayoutSlideCollection getLayoutSlides()
           Returns the collection of child layout slides for this master slide.
 ITextStyle getOtherStyle()
           Returns the style of an other text.
 boolean getPreserve()
           Determines whether the corresponding master is deleted when all the slides that follow that master are deleted.
 IMasterThemeManager getThemeManager()
           Returns the theme manager.
 ITextStyle getTitleStyle()
           Returns the style of a title text.
 boolean hasDependingSlides()
           Returns true if there exists at least one slide that depends on this master slide.
 void setPreserve(boolean value)
           Determines whether the corresponding master is deleted when all the slides that follow that master are deleted.
 
Methods inherited from class com.aspose.slides.BaseSlide
createThemeEffective, findShapeByAltText, getBackground, getControls, getCustomData, getHyperlinkQueries, getName, getParent_Immediate, getParentPresentation, getPresentation, getShapes, getSlide, getSlideId, getSlideShowTransition, getTags, getTimeline, joinPortionsWithSameFormatting, joinPortionsWithSameFormatting, setName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.aspose.slides.IBaseSlide
findShapeByAltText, getBackground, getControls, getCustomData, getHyperlinkQueries, getName, getShapes, getSlideId, getSlideShowTransition, getTimeline, joinPortionsWithSameFormatting, setName
 
Methods inherited from interface com.aspose.slides.IThemeable
createThemeEffective
 
Methods inherited from interface com.aspose.slides.ISlideComponent
getSlide
 
Methods inherited from interface com.aspose.slides.IPresentationComponent
getPresentation
 

Method Detail

getTitleStyle

public ITextStyle getTitleStyle()

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

Specified by:
getTitleStyle in interface IMasterSlide

getBodyStyle

public ITextStyle getBodyStyle()

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

Specified by:
getBodyStyle in interface IMasterSlide

getOtherStyle

public ITextStyle getOtherStyle()

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

Specified by:
getOtherStyle in interface IMasterSlide

getLayoutSlides

public 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.LayoutSlides property.

Specified by:
getLayoutSlides in interface IMasterSlide

getPreserve

public 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 MasterSlideCollection.RemoveUnused Read/write boolean.

Specified by:
getPreserve in interface IMasterSlide

setPreserve

public 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 MasterSlideCollection.RemoveUnused Read/write boolean.

Specified by:
setPreserve in interface IMasterSlide

getDependingSlides

public ISlide[] getDependingSlides()

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

Specified by:
getDependingSlides in interface IMasterSlide
Returns:

hasDependingSlides

public boolean hasDependingSlides()

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

Specified by:
hasDependingSlides in interface IMasterSlide

getThemeManager

public IMasterThemeManager getThemeManager()

Returns the theme manager. Read-only IMasterThemeManager.

Specified by:
getThemeManager in interface IMasterThemeable

applyColorScheme

@Deprecated
public void applyColorScheme(ExtraColorScheme scheme)
Deprecated. 

Applies extra color scheme to a slide.

Specified by:
applyColorScheme in class BaseSlide
Parameters:
scheme -


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.