@Beta public class XSLFSlideLayout extends XSLFSheet implements MasterSheet<XSLFShape,XSLFTextParagraph>
POIXMLDocumentPart.RelationPart
Constructor and Description |
---|
XSLFSlideLayout(PackagePart part) |
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!
|
addShape, appendContent, buildShapes, clear, commit, createAutoShape, createConnector, createFreeform, createGroup, createPicture, createTable, createTable, createTextBox, draw, getCommonSlideData, getPlaceholder, getPlaceholders, getShapes, getSlideShow, getSpTree, getTextShapeByType, importContent, iterator, removeShape, setCommonSlideData
_invokeOnDocumentRead, addRelation, createRelationship, createRelationship, createRelationship, getNextPartNumber, getPackagePart, getParent, getRelationById, getRelationId, getRelationParts, getRelations, getTargetPart, onDocumentCreate, onDocumentRead, onDocumentRemove, onSave, prepareForCommit, read, rebase, removeRelation, removeRelation, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
draw, getSlideShow
addShape, createAutoShape, createConnector, createFreeform, createGroup, createPicture, createTable, createTextBox, getShapes, removeShape
public XSLFSlideLayout(PackagePart part) 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 interface Sheet<XSLFShape,XSLFTextParagraph>
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 interface Sheet<XSLFShape,XSLFTextParagraph>
getFollowMasterGraphics
in class XSLFSheet
protected boolean canDraw(XSLFShape shape)
public XSLFBackground getBackground()
getBackground
in interface Sheet<XSLFShape,XSLFTextParagraph>
getBackground
in class XSLFSheet
public void copyLayout(XSLFSlide slide)
slide
- destination slidepublic SlideLayout getType()
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.