@Beta public final class XSLFSlide extends XSLFSheet implements Slide<XSLFShape,XSLFTextParagraph>
POIXMLDocumentPart.RelationPart
addChart, addChart, addShape, allocateShapeId, appendContent, buildShapes, clear, commit, createAutoShape, createConnector, createFreeform, createGroup, createOleShape, createPicture, createTable, createTable, createTextBox, deregisterShapeId, getPlaceholder, getPlaceholder, getPlaceholder, getPlaceholderDetails, getPlaceholders, getShapes, getSlideShow, getSpTree, getTextShapeByType, 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
getDisplayPlaceholder, getDisplayPlaceholder
getPlaceholderDetails, getSlideShow
addShape, createAutoShape, createConnector, createFreeform, createGroup, createOleShape, 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
protected void removeChartRelation(XSLFChart chart)
protected void removeLayoutRelation(XSLFSlideLayout layout)
public XSLFSlideLayout getMasterSheet()
getMasterSheet
in interface Sheet<XSLFShape,XSLFTextParagraph>
public XSLFSlideLayout getSlideLayout()
getSlideLayout
in interface Slide<XSLFShape,XSLFTextParagraph>
public XSLFSlideMaster getSlideMaster()
public XSLFComments getCommentsPart()
null
if there weren't any commentspublic XSLFCommentAuthors getCommentAuthorsPart()
null
if there weren't any commentspublic java.util.List<XSLFComment> getComments()
getComments
in interface Slide<XSLFShape,XSLFTextParagraph>
public XSLFNotes getNotes()
getNotes
in interface Slide<XSLFShape,XSLFTextParagraph>
public java.lang.String getTitle()
getTitle
in interface Slide<XSLFShape,XSLFTextParagraph>
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.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>
@NotImplemented public void setFollowMasterBackground(boolean follow)
setFollowMasterBackground
in interface Slide<XSLFShape,XSLFTextParagraph>
public boolean getFollowMasterColourScheme()
getFollowMasterColourScheme
in interface Slide<XSLFShape,XSLFTextParagraph>
@NotImplemented public void setFollowMasterColourScheme(boolean follow)
setFollowMasterColourScheme
in interface Slide<XSLFShape,XSLFTextParagraph>
@NotImplemented public void setNotes(Notes<XSLFShape,XSLFTextParagraph> notes)
setNotes
in interface Slide<XSLFShape,XSLFTextParagraph>
public int getSlideNumber()
getSlideNumber
in interface Slide<XSLFShape,XSLFTextParagraph>
public void draw(java.awt.Graphics2D graphics)
public void setHidden(boolean hidden)
Slide
setHidden
in interface Slide<XSLFShape,XSLFTextParagraph>
hidden
- slide visibility, if true
the slide is hidden, false
shows the slidepublic boolean isHidden()
isHidden
in interface Slide<XSLFShape,XSLFTextParagraph>
true
- or shown when false
public java.lang.String getSlideName()
getSlideName
in interface Slide<XSLFShape,XSLFTextParagraph>
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.