IPptxOptions

All Implemented Interfaces: com.aspose.slides.ISaveOptions

public interface IPptxOptions extends ISaveOptions

Represents options for saving OpenXml presentations (PPTX, PPSX, POTX, PPTM, PPSM, POTM).

Methods

MethodDescription
getConformance()Specifies the conformance class to which the Presentation document conforms.
setConformance(int value)Specifies the conformance class to which the Presentation document conforms.
getZip64Mode()Specifies whether the ZIP64 format is used for the Presentation document.
setZip64Mode(int value)Specifies whether the ZIP64 format is used for the Presentation document.

getConformance()

public abstract int getConformance()

Specifies the conformance class to which the Presentation document conforms. Default value is Conformance.Ecma376_2006

Returns: int

setConformance(int value)

public abstract void setConformance(int value)

Specifies the conformance class to which the Presentation document conforms. Default value is Conformance.Ecma376_2006

Parameters:

ParameterTypeDescription
valueint

getZip64Mode()

public abstract int getZip64Mode()

Specifies whether the ZIP64 format is used for the Presentation document. The default value is Zip64Mode.IfNecessary


Example:
 
 Presentation pres = new Presentation("demo.pptx");
 try {
     PptxOptions pptxOptions = new PptxOptions();
     pptxOptions.setZip64Mode(Zip64Mode.Always);
     pres.save("demo-zip64.pptx", SaveFormat.Pptx, pptxOptions);
 } finally {
     if (pres != null) pres.dispose();
 }

Returns: int

setZip64Mode(int value)

public abstract void setZip64Mode(int value)

Specifies whether the ZIP64 format is used for the Presentation document. The default value is Zip64Mode.IfNecessary


Example:
 
 Presentation pres = new Presentation("demo.pptx");
 try {
     PptxOptions pptxOptions = new PptxOptions();
     pptxOptions.setZip64Mode(Zip64Mode.Always);
     pres.save("demo-zip64.pptx", SaveFormat.Pptx, pptxOptions);
 } finally {
     if (pres != null) pres.dispose();
 }

Parameters:

ParameterTypeDescription
valueint