次の方法で共有


WdOpenFormat Enumeration

Specifies the format to use when opening a document.

Name

Value

Description

wdOpenFormatAllWord

6

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

wdOpenFormatAuto

0

The existing format.

wdOpenFormatDocument

1

Word format.

wdOpenFormatEncodedText

5

Encoded text format.

wdOpenFormatRTF

3

Rich text format (RTF).

wdOpenFormatTemplate

2

As a Word template.

wdOpenFormatText

4

Unencoded text format.

wdOpenFormatOpenDocumentText

18 (&H12)

OpenDocument Text format.

wdOpenFormatUnicodeText

5

Unicode text format.

wdOpenFormatWebPages

7

HTML format.

wdOpenFormatXML

8

XML format.

wdOpenFormatAllWordTemplates

13

Word template format.

wdOpenFormatDocument97

1

Microsoft Word 97 document format.

wdOpenFormatTemplate97

2

Word 97 template format.

wdOpenFormatXMLDocument

9

XML document format.

wdOpenFormatXMLDocumentSerialized

14

Open XML file format saved as a single XML file.

wdOpenFormatXMLDocumentMacroEnabled

10

XML document format with macros enabled.

wdOpenFormatXMLDocumentMacroEnabledSerialized

15

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

wdOpenFormatXMLTemplate

11

XML template format.

wdOpenFormatXMLTemplateSerialized

16 (&H10)

Open XML template format saved as a XML single file.

wdOpenFormatXMLTemplateMacroEnabled

12

XML template format with macros enabled.

wdOpenFormatXMLTemplateMacroEnabledSerialized

17 (&H11)

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