Table of Contents

TFlexCelReport.Run Method

Overloads

TFlexCelReport.Run(TExcelFile)

Executes the report, reading from an ExcelFile and writing the results to it again.

Remarks

Note that RecalcMode, SemiAbsoluteReferencesRecalcVersion and AllowOverwritingFiles values used will be the ones on aWorkbook, not the ones on this report.

Syntax

Unit: FlexCel.Report

procedure TFlexCelReport.Run(const aWorkbook: TExcelFile); overload;

Parameters

<-> Parameter Type Description
const aWorkbook TExcelFile ExcelFile that contains the template file, and that will contain the generated file once this method runs.

See also

TFlexCelReport.Run(string, string)

Executes the report, reading from a file and writing to a file.

Syntax

Unit: FlexCel.Report

procedure TFlexCelReport.Run(const templateFileName: string; const outFileName: string); overload;

Parameters

<-> Parameter Type Description
const templateFileName string File with the template to use.
const outFileName string File to create.

See also

TFlexCelReport.Run(TStream, TStream)

Executes the report, reading from a stream and writing to a stream.

Syntax

Unit: FlexCel.Report

procedure TFlexCelReport.Run(const templateStream: TStream; const outStream: TStream); overload;

Parameters

<-> Parameter Type Description
const templateStream TStream Stream with the template.
const outStream TStream Stream where the result will be written.

See also

TFlexCelReport.Run(TStream, TStream, TFileFormats)

Executes the report, reading from a stream and writing to a stream.

Syntax

Unit: FlexCel.Report

procedure TFlexCelReport.Run(const templateStream: TStream; const outStream: TStream; const fileFormat: TFileFormats); overload;

Parameters

<-> Parameter Type Description
const templateStream TStream Stream with the template.
const outStream TStream Stream where the result will be written.
const fileFormat TFileFormats File format in which the resulting file will be saved.

See also