DOCWRTFORMAT

typedef enum _DOCWRTFORMAT
{
    DOCUMENTFORMAT_USER = -1,
    DOCUMENTFORMAT_LTD = 0,
    DOCUMENTFORMAT_PDF = 1,
    DOCUMENTFORMAT_DOC,
    DOCUMENTFORMAT_RTF,
    DOCUMENTFORMAT_HTM,
    DOCUMENTFORMAT_TXT,
    DOCUMENTFORMAT_EMF,
    DOCUMENTFORMAT_XPS
    DOCUMENTFORMAT_DOCX,
    DOCUMENTFORMAT_XLS,
} DOCWRTFORMAT, *pDOCWRTFORMAT;

The DOCWRTFORMAT enumeration provides information about supported document file formats.

Member

Description

DOCUMENTFORMAT_USER

Not supported.

DOCUMENTFORMAT_LTD

LEAD Temporary Document (Ltd)

DOCUMENTFORMAT_PDF

Portable Document format (PDF)

DOCUMENTFORMAT_DOC

MS-Word document format (Doc)

DOCUMENTFORMAT_RTF

Rich Text document format (RTF)

DOCUMENTFORMAT_HTM

HyperText Markup Language document format (HTML)

DOCUMENTFORMAT_TXT

Text file format (Txt)

DOCUMENTFORMAT_EMF

Enhanced Meta file format (EMF)

DOCUMENTFORMAT_XPS

Microsoft XML Paper Specification format (XPS) *

DOCUMENTFORMAT_DOCX

MS-Word 2007 document format (Docx)**

DOCUMENTFORMAT_XLS

MS-Excel document format (Xls)

 

*This format requires .NET framework 3.0

 **This format requires .Net framework 3.5 and Microsoft Open XML Format SDK 2.0.