@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() |
XSLFCommentAuthors |
getCommentAuthorsPart() |
java.util.List<XSLFComment> |
getComments() |
XSLFComments |
getCommentsPart() |
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() |
java.lang.String |
getSlideName() |
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.
|
boolean |
isHidden() |
protected void |
removeChartRelation(XSLFChart chart) |
protected void |
removeLayoutRelation(XSLFSlideLayout layout) |
void |
setFollowMasterBackground(boolean follow) |
void |
setFollowMasterColourScheme(boolean follow) |
void |
setFollowMasterGraphics(boolean value) |
void |
setFollowMasterObjects(boolean follow) |
void |
setHidden(boolean hidden)
Sets the slide visibility
|
void |
setNotes(Notes<XSLFShape,XSLFTextParagraph> notes) |
addShape, allocateShapeId, appendContent, buildShapes, clear, commit, createAutoShape, createConnector, createFreeform, createGroup, createOleShape, createPicture, createTable, createTable, createTextBox, deregisterShapeId, getPlaceholder, getPlaceholder, getPlaceholderDetails, getPlaceholders, getShapes, getSlideShow, getSpTree, getTextShapeByType, iterator, registerShapeId, removeShape_invokeOnDocumentRead, addRelation, createRelationship, createRelationship, createRelationship, getNextPartNumber, getPackagePart, getParent, getRelationById, getRelationId, getRelationPartById, getRelationParts, getRelations, getTargetPart, isCommited, onDocumentCreate, onDocumentRead, onDocumentRemove, onSave, prepareForCommit, read, rebase, removeRelation, removeRelation, removeRelation, setCommited, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPlaceholderDetails, getSlideShowaddShape, createAutoShape, createConnector, createFreeform, createGroup, createOleShape, createPicture, createTable, createTextBox, getShapes, removeShapepublic org.openxmlformats.schemas.presentationml.x2006.main.CTSlide getXmlObject()
getXmlObject in class XSLFSheetprotected java.lang.String getRootElementName()
getRootElementName in class XSLFSheetprotected 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 XSLFSheetnull 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 XSLFSheetpublic boolean getFollowMasterGraphics()
getFollowMasterGraphics in interface Sheet<XSLFShape,XSLFTextParagraph>getFollowMasterGraphics in class XSLFSheetpublic 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)
XSLFSheetimportContent in class XSLFSheetsrc - 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)
SlidegetDisplayPlaceholder in interface Slide<XSLFShape,XSLFTextParagraph>placeholder - the placeholder typetrue if the placeholder should be displayed/renderedpublic void setHidden(boolean hidden)
SlidesetHidden 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 falsepublic java.lang.String getSlideName()
getSlideName in interface Slide<XSLFShape,XSLFTextParagraph>Copyright 2018 The Apache Software Foundation or its licensors, as applicable.