EPNDOCUMENTOPTIONS

typedef struct tag_EPNDOCUMENTOPTIONS
{
   L_UINT uStructSize; 
   EPNPDFOPTIONS PDFOptionsData; 
   EPNHTMOPTIONS HTMOptionsData; 
   EPNTXTOPTIONS TXTOptionsData; 
   EPNDOCOPTIONS DOCOptionsData; 
   EPNRTFOPTIONS RTFOptionsData; 
   L_BOOL bWithoutShapes; 
   L_BOOL bMultiPageFile; 
} EPNDOCUMENTOPTIONS, L_FAR * pEPNDOCUMENTOPTIONS;

The EPNDOCUMENTOPTIONS structure provides information about the document properties. The document can be a PDF document, HTML page, TXT file, MS Word DOC document, or RTF document.

Member

Description

uStructSize

Size of this structure in bytes, for versioning. Use the sizeof() macro to calculate this value.

PDFOptionsData

EPNPDFOPTIONS structure that contains PDF document properties. Use this member only if the value of the nFormat member of the EPNSAVEOPTIONS structure is set to FILE_EPN_PDF.

HTMOptionsData

EPNHTMOPTIONS structure that contains HTML pages properties. Use this member only if the value of the nFormat member of the EPNSAVEOPTIONS structure is set to FILE_EPN_HTML.

TXTOptionsData

EPNTXTOPTIONS structure that contains TXT files properties. Use this member only if the value of the nFormat member of the EPNSAVEOPTIONS structure is set to FILE_EPN_TXT.

DOCOptionsData

EPNDOCOPTIONS structure that contains MS Word DOC document properties. Use this member only if the value of the nFormat member of the EPNSAVEOPTIONS structure is set to FILE_EPN_DOC.

RTFOptionsData

EPNRTFOPTIONS structure that contains RTF document properties. Use this member only if the value of the nFormat member of the EPNSAVEOPTIONS structure is set to FILE_EPN_RTF.

bWithoutShapes

Flag that indicates whether to generate documents supporting shapes. This member value is valid for all document types except TXT files. Possible values are:

 

Value

Meaning

 

TRUE

Do not support shapes.

 

FALSE

Support shapes.

bMultiPageFile

Flag that indicates whether to save a multi-page file, each page in a separate file or save all pages in one file. For more information on multi-page files refer to Multipage File Formats. Possible values are:

 

Value

Meaning

 

TRUE

Save multi-page files.

 

FALSE

Save single page files.

Comments

This structure is used within EPNSAVEOPTIONS structure.