MarkdownSaveOptions
Overview
MarkdownSaveOptions is a class in Aspose.Words FOSS for Java.
Inherits from: TxtSaveOptionsBase.
Class to specify additional options when saving a document into the SaveFormat.MARKDOWN format.
Edition status of its 116 listed members (a property and its accessor methods are listed separately, overloads once): 115 not yet exercised by a verified example.
This class declares 79 methods for MarkdownSaveOptions objects in Java programs.
Available methods include: MarkdownSaveOptions, createSaveOptions, getAllowEmbeddingPostScriptFonts, getCustomTimeZoneInfo, getDefaultTemplate, getDml3DEffectsRenderingMode, getDmlEffectsRenderingMode, getDmlRenderingMode, getEmptyParagraphExportMode, getEncoding, getExportAsHtml, getExportGeneratorName, and 66 additional methods.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: allowEmbeddingPostScriptFonts, customTimeZoneInfo, defaultTemplate, dml3DEffectsRenderingMode, dmlEffectsRenderingMode, dmlRenderingMode, and 32 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
saveFormat | int | Read/Write | Specifies the format in which the document will be saved if this save options object is used. |
tableContentAlignment | int | Read/Write | Gets or sets a value that specifies how to align contents in tables when exporting into the SaveFormat.MARKDOWN format. |
imagesFolder | String | Read/Write | Specifies the physical folder where images are saved when exporting a document to the SaveFormat.MARKDOWN format. |
imagesFolderAlias | String | Read/Write | Specifies the name of the folder used to construct image URIs written into a document. |
imageSavingCallback | IImageSavingCallback | Read/Write | Allows to control how images are saved when a document is saved to SaveFormat.MARKDOWN format. |
resourceSavingCallback | IResourceSavingCallback | Read/Write | Allows to control how resources are saved when a document is exported to SaveFormat.MARKDOWN format. |
exportImagesAsBase64 | boolean | Read/Write | Specifies whether images are saved in Base64 format to the output file. |
listExportMode | int | Read/Write | Specifies how list items will be written to the output file. |
exportUnderlineFormatting | boolean | Read/Write | Gets or sets a boolean value indicating either to export underline text formatting as sequence of two plus characters “++”. |
linkExportMode | int | Read/Write | Specifies how links will be written to the output file. |
officeMathExportMode | int | Read/Write | Specifies how OfficeMath will be written to the output file. |
exportAsHtml | int | Read/Write | Allows to specify the elements to be exported to Markdown as raw HTML. |
imageResolution | int | Read/Write | Specifies the output resolution for images when exporting to Markdown. |
emptyParagraphExportMode | int | Read/Write | Specifies how to export empty paragraphs to Markdown. |
encoding | java.nio.charset.Charset | Read/Write | Gets or sets the encoding. |
paragraphBreak | String | Read/Write | Specifies the string to use as a paragraph break when exporting in text formats. |
forcePageBreaks | boolean | Read/Write | Allows to specify whether the page breaks should be preserved during export. |
exportHeadersFootersMode | int | Read/Write | Specifies the way headers and footers are exported to the text formats. |
exportGeneratorName | boolean | Read/Write | When true, causes the name and version of Aspose.Words to be embedded into produced files. |
tempFolder | String | Read/Write | Specifies the folder for temporary files used when saving to a DOC or DOCX file. |
updateOleControlImages | boolean | Read/Write | Gets or sets a value determining whether OLE controls presentation image will be updated. |
prettyFormat | boolean | Read/Write | When true, pretty formats output where applicable. |
useAntiAliasing | boolean | Read/Write | Gets or sets a value determining whether or not to use anti-aliasing for rendering. |
useHighQualityRendering | boolean | Read/Write | Gets or sets a value determining whether or not to use high quality (i.e. slow) rendering algorithms. |
dmlRenderingMode | int | Read/Write | Gets or sets a value determining how DrawingML shapes are rendered. |
dmlEffectsRenderingMode | int | Read/Write | Gets or sets a value determining how DrawingML effects are rendered. |
imlRenderingMode | int | Read/Write | Gets or sets a value determining how ink (InkML) objects are rendered. |
defaultTemplate | String | Read/Write | Gets or sets path to default template (including filename). |
updateFields | boolean | Read/Write | Gets or sets a value determining if fields of certain types should be updated before saving the document to a fixed page format. |
updateLastSavedTimeProperty | boolean | Read/Write | Gets or sets a value determining whether the BuiltInDocumentProperties.getLastSavedTime() property is updated before saving. |
updateLastPrintedProperty | boolean | Read/Write | Gets or sets a value determining whether the BuiltInDocumentProperties.getLastPrinted() property is updated before saving. |
updateCreatedTimeProperty | boolean | Read/Write | Gets or sets a value determining whether the BuiltInDocumentProperties.getCreatedTime() property is updated before saving. |
memoryOptimization | boolean | Read/Write | Gets or sets value determining if memory optimization should be performed before saving the document. |
updateAmbiguousTextFont | boolean | Read/Write | Determines whether the font attributes will be changed according to the character code being used. |
dml3DEffectsRenderingMode | int | Read/Write | Gets or sets a value determining how 3D effects are rendered. |
progressCallback | IDocumentSavingCallback | Read/Write | Called during saving a document and accepts data about saving progress. |
allowEmbeddingPostScriptFonts | boolean | Read/Write | Gets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. |
customTimeZoneInfo | TimeZone | Read/Write | Gets or sets custom local time zone used for date/time fields. |
Methods
| Signature | Description |
|---|---|
MarkdownSaveOptions() | Initializes a new instance of this class that can be used to save a document in the SaveFormat.MARKDOWN format. |
getSaveFormat() → int | Specifies the format in which the document will be saved if this save options object is used. |
setSaveFormat(value: int) | Sets the save format value. |
getTableContentAlignment() → int | Gets or sets a value that specifies how to align contents in tables when exporting into the SaveFormat.MARKDOWN format. |
setTableContentAlignment(value: int) | Sets the table content alignment value. |
getImagesFolder() → String | Specifies the physical folder where images are saved when exporting a document to the SaveFormat.MARKDOWN format. |
setImagesFolder(value: String) | Sets the images folder value. |
getImagesFolderAlias() → String | Specifies the name of the folder used to construct image URIs written into a document. |
setImagesFolderAlias(value: String) | Sets the images folder alias value. |
getImageSavingCallback() → IImageSavingCallback | Allows to control how images are saved when a document is saved to SaveFormat.MARKDOWN format. |
setImageSavingCallback(value: IImageSavingCallback) | Sets the image saving callback value. |
getResourceSavingCallback() → IResourceSavingCallback | Allows to control how resources are saved when a document is exported to SaveFormat.MARKDOWN format. |
setResourceSavingCallback(value: IResourceSavingCallback) | Sets the resource saving callback value. |
getExportImagesAsBase64() → boolean | Specifies whether images are saved in Base64 format to the output file. |
setExportImagesAsBase64(value: boolean) | Sets the export images as base64 value. |
getListExportMode() → int | Specifies how list items will be written to the output file. |
setListExportMode(value: int) | Sets the list export mode value. |
getExportUnderlineFormatting() → boolean | Gets or sets a boolean value indicating either to export underline text formatting as sequence of two plus characters “++”. |
setExportUnderlineFormatting(value: boolean) | Sets the export underline formatting value. |
getLinkExportMode() → int | Specifies how links will be written to the output file. |
setLinkExportMode(value: int) | Sets the link export mode value. |
getOfficeMathExportMode() → int | Specifies how OfficeMath will be written to the output file. |
setOfficeMathExportMode(value: int) | Sets the office math export mode value. |
getExportAsHtml() → int | Allows to specify the elements to be exported to Markdown as raw HTML. |
setExportAsHtml(value: int) | Sets the export as html value. |
getImageResolution() → int | Specifies the output resolution for images when exporting to Markdown. |
setImageResolution(value: int) | Sets the image resolution value. |
getEmptyParagraphExportMode() → int | Specifies how to export empty paragraphs to Markdown. |
setEmptyParagraphExportMode(value: int) | Sets the empty paragraph export mode value. |
getEncoding() → java.nio.charset.Charset | Returns the encoding. |
setEncoding(value: java.nio.charset.Charset) | Sets the encoding value. |
getParagraphBreak() → String | Specifies the string to use as a paragraph break when exporting in text formats. |
setParagraphBreak(value: String) | Sets the paragraph break value. |
getForcePageBreaks() → boolean | Allows to specify whether the page breaks should be preserved during export. |
setForcePageBreaks(value: boolean) | Sets the force page breaks value. |
getExportHeadersFootersMode() → int | Specifies the way headers and footers are exported to the text formats. |
setExportHeadersFootersMode(value: int) | Sets the export headers footers mode value. |
getExportGeneratorName() → boolean | When true, causes the name and version of Aspose.Words to be embedded into produced files. |
setExportGeneratorName(value: boolean) | Sets the export generator name value. |
getTempFolder() → String | Specifies the folder for temporary files used when saving to a DOC or DOCX file. |
setTempFolder(value: String) | Sets the temp folder value. |
getUpdateOleControlImages() → boolean | Gets or sets a value determining whether OLE controls presentation image will be updated. |
setUpdateOleControlImages(value: boolean) | Sets the update ole control images value. |
getPrettyFormat() → boolean | When true, pretty formats output where applicable. |
setPrettyFormat(value: boolean) | Sets the pretty format value. |
getUseAntiAliasing() → boolean | Gets or sets a value determining whether or not to use anti-aliasing for rendering. |
setUseAntiAliasing(value: boolean) | Sets the use anti aliasing value. |
getUseHighQualityRendering() → boolean | Gets or sets a value determining whether or not to use high quality (i.e. slow) rendering algorithms. |
setUseHighQualityRendering(value: boolean) | Sets the use high quality rendering value. |
getDmlRenderingMode() → int | Gets or sets a value determining how DrawingML shapes are rendered. |
setDmlRenderingMode(value: int) | Sets the dml rendering mode value. |
getDmlEffectsRenderingMode() → int | Gets or sets a value determining how DrawingML effects are rendered. |
setDmlEffectsRenderingMode(value: int) | Sets the dml effects rendering mode value. |
getImlRenderingMode() → int | Gets or sets a value determining how ink (InkML) objects are rendered. |
setImlRenderingMode(value: int) | Sets the iml rendering mode value. |
getDefaultTemplate() → String | Gets or sets path to default template (including filename). |
setDefaultTemplate(value: String) | Sets the default template value. |
getUpdateFields() → boolean | Gets or sets a value determining if fields of certain types should be updated before saving the document to a fixed page format. |
setUpdateFields(value: boolean) | Sets the update fields value. |
getUpdateLastSavedTimeProperty() → boolean | Gets or sets a value determining whether the BuiltInDocumentProperties.getLastSavedTime() property is updated before saving. |
setUpdateLastSavedTimeProperty(value: boolean) | Sets the update last saved time property value. |
getUpdateLastPrintedProperty() → boolean | Gets or sets a value determining whether the BuiltInDocumentProperties.getLastPrinted() property is updated before saving. |
setUpdateLastPrintedProperty(value: boolean) | Sets the update last printed property value. |
getUpdateCreatedTimeProperty() → boolean | Gets or sets a value determining whether the BuiltInDocumentProperties.getCreatedTime() property is updated before saving. |
setUpdateCreatedTimeProperty(value: boolean) | Sets the update created time property value. |
getMemoryOptimization() → boolean | Gets or sets value determining if memory optimization should be performed before saving the document. |
setMemoryOptimization(value: boolean) | Sets the memory optimization value. |
getUpdateAmbiguousTextFont() → boolean | Determines whether the font attributes will be changed according to the character code being used. |
setUpdateAmbiguousTextFont(value: boolean) | Sets the update ambiguous text font value. |
createSaveOptions(saveFormat: int) → SaveOptions | Creates a save options object of a class suitable for the specified save format. |
createSaveOptions(fileName: String) → SaveOptions | Creates a save options object of a class suitable for the file extension specified in the given file name. |
getDml3DEffectsRenderingMode() → int | Gets or sets a value determining how 3D effects are rendered. |
setDml3DEffectsRenderingMode(value: int) | Sets the dml3 d effects rendering mode value. |
getProgressCallback() → IDocumentSavingCallback | Called during saving a document and accepts data about saving progress. |
setProgressCallback(value: IDocumentSavingCallback) | Sets the progress callback value. |
getAllowEmbeddingPostScriptFonts() → boolean | Gets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. |
setAllowEmbeddingPostScriptFonts(value: boolean) | Sets the allow embedding post script fonts value. |
getCustomTimeZoneInfo() → TimeZone | Gets or sets custom local time zone used for date/time fields. |
setCustomTimeZoneInfo(value: TimeZone) | Sets the custom time zone info value. |