@Beta public final class XSLFSlide extends XSLFSheet
DEFAULT_XML_OPTIONS
Modifier and Type | Method and Description |
---|---|
void |
draw(Graphics2D graphics)
Render this sheet into the supplied graphics object
|
XSLFBackground |
getBackground() |
XSLFComments |
getComments() |
boolean |
getFollowMasterGraphics() |
XSLFSlideLayout |
getMasterSheet() |
XSLFNotes |
getNotes() |
protected String |
getRootElementName() |
XSLFSlideLayout |
getSlideLayout() |
XSLFSlideMaster |
getSlideMaster() |
XSLFTheme |
getTheme() |
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 |
setFollowMasterGraphics(boolean value) |
appendContent, buildShapes, canDraw, clear, commit, createAutoShape, createConnector, createFreeform, createGroup, createPicture, createTable, createTextBox, getCommonSlideData, getPlaceholder, getPlaceholders, getShapes, getSlideShow, getSpTree, getTextShapeByType, iterator, removeShape, setCommonSlideData
addRelation, clearMemoryPackagePart, createRelationship, createRelationship, createRelationship, getPackagePart, getPackageRelationship, getParent, getRelationById, getRelationCounter, getRelationId, getRelations, getTargetPart, onDocumentCreate, onDocumentRead, onDocumentRemove, onSave, read, rebase, removeRelation, removeRelation, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public org.openxmlformats.schemas.presentationml.x2006.main.CTSlide getXmlObject()
getXmlObject
in class XSLFSheet
protected String getRootElementName()
getRootElementName
in class XSLFSheet
public XSLFSlideLayout getMasterSheet()
getMasterSheet
in class XSLFSheet
public XSLFSlideLayout getSlideLayout()
public XSLFSlideMaster getSlideMaster()
public XSLFComments getComments()
public XSLFNotes getNotes()
public String getTitle()
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 class XSLFSheet
public boolean getFollowMasterGraphics()
getFollowMasterGraphics
in class XSLFSheet
public void setFollowMasterGraphics(boolean value)
value
- whether shapes on the master slide should be shown or not.public void draw(Graphics2D graphics)
XSLFSheet
public XSLFSlide importContent(XSLFSheet src)
XSLFSheet
importContent
in class XSLFSheet
src
- the source sheet to copy data fromCopyright © 2020. All rights reserved.