com.aspose.slides
Interface ILayoutSlide

All Superinterfaces:
IBaseSlide, IOverrideThemeable, IPresentationComponent, ISlideComponent, IThemeable
All Known Implementing Classes:
LayoutSlide

public interface ILayoutSlide
extends IBaseSlide, IOverrideThemeable


Method Summary
 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.
 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 interface com.aspose.slides.IBaseSlide
findShapeByAltText, getBackground, getControls, getCustomData, getHyperlinkQueries, getName, getShapes, getSlideId, getSlideShowTransition, getTimeline, joinPortionsWithSameFormatting, setName
 
Methods inherited from interface com.aspose.slides.IOverrideThemeable
getThemeManager
 
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

IMasterSlide getMasterSlide()

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


setMasterSlide

void setMasterSlide(IMasterSlide value)

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


getLayoutType

byte getLayoutType()

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


hasDependingSlides

boolean hasDependingSlides()

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


getDependingSlides

ISlide[] getDependingSlides()

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

Returns:

remove

void remove()

Removes layout from presentation.

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.



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