NewLineType
Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum
public final class NewLineType extends System.Enum
Type of new line that will be used in generated 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
Field | Description |
---|---|
Windows | |
Unix | |
Mac | Mac (OS 9) new line - \\r |
Windows
public static final int Windows
Unix
public static final int Unix
Mac
public static final int Mac
Mac (OS 9) new line - \\r