Search Results for

    Show / Hide Table of Contents

    Class ExportPlugin

    Base class for all export plugins.

    Inheritance
    System.Object
    ExportPlugin
    FR3ExportPlugin
    Implements
    IDesignerPlugin
    Namespace: FastReport.Design
    Assembly: FastReport.dll
    Syntax
    public class ExportPlugin : IDesignerPlugin

    Constructors

    ExportPlugin()

    Initializes a new instance of the ExportPlugin class with default settings.

    Declaration
    public ExportPlugin()

    ExportPlugin(Designer)

    Initializes a new instance of the ExportPlugin class with a specified designer.

    Declaration
    public ExportPlugin(Designer designer)
    Parameters
    Type Name Description
    Designer designer

    The report designer.

    Properties

    Designer

    Gets or sets reference to the designer.

    Declaration
    public Designer Designer { get; protected set; }
    Property Value
    Type Description
    Designer

    Filter

    Gets or sets the filter string used in the "Save File" dialog.

    Declaration
    public string Filter { get; protected set; }
    Property Value
    Type Description
    System.String

    Name

    Gets or sets the name of plugin.

    Declaration
    public string Name { get; protected set; }
    Property Value
    Type Description
    System.String

    PluginName

    Gets the plugin name.

    Declaration
    public string PluginName { get; }
    Property Value
    Type Description
    System.String

    Report

    Gets or sets reference to the report.

    Declaration
    public Report Report { get; protected set; }
    Property Value
    Type Description
    Report

    Methods

    GetFilter()

    Returns a file filter for a save dialog.

    Declaration
    protected virtual string GetFilter()
    Returns
    Type Description
    System.String

    String that contains a file filter, for example: "Bitmap image (.bmp)|.bmp"

    GetOptionsPage()

    Gets an options page that will be used in the Designer Options dialog to edit the plugin options.

    Declaration
    public DesignerOptionsPage GetOptionsPage()
    Returns
    Type Description
    DesignerOptionsPage

    The options page, if implemented; otherwise, null.

    Localize()

    Localizes the plugin.

    Declaration
    public void Localize()
    Remarks

    This method is called by the designer when current localization is changed.

    Lock()

    Locks the plugin.

    Declaration
    public void Lock()
    Remarks

    This method is called by the designer when report is loading. It may be needed to disable some operations (like painting) that use the report.

    RestoreState()

    Restores the plugin state.

    Declaration
    public void RestoreState()

    SaveReport(Report, String)

    Saves the specified report into specified file.

    Declaration
    public virtual void SaveReport(Report report, string filename)
    Parameters
    Type Name Description
    Report report

    Report object.

    System.String filename

    File name.

    SaveState()

    Saves the plugin state.

    Declaration
    public void SaveState()

    SelectionChanged()

    Updates plugin state when current selection was changed.

    Declaration
    public void SelectionChanged()
    Remarks

    Typically you need to do the same work in the SelectionChanged() and UpdateContent() methods.

    Unlock()

    Unlocks the plugin.

    Declaration
    public void Unlock()

    UpdateContent()

    Updates plugin state when the report was modified.

    Declaration
    public void UpdateContent()
    Remarks

    Typically you need to do the same work in the SelectionChanged() and UpdateContent() methods.

    UpdateDpiDependencies()

    Updates layout on dpi change.

    Declaration
    public void UpdateDpiDependencies()

    UpdateUIStyle()

    Updates UI style of the plugin.

    Declaration
    public void UpdateUIStyle()
    Remarks

    The plugin should update its style according to the designer's UIStyle property.

    Implements

    IDesignerPlugin
    Back to top © 1998-2025 Copyright Fast Reports Inc.