Edit

Share via


WdOpenFormat Enum

Definition

Specifies the format to use when opening a document.

public enum class WdOpenFormat
[System.Runtime.InteropServices.Guid("9C1B95DA-5F16-303B-8B1C-9C846D96DE8E")]
public enum WdOpenFormat
type WdOpenFormat = 
Public Enum WdOpenFormat
Inheritance
WdOpenFormat
Attributes

Fields

Name Value Description
wdOpenFormatAuto 0

The existing format.

wdOpenFormatDocument 1

Microsoft Word format.

wdOpenFormatDocument97 1

Microsoft Word 97 document format.

wdOpenFormatTemplate 2

As a Microsoft Word template.

wdOpenFormatTemplate97 2

Word 97 template format.

wdOpenFormatRTF 3

Rich text format (RTF).

wdOpenFormatText 4

Unencoded text format.

wdOpenFormatEncodedText 5

Encoded text format.

wdOpenFormatUnicodeText 5

Unicode text format.

wdOpenFormatAllWord 6

A Microsoft Word format that is backward compatible with earlier versions of Microsoft Word.

wdOpenFormatWebPages 7

HTML format.

wdOpenFormatXML 8

XML format.

wdOpenFormatXMLDocument 9

XML document format.

wdOpenFormatXMLDocumentMacroEnabled 10

XML document format with macros enabled.

wdOpenFormatXMLTemplate 11

XML template format.

wdOpenFormatXMLTemplateMacroEnabled 12

XML template format with macros enabled.

wdOpenFormatAllWordTemplates 13

Word template format.

wdOpenFormatXMLDocumentSerialized 14

Reserved for internal use.

wdOpenFormatXMLDocumentMacroEnabledSerialized 15

Reserved for internal use.

wdOpenFormatXMLTemplateSerialized 16

Reserved for internal use.

wdOpenFormatXMLTemplateMacroEnabledSerialized 17

Reserved for internal use.

wdOpenFormatOpenDocumentText 18

Applies to