@Beta public class XSLFSlideLayout extends XSLFSheet
DEFAULT_XML_OPTIONS
Constructor and Description |
---|
XSLFSlideLayout(PackagePart part,
PackageRelationship rel) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canDraw(XSLFShape shape)
Render this sheet into the supplied graphics object
|
void |
copyLayout(XSLFSlide slide)
Copy placeholders from this layout to the destination slide
|
XSLFBackground |
getBackground() |
boolean |
getFollowMasterGraphics() |
XSLFSlideMaster |
getMasterSheet() |
java.lang.String |
getName() |
protected java.lang.String |
getRootElementName() |
XSLFSlideMaster |
getSlideMaster()
Slide master object associated with this layout.
|
XSLFTheme |
getTheme() |
SlideLayout |
getType() |
org.openxmlformats.schemas.presentationml.x2006.main.CTSlideLayout |
getXmlObject()
While developing only!
|
appendContent, buildShapes, clear, commit, createAutoShape, createConnector, createFreeform, createGroup, createPicture, createTable, createTextBox, draw, getCommonSlideData, getPlaceholder, getPlaceholders, getShapes, getSlideShow, getSpTree, getTextShapeByType, importContent, iterator, removeShape, setCommonSlideData
addRelation, clearMemoryPackagePart, createRelationship, createRelationship, createRelationship, getPackagePart, getPackageRelationship, getParent, getRelationById, getRelationCounter, getRelationId, getRelations, getTargetPart, onDocumentCreate, onDocumentRead, onDocumentRemove, onSave, read, rebase, removeRelation, removeRelation, toString
public XSLFSlideLayout(PackagePart part, PackageRelationship rel) throws java.io.IOException, org.apache.xmlbeans.XmlException
java.io.IOException
org.apache.xmlbeans.XmlException
public java.lang.String getName()
@Internal public org.openxmlformats.schemas.presentationml.x2006.main.CTSlideLayout getXmlObject()
getXmlObject
in class XSLFSheet
protected java.lang.String getRootElementName()
getRootElementName
in class XSLFSheet
public XSLFSlideMaster getSlideMaster()
java.lang.IllegalStateException
- if slide master was not foundpublic XSLFSlideMaster getMasterSheet()
getMasterSheet
in class XSLFSheet
public XSLFTheme getTheme()
null
which means that this sheet is theme-less.
Sheets that support the notion of themes (slides, masters, layouts, etc.) should override this
method and return the corresponding package part.public boolean getFollowMasterGraphics()
getFollowMasterGraphics
in class XSLFSheet
protected boolean canDraw(XSLFShape shape)
public XSLFBackground getBackground()
getBackground
in class XSLFSheet
public void copyLayout(XSLFSlide slide)
slide
- destination slidepublic SlideLayout getType()
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.