@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.
POIXMLDocumentPart.RelationPart| Modifier | Constructor and Description |
|---|---|
protected |
XSLFSlideMaster(PackagePart part) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canDraw(XSLFShape shape)
Render this sheet into the supplied graphics object
|
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) |
XSLFTheme |
getTheme() |
org.openxmlformats.schemas.presentationml.x2006.main.CTSlideMaster |
getXmlObject() |
addShape, appendContent, buildShapes, clear, commit, createAutoShape, createConnector, createFreeform, createGroup, createPicture, createTable, createTable, createTextBox, draw, getCommonSlideData, getFollowMasterGraphics, 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdraw, getFollowMasterGraphics, getSlideShowaddShape, createAutoShape, createConnector, createFreeform, createGroup, createPicture, createTable, createTextBox, getShapes, removeShapeprotected XSLFSlideMaster(PackagePart part) throws java.io.IOException, org.apache.xmlbeans.XmlException
java.io.IOExceptionorg.apache.xmlbeans.XmlExceptionpublic org.openxmlformats.schemas.presentationml.x2006.main.CTSlideMaster getXmlObject()
getXmlObject in class XSLFSheetprotected java.lang.String getRootElementName()
getRootElementName in class XSLFSheetpublic XSLFSlideMaster getMasterSheet()
getMasterSheet in interface Sheet<XSLFShape,XSLFTextParagraph>public XSLFSlideLayout[] getSlideLayouts()
public XSLFSlideLayout getLayout(SlideLayout type)
type - The layout type. Cannot be null.public XSLFSlideLayout getLayout(java.lang.String name)
name - The layout name (case-insensitive). Cannot be null.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.protected org.openxmlformats.schemas.drawingml.x2006.main.CTTextListStyle getTextProperties(Placeholder textType)
protected boolean canDraw(XSLFShape shape)
public XSLFBackground getBackground()
getBackground in interface Sheet<XSLFShape,XSLFTextParagraph>getBackground in class XSLFSheetCopyright 2018 The Apache Software Foundation or its licensors, as applicable.