The WdSaveFormat enumeration specifies the format to use when saving the document. Version information added version: Name value description wdformatdocument 0 Microsoft Word format. wdFormatDOSText 4 Microsoft DOS text format. wdFormatDOSTextLineBreaks 5 Microsoft DOS text format and preserves line breaks. Wdformatencodedtext 7 encoded text format. wdformatfilteredhtml 10 Filtered HTML format. wdFormatHTML 8 Standard HTML format. WDFORMATRTF 6 RTF format. wdFormatTemplate 1 Word template format. Wdformattext 2 Microsoft Windows text format. Wdformattextlinebreaks 3 Windows Text format and preserves line breaks. Wdformatunicodetext 7 Unicode Text format. Wdformatwebarchive 9 Web archive format. Wdformatxml 11 Extensible Markup Language (XML) format. WdFormatDocument97 0 Microsoft Word 97 document format. Wdformatdocumentdefault Word Default document file format. For Word 2010, this is the DOCX format. Wdformatpdf PDF format. WDFORMATTEMPLATE97 1 Word 97 template format. Wdformatxmldocument XML Document Format。 Wdformatxmldocumentmacroenabled 13 enables the XML document format for macros. Wdformatxmltemplate XML template format. Wdformatxmltemplatemacroenabled 15 enables the XML template format for macros. Wdformatxps XPS format.
[Python Study Notes]wdsaveformat enumeration