org.apache.poi.xslf.usermodel
Class XSLFSlide
- java.lang.Object
-
- org.apache.poi.POIXMLDocumentPart
-
- org.apache.poi.xslf.usermodel.XSLFSheet
-
- org.apache.poi.xslf.usermodel.XSLFSlide
-
- All Implemented Interfaces:
- java.lang.Iterable<XSLFShape>, XSLFShapeContainer
@Beta public final class XSLFSlide extends XSLFSheet
-
-
Field Summary
-
Fields inherited from class org.apache.poi.POIXMLDocumentPart
DEFAULT_XML_OPTIONS
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voiddraw(java.awt.Graphics2D graphics)Render this sheet into the supplied graphics objectXSLFBackgroundgetBackground()XSLFCommentsgetComments()booleangetFollowMasterGraphics()XSLFSlideLayoutgetMasterSheet()XSLFNotesgetNotes()XSLFSlideLayoutgetSlideLayout()XSLFSlideMastergetSlideMaster()XSLFThemegetTheme()java.lang.StringgetTitle()org.openxmlformats.schemas.presentationml.x2006.main.CTSlidegetXmlObject()XSLFSlideimportContent(XSLFSheet src)Set the contents of this sheet to be a copy of the source sheet.voidsetFollowMasterGraphics(boolean value)-
Methods inherited from class org.apache.poi.xslf.usermodel.XSLFSheet
appendContent, clear, createAutoShape, createConnector, createFreeform, createGroup, createPicture, createTable, createTextBox, getCommonSlideData, getPlaceholder, getPlaceholders, getShapes, getSlideShow, iterator, removeShape
-
Methods inherited from class org.apache.poi.POIXMLDocumentPart
addRelation, createRelationship, createRelationship, getPackagePart, getPackageRelationship, getParent, getRelationById, getRelationId, getRelations, toString
-
-
-
-
Method Detail
-
getXmlObject
public org.openxmlformats.schemas.presentationml.x2006.main.CTSlide getXmlObject()
- Specified by:
getXmlObjectin classXSLFSheet- Returns:
- top-level Xml bean representing this sheet
-
getMasterSheet
public XSLFSlideLayout getMasterSheet()
- Specified by:
getMasterSheetin classXSLFSheet- Returns:
- master of this sheet.
-
getSlideLayout
public XSLFSlideLayout getSlideLayout()
-
getSlideMaster
public XSLFSlideMaster getSlideMaster()
-
getComments
public XSLFComments getComments()
-
getNotes
public XSLFNotes getNotes()
-
getTitle
public java.lang.String getTitle()
- Returns:
- title of this slide or empty string if title is not set
-
getTheme
public XSLFTheme getTheme()
- Returns:
- theme (shared styles) associated with this theme.
By default returns
nullwhich 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.
-
getBackground
public XSLFBackground getBackground()
- Overrides:
getBackgroundin classXSLFSheet- Returns:
- the information about background appearance of this slide
-
getFollowMasterGraphics
public boolean getFollowMasterGraphics()
- Overrides:
getFollowMasterGraphicsin classXSLFSheet- Returns:
- whether shapes on the master slide should be shown or not.
-
setFollowMasterGraphics
public void setFollowMasterGraphics(boolean value)
- Parameters:
value- whether shapes on the master slide should be shown or not.
-
draw
public void draw(java.awt.Graphics2D graphics)
Description copied from class:XSLFSheetRender this sheet into the supplied graphics object
-
importContent
public XSLFSlide importContent(XSLFSheet src)
Description copied from class:XSLFSheetSet the contents of this sheet to be a copy of the source sheet. This method erases any existing shapes and replaces them with object from the source sheet.- Overrides:
importContentin classXSLFSheet- Parameters:
src- the source sheet to copy data from- Returns:
- modified 'this'
-
-
DataMelt 3.0 © DataMelt by jWork.ORG