StiOdsExportService Class

Namespace: Stimulsoft.Report.Export

Inheritance

Inherits from: StiExportService

Methods

Method Returns Description
Export void Exports a rendered report to the Ods file. Also exported document can be sent via e-mail.
ExportOds (+3 overloads) void Exports rendered report to an Ods file.
ExportTo void Exports a document to the stream without dialog of the saving file.
GetFilter string Returns a filter for the Ods files.

Method Details

Export

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

Exports a rendered report to the Ods file. Also exported document can be sent via e-mail.

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 the exported report will be sent via e-mail.
  • guiMode (StiGuiMode)

ExportOds

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

Exports rendered report to an Ods file.

Parameters

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

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

Exports rendered report to an Ods file.

Parameters

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

ExportOds(report: StiReport, stream: Stream, pageRange: StiPagesRange): void

Exports rendered report to an Ods file.

Parameters

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

ExportOds(report: StiReport, stream: Stream, settings: StiOdsExportSettings): void

Parameters


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 Ods files.

Returns string — Returns a filter for the Ods files.

Fields

Field Type Description
Angle int  
BackColor Color  
Bold bool  
BorderBottom string  
BorderLeft string  
BorderRight string  
BorderTop string  
CurrencyNegativePattern string  
CurrencyPositionBefore bool  
CurrencyPositivePattern string  
CurrencySymbol string  
DataStyle int  
DateTimeFormatString string  
DecimalComma char  
DecimalDigits int  
FontColor Color  
FontName string  
FontSize float  
GroupDigits int  
GroupSeparator string  
HorAlign StiTextHorAlignment  
Italic bool  
NegativeBraces bool  
Underline bool  
VertAlign StiVertAlignment  
Wordwrap bool  
isCurrency bool  
isDate bool  
isDefaultFormat bool  
isNumeric bool  
isPercent bool  
isTime bool