@Deprecated
public class KeynotePresentation
extends java.lang.Object
Keynote presentation is a zip file in the end. the zip file
contains xml files describing the structure as well as thumbnails for each slide.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAMESAPCES_SF
Deprecated.
|
static java.lang.String |
NAMESAPCES_SFA
Deprecated.
|
static java.lang.String |
NAMESPACES_KEYNOTE2
Deprecated.
|
| Constructor and Description |
|---|
KeynotePresentation(java.io.InputStream is)
Deprecated.
The constructor expects the
InputStream from the actual
presentation. |
| Modifier and Type | Method and Description |
|---|---|
void |
clearUnusedMasters()
Deprecated.
Removes master slides that are no longer in use.
|
void |
clearUnusedResources()
Deprecated.
Removes resources that are no longer in use.
|
int |
getHeight()
Deprecated.
Get height
|
KeynoteMasterSlide |
getMaster(java.lang.String masterid)
Deprecated.
|
java.util.Collection<KeynoteMasterSlide> |
getMasters()
Deprecated.
|
java.io.InputStream |
getResource(java.lang.String path)
Deprecated.
|
java.util.List<KeynoteSlide> |
getSlides()
Deprecated.
Get the list of slides
|
java.awt.image.BufferedImage |
getThumbnail()
Deprecated.
Get presentation thumbnail
|
int |
getWidth()
Deprecated.
Get width
|
void |
removeMaster(KeynoteMasterSlide master)
Deprecated.
Removes the given slide master
|
void |
removeSlide(KeynoteSlide slide)
Deprecated.
Removes the given slide from the presentation
|
void |
save(java.io.OutputStream out)
Deprecated.
Save modified presentation
|
public static final java.lang.String NAMESPACES_KEYNOTE2
public static final java.lang.String NAMESAPCES_SF
public static final java.lang.String NAMESAPCES_SFA
public KeynotePresentation(java.io.InputStream is)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
InputStream from the actual
presentation.is - InputStream from the actual presentationjava.io.IOException - Exception on reading the streamorg.xml.sax.SAXException - exception on parsing the xmljavax.xml.parsers.ParserConfigurationException - exception on parsing the configpublic int getWidth()
public int getHeight()
public java.awt.image.BufferedImage getThumbnail()
throws java.io.IOException
java.io.IOException - exception raised on getting the thumbnailpublic java.util.List<KeynoteSlide> getSlides()
public void removeSlide(KeynoteSlide slide)
slide - Slide
to be removedpublic void removeMaster(KeynoteMasterSlide master)
master - Master Slide
to be removedpublic void clearUnusedMasters()
public void clearUnusedResources()
public void save(java.io.OutputStream out)
throws java.io.IOException
out - OutputStream used for save "destination"java.io.IOException - exception raised on writing data to zip.public java.io.InputStream getResource(java.lang.String path)
public java.util.Collection<KeynoteMasterSlide> getMasters()
public KeynoteMasterSlide getMaster(java.lang.String masterid)
Copyright © 2010 - 2019 Adobe. All Rights Reserved