Edit

Share via


Word.FileSaveFormat enum

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Represents the file format to use when saving a document.

Remarks

[ API set: WordApi BETA (PREVIEW ONLY) ]

Fields

document = "Document"

Represents Microsoft Office Word 97 - 2003 binary file format.

documentDefault = "DocumentDefault"

Represents Word default document file format. For Word, this is the DOCX format.

dosText = "DosText"

Represents Microsoft DOS text format.

dosTextLineBreaks = "DosTextLineBreaks"

Represents Microsoft DOS text with line breaks preserved.

filteredHtml = "FilteredHtml"

Represents filtered HTML format.

flatXml = "FlatXml"

Represents Open XML file format saved as a single XML file.

flatXmlMacroEnabled = "FlatXmlMacroEnabled"

Represents Open XML file format with macros enabled saved as a single XML file.

flatXmlTemplate = "FlatXmlTemplate"

Represents Open XML template format saved as a single XML file.

flatXmlTemplateMacroEnabled = "FlatXmlTemplateMacroEnabled"

Represents Open XML template format with macros enabled saved as a single XML file.

html = "Html"

Represents standard HTML format.

openDocumentText = "OpenDocumentText"

Represents OpenDocument Text format.

pdf = "Pdf"

Represents PDF format.

rtf = "Rtf"

Represents Rich Text Format (RTF).

strictOpenXmlDocument = "StrictOpenXmlDocument"

Represents Strict Open XML document format.

template = "Template"

Represents Word template format.

text = "Text"

Represents Microsoft Windows text format.

textLineBreaks = "TextLineBreaks"

Represents Windows text format with line breaks preserved.

unicodeText = "UnicodeText"

Represents Unicode text format.

webArchive = "WebArchive"

Represents Web archive format.

xml = "Xml"

Represents Extensible Markup Language (XML) format.

xmlDocument = "XmlDocument"

Represents XML document format.

xmlDocumentMacroEnabled = "XmlDocumentMacroEnabled"

Represents XML document format with macros enabled.

xmlTemplate = "XmlTemplate"

Represents XML template format.

xmlTemplateMacroEnabled = "XmlTemplateMacroEnabled"

Represents XML template format with macros enabled.

xps = "Xps"

Represents XPS format.