public final class MarkdownSaveOptions extends Object implements ISaveOptions
Allows to specify custom options for generating and saving Markdown documents
| Constructor and Description |
|---|
MarkdownSaveOptions() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getExportImagesAsBase64()
Specifies whether images are saved in Base64 format to the output file.
|
String |
getImagesFolder()
Specifies the physical folder where images are saved when exporting a document to
the Markdown format.
|
boolean |
getOptimizeMemoryUsage()
Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage.
|
int |
getTableContentAlignment()
Allow specifies how to align contents in tables when exporting into the Markdown format.
|
void |
setExportImagesAsBase64(boolean value)
Specifies whether images are saved in Base64 format to the output file.
|
void |
setImagesFolder(String value)
Specifies the physical folder where images are saved when exporting a document to
the Markdown format.
|
void |
setOptimizeMemoryUsage(boolean value)
Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage.
|
void |
setTableContentAlignment(int value)
Allow specifies how to align contents in tables when exporting into the Markdown format.
|
public final boolean getExportImagesAsBase64()
Specifies whether images are saved in Base64 format to the output file. Default is false.
true, then images data are exported directly into the
image elements ![]() and separate files are not created. This property, if set to true, has the higher priority than the MarkdownSaveOptions.ImagesFolder(getImagesFolder()/setImagesFolder(String)) property.public final String getImagesFolder()
Specifies the physical folder where images are saved when exporting a document to the Markdown format. Default is null.
ImagesFolder(getImagesFolder()/setImagesFolder(String)) nor ExportImagesAsBase64(getExportImagesAsBase64()/setExportImagesAsBase64(boolean)) are specified by the user, then the GroupDocs.Editor will try to determine the ImagesFolder(getImagesFolder()/setImagesFolder(String)) by itself and apply it on successpublic final boolean getOptimizeMemoryUsage()
Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage.
Setting this option to true can significantly decrease memory consumption while generating large documents at the cost of slower saving time.
Default is false (memory optimization is disabled for the sake of better performance).
public final int getTableContentAlignment()
Allow specifies how to align contents in tables when exporting into the Markdown format.
The default value is MarkdownTableContentAlignment.Auto.
public final void setExportImagesAsBase64(boolean value)
Specifies whether images are saved in Base64 format to the output file. Default is false.
true, then images data are exported directly into the
image elements ![]() and separate files are not created. This property, if set to true, has the higher priority than the MarkdownSaveOptions.ImagesFolder(getImagesFolder()/setImagesFolder(String)) property.public final void setImagesFolder(String value)
Specifies the physical folder where images are saved when exporting a document to the Markdown format. Default is null.
ImagesFolder(getImagesFolder()/setImagesFolder(String)) nor ExportImagesAsBase64(getExportImagesAsBase64()/setExportImagesAsBase64(boolean)) are specified by the user, then the GroupDocs.Editor will try to determine the ImagesFolder(getImagesFolder()/setImagesFolder(String)) by itself and apply it on successpublic final void setOptimizeMemoryUsage(boolean value)
Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage.
Setting this option to true can significantly decrease memory consumption while generating large documents at the cost of slower saving time.
Default is false (memory optimization is disabled for the sake of better performance).
public final void setTableContentAlignment(int value)
Allow specifies how to align contents in tables when exporting into the Markdown format.
The default value is MarkdownTableContentAlignment.Auto.
Copyright © 2024. All rights reserved.