public final class NewLineType
extends com.aspose.ms.System.Enum
Type of new line that will be used in generated document.
ExamplePresentation 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(); }
| Modifier and Type | Field and Description |
|---|---|
static int |
Mac
Mac (OS 9) new line - \\r
|
static int |
Unix |
static int |
Windows |
Clone, CloneTo, format, format, get_Caption, get_Value, getName, getName, getNames, getNames, getUnderlyingType, getUnderlyingType, getValue, getValues, isDefined, isDefined, isDefined, isDefined, parse, parse, parse, parse, register, toObject, toStringpublic static final int Windows
public static final int Unix
public static final int Mac
Mac (OS 9) new line - \\r
Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.