@Beta public final class XSLFSlide extends XSLFSheet implements Slide<XSLFShape,XSLFTextParagraph>
DEFAULT_XML_OPTIONS
addShape, appendContent, buildShapes, canDraw, clear, commit, createAutoShape, createConnector, createFreeform, createGroup, createPicture, createTable, createTable, createTextBox, getCommonSlideData, getPlaceholder, getPlaceholders, getShapes, getSlideShow, getSpTree, getTextShapeByType, iterator, removeShape, setCommonSlideData
addRelation, createRelationship, createRelationship, createRelationship, getPackagePart, getPackageRelationship, getParent, getRelationById, getRelationId, getRelations, getTargetPart, onDocumentCreate, onDocumentRead, onDocumentRemove, onSave, prepareForCommit, read, rebase, removeRelation, removeRelation, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getSlideShow
addShape, createAutoShape, createConnector, createFreeform, createGroup, createPicture, createTable, createTextBox, getShapes, removeShape
public org.openxmlformats.schemas.presentationml.x2006.main.CTSlide getXmlObject()
getXmlObject
in class XSLFSheet
protected java.lang.String getRootElementName()
getRootElementName
in class XSLFSheet
public XSLFSlideLayout getMasterSheet()
getMasterSheet
in interface Sheet<XSLFShape,XSLFTextParagraph>
public XSLFSlideLayout getSlideLayout()
public XSLFSlideMaster getSlideMaster()
public XSLFComments getComments()
public XSLFNotes getNotes()
getNotes
in interface Slide<XSLFShape,XSLFTextParagraph>
public java.lang.String getTitle()
getTitle
in interface Slide<XSLFShape,XSLFTextParagraph>
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 XSLFBackground getBackground()
getBackground
in interface Sheet<XSLFShape,XSLFTextParagraph>
getBackground
in class XSLFSheet
public boolean getFollowMasterGraphics()
getFollowMasterGraphics
in interface Sheet<XSLFShape,XSLFTextParagraph>
getFollowMasterGraphics
in class XSLFSheet
public void setFollowMasterGraphics(boolean value)
value
- whether shapes on the master slide should be shown or not.public boolean getFollowMasterObjects()
getFollowMasterObjects
in interface Slide<XSLFShape,XSLFTextParagraph>
public void setFollowMasterObjects(boolean follow)
setFollowMasterObjects
in interface Slide<XSLFShape,XSLFTextParagraph>
public XSLFSlide importContent(XSLFSheet src)
XSLFSheet
importContent
in class XSLFSheet
src
- the source sheet to copy data frompublic boolean getFollowMasterBackground()
getFollowMasterBackground
in interface Slide<XSLFShape,XSLFTextParagraph>
public void setFollowMasterBackground(boolean follow)
setFollowMasterBackground
in interface Slide<XSLFShape,XSLFTextParagraph>
public boolean getFollowMasterColourScheme()
getFollowMasterColourScheme
in interface Slide<XSLFShape,XSLFTextParagraph>
public void setFollowMasterColourScheme(boolean follow)
setFollowMasterColourScheme
in interface Slide<XSLFShape,XSLFTextParagraph>
public void setNotes(Notes<XSLFShape,XSLFTextParagraph> notes)
setNotes
in interface Slide<XSLFShape,XSLFTextParagraph>
public int getSlideNumber()
getSlideNumber
in interface Slide<XSLFShape,XSLFTextParagraph>
Copyright 2016 The Apache Software Foundation or its licensors, as applicable.