XamlOptions

Inheritance: java.lang.Object, com.aspose.slides.SaveOptions

All Implemented Interfaces: com.aspose.slides.IXamlOptions

public class XamlOptions extends SaveOptions implements IXamlOptions

Options that control how a XAML document is saved.


Presentation pres = new Presentation("pres.pptx");
 try {
     XamlOptions xamlOptions = new XamlOptions();
     xamlOptions.setExportHiddenSlides(true);

     pres.save(xamlOptions);
 } finally {
     if (pres != null) pres.dispose();
 }

Constructors

ConstructorDescription
XamlOptions()Creates the XamlOptions instance.

Methods

MethodDescription
getExportHiddenSlides()Determines whether hidden slides will be exported.
setExportHiddenSlides(boolean value)Determines whether hidden slides will be exported.
getOutputSaver()Represents an implementation of IOutputSaver interface.
setOutputSaver(IXamlOutputSaver value)Represents an implementation of IOutputSaver interface.

XamlOptions()

public XamlOptions()

Creates the XamlOptions instance.

getExportHiddenSlides()

public final boolean getExportHiddenSlides()

Determines whether hidden slides will be exported.


Presentation pres = new Presentation("pres.pptx");
 try {
     XamlOptions xamlOptions = new XamlOptions();
     xamlOptions.setExportHiddenSlides(true);

     pres.save(xamlOptions);
 } finally {
     if (pres != null) pres.dispose();
 }

Returns: boolean

setExportHiddenSlides(boolean value)

public final void setExportHiddenSlides(boolean value)

Determines whether hidden slides will be exported.


Presentation pres = new Presentation("pres.pptx");
 try {
     XamlOptions xamlOptions = new XamlOptions();
     xamlOptions.setExportHiddenSlides(true);

     pres.save(xamlOptions);
 } finally {
     if (pres != null) pres.dispose();
 }

Parameters:

ParameterTypeDescription
valueboolean

getOutputSaver()

public final IXamlOutputSaver getOutputSaver()

Represents an implementation of IOutputSaver interface.

Returns: IXamlOutputSaver

setOutputSaver(IXamlOutputSaver value)

public final void setOutputSaver(IXamlOutputSaver value)

Represents an implementation of IOutputSaver interface.

Parameters:

ParameterTypeDescription
valueIXamlOutputSaver