@Beta public final class XSLFSlide extends XSLFSheet implements Slide<XSLFShape,XSLFTextParagraph>
addShape, appendContent, clear, createAutoShape, createConnector, createFreeform, createGroup, createOleShape, createPicture, createTable, createTable, createTextBox, getPlaceholder, getPlaceholder, getPlaceholderDetails, getPlaceholders, getShapes, getSlideShow, iterator, removeShape
_invokeOnDocumentRead, addRelation, createRelationship, createRelationship, createRelationship, getPackagePart, getParent, getRelationById, getRelationId, getRelationPartById, getRelationParts, getRelations, isCommited, isCommitted, setCommited, setCommitted, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPlaceholderDetails, getSlideShow
addShape, createAutoShape, createConnector, createFreeform, createGroup, createOleShape, createPicture, createTable, createTextBox, getShapes, removeShape
forEach, iterator, spliterator
public CTSlide getXmlObject()
getXmlObject
in class XSLFSheet
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 List<XSLFComment> getComments()
getComments
in interface Slide<XSLFShape,XSLFTextParagraph>
public XSLFNotes getNotes()
getNotes
in interface Slide<XSLFShape,XSLFTextParagraph>
public 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(Graphics2D graphics)
public boolean getDisplayPlaceholder(Placeholder placeholder)
Slide
getDisplayPlaceholder
in interface Slide<XSLFShape,XSLFTextParagraph>
placeholder
- the placeholder typetrue
if the placeholder should be displayed/renderedpublic 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 String getSlideName()
getSlideName
in interface Slide<XSLFShape,XSLFTextParagraph>
Copyright © 2010 - 2020 Adobe. All Rights Reserved