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)andPresentation.save(stream, SaveFormat)overloads in this edition ignore the format argument and always save as PPTX. Passing anySaveFormatconstant other thanPPTXdoes not throw an exception — the output is still a valid.pptxfile. OnlySaveFormat.PPTXreflects the actual output. All other members are declared for API-level compatibility with the commercial edition of Aspose.Slides. Onlyprs.save(ISaveOptions)(without a path or stream) throwsUnsupportedOperationException.
Values
| Member | Description |
|---|---|
PPT | Legacy PowerPoint 97-2003 binary format (.ppt). Declared for API compatibility; output is always PPTX in this edition. |
PDF | Portable Document Format (.pdf). Declared for API compatibility; output is always PPTX in this edition. |
XPS | XML Paper Specification (.xps). Declared for API compatibility; output is always PPTX in this edition. |
PPTX | Supported. Office Open XML Presentation (.pptx). This is the only format produced by save() in this edition. |
PPSX | PowerPoint Show (.ppsx). Declared for API compatibility; output is always PPTX in this edition. |
TIFF | Multi-page TIFF image (.tiff). Declared for API compatibility; output is always PPTX in this edition. |
ODP | OpenDocument Presentation (.odp). Declared for API compatibility; output is always PPTX in this edition. |
PPTM | Macro-enabled presentation (.pptm). Declared for API compatibility; output is always PPTX in this edition. |
PPSM | Macro-enabled slideshow (.ppsm). Declared for API compatibility; output is always PPTX in this edition. |
POTX | PowerPoint Template (.potx). Declared for API compatibility; output is always PPTX in this edition. |
POTM | Macro-enabled template (.potm). Declared for API compatibility; output is always PPTX in this edition. |
HTML | HTML export. Declared for API compatibility; output is always PPTX in this edition. |
SWF | Adobe Flash format (.swf). Declared for API compatibility; output is always PPTX in this edition. |
OTP | OpenDocument Presentation Template (.otp). Declared for API compatibility; output is always PPTX in this edition. |
PPS | Legacy PowerPoint Show (.pps). Declared for API compatibility; output is always PPTX in this edition. |
POT | Legacy PowerPoint Template (.pot). Declared for API compatibility; output is always PPTX in this edition. |
FODP | Flat ODP XML format (.fodp). Declared for API compatibility; output is always PPTX in this edition. |
GIF | Animated GIF image (.gif). Declared for API compatibility; output is always PPTX in this edition. |
HTML5 | HTML5 export with templating system. Declared for API compatibility; output is always PPTX in this edition. |
MD | Markdown export (.md). Declared for API compatibility; output is always PPTX in this edition. |
XML | PowerPoint XML Presentation format (.xml). Declared for API compatibility; output is always PPTX in this edition. |
SVG | Scalable Vector Graphics (.svg). Declared for API compatibility; output is always PPTX in this edition. |
JPEG | JPEG image export (.jpg). Declared for API compatibility; output is always PPTX in this edition. |
PNG | PNG image export (.png). Declared for API compatibility; output is always PPTX in this edition. |
BMP | BMP image export (.bmp). Declared for API compatibility; output is always PPTX in this edition. |