Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
191
Добавлен:
11.05.2015
Размер:
4.96 Mб
Скачать

Other NewEra Classes

The following classes are discussed in this section. class CRPEExportOptions, Page 461

class CRPEGraphDataInfo, Page 465 class CRPEGraphOptions, Page 466 class CRPEGraphTextInfo, Page 468 class CRPEJobInfo, Page 469

class CRPELogOnInfo, Page 470 class CRPEPrintOptions, Page 471 class CRPESectionOptions, Page 472 class CRPESessionInfo, Page 474 class CRPETableLocation, Page 475 class CRPETableType, Page 476

class CRPEExportOptions

This class is used to get and set the export options of a print job. It is used by member functions

CRPEJob::GetExportOptions, Page 412, and CRPEJob::ExportTo, Page 411.

Data Members

m_formatType

Specifies the export format to be used.

 

 

m_formatDLLName

Specifies the name of the format DLL that contains the export format to

 

be used.

m_formatOptions

Provides additional export information specific to the format type being

 

used.

 

 

m_nFormatOptionsBytes

Automatically assigned by CRPEJob::GetExportOptions. Unused by

 

CRPEJob::SetExportOptions.

m_destinationType

Specifies the destination type of the exported report.

 

 

m_destinationDLLName

Specifies the name of the destination DLL that contains the destination

 

type to be used.

 

 

m_destinationOptions

Provides additional information specific to the export destination type.

m_nDestinationOptionsBytes

Automatically assigned by CRPEJob::GetExportOptions. Unused by

 

CRPEJob::SetExportOptions.

 

 

Crystal Class Library for NewEra Reference

461

Constructor CRPEExportOptions::CRPEExportOptions

CRPEExportOptions::CRPEExportOptions constructs a CRPEExportOptions class object. Call the constructor with no parameters to allow the Class Library to initialize all member variables with default values. Pass parameters to the constructor to assign specific values to each member variable.

Default Syntax

CRPEExportOptions ();

Syntax

CRPEExportOptions (formatDLLName CHAR(*) : NULL, formatType INTEGER: 0, formatOptions FOREIGN : NULL, destinationDLLName CHAR(*) : NULL, destinationType INTEGER : 0, destinationOptions FOREIGN : NULL);

Parameters

formatDLLName

Specifies the name of the format DLL that contains the export format to

 

be used. Assigns this value to the

 

 

CRPEExportOptions::m_formatDLLName member. Select a DLL from

 

the following table:

 

 

 

 

 

To export a report in this format:

Use this DLL:

 

 

 

 

 

 

 

Seagate Crystal Reports Format

uxfcr.dll

 

Data Interchange Format

uxfdif.dll

 

 

 

 

Word for Windows Format

uxfwordw.dll

 

 

 

 

Word for DOS Format

uxfdoc.dll

 

 

 

 

WordPerfect Format

uxfdoc.dll

 

Quattro Pro 5.0 (WB1) Format

uxfqp.dll

 

 

 

 

Record Style Format (columns)

uxfrec.dll

 

 

 

 

Rich Text Format

uxfrtf.dll

 

 

 

 

Comma Separated Values (CSV)

uxfsepv.dll

 

Tab Separated Values

uxfsepv.dll

 

 

 

 

Character Separated Values

uxfsepv.dll

 

 

 

 

Text Format (ASCII)

uxftext.dll

 

 

 

 

Tab Separated Text Format

uxftext.dll

 

Lotus 1-2-3 (WKS)

uxfwks.dll

 

 

 

 

Lotus 1-2-3 (WK1)

uxfwks.dll

 

 

 

Crystal Class Library for NewEra Reference

462

 

To export a report in this format:

Use this DLL:

 

 

 

 

 

 

 

Lotus 1-2-3 (WK3)

uxfwks.dll

 

 

 

 

Excel 2.1

uxfxls.dll

 

Excel 3.0

uxfxls.dll

 

 

 

 

Excel 4.0

uxfxls.dll

 

 

 

 

 

formatType

Specifies the export format to be used. Assigns this value to the

 

CRPEExportOptions::m_formatType member. Select from the following

 

values:

 

 

 

 

 

To export a report in this format:

Use this for formatType:

 

 

 

 

 

 

 

Seagate Crystal Reports Format

UXFCrystalReportType

 

 

 

 

Data Interchange Format

UXFDIFType

 

 

 

 

Word for Windows Format

UXFWordWinType

 

 

 

 

Word for DOS Format

UXFWordDosType

 

WordPerfect Format

UXFWordPerfectType

 

Quattro Pro 5.0 (WB1) Format

UXFQP5Type

 

 

 

 

Record Style Format (columns)

UXFRecordType

 

 

 

 

Rich Text Format

UXFRichTextFormatType

 

 

 

 

Comma Separated Values (CSV)

UXFCommaSeparatedType

 

Tab Separated Values

UXFTabSeparatedType

 

 

 

 

Character Separated Values

UXFCharSeparatedType

 

 

 

 

Text Format (ASCII)

UXFTextType

 

 

 

 

Tab Separated Text Format

UXFTabbedTextType

 

Lotus 1-2-3 (WKS)

UXFLotusWksType

 

 

 

 

Lotus 1-2-3 (WK1)

UXFLotusWk1Type

 

 

 

 

Lotus 1-2-3 (WK3)

UXFLotusWk3Type

 

 

 

 

Excel 2.1

UXFXls2Type

 

 

 

 

Excel 3.0

UXFXls3Type

 

Excel 4.0

UXFXls4Type

 

 

 

 

 

formatOptions

Provides additional export information specific to the format type being

 

used. Assigns this value to the CRPEExportOptions::m_formatOptions

 

member. This parameter is required for only certain format types. If you

 

assign NULL to this parameter, the Crystal Report Engine will

 

automatically prompt the user for format information if needed.

 

Otherwise, use a format options class from the following table:

 

 

 

Crystal Class Library for NewEra Reference

463

Соседние файлы в папке crystal