Class ExportBase
The base class for all export filters.
Inheritance
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
ExportBase
Assembly: FastReport.Olap.dll
Syntax
public class ExportBase : Component, IComponent, IDisposable
Properties
AllowOpenAfter
Allows or disables the OpenAfterExport feature.
Declaration
public bool AllowOpenAfter { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Cube
Declaration
public Cube Cube { get; set; }
Property Value
FileFilter
File filter that can be used in the "Save file" dialog.
Declaration
public string FileFilter { get; }
Property Value
Type |
Description |
System.String |
|
FileName
Declaration
protected string FileName { get; }
Property Value
Type |
Description |
System.String |
|
GeneratedFiles
Gets a list of files generated by this export.
Declaration
public List<string> GeneratedFiles { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<System.String> |
|
HasMultipleFiles
Gets a value indicating that the export may produce multiple output files.
Declaration
public bool HasMultipleFiles { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
OpenAfterExport
Open the document after export.
Declaration
public bool OpenAfterExport { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ShowProgress
Gets or sets a value that determines whether to show progress window during export or not.
Declaration
public bool ShowProgress { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Slice
Declaration
public Slice Slice { get; set; }
Property Value
Stream
Declaration
protected Stream Stream { get; }
Property Value
Type |
Description |
System.IO.Stream |
|
Styles
Declaration
public GridStyles Styles { get; set; }
Property Value
Methods
Declaration
protected virtual void ApplyDialog(BaseExportForm dialog)
Parameters
CreateDialog()
Declaration
protected virtual BaseExportForm CreateDialog()
Returns
Export()
Exports the report to a file.
Declaration
Returns
Type |
Description |
System.Boolean |
true if report was succesfully exported.
|
Export(Stream)
Declaration
public void Export(Stream stream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
Export(String)
Declaration
public void Export(string fileName)
Parameters
Type |
Name |
Description |
System.String |
fileName |
|
Finish()
This method is called when the export is finished.
Declaration
protected virtual void Finish()
GetFileFilter()
Returns a file filter for a save dialog.
Declaration
protected virtual string GetFileFilter()
Returns
Type |
Description |
System.String |
String that contains a file filter, for example: "Bitmap image (.bmp)|.bmp"
|
GetTitle(ExportTitle)
Declaration
protected string GetTitle(ExportTitle title)
Parameters
Returns
Type |
Description |
System.String |
|
Run()
This method is called when the export is performed.
Declaration
protected virtual void Run()
ShowDialog()
Displays a dialog with export options.
Declaration
public virtual bool ShowDialog()
Returns
Type |
Description |
System.Boolean |
true if dialog was closed with OK button.
|
Start()
This method is called when the export starts.
Declaration
protected virtual void Start()
Events
OnGetCubeColumns
Declaration
public event ExportGetCubeColumnsEventHandler OnGetCubeColumns
Event Type
OnGetCubeRowCount
Declaration
public event ExportGetCubeRowCountEventHandler OnGetCubeRowCount
Event Type
OnGetCubeRowIndex
Declaration
public event ExportGetCubeRowIndexEventHandler OnGetCubeRowIndex
Event Type
OnGetTitle
Declaration
public event ExportGetTitleEventHandler OnGetTitle
Event Type