org.apache.poi.xslf.usermodel
Class XSLFSlideLayout

java.lang.Object
  extended by org.apache.poi.POIXMLDocumentPart
      extended by org.apache.poi.xslf.usermodel.XSLFSheet
          extended by org.apache.poi.xslf.usermodel.XSLFSlideLayout

@Beta
public class XSLFSlideLayout
extends XSLFSheet


Field Summary
 
Fields inherited from class org.apache.poi.POIXMLDocumentPart
DEFAULT_XML_OPTIONS
 
Constructor Summary
XSLFSlideLayout(PackagePart part, PackageRelationship rel)
           
 
Method Summary
 java.lang.String getName()
           
protected  java.lang.String getRootElementName()
           
 XSLFSlideMaster getSlideMaster()
          Slide master object associated with this layout.
 XMLSlideShow getSlideShow()
           
 org.openxmlformats.schemas.presentationml.x2006.main.CTSlideLayout getXmlObject()
          While developing only!
 
Methods inherited from class org.apache.poi.xslf.usermodel.XSLFSheet
buildShapes, commit, copy, createAutoShape, createConnector, createFreeform, createGroup, createPicture, createTable, createTextBox, getShapes, getSpTree, removeShape
 
Methods inherited from class org.apache.poi.POIXMLDocumentPart
addRelation, createRelationship, createRelationship, createRelationship, getPackagePart, getPackageRelationship, getParent, getRelationById, getRelationId, getRelations, getTargetPart, getTargetPart, onDocumentCreate, onDocumentRead, onDocumentRemove, onSave, read, rebase, removeRelation, removeRelation, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XSLFSlideLayout

public XSLFSlideLayout(PackagePart part,
                       PackageRelationship rel)
                throws java.io.IOException,
                       org.apache.xmlbeans.XmlException
Throws:
java.io.IOException
org.apache.xmlbeans.XmlException
Method Detail

getName

public java.lang.String getName()

getXmlObject

@Internal
public org.openxmlformats.schemas.presentationml.x2006.main.CTSlideLayout getXmlObject()
While developing only!

Specified by:
getXmlObject in class XSLFSheet

getRootElementName

protected java.lang.String getRootElementName()
Specified by:
getRootElementName in class XSLFSheet

getSlideMaster

public XSLFSlideMaster getSlideMaster()
Slide master object associated with this layout.

Within a slide master slide are contained all elements that describe the objects and their corresponding formatting for within a presentation slide.

Within a slide master slide are two main elements. The cSld element specifies the common slide elements such as shapes and their attached text bodies. Then the txStyles element specifies the formatting for the text within each of these shapes. The other properties within a slide master slide specify other properties for within a presentation slide such as color information, headers and footers, as well as timing and transition information for all corresponding presentation slides.

Returns:
slide master. Never null.
Throws:
java.lang.IllegalStateException - if slide master was not found

getSlideShow

public XMLSlideShow getSlideShow()
Overrides:
getSlideShow in class XSLFSheet


Copyright 2011 The Apache Software Foundation or its licensors, as applicable.