MarkdownExportType

Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum

public final class MarkdownExportType extends System.Enum

Type of rendering document.


Example:
 
 Presentation pres = new Presentation(presentationFileName);
 try {
     FileOutputStream stream = new FileOutputStream("MdFileForGitHubFlavor");
     try {
         MarkdownSaveOptions markdownSaveOptions = new MarkdownSaveOptions();
         markdownSaveOptions.setShowHiddenSlides(true);
         markdownSaveOptions.setShowSlideNumber(true);
         markdownSaveOptions.setFlavor(Flavor.Github);
         markdownSaveOptions.setExportType(MarkdownExportType.Sequential);
         markdownSaveOptions.setNewLineType(NewLineType.Windows);
         markdownSaveOptions.setBasePath(documentResourcesPath);

         pres.save(stream, new int[]{1, 2, 3, 4, 5, 6, 7, 8, 9}, SaveFormat.Md, markdownSaveOptions);
     } finally {
         if (stream != null) stream.close();
     }
 } catch (Exception e) {
 } finally {
     if (pres != null) pres.dispose();
 }

Fields

FieldDescription
SequentialRender all items separately.
TextOnlyRender only text.
VisualRender all items, items that are grouped - render together.

Sequential

public static final int Sequential

Render all items separately. One by one.

TextOnly

public static final int TextOnly

Render only text.

Visual

public static final int Visual

Render all items, items that are grouped - render together.