com.aspose.slides
Class LayoutSlide

java.lang.Object
  extended by com.aspose.slides.BaseSlide
      extended by com.aspose.slides.LayoutSlide
All Implemented Interfaces:
IBaseSlide, ILayoutSlide, IOverrideThemeable, IPresentationComponent, ISlideComponent, IThemeable

public final class LayoutSlide
extends BaseSlide
implements ILayoutSlide

Represents a layout slide.


Method Summary
 void applyColorScheme(ExtraColorScheme scheme)
          Deprecated. 
 ISlide[] getDependingSlides()
           Returns an array with all slides, which depend on this layout slide.
 byte getLayoutType()
           Returns layout type of this layout slide.
 IMasterSlide getMasterSlide()
           Returns or sets the master slide for a layout.
 OverrideTheme getOverrideTheme()
          Deprecated. 
 IOverrideThemeManager getThemeManager()
           Returns the overriding theme manager.
 boolean hasDependingSlides()
           Returns true if there exists at least one slide that depends on this layout slide.
 void remove()
           Removes layout from presentation.
 void setMasterSlide(IMasterSlide value)
           Returns or sets the master slide for a layout.
 
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

getMasterSlide

public IMasterSlide getMasterSlide()

Returns or sets the master slide for a layout. Read/write MasterSlide.

Specified by:
getMasterSlide in interface ILayoutSlide

setMasterSlide

public void setMasterSlide(IMasterSlide value)

Returns or sets the master slide for a layout. Read/write IMasterSlide.

Specified by:
setMasterSlide in interface ILayoutSlide

remove

public void remove()

Removes layout from presentation.

Specified by:
remove in interface ILayoutSlide
Throws:
PptxEditException - Thrown if layout is already removed from presentation or if layout is used in presentation (its HasDependingSlides property is true).


To avoid throwing of the PptxEditException check layout's HasDependingSlides property before.


getOverrideTheme

@Deprecated
public OverrideTheme getOverrideTheme()
Deprecated. 

Returns the overriding theme object. Read-only OverrideTheme.


getThemeManager

public IOverrideThemeManager getThemeManager()

Returns the overriding theme manager. Read-only IOverrideThemeManager.

Specified by:
getThemeManager in interface IOverrideThemeable

getLayoutType

public byte getLayoutType()

Returns layout type of this layout slide. Read-only SlideLayoutType.

Specified by:
getLayoutType in interface ILayoutSlide

getDependingSlides

public ISlide[] getDependingSlides()

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

Specified by:
getDependingSlides in interface ILayoutSlide
Returns:

hasDependingSlides

public boolean hasDependingSlides()

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

Specified by:
hasDependingSlides in interface ILayoutSlide

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.