@Beta public class XSLFSlideMaster extends XSLFSheet implements MasterSheet<XSLFShape,XSLFTextParagraph>
Within a slide master slide are contained all elements that describe the objects and their corresponding formatting for within a presentation slide.
Within a slide master slide are two main elements. The cSld element specifies the common slide elements such as shapes and their attached text bodies. Then the txStyles element specifies the formatting for the text within each of these shapes. The other properties within a slide master slide specify other properties for within a presentation slide such as color information, headers and footers, as well as timing and transition information for all corresponding presentation slides.
(与此布局关联的幻灯片母版对象。幻灯片母版幻灯片中包含描述演示幻灯片中对象及其相应格式的所有元素。幻灯片母版幻灯片中有两个主要元素。 cSld 元素指定常见的幻灯片元素,例如形状及其附加的文本主体。然后 txStyles 元素指定每个形状中文本的格式。幻灯片母版幻灯片中的其他属性指定演示幻灯片中的其他属性,例如颜色信息、页眉和页脚,以及所有相应演示幻灯片的时间和过渡信息。)POIXMLDocumentPart.RelationPart
Modifier | Constructor and Description |
---|---|
protected |
XSLFSlideMaster(PackagePart part) |
Modifier and Type | Method and Description |
---|---|
XSLFBackground |
getBackground() |
XSLFSlideLayout |
getLayout(SlideLayout type)
Get the slide layout by type.
(按类型获取幻灯片布局。)
|
XSLFSlideLayout |
getLayout(java.lang.String name)
Get the slide layout by name.
(按名称获取幻灯片布局。)
|
XSLFSlideMaster |
getMasterSheet() |
protected java.lang.String |
getRootElementName() |
XSLFSlideLayout[] |
getSlideLayouts() |
protected org.openxmlformats.schemas.drawingml.x2006.main.CTTextListStyle |
getTextProperties(Placeholder textType) |
org.openxmlformats.schemas.presentationml.x2006.main.CTSlideMaster |
getXmlObject() |
addChart, addChart, addShape, allocateShapeId, appendContent, buildShapes, clear, commit, createAutoShape, createConnector, createFreeform, createGroup, createOleShape, createPicture, createTable, createTable, createTextBox, deregisterShapeId, draw, getFollowMasterGraphics, getPlaceholder, getPlaceholder, getPlaceholder, getPlaceholderDetails, getPlaceholders, getShapes, getSlideShow, getSpTree, getTextShapeByType, getTheme, 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, getFollowMasterGraphics, getPlaceholderDetails, getSlideShow
addShape, createAutoShape, createConnector, createFreeform, createGroup, createOleShape, createPicture, createTable, createTextBox, getShapes, removeShape
protected XSLFSlideMaster(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 org.openxmlformats.schemas.presentationml.x2006.main.CTSlideMaster getXmlObject()
getXmlObject
in class
XSLFSheet
(类 XSLFSheet 中的 getXmlObject)
protected java.lang.String getRootElementName()
getRootElementName
in class
XSLFSheet
(XSLFSheet 类中的 getRootElementName)
public XSLFSlideMaster getMasterSheet()
getMasterSheet
in interface
Sheet<XSLFShape,XSLFTextParagraph>
(接口Sheet中的getMasterSheet
public XSLFSlideLayout[] getSlideLayouts()
public XSLFSlideLayout getLayout(SlideLayout type)
type
- The layout type. Cannot be null.
(type - 布局类型。不能为空。)
public XSLFSlideLayout getLayout(java.lang.String name)
name
- The layout name (case-insensitive). Cannot be null.
(name - 布局名称(不区分大小写)。不能为空。)
protected org.openxmlformats.schemas.drawingml.x2006.main.CTTextListStyle getTextProperties(Placeholder textType)
public XSLFBackground getBackground()
getBackground
in interface
Sheet<XSLFShape,XSLFTextParagraph>
(接口表中的getBackground
getBackground
in class
XSLFSheet
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.