com.aspose.slides
Interface IPresentation

All Superinterfaces:
com.aspose.ms.System.IDisposable, IPresentationComponent
All Known Implementing Classes:
Presentation

public interface IPresentation
extends IPresentationComponent, com.aspose.ms.System.IDisposable

Presentaiton document


Method Summary
 IAudioCollection getAudios()
           Returns the collection of all embedded audio files in the presentation.
 ICommentAuthorCollection getCommentAuthors()
           Returns the collection of comments autors.
 java.util.Date getCurrentDateTime()
           Returns or sets date and time which will substitute content of datetime fields, if UpdateDateTimeFields is true.
 ICustomData getCustomData()
           Returns the presentation's custom data.
 ITextStyle getDefaultTextStyle()
           Returns default text style for shapes.
 IDocumentProperties getDocumentProperties()
           Returns DocumentProperties object which contains standard and custom document properties.
 int getFirstSlideNumber()
           Represents the first slide number in the presentation
 IFontsManager getFontsManager()
           Returns fonts manager.
 IHeaderFooterManager getHeaderFooterManager()
           Returns HeaderFooter manager of the presentation.
 IHyperlinkQueries getHyperlinkQueries()
           Provides easy access to all hyperlinks contained in all presentation slides (not in master, layout, notes slides).
 IImageCollection getImages()
           Returns the collection of all images in the presentation.
 IGlobalLayoutSlideCollection getLayoutSlides()
           Returns a list of all layout slides that are defined in the presentation.
 IMasterHandoutSlideManager getMasterHandoutSlideManager()
           Returns handout master manager.
 IMasterNotesSlideManager getMasterNotesSlideManager()
           Returns notes master manager.
 IMasterSlideCollection getMasters()
           Returns a list of all master slides that are defined in the presentation.
 IMasterTheme getMasterTheme()
           Returns master theme of the presentation.
 INotesSize getNotesSize()
           Returns notes slide size object.
 IProtectionManager getProtectionManager()
           Gets manager of the permissions for this presentation.
 IBaseSlide getSlideById(long id)
           Returns a Slide, MasterSlide or LayoutSlide by Id.
 ISlideCollection getSlides()
           Returns a list of all slides that are defined in the presentation.
 ISlideSize getSlideSize()
           Returns slide size object.
 int getSourceFormat()
           Returns information about from which format presentation was loaded.
 IVbaProject getVbaProject()
           Gets VBA project with presentation macros.
 IVideoCollection getVideos()
           Returns the collection of all embedded video files in the presentation.
 IViewProperties getViewProperties()
           Gets presentation wide view properties.
 void joinPortionsWithSameFormatting()
           Joins runs with same formatting in all paragraphs in all acceptable shapes in all slides.
 void save(java.io.OutputStream stream, int format)
           Saves all slides of a presentation to a stream in the specified format.
 void save(java.io.OutputStream stream, int[] slides, int format)
           Saves specified slides of a presentation to a stream in the specified format.
 void save(java.io.OutputStream stream, int[] slides, int format, ISaveOptions options)
           Saves specified slides of a presentation to a stream in the specified format.
 void save(java.io.OutputStream stream, int format, ISaveOptions options)
           Saves all slides of a presentation to a stream in the specified format and with additional options.
 void save(java.lang.String fname, int format)
           Saves all slides of a presentation to a file with the specified format.
 void save(java.lang.String fname, int[] slides, int format)
           Saves specified slides of a presentation to a file with the specified format.
 void save(java.lang.String fname, int[] slides, int format, ISaveOptions options)
           Saves specified slides of a presentation to a file with the specified format.
 void save(java.lang.String fname, int format, ISaveOptions options)
           Saves all slides of a presentation to a file with the specified format and with additional options.
 void setCurrentDateTime(java.util.Date value)
           Returns or sets date and time which will substitute content of datetime fields, if UpdateDateTimeFields is true.
 void setFirstSlideNumber(int value)
           Represents the first slide number in the presentation
 void setVbaProject(IVbaProject value)
           Gets VBA project with presentation macros.
 
