com.aspose.slides
Class PresentationEx

java.lang.Object
  extended by com.aspose.slides.PresentationEx

public final class PresentationEx
extends java.lang.Object

Represents a Microsoft PowerPoint 2007 PPTX presentation.


Constructor Summary
PresentationEx(java.lang.String file)
          This constructor gets a source file path from which the contents of the Presentation are read.
 
Method Summary
 LayoutSlidesEx getLayoutSlides()
          Returns a list of all layout slides that are defined in the presentation.
 MasterSlidesEx getMasters()
          Returns a list of all master slides that are defined in the presentation.
 SlideEx getSlideById(long id)
          Returns a slide by Id.
 SlidesEx getSlides()
          Returns a list of all slides that are defined in the presentation.
 void write(java.io.OutputStream stream)
          Writes the contents of a presentation to an output stream.
 void write(java.lang.String file)
          Writes the contents of the Presentation to a file specified by the file name.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PresentationEx

public PresentationEx(java.lang.String file)
               throws java.io.IOException
This constructor gets a source file path from which the contents of the Presentation are read.

Parameters:
file - input file name.
Throws:
java.io.IOException
Method Detail

write

public void write(java.lang.String file)
           throws java.io.IOException
Writes the contents of the Presentation to a file specified by the file name.

Parameters:
file - output file name.
Throws:
java.io.IOException

write

public void write(java.io.OutputStream stream)
           throws java.io.IOException
Writes the contents of a presentation to an output stream.

Parameters:
stream - output stream to write presentation.
Throws:
java.io.IOException

getSlides

public SlidesEx getSlides()
Returns a list of all slides that are defined in the presentation.

Returns:
See SlidesEx.

getLayoutSlides

public LayoutSlidesEx getLayoutSlides()
Returns a list of all layout slides that are defined in the presentation.

Returns:
See LayoutSlidesEx.

getMasters

public MasterSlidesEx getMasters()
Returns a list of all master slides that are defined in the presentation.

Returns:
See MasterSlidesEx.

getSlideById

public SlideEx getSlideById(long id)
Returns a slide by Id.

Parameters:
id - Id of a slide.
Returns:
See SlideEx.