public interface SlideShow<S extends Shape<S,P>,P extends TextParagraph<S,P,?>>
extends java.io.Closeable
Modifier and Type | Method and Description |
---|---|
PictureData |
addPicture(byte[] pictureData,
PictureData.PictureType format)
Adds a picture to the workbook.
|
MasterSheet<S,P> |
createMasterSheet() |
Slide<S,P> |
createSlide() |
java.awt.Dimension |
getPageSize()
Returns the current page size
|
java.util.List<? extends PictureData> |
getPictureData()
Returns all Pictures of this slideshow.
|
Resources |
getResources() |
java.util.List<? extends MasterSheet<S,P>> |
getSlideMasters()
Returns all slide masters.
|
java.util.List<? extends Slide<S,P>> |
getSlides() |
void |
setPageSize(java.awt.Dimension pgsize)
Change the current page size
|
void |
write(java.io.OutputStream out)
Writes out the slideshow file the is represented by an instance of this
class
|
MasterSheet<S,P> createMasterSheet() throws java.io.IOException
java.io.IOException
java.util.List<? extends MasterSheet<S,P>> getSlideMasters()
Resources getResources()
java.awt.Dimension getPageSize()
void setPageSize(java.awt.Dimension pgsize)
pgsize
- page size (in points)java.util.List<? extends PictureData> getPictureData()
List
is unmodifiable.List
of PictureData
.PictureData addPicture(byte[] pictureData, PictureData.PictureType format) throws java.io.IOException
pictureData
- The bytes of the pictureformat
- The format of the picture.java.io.IOException
void write(java.io.OutputStream out) throws java.io.IOException
out
- The OutputStream to write to.java.io.IOException
- If there is an unexpected IOException from the passed in
OutputStreamCopyright 2017 The Apache Software Foundation or its licensors, as applicable.