|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.PresentationFactory
public class PresentationFactory
Allows to create presentation via COM interface
Constructor Summary | |
---|---|
PresentationFactory()
|
Method Summary | |
---|---|
IPresentation |
createPresentation()
Creates new presentation. |
IPresentation |
createPresentation(ILoadOptions options)
Creates new presentation with additional load options |
static PresentationFactory |
getInstance()
Presentation factory static instance. |
IPresentationInfo |
getPresentationInfo(java.io.InputStream stream)
Gets info about presentation in specified stream. |
IPresentationInfo |
getPresentationInfo(java.lang.String file)
Gets info about presentation in specified file. |
IPresentation |
readPresentation(byte[] data)
Reads an existing presentation from array |
IPresentation |
readPresentation(byte[] data,
ILoadOptions options)
Reads an existing presentation from array with additional load options |
IPresentation |
readPresentation(java.io.InputStream stream)
Reads an existing presentation from stream |
IPresentation |
readPresentation(java.io.InputStream stream,
ILoadOptions options)
Reads an existing presentation from stream with additional load options |
IPresentation |
readPresentation(java.lang.String file)
Reads an existing presentation from file |
IPresentation |
readPresentation(java.lang.String file,
ILoadOptions options)
Reads an existing presentation from stream with additional load options |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PresentationFactory()
Method Detail |
---|
public static PresentationFactory getInstance()
Presentation factory static instance.
Read-only PresentationFactory
.
public IPresentation createPresentation()
Creates new presentation.
createPresentation
in interface IPresentationFactory
public IPresentation createPresentation(ILoadOptions options)
Creates new presentation with additional load options
createPresentation
in interface IPresentationFactory
options
- Load options
public IPresentationInfo getPresentationInfo(java.lang.String file)
Gets info about presentation in specified file.
getPresentationInfo
in interface IPresentationFactory
file
- Presentatoin file.
public IPresentationInfo getPresentationInfo(java.io.InputStream stream)
Gets info about presentation in specified stream.
getPresentationInfo
in interface IPresentationFactory
stream
- Presentation stream.
public IPresentation readPresentation(byte[] data)
Reads an existing presentation from array
readPresentation
in interface IPresentationFactory
data
- Array to read
public IPresentation readPresentation(byte[] data, ILoadOptions options)
Reads an existing presentation from array with additional load options
readPresentation
in interface IPresentationFactory
data
- Array to readoptions
- Load options
public IPresentation readPresentation(java.io.InputStream stream)
Reads an existing presentation from stream
readPresentation
in interface IPresentationFactory
stream
- Input stream to read
public IPresentation readPresentation(java.io.InputStream stream, ILoadOptions options)
Reads an existing presentation from stream with additional load options
readPresentation
in interface IPresentationFactory
stream
- Input stream to readoptions
- Load options
public IPresentation readPresentation(java.lang.String file)
Reads an existing presentation from file
readPresentation
in interface IPresentationFactory
file
- File name
public IPresentation readPresentation(java.lang.String file, ILoadOptions options)
Reads an existing presentation from stream with additional load options
readPresentation
in interface IPresentationFactory
file
- File nameoptions
- Load options
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |