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