StiDbfExportService Class

Namespace: Stimulsoft.Report.Export

Inheritance

Inherits from: StiExportService

Methods

Method Returns Description
Export void Exports a document to the file.
ExportDbf (+5 overloads) void Exports rendered report to a dbf file.
ExportTo void Exports a document to the stream without dialog of the saving file.
GetFilter string Returns a filter for the dbf files.

Method Details

Export

Export(report: StiReport, fileName: string, sendEMail: bool, guiMode: StiGuiMode): void

Exports a document to the file.

Parameters

  • report (StiReport) — A report which is to be exported.
  • fileName (string) — A name of the file for exporting a rendered report.
  • sendEMail (bool) — A parameter indicating whether is exported report will be sended via e-mail.
  • guiMode (StiGuiMode)

ExportDbf

ExportDbf(report: StiReport, fileName: string, codePage: StiDbfCodePages): void

Exports rendered report to a dbf file.

Parameters

  • report (StiReport) — A report which is to be exported.
  • fileName (string) — A name of the file for exporting a rendered report.
  • codePage (StiDbfCodePages) — A parameter which sets a code page of the exported file.

ExportDbf(report: StiReport, fileName: string, pageRange: StiPagesRange, codePage: StiDbfCodePages): void

Exports rendered report to a dbf file.

Parameters

  • report (StiReport) — A report which is to be exported.
  • fileName (string) — A name of the file for exporting a rendered report.
  • pageRange (StiPagesRange) — Describes pages range of the document for the export.
  • codePage (StiDbfCodePages) — A parameter which sets a code page of the exported file.

ExportDbf(report: StiReport, fileName: string): void

Exports a rendered report to a dbf file.

Parameters

  • report (StiReport) — A report which is to be exported.
  • fileName (string) — A name of the file for exporting a rendered report.

ExportDbf(report: StiReport, stream: Stream): void

Exports a rendered report to a dbf file.

Parameters

  • report (StiReport) — A report which is to be exported.
  • stream (Stream) — A stream for the export of a document.

ExportDbf(report: StiReport, stream: Stream, pageRange: StiPagesRange, codePage: StiDbfCodePages): void

Exports a rendered report to a dbf file.

Parameters

  • report (StiReport) — A report which is to be exported.
  • stream (Stream) — A stream for the export of a document.
  • pageRange (StiPagesRange) — Describes range of pages of the document for the export.
  • codePage (StiDbfCodePages) — A parameter which sets a code page of the exported file.

ExportDbf(report: StiReport, stream: Stream, settings: StiDataExportSettings): void

Exports a rendered report to a dbf file.

Parameters

  • report (StiReport)
  • stream (Stream)
  • settings (StiDataExportSettings)

ExportTo

ExportTo(report: StiReport, stream: Stream, settings: StiExportSettings): void

Exports a document to the stream without dialog of the saving file.

Parameters

  • report (StiReport) — A report which is to be exported.
  • stream (Stream) — A stream in which report will be exported.
  • settings (StiExportSettings) — A settings for the report exporting.

GetFilter

GetFilter(): string

Returns a filter for the dbf files.

Returns string — String with filter.