| java.lang.Object org.apache.poi.hslf.usermodel.SlideShow
SlideShow | public class SlideShow (Code) | | This class is a friendly wrapper on top of the more scary HSLFSlideShow.
TODO:
- figure out how to match notes to their correct sheet
(will involve understanding DocSlideList and DocNotesList)
- handle Slide creation cleaner
author: Nick Burch author: Yegor kozlov |
Constructor Summary | |
public | SlideShow(HSLFSlideShow hslfSlideShow) Constructs a Powerpoint document from the underlying
HSLFSlideShow object. | public | SlideShow() Constructs a new, empty, Powerpoint document. | public | SlideShow(InputStream inputStream) Constructs a Powerpoint document from an input stream. |
SlideShow | public SlideShow(HSLFSlideShow hslfSlideShow) throws IOException(Code) | | Constructs a Powerpoint document from the underlying
HSLFSlideShow object. Finds the model stuff from this
Parameters: hslfSlideShow - the HSLFSlideShow to base on |
SlideShow | public SlideShow() throws IOException(Code) | | Constructs a new, empty, Powerpoint document.
|
addPicture | public int addPicture(byte[] data, int format) throws IOException(Code) | | Adds a picture to this presentation and returns the associated index.
Parameters: data - picture data Parameters: format - the format of the picture. One of constans defined in the Picture class. the index to this picture (1 based). |
addPicture | public int addPicture(File pict, int format) throws IOException(Code) | | Adds a picture to this presentation and returns the associated index.
Parameters: pict - the file containing the image to add Parameters: format - the format of the picture. One of constans defined in the Picture class. the index to this picture (1 based). |
getDocumentRecord | public Document getDocumentRecord()(Code) | | Helper method for usermodel and model: Get the document record
|
getFontCollection | protected FontCollection getFontCollection()(Code) | | Helper method for usermodel: Get the font collection
|
getMostRecentCoreRecords | public Record[] getMostRecentCoreRecords()(Code) | | Returns an array of the most recent version of all the interesting
records
|
getNotes | public Notes[] getNotes()(Code) | | Returns an array of all the normal Notes found in the slideshow
|
getPageSize | public Dimension getPageSize()(Code) | | Return the current page size
|
getPictureData | public PictureData[] getPictureData()(Code) | | Returns the data of all the pictures attached to the SlideShow
|
getSlides | public Slide[] getSlides()(Code) | | Returns an array of all the normal Slides found in the slideshow
|
getSlidesMasters | public SlideMaster[] getSlidesMasters()(Code) | | Returns an array of all the normal Slide Masters found in the slideshow
|
getTitleMasters | public TitleMaster[] getTitleMasters()(Code) | | Returns an array of all the normal Title Masters found in the slideshow
|
reorderSlide | public void reorderSlide(int oldSlideNumer, int newSlideNumber)(Code) | | Re-orders a slide, to a new position.
Parameters: oldSlideNumer - The old slide number (1 based) Parameters: newSlideNumber - The new slide number (1 based) |
setPageSize | public void setPageSize(Dimension pgsize)(Code) | | Change the current page size
Parameters: pgsize - page size (in points) |
write | public void write(OutputStream out) throws IOException(Code) | | Writes out the slideshow file the is represented by an instance of
this class
Parameters: out - The OutputStream to write to. throws: IOException - If there is an unexpected IOException from the passedin OutputStream |
|
|