public interface SlideShow<S extends Shape<S,P>,P extends TextParagraph<S,P,? extends TextRun>> extends Closeable
Modifier and Type | Method and Description |
---|---|
PictureData |
addPicture(byte[] pictureData,
PictureData.PictureType format)
Adds a picture to the presentation.
|
PictureData |
addPicture(File pict,
PictureData.PictureType format)
Adds a picture to the presentation.
|
PictureData |
addPicture(InputStream is,
PictureData.PictureType format)
Adds a picture to the presentation.
|
MasterSheet<S,P> |
createMasterSheet() |
Slide<S,P> |
createSlide() |
PictureData |
findPictureData(byte[] pictureData)
check if a picture with this picture data already exists in this presentation
|
POITextExtractor |
getMetadataTextExtractor() |
Dimension |
getPageSize()
Returns the current page size
|
Object |
getPersistDocument() |
List<? extends PictureData> |
getPictureData()
Returns all Pictures of this slideshow.
|
Resources |
getResources() |
List<? extends MasterSheet<S,P>> |
getSlideMasters()
Returns all slide masters.
|
List<? extends Slide<S,P>> |
getSlides() |
void |
setPageSize(Dimension pgsize)
Change the current page size
|
void |
write(OutputStream out)
Writes out the slideshow file the is represented by an instance of this
class
|
Slide<S,P> createSlide() throws IOException
IOException
MasterSheet<S,P> createMasterSheet() throws IOException
IOException
List<? extends MasterSheet<S,P>> getSlideMasters()
Resources getResources()
Dimension getPageSize()
void setPageSize(Dimension pgsize)
pgsize
- page size (in points)List<? extends PictureData> getPictureData()
List
is unmodifiable.List
of PictureData
.PictureData addPicture(byte[] pictureData, PictureData.PictureType format) throws IOException
pictureData
- The bytes of the pictureformat
- The format of the picture.IOException
PictureData addPicture(InputStream is, PictureData.PictureType format) throws IOException
is
- The stream to read the image fromformat
- The format of the picture.IOException
PictureData addPicture(File pict, PictureData.PictureType format) throws IOException
pict
- The file containing the image to addformat
- The format of the picture.IOException
PictureData findPictureData(byte[] pictureData)
pictureData
- The picture data to find in the SlideShownull
if picture data is not found in this slideshowvoid write(OutputStream out) throws IOException
out
- The OutputStream to write to.IOException
- If there is an unexpected IOException from the passed in
OutputStreamPOITextExtractor getMetadataTextExtractor()
Object getPersistDocument()
POIDocument
or POIXMLDocument
Copyright © 2010 - 2020 Adobe. All Rights Reserved