com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class XamlOptions

  • All Implemented Interfaces:
    ISaveOptions, 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();
     }
     
    • Constructor Detail

      • XamlOptions

        public XamlOptions()

        Creates the XamlOptions instance.

    • Method Detail

      • 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();
         }
         
        Specified by:
        getExportHiddenSlides in interface IXamlOptions
      • setExportHiddenSlides

        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();
         }
         
        Specified by:
        setExportHiddenSlides in interface IXamlOptions