using FastReport.Import.RDL;
using System.IO;
namespace FastReport.Design.ImportPlugins.RDL
{
///
/// Represents the RDL import plugin.
///
public partial class RDLImportPlugin : ImportPlugin
{
#region Constructors
///
/// Initializes a new instance of the class.
///
public RDLImportPlugin() : base()
{
Import = new RDLImport();
}
///
/// Initializes a new instance of the class with a specified designer.
///
/// The report designer.
public RDLImportPlugin(Designer designer) : base(designer)
{
Import = new RDLImport();
}
#endregion // Constructors
#region Protected Methods
///
protected override string GetFilter()
{
return new Utils.MyRes("FileFilters").Get("RdlFiles");
}
#endregion // Protected Methods
#region Public Methods
///
public override void LoadReport(Report report, string filename)
{
Import.LoadReport(report, filename);
}
public override void LoadReport(Report report, Stream content)
{
Import.LoadReport(report, content);
}
#endregion // Public Methods
}
}