PresentationFormats
Inheritance: java.lang.Object, com.groupdocs.editor.formats.abstraction.FormatFamilyBase, com.groupdocs.editor.formats.abstraction.DocumentFormatBase
public class PresentationFormats extends DocumentFormatBase
Encapsulates all Presentation formats. Includes the following formats: Odp, Otp, Pot, Potm, Potx, Pps, Ppsm, Ppsx, Ppt, Ppt95, Pptm, Pptx. Learn more about Presentation formats here.
Fields
| Field | Description |
|---|---|
| Ppt | Microsoft PowerPoint 97-2003 Presentation (PPT). |
| Ppt95 | Microsoft PowerPoint 95 Presentation (PPT). |
| Pptx | Microsoft Office Open XML PresentationML Macro-Free Document (PPTX). |
| Pptm | Microsoft Office Open XML PresentationML Macro-Enabled Document (PPTM). |
| Pps | Microsoft PowerPoint 97-2003 SlideShow (PPS). |
| Ppsx | Microsoft Office Open XML PresentationML Macro-Free SlideShow (PPSX). |
| Ppsm | Microsoft Office Open XML PresentationML Macro-Enabled SlideShow (PPSM). |
| Pot | Microsoft PowerPoint 97-2003 Presentation Template (POT). |
| Potx | Microsoft Office Open XML PresentationML Macro-Free Template (POTX). |
| Potm | Microsoft Office Open XML PresentationML Macro-Enabled Template (POTM). |
| Odp | OpenDocument Presentation (ODP). |
| Otp | OpenDocument Presentation template (OTP). |
Methods
| Method | Description |
|---|---|
| getAll() | Gets an enumerable collection of all PresentationFormats. |
| fromExtension(String extension) | Retrieves an instance of the specified type PresentationFormats that has the specified file extension. |
| fromString(String extension) | Converts a string representing a file extension to a PresentationFormats object. |
Ppt
public static final PresentationFormats Ppt
Microsoft PowerPoint 97-2003 Presentation (PPT). Learn more about this file format here .
Ppt95
public static final PresentationFormats Ppt95
Microsoft PowerPoint 95 Presentation (PPT).
Pptx
public static final PresentationFormats Pptx
Microsoft Office Open XML PresentationML Macro-Free Document (PPTX). Learn more about this file format here .
Pptm
public static final PresentationFormats Pptm
Microsoft Office Open XML PresentationML Macro-Enabled Document (PPTM). Learn more about this file format here .
Pps
public static final PresentationFormats Pps
Microsoft PowerPoint 97-2003 SlideShow (PPS). Learn more about this file format here .
Ppsx
public static final PresentationFormats Ppsx
Microsoft Office Open XML PresentationML Macro-Free SlideShow (PPSX). Learn more about this file format here .
Ppsm
public static final PresentationFormats Ppsm
Microsoft Office Open XML PresentationML Macro-Enabled SlideShow (PPSM). Learn more about this file format here .
Pot
public static final PresentationFormats Pot
Microsoft PowerPoint 97-2003 Presentation Template (POT). Learn more about this file format here .
Potx
public static final PresentationFormats Potx
Microsoft Office Open XML PresentationML Macro-Free Template (POTX). Learn more about this file format here .
Potm
public static final PresentationFormats Potm
Microsoft Office Open XML PresentationML Macro-Enabled Template (POTM). Learn more about this file format here .
Odp
public static final PresentationFormats Odp
OpenDocument Presentation (ODP). Learn more about this file format here .
Otp
public static final PresentationFormats Otp
OpenDocument Presentation template (OTP). Learn more about this file format here .
getAll()
public static List<PresentationFormats> getAll()
Gets an enumerable collection of all PresentationFormats.
Value: An IEnumerable{PresentationFormats} containing all instances of PresentationFormats.
Returns: java.util.List<com.groupdocs.editor.formats.PresentationFormats>
fromExtension(String extension)
public static PresentationFormats fromExtension(String extension)
Retrieves an instance of the specified type PresentationFormats that has the specified file extension.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| extension | java.lang.String | The file extension of the document format. |
Returns: PresentationFormats - An instance of the specified type PresentationFormats with the specified file extension.
fromString(String extension)
public static PresentationFormats fromString(String extension)
Converts a string representing a file extension to a PresentationFormats object.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| extension | java.lang.String | The file extension to convert. If the extension contains multiple periods, the part after the last period is used. |
Returns: PresentationFormats - A PresentationFormats object corresponding to the specified file extension.