|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.POIXMLDocumentPart
org.apache.poi.POIXMLDocument
org.apache.poi.xslf.usermodel.XMLSlideShow
public class XMLSlideShow
High level representation of a ooxml slideshow. This is the first object most users will construct whether they are reading or writing a slideshow. It is also the top level object for creating new slides/etc.
| Field Summary |
|---|
| Fields inherited from class org.apache.poi.POIXMLDocument |
|---|
DOCUMENT_CREATOR, OLE_OBJECT_REL_TYPE, PACK_OBJECT_REL_TYPE |
| Fields inherited from class org.apache.poi.POIXMLDocumentPart |
|---|
DEFAULT_XML_OPTIONS |
| Constructor Summary | |
|---|---|
XMLSlideShow()
|
|
XMLSlideShow(java.io.InputStream is)
|
|
XMLSlideShow(OPCPackage pkg)
|
|
| Method Summary | |
|---|---|
XSLFSlideShow |
_getXSLFSlideShow()
|
int |
addPicture(byte[] pictureData,
int format)
Adds a picture to the workbook. |
XSLFSlide |
createSlide()
Create a blank slide. |
XSLFSlide |
createSlide(XSLFSlideLayout layout)
Create a slide and initialize it from the specified layout. |
java.util.List |
getAllEmbedds()
Get the document's embedded files. |
java.util.List |
getAllPictures()
Returns all Pictures, which are referenced from the document itself. |
XSLFCommentAuthors |
getCommentAuthors()
Returns the list of comment authors, if there is one. |
org.openxmlformats.schemas.presentationml.x2006.main.CTPresentation |
getCTPresentation()
|
XSLFNotesMaster |
getNotesMaster()
Return the Notes Master, if there is one. |
java.awt.Dimension |
getPageSize()
Returns the current page size |
XSLFSlideMaster[] |
getSlideMasters()
|
XSLFSlide[] |
getSlides()
Return all the slides in the slideshow |
XSLFTableStyles |
getTableStyles()
|
XSLFSlide |
removeSlide(int index)
|
void |
setPageSize(java.awt.Dimension pgSize)
Sets the page size to the given Dimension object. |
void |
setSlideOrder(XSLFSlide slide,
int newIndex)
|
| Methods inherited from class org.apache.poi.POIXMLDocument |
|---|
getPackage, getProperties, hasOOXMLHeader, openPackage, write |
| Methods inherited from class org.apache.poi.POIXMLDocumentPart |
|---|
addRelation, createRelationship, createRelationship, getPackagePart, getPackageRelationship, getParent, getRelationById, getRelationId, getRelations, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XMLSlideShow()
public XMLSlideShow(OPCPackage pkg)
public XMLSlideShow(java.io.InputStream is)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public XSLFSlideShow _getXSLFSlideShow()
throws OpenXML4JException,
java.io.IOException,
org.apache.xmlbeans.XmlException
OpenXML4JException
java.io.IOException
org.apache.xmlbeans.XmlException
public java.util.List getAllEmbedds()
throws OpenXML4JException
getAllEmbedds in class POIXMLDocumentOpenXML4JExceptionpublic java.util.List getAllPictures()
List of PackagePart.
The returned List is unmodifiable.public XSLFSlide createSlide(XSLFSlideLayout layout)
layout -
public XSLFSlide createSlide()
public XSLFNotesMaster getNotesMaster()
public XSLFSlideMaster[] getSlideMasters()
public XSLFSlide[] getSlides()
public XSLFCommentAuthors getCommentAuthors()
public void setSlideOrder(XSLFSlide slide,
int newIndex)
newIndex - 0-based index of the slidepublic XSLFSlide removeSlide(int index)
public java.awt.Dimension getPageSize()
public void setPageSize(java.awt.Dimension pgSize)
Dimension object.
pgSize - page sizepublic org.openxmlformats.schemas.presentationml.x2006.main.CTPresentation getCTPresentation()
public int addPicture(byte[] pictureData,
int format)
pictureData - The bytes of the pictureformat - The format of the picture.
XSLFPictureData.PICTURE_TYPE_EMF,
XSLFPictureData.PICTURE_TYPE_WMF,
XSLFPictureData.PICTURE_TYPE_PICT,
XSLFPictureData.PICTURE_TYPE_JPEG,
XSLFPictureData.PICTURE_TYPE_PNG,
XSLFPictureData.PICTURE_TYPE_DIBpublic XSLFTableStyles getTableStyles()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||