@Beta public final class XSLFSlide extends XSLFSheet implements Slide<XSLFShape,XSLFTextParagraph>
POIXMLDocumentPart.RelationPart
Modifier and Type | Method and Description |
---|---|
void |
draw(java.awt.Graphics2D graphics)
Render this sheet into the supplied graphics object
|
XSLFBackground |
getBackground() |
XSLFComments |
getComments() |
boolean |
getDisplayPlaceholder(Placeholder placeholder)
In XSLF, slidenumber and date shapes aren't marked as placeholders
whereas in HSLF they are activated via a HeadersFooter configuration.
|
boolean |
getFollowMasterBackground() |
boolean |
getFollowMasterColourScheme() |
boolean |
getFollowMasterGraphics() |
boolean |
getFollowMasterObjects() |
XSLFSlideLayout |
getMasterSheet() |
XSLFNotes |
getNotes() |
protected java.lang.String |
getRootElementName() |
XSLFSlideLayout |
getSlideLayout() |
XSLFSlideMaster |
getSlideMaster() |
int |
getSlideNumber() |
XSLFTheme |
getTheme() |
java.lang.String |
getTitle() |
org.openxmlformats.schemas.presentationml.x2006.main.CTSlide |
getXmlObject() |
XSLFSlide |
importContent(XSLFSheet src)
Set the contents of this sheet to be a copy of the source sheet.
|
void |
setFollowMasterBackground(boolean follow) |
void |
setFollowMasterColourScheme(boolean follow) |
void |
setFollowMasterGraphics(boolean value) |
void |
setFollowMasterObjects(boolean follow) |
void |
setNotes(Notes<XSLFShape,XSLFTextParagraph> notes) |
addShape, appendContent, buildShapes, canDraw, clear, commit, createAutoShape, createConnector, createFreeform, createGroup, createPicture, createTable, createTable, createTextBox, getCommonSlideData, getPlaceholder, getPlaceholders, getShapes, getSlideShow, getSpTree, getTextShapeByType, 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, 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>
@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 boolean getDisplayPlaceholder(Placeholder placeholder)
Slide
getDisplayPlaceholder
in interface Slide<XSLFShape,XSLFTextParagraph>
true
if the placeholder should be displayed/renderedCopyright 2018 The Apache Software Foundation or its licensors, as applicable.