Methods inherited from interface com.aspose.slides.IPresentationComponent
getPresentation
 
Methods inherited from interface com.aspose.ms.System.IDisposable
dispose
 

Method Detail

getCurrentDateTime

java.util.Date getCurrentDateTime()

Returns or sets date and time which will substitute content of datetime fields, if UpdateDateTimeFields is true. Time of this Presentation object creation by default. Read/write DateTime.


setCurrentDateTime

void setCurrentDateTime(java.util.Date value)

Returns or sets date and time which will substitute content of datetime fields, if UpdateDateTimeFields is true. Time of this Presentation object creation by default. Read/write DateTime.


getHeaderFooterManager

IHeaderFooterManager getHeaderFooterManager()

Returns HeaderFooter manager of the presentation. Read-only IHeaderFooterManager.


getProtectionManager

IProtectionManager getProtectionManager()

Gets manager of the permissions for this presentation. Read-only IProtectionManager.


getSlides

ISlideCollection getSlides()

Returns a list of all slides that are defined in the presentation. Read-only ISlideCollection.


getSlideSize

ISlideSize getSlideSize()

Returns slide size object. Read-only ISlideSize.


getNotesSize

INotesSize getNotesSize()

Returns notes slide size object. Read-only INotesSize.


getLayoutSlides

IGlobalLayoutSlideCollection getLayoutSlides()

Returns a list of all layout slides that are defined in the presentation. Read-only IGlobalLayoutSlideCollection.


You can access to alternative API for adding/inserting/removing/cloning layout slides by using IMasterSlide.LayoutSlides property.


getMasters

IMasterSlideCollection getMasters()

Returns a list of all master slides that are defined in the presentation. Read-only IMasterSlideCollection.


getMasterNotesSlideManager

IMasterNotesSlideManager getMasterNotesSlideManager()

Returns notes master manager. Read-only IMasterNotesSlideManager.


getMasterHandoutSlideManager

IMasterHandoutSlideManager getMasterHandoutSlideManager()

Returns handout master manager. Read-only IMasterHandoutSlideManager.


getFontsManager

IFontsManager getFontsManager()

Returns fonts manager. Read-only IFontsManager.


getDefaultTextStyle

ITextStyle getDefaultTextStyle()

Returns default text style for shapes. Read-only ITextStyle.


getCommentAuthors

ICommentAuthorCollection getCommentAuthors()

Returns the collection of comments autors. Read-only ICommentAuthorCollection.


getDocumentProperties

IDocumentProperties getDocumentProperties()

Returns DocumentProperties object which contains standard and custom document properties. Read-only IDocumentProperties.


getImages

IImageCollection getImages()

Returns the collection of all images in the presentation. Read-only IImageCollection.


getAudios

IAudioCollection getAudios()

Returns the collection of all embedded audio files in the presentation. Read-only IAudioCollection.


getVideos

IVideoCollection getVideos()

Returns the collection of all embedded video files in the presentation. Read-only IVideoCollection.


getCustomData

ICustomData getCustomData()

Returns the presentation's custom data. Read-only ICustomData.


getVbaProject

IVbaProject getVbaProject()

Gets VBA project with presentation macros. Read/write IVbaProject.


setVbaProject

void setVbaProject(IVbaProject value)

Gets VBA project with presentation macros. Read/write IVbaProject.


getSourceFormat

int getSourceFormat()

Returns information about from which format presentation was loaded. Read-only SourceFormat.


getMasterTheme

IMasterTheme getMasterTheme()

Returns master theme of the presentation. Read-only IMasterTheme.


getHyperlinkQueries

IHyperlinkQueries getHyperlinkQueries()

Provides easy access to all hyperlinks contained in all presentation slides (not in master, layout, notes slides). Read-only IHyperlinkQueries.


