LayoutSlide

Overview

LayoutSlide is a class in Aspose.Slides FOSS for Java. Inherits from: BaseSlide, ILayoutSlide.

Represents a layout slide.

This class declares 15 methods for LayoutSlide objects in Java programs. Available methods include: BaseSlide, LayoutSlide, asIPresentationComponent, getLayoutType, getMasterSlide, getName, getPresentation, getShapes, getSlide, getSlideId, initInternal, setLayoutType, and 2 additional methods. Public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package. Properties: layoutType, masterSlide, name, presentation, shapes, slide, and 1 more.

Properties

NameTypeAccessDescription
masterSlideIMasterSlideRead/WriteGets or sets the master slide.
layoutTypeSlideLayoutTypeRead/WriteGets or sets the layout type.
nameStringRead/Write{@inheritDoc} *

For a layout read from a package the name lives in {@code <p:cSld name="…">} of the layout part, not in this object, so it is read from there rather than reported as empty.

/
presentationIPresentationReadGets the presentation.
slideIdintReadGets the slide id.
shapesIShapeCollectionReadGets the shapes.
slideIBaseSlideReadGets the slide.

Methods

SignatureDescription
LayoutSlide()Creates a new empty LayoutSlide.
initInternal(presentation: IPresentation, opcPackage: OpcPackage, partName: String, layoutPart: LayoutSlidePart, masterResolver: Function<String, IMasterSlide>)Internal initialization for a layout slide loaded from a package.
getMasterSlide() → IMasterSlideReturns the master slide.
setMasterSlide(value: IMasterSlide)Sets the master slide value.
getLayoutType() → SlideLayoutTypeReturns the layout type.
setLayoutType(layoutType: SlideLayoutType)Sets the layout type (internal).
getName() → String{@inheritDoc} *

For a layout read from a package the name lives in {@code <p:cSld name="…">} of the layout part, not in this object, so it is read from there rather than reported as empty.

/
setName(name: String){@inheritDoc} *

For a layout read from a package the name is written back to {@code <p:cSld name="…">}, so that it survives a save.

/
getPresentation() → IPresentationReturns the presentation.
BaseSlide()Creates a BaseSlide with default values.
BaseSlide(name: String, slideId: int)Creates a BaseSlide with the given name and ID.
getSlideId() → intInternal initialization for a layout slide loaded from a package. or {@code null}
getShapes() → IShapeCollectionReturns the shapes.
getSlide() → IBaseSlideReturns the slide.
asIPresentationComponent() → IPresentationComponentCalls asIPresentationComponent on this LayoutSlide instance.

See Also

 English