public enum PresentationFormat extends Enum<PresentationFormat> implements IEnumValue
Defines various presentation subformats.
| Enum Constant and Description |
|---|
Pot
Represents the .POT PowerPoint format.
|
Potm
Represents the .POTM PowerPoint format.
|
Potx
Represents the .POTX PowerPoint format.
|
Pps
Represents the .PPS PowerPoint format.
|
Ppsm
Represents the .PPSM PowerPoint format.
|
Ppsx
Represents the .PPSX PowerPoint format.
|
Ppt
Represents the .PPT PowerPoint format.
|
Pptm
Represents the .PPTM PowerPoint format.
|
Pptx
Represents the .PPTX PowerPoint format.
|
Unknown
The format is not recognized.
|
| Modifier and Type | Method and Description |
|---|---|
Object[] |
getAllValues()
Returns the array of all values defined in the class.
|
static PresentationFormat |
getByRawValue(int rawValue) |
IEnumValue |
getEnumValueByName(String name)
Returns the enumeration value by its name.
|
IEnumValue |
getEnumValueByRawValue(int rawValue)
Returns the enumeration value by the raw value associated with it.
|
static IEnumValue |
getFirst() |
int |
getRawValue()
Returns the raw value of this enumeration value.
|
RawIntegerType |
getRawValueType()
Returns the underlying type of the raw value of this enumeration value.
|
static PresentationFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PresentationFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfnamepublic static final PresentationFormat Pot
Represents the .POT PowerPoint format.
Files with .POT extension represent Microsoft PowerPoint template files created by PowerPoint 97-2003 versions.
Files created with these versions of Microsoft PowerPoint are in binary format as compared to those created in Office OpenXML
file formats using the higher versions of PowerPoint.
Learn more about this file format <a target="_blank" href="https://wiki.fileformat.com/presentation/pot/">here</a>.
public static final PresentationFormat Potm
Represents the .POTM PowerPoint format.
Files with POTM extension are Microsoft PowerPoint template files with support for Macros.
POTM files are created with PowerPoint 2007 or above and contains default settings that can be used to create further presentation files.
Learn more about this file format <a target="_blank" href="https://wiki.fileformat.com/presentation/potm/">here</a>.
public static final PresentationFormat Potx
Represents the .POTX PowerPoint format.
Files with .POTX extension represent Microsoft PowerPoint template presentations that are created with Microsoft PowerPoint 2007 and above.
This format was created to replace the POT file format that is based on the binary file format and is supported with PowerPoint 97-2003.
Learn more about this file format <a target="_blank" href="https://wiki.fileformat.com/presentation/potx/">here</a>.
public static final PresentationFormat Pps
Represents the .PPS PowerPoint format.
PPS, PowerPoint Slide Show, files are created using Microsoft PowerPoint for Slide Show purpose. PPS file reading and creation is supported by Microsoft PowerPoint 97-2003.
Learn more about this file format <a target="_blank" href="https://wiki.fileformat.com/presentation/pps/">here</a>.
public static final PresentationFormat Ppsm
Represents the .PPSM PowerPoint format.
Files with PPSM extension represent Macro-enabled Slide Show file format created with Microsoft PowerPoint 2007 or higher.
Another similar file format is PPTM which differs in opening with Microsoft PowerPoint in editable format instead of running as Slide Show
Learn more about this file format <a target="_blank" href="https://wiki.fileformat.com/presentation/ppsm/">here</a>.
public static final PresentationFormat Ppsx
Represents the .PPSX PowerPoint format.
PPSX, Power Point Slide Show, files are created using Microsoft PowerPoint 2007 and above for Slide Show purpose.
It is an update to the PPS file format that was supported by Microsoft PowerPoint 97-2003 versions.
Learn more about this file format <a target="_blank" href="https://wiki.fileformat.com/presentation/ppsx/">here</a>.
public static final PresentationFormat Ppt
Represents the .PPT PowerPoint format.
A file with PPT extension represents PowerPoint file that consists of a collection of slides for displaying as SlideShow.
It specifies the Binary File Format used by Microsoft PowerPoint 97-2003. A PPT file can contain several different types of information such as text,
bulleted points, images, multimedia and other embedded OLE objects.
Learn more about this file format <a target="_blank" href="https://wiki.fileformat.com/presentation/ppt/">here</a>.
public static final PresentationFormat Pptm
Represents the .PPTM PowerPoint format.
Files with PPTM extension are Macro-enabled Presentation files that are created with Microsoft PowerPoint 2007 or higher versions.
They are similar to PPTX files with the difference that the lateral can't execute macros though they can contain macros.
Learn more about this file format <a target="_blank" href="https://wiki.fileformat.com/presentation/pptm/">here</a>.
public static final PresentationFormat Pptx
Represents the .PPTX PowerPoint format.
Files with PPTX extension are presentation files created with popular Microsoft PowerPoint application.
Unlike the previous version of presentation file format PPT which was binary, the PPTX format is based on the Microsoft PowerPoint open XML presentation file format.
Learn more about this file format <a target="_blank" href="https://wiki.fileformat.com/presentation/pptx/">here</a>.
public static final PresentationFormat Unknown
The format is not recognized.
public Object[] getAllValues()
IEnumValueReturns the array of all values defined in the class.
getAllValues in interface IEnumValuepublic static PresentationFormat getByRawValue(int rawValue)
public IEnumValue getEnumValueByName(String name)
IEnumValueReturns the enumeration value by its name.
getEnumValueByName in interface IEnumValuename - The name of the enumeration value.public IEnumValue getEnumValueByRawValue(int rawValue)
IEnumValueReturns the enumeration value by the raw value associated with it.
getEnumValueByRawValue in interface IEnumValuerawValue - The raw value.public static IEnumValue getFirst()
public int getRawValue()
IEnumValueReturns the raw value of this enumeration value.
getRawValue in interface IEnumValuepublic RawIntegerType getRawValueType()
IEnumValueReturns the underlying type of the raw value of this enumeration value.
getRawValueType in interface IEnumValuepublic static PresentationFormat valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static PresentationFormat[] values()
for (PresentationFormat c : PresentationFormat.values()) System.out.println(c);
Copyright © 2026. All rights reserved.