@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() |
String |
getName() |
protected 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public XSLFSlideLayout(PackagePart part, PackageRelationship rel) throws IOException, org.apache.xmlbeans.XmlException
IOException
org.apache.xmlbeans.XmlException
public String getName()
@Internal public org.openxmlformats.schemas.presentationml.x2006.main.CTSlideLayout getXmlObject()
getXmlObject
in class XSLFSheet
protected String getRootElementName()
getRootElementName
in class XSLFSheet
public XSLFSlideMaster getSlideMaster()
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 © 2020. All rights reserved.