public class PptOptions extends SaveOptions implements IPptOptions, java.lang.Cloneable
Provides options that control how a presentation is saved in PPT format.
| Constructor and Description |
|---|
PptOptions() |
| Modifier and Type | Method and Description |
|---|---|
java.util.UUID |
getRootDirectoryClsid()
Represents the object class GUID (CLSID) that is stored in the root directory entry.
|
void |
setRootDirectoryClsid(java.util.UUID value)
Represents the object class GUID (CLSID) that is stored in the root directory entry.
|
getDefaultRegularFont, getGradientStyle, getProgressCallback, getSkipJavaScriptLinks, getWarningCallback, setDefaultRegularFont, setGradientStyle, setProgressCallback, setSkipJavaScriptLinks, setWarningCallbackequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultRegularFont, getGradientStyle, getProgressCallback, getSkipJavaScriptLinks, getWarningCallback, setDefaultRegularFont, setGradientStyle, setProgressCallback, setSkipJavaScriptLinks, setWarningCallbackpublic final java.util.UUID getRootDirectoryClsid()
Represents the object class GUID (CLSID) that is stored in the root directory entry. Can be used for COM activation of the document's application. The default value is '64818D11-4F9B-11CF-86EA-00AA00B929E8' that corresponds to 'Microsoft Powerpoint.Slide.8'.
Presentation pres = new Presentation(); try { PptOptions pptOptions = new PptOptions(); /// set CLSID to 'Microsoft Powerpoint.Show.8' pptOptions.setRootDirectoryClsid(UUID.fromString("64818D10-4F9B-11CF-86EA-00AA00B929E8")); pres.save("pres.ppt", SaveFormat.Ppt, pptOptions); } finally { if (pres != null) pres.dispose(); }
getRootDirectoryClsid in interface IPptOptionspublic final void setRootDirectoryClsid(java.util.UUID value)
Represents the object class GUID (CLSID) that is stored in the root directory entry. Can be used for COM activation of the document's application. The default value is '64818D11-4F9B-11CF-86EA-00AA00B929E8' that corresponds to 'Microsoft Powerpoint.Slide.8'.
Presentation pres = new Presentation(); try { PptOptions pptOptions = new PptOptions(); /// set CLSID to 'Microsoft Powerpoint.Show.8' pptOptions.setRootDirectoryClsid(UUID.fromString("64818D10-4F9B-11CF-86EA-00AA00B929E8")); pres.save("pres.ppt", SaveFormat.Ppt, pptOptions); } finally { if (pres != null) pres.dispose(); }
setRootDirectoryClsid in interface IPptOptionsCopyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.