getViewProperties

IViewProperties getViewProperties()

Gets presentation wide view properties. Read-only IViewProperties.


getFirstSlideNumber

int getFirstSlideNumber()

Represents the first slide number in the presentation


setFirstSlideNumber

void setFirstSlideNumber(int value)

Represents the first slide number in the presentation


save

void save(java.lang.String fname,
          int format)

Saves all slides of a presentation to a file with the specified format.

Parameters:
fname - Path to the created file.
format - Format of the exported data.

save

void save(java.io.OutputStream stream,
          int format)

Saves all slides of a presentation to a stream in the specified format.

Parameters:
stream - Output stream.
format - Format of the exported data.

save

void save(java.lang.String fname,
          int format,
          ISaveOptions options)

Saves all slides of a presentation to a file with the specified format and with additional options.

Parameters:
fname - Path to the created file.
format - Format of the exported data.
options - Additional format options.

save

void save(java.io.OutputStream stream,
          int format,
          ISaveOptions options)

Saves all slides of a presentation to a stream in the specified format and with additional options.

Parameters:
stream - Output stream.
format - Format of the exported data.
options - Additional format options.
Throws:
com.aspose.ms.System.NotSupportedException - If you try to save encrypted file in none Office 2007-2010 format

save

void save(java.lang.String fname,
          int[] slides,
          int format)

Saves specified slides of a presentation to a file with the specified format.

Parameters:
fname - Path to the created file.
slides - Array with slide positions, starting from 1.
format - Format of the exported data.
Throws:
com.aspose.ms.System.ArgumentNullException - When stream or slides parameter is null.
com.aspose.ms.System.ArgumentOutOfRangeException - When slides parameter contains wrong page numbers.
com.aspose.ms.System.InvalidOperationException - When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP.

save

void save(java.lang.String fname,
          int[] slides,
          int format,
          ISaveOptions options)

Saves specified slides of a presentation to a file with the specified format.

Parameters:
fname - Path to the created file.
slides - Array with slide positions, starting from 1.
format - Format of the exported data.
options - Additional format options.
Throws:
com.aspose.ms.System.ArgumentNullException - When stream or slides parameter is null.
com.aspose.ms.System.ArgumentOutOfRangeException - When slides parameter contains wrong page numbers.
com.aspose.ms.System.InvalidOperationException - When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP.

save

void save(java.io.OutputStream stream,
          int[] slides,
          int format)

Saves specified slides of a presentation to a stream in the specified format.

Parameters:
stream - Output stream.
slides - Array with slide positions, starting from 1.
format - Format of the exported data.
Throws:
com.aspose.ms.System.ArgumentNullException - When stream or slides parameter is null.
com.aspose.ms.System.ArgumentOutOfRangeException - When slides parameter contains wrong page numbers.
com.aspose.ms.System.InvalidOperationException - When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP.

save

void save(java.io.OutputStream stream,
          int[] slides,
          int format,
          ISaveOptions options)

Saves specified slides of a presentation to a stream in the specified format.

Parameters:
stream - Output stream.
slides - Array with slide positions, starting from 1.
format - Format of the exported data.
options - Additional format options.
Throws:
com.aspose.ms.System.ArgumentNullException - When stream or slides parameter is null.
com.aspose.ms.System.ArgumentOutOfRangeException - When slides parameter contains wrong page numbers.
com.aspose.ms.System.InvalidOperationException - When an unsupported SaveFormat is used, e.g. PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, ODP.

getSlideById

IBaseSlide getSlideById(long id)

Returns a Slide, MasterSlide or LayoutSlide by Id.

Parameters:
id - Id of a slide.
Returns:
IBaseSlide object.


joinPortionsWithSameFormatting

void joinPortionsWithSameFormatting()

Joins runs with same formatting in all paragraphs in all acceptable shapes in all slides.



Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.