MarkdownSaveOptions

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

NameTypeAccessDescription
saveFormatintRead/WriteSpecifies the format in which the document will be saved if this save options object is used.
tableContentAlignmentintRead/WriteGets or sets a value that specifies how to align contents in tables when exporting into the SaveFormat.MARKDOWN format.
imagesFolderStringRead/WriteSpecifies the physical folder where images are saved when exporting a document to the SaveFormat.MARKDOWN format.
imagesFolderAliasStringRead/WriteSpecifies the name of the folder used to construct image URIs written into a document.
imageSavingCallbackIImageSavingCallbackRead/WriteAllows to control how images are saved when a document is saved to SaveFormat.MARKDOWN format.
resourceSavingCallbackIResourceSavingCallbackRead/WriteAllows to control how resources are saved when a document is exported to SaveFormat.MARKDOWN format.
exportImagesAsBase64booleanRead/WriteSpecifies whether images are saved in Base64 format to the output file.
listExportModeintRead/WriteSpecifies how list items will be written to the output file.
exportUnderlineFormattingbooleanRead/WriteGets or sets a boolean value indicating either to export underline text formatting as sequence of two plus characters “++”.
linkExportModeintRead/WriteSpecifies how links will be written to the output file.
officeMathExportModeintRead/WriteSpecifies how OfficeMath will be written to the output file.
exportAsHtmlintRead/WriteAllows to specify the elements to be exported to Markdown as raw HTML.
imageResolutionintRead/WriteSpecifies the output resolution for images when exporting to Markdown.
emptyParagraphExportModeintRead/WriteSpecifies how to export empty paragraphs to Markdown.
encodingjava.nio.charset.CharsetRead/WriteGets or sets the encoding.
paragraphBreakStringRead/WriteSpecifies the string to use as a paragraph break when exporting in text formats.
forcePageBreaksbooleanRead/WriteAllows to specify whether the page breaks should be preserved during export.
exportHeadersFootersModeintRead/WriteSpecifies the way headers and footers are exported to the text formats.
exportGeneratorNamebooleanRead/WriteWhen true, causes the name and version of Aspose.Words to be embedded into produced files.
tempFolderStringRead/WriteSpecifies the folder for temporary files used when saving to a DOC or DOCX file.
updateOleControlImagesbooleanRead/WriteGets or sets a value determining whether OLE controls presentation image will be updated.
prettyFormatbooleanRead/WriteWhen true, pretty formats output where applicable.
useAntiAliasingbooleanRead/WriteGets or sets a value determining whether or not to use anti-aliasing for rendering.
useHighQualityRenderingbooleanRead/WriteGets or sets a value determining whether or not to use high quality (i.e. slow) rendering algorithms.
dmlRenderingModeintRead/WriteGets or sets a value determining how DrawingML shapes are rendered.
dmlEffectsRenderingModeintRead/WriteGets or sets a value determining how DrawingML effects are rendered.
imlRenderingModeintRead/WriteGets or sets a value determining how ink (InkML) objects are rendered.
defaultTemplateStringRead/WriteGets or sets path to default template (including filename).
updateFieldsbooleanRead/WriteGets or sets a value determining if fields of certain types should be updated before saving the document to a fixed page format.
updateLastSavedTimePropertybooleanRead/WriteGets or sets a value determining whether the BuiltInDocumentProperties.getLastSavedTime() property is updated before saving.
updateLastPrintedPropertybooleanRead/WriteGets or sets a value determining whether the BuiltInDocumentProperties.getLastPrinted() property is updated before saving.
updateCreatedTimePropertybooleanRead/WriteGets or sets a value determining whether the BuiltInDocumentProperties.getCreatedTime() property is updated before saving.
memoryOptimizationbooleanRead/WriteGets or sets value determining if memory optimization should be performed before saving the document.
updateAmbiguousTextFontbooleanRead/WriteDetermines whether the font attributes will be changed according to the character code being used.
dml3DEffectsRenderingModeintRead/WriteGets or sets a value determining how 3D effects are rendered.
progressCallbackIDocumentSavingCallbackRead/WriteCalled during saving a document and accepts data about saving progress.
allowEmbeddingPostScriptFontsbooleanRead/WriteGets 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.
customTimeZoneInfoTimeZoneRead/WriteGets or sets custom local time zone used for date/time fields.

Methods

SignatureDescription
MarkdownSaveOptions()Initializes a new instance of this class that can be used to save a document in the SaveFormat.MARKDOWN format.
getSaveFormat() → intSpecifies 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() → intGets 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() → StringSpecifies 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() → StringSpecifies the name of the folder used to construct image URIs written into a document.
setImagesFolderAlias(value: String)Sets the images folder alias value.
getImageSavingCallback() → IImageSavingCallbackAllows 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() → IResourceSavingCallbackAllows 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() → booleanSpecifies whether images are saved in Base64 format to the output file.
setExportImagesAsBase64(value: boolean)Sets the export images as base64 value.
getListExportMode() → intSpecifies how list items will be written to the output file.
setListExportMode(value: int)Sets the list export mode value.
getExportUnderlineFormatting() → booleanGets 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() → intSpecifies how links will be written to the output file.
setLinkExportMode(value: int)Sets the link export mode value.
getOfficeMathExportMode() → intSpecifies how OfficeMath will be written to the output file.
setOfficeMathExportMode(value: int)Sets the office math export mode value.
getExportAsHtml() → intAllows to specify the elements to be exported to Markdown as raw HTML.
setExportAsHtml(value: int)Sets the export as html value.
getImageResolution() → intSpecifies the output resolution for images when exporting to Markdown.
setImageResolution(value: int)Sets the image resolution value.
getEmptyParagraphExportMode() → intSpecifies how to export empty paragraphs to Markdown.
setEmptyParagraphExportMode(value: int)Sets the empty paragraph export mode value.
getEncoding() → java.nio.charset.CharsetReturns the encoding.
setEncoding(value: java.nio.charset.Charset)Sets the encoding value.
getParagraphBreak() → StringSpecifies the string to use as a paragraph break when exporting in text formats.
setParagraphBreak(value: String)Sets the paragraph break value.
getForcePageBreaks() → booleanAllows to specify whether the page breaks should be preserved during export.
setForcePageBreaks(value: boolean)Sets the force page breaks value.
getExportHeadersFootersMode() → intSpecifies the way headers and footers are exported to the text formats.
setExportHeadersFootersMode(value: int)Sets the export headers footers mode value.
getExportGeneratorName() → booleanWhen 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() → StringSpecifies the folder for temporary files used when saving to a DOC or DOCX file.
setTempFolder(value: String)Sets the temp folder value.
getUpdateOleControlImages() → booleanGets or sets a value determining whether OLE controls presentation image will be updated.
setUpdateOleControlImages(value: boolean)Sets the update ole control images value.
getPrettyFormat() → booleanWhen true, pretty formats output where applicable.
setPrettyFormat(value: boolean)Sets the pretty format value.
getUseAntiAliasing() → booleanGets or sets a value determining whether or not to use anti-aliasing for rendering.
setUseAntiAliasing(value: boolean)Sets the use anti aliasing value.
getUseHighQualityRendering() → booleanGets 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() → intGets or sets a value determining how DrawingML shapes are rendered.
setDmlRenderingMode(value: int)Sets the dml rendering mode value.
getDmlEffectsRenderingMode() → intGets or sets a value determining how DrawingML effects are rendered.
setDmlEffectsRenderingMode(value: int)Sets the dml effects rendering mode value.
getImlRenderingMode() → intGets or sets a value determining how ink (InkML) objects are rendered.
setImlRenderingMode(value: int)Sets the iml rendering mode value.
getDefaultTemplate() → StringGets or sets path to default template (including filename).
setDefaultTemplate(value: String)Sets the default template value.
getUpdateFields() → booleanGets 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() → booleanGets 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() → booleanGets 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() → booleanGets 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() → booleanGets or sets value determining if memory optimization should be performed before saving the document.
setMemoryOptimization(value: boolean)Sets the memory optimization value.
getUpdateAmbiguousTextFont() → booleanDetermines 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) → SaveOptionsCreates a save options object of a class suitable for the specified save format.
createSaveOptions(fileName: String) → SaveOptionsCreates a save options object of a class suitable for the file extension specified in the given file name.
getDml3DEffectsRenderingMode() → intGets or sets a value determining how 3D effects are rendered.
setDml3DEffectsRenderingMode(value: int)Sets the dml3 d effects rendering mode value.
getProgressCallback() → IDocumentSavingCallbackCalled during saving a document and accepts data about saving progress.
setProgressCallback(value: IDocumentSavingCallback)Sets the progress callback value.
getAllowEmbeddingPostScriptFonts() → booleanGets 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() → TimeZoneGets or sets custom local time zone used for date/time fields.
setCustomTimeZoneInfo(value: TimeZone)Sets the custom time zone info value.

See Also