SaveFormat — Aspose.Slides FOSS Java API Reference

SaveFormat — Constants which define the format of a saved presentation.

Package: org.aspose.slides.foss.export

Runtime behavior — PPTX only: All Presentation.save(path, SaveFormat) and Presentation.save(stream, SaveFormat) overloads in this edition ignore the format argument and always save as PPTX. Passing any SaveFormat constant other than PPTX does not throw an exception — the output is still a valid .pptx file. Only SaveFormat.PPTX reflects the actual output. All other members are declared for API-level compatibility with the commercial edition of Aspose.Slides. Only prs.save(ISaveOptions) (without a path or stream) throws UnsupportedOperationException.


Values

MemberDescription
PPTLegacy PowerPoint 97-2003 binary format (.ppt). Declared for API compatibility; output is always PPTX in this edition.
PDFPortable Document Format (.pdf). Declared for API compatibility; output is always PPTX in this edition.
XPSXML Paper Specification (.xps). Declared for API compatibility; output is always PPTX in this edition.
PPTXSupported. Office Open XML Presentation (.pptx). This is the only format produced by save() in this edition.
PPSXPowerPoint Show (.ppsx). Declared for API compatibility; output is always PPTX in this edition.
TIFFMulti-page TIFF image (.tiff). Declared for API compatibility; output is always PPTX in this edition.
ODPOpenDocument Presentation (.odp). Declared for API compatibility; output is always PPTX in this edition.
PPTMMacro-enabled presentation (.pptm). Declared for API compatibility; output is always PPTX in this edition.
PPSMMacro-enabled slideshow (.ppsm). Declared for API compatibility; output is always PPTX in this edition.
POTXPowerPoint Template (.potx). Declared for API compatibility; output is always PPTX in this edition.
POTMMacro-enabled template (.potm). Declared for API compatibility; output is always PPTX in this edition.
HTMLHTML export. Declared for API compatibility; output is always PPTX in this edition.
SWFAdobe Flash format (.swf). Declared for API compatibility; output is always PPTX in this edition.
OTPOpenDocument Presentation Template (.otp). Declared for API compatibility; output is always PPTX in this edition.
PPSLegacy PowerPoint Show (.pps). Declared for API compatibility; output is always PPTX in this edition.
POTLegacy PowerPoint Template (.pot). Declared for API compatibility; output is always PPTX in this edition.
FODPFlat ODP XML format (.fodp). Declared for API compatibility; output is always PPTX in this edition.
GIFAnimated GIF image (.gif). Declared for API compatibility; output is always PPTX in this edition.
HTML5HTML5 export with templating system. Declared for API compatibility; output is always PPTX in this edition.
MDMarkdown export (.md). Declared for API compatibility; output is always PPTX in this edition.
XMLPowerPoint XML Presentation format (.xml). Declared for API compatibility; output is always PPTX in this edition.
SVGScalable Vector Graphics (.svg). Declared for API compatibility; output is always PPTX in this edition.
JPEGJPEG image export (.jpg). Declared for API compatibility; output is always PPTX in this edition.
PNGPNG image export (.png). Declared for API compatibility; output is always PPTX in this edition.
BMPBMP image export (.bmp). Declared for API compatibility; output is always PPTX in this edition.

See Also