|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SlideShow<S extends Shape<S,P>,P extends TextParagraph<S,P,?>>
Method Summary | |
---|---|
PictureData |
addPicture(byte[] pictureData,
PictureData.PictureType format)
Adds a picture to the presentation. |
PictureData |
addPicture(java.io.File pict,
PictureData.PictureType format)
Adds a picture to the presentation. |
PictureData |
addPicture(java.io.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 |
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 |
Methods inherited from interface java.io.Closeable |
---|
close |
Method Detail |
---|
Slide<S,P> createSlide() throws java.io.IOException
java.io.IOException
java.util.List<? extends Slide<S,P>> getSlides()
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
PictureData addPicture(java.io.InputStream is, PictureData.PictureType format) throws java.io.IOException
is
- The stream to read the image fromformat
- The format of the picture.
java.io.IOException
PictureData addPicture(java.io.File pict, PictureData.PictureType format) throws java.io.IOException
pict
- The file containing the image to addformat
- The format of the picture.
java.io.IOException
PictureData findPictureData(byte[] pictureData)
pictureData
- The picture data to find in the SlideShow
null
if picture data is not found in this slideshowvoid 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
OutputStream
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |