@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
(java.io.IOException)
org.apache.xmlbeans.XmlException
(org.apache.xmlbeans.XmlException)
public java.lang.String getName()
@Internal public org.openxmlformats.schemas.presentationml.x2006.main.CTSlideLayout getXmlObject()
getXmlObject
in class
XSLFSheet
(类 XSLFSheet 中的 getXmlObject)
protected java.lang.String getRootElementName()
getRootElementName
in class
XSLFSheet
(XSLFSheet 类中的 getRootElementName)
public XSLFSlideMaster getSlideMaster()
java.lang.IllegalStateException
- if slide master was not found
(java.lang.IllegalStateException - 如果未找到幻灯片母版)
public XSLFSlideMaster getMasterSheet()
getMasterSheet
in interface
Sheet<XSLFShape,XSLFTextParagraph>
(接口Sheet中的getMasterSheet
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.
(与此主题相关联的主题(共享样式)。默认情况下返回 null ,这意味着此工作表没有主题。支持主题概念(幻灯片、母版、布局等)的工作表应覆盖此方法并返回相应的包部分。)
public boolean getFollowMasterGraphics()
getFollowMasterGraphics
in interface
Sheet<XSLFShape,XSLFTextParagraph>
(接口表中的getFollowMasterGraphics
getFollowMasterGraphics
in class
XSLFSheet
public XSLFBackground getBackground()
getBackground
in interface
Sheet<XSLFShape,XSLFTextParagraph>
(接口表中的getBackground
getBackground
in class
XSLFSheet
public void copyLayout(XSLFSlide slide)
slide
- destination slide
(幻灯片 - 目标幻灯片)
public SlideLayout getType()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.