IXamlOptions

All Implemented Interfaces: com.aspose.slides.ISaveOptions

public interface IXamlOptions extends ISaveOptions

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();
 }

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.

getExportHiddenSlides()

public abstract 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 abstract 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 abstract IXamlOutputSaver getOutputSaver()

Represents an implementation of IOutputSaver interface.

Returns: IXamlOutputSaver

setOutputSaver(IXamlOutputSaver value)

public abstract void setOutputSaver(IXamlOutputSaver value)

Represents an implementation of IOutputSaver interface.

Parameters:

ParameterTypeDescription
valueIXamlOutputSaver