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
| Name | Type | Access | Description |
|---|---|---|---|
masterSlide | IMasterSlide | Read/Write | Gets or sets the master slide. |
layoutType | SlideLayoutType | Read/Write | Gets or sets the layout type. |
name | String | Read/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. / |
presentation | IPresentation | Read | Gets the presentation. |
slideId | int | Read | Gets the slide id. |
shapes | IShapeCollection | Read | Gets the shapes. |
slide | IBaseSlide | Read | Gets the slide. |
Methods
| Signature | Description |
|---|---|
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() → IMasterSlide | Returns the master slide. |
setMasterSlide(value: IMasterSlide) | Sets the master slide value. |
getLayoutType() → SlideLayoutType | Returns 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() → IPresentation | Returns the presentation. |
BaseSlide() | Creates a BaseSlide with default values. |
BaseSlide(name: String, slideId: int) | Creates a BaseSlide with the given name and ID. |
getSlideId() → int | Internal initialization for a layout slide loaded from a package. or {@code null} |
getShapes() → IShapeCollection | Returns the shapes. |
getSlide() → IBaseSlide | Returns the slide. |
asIPresentationComponent() → IPresentationComponent | Calls asIPresentationComponent on this LayoutSlide instance. |