using FastReport.Import.DevExpress; using System.IO; namespace FastReport.Design.ImportPlugins.DevExpress { /// /// Represents the DevExpess import plugin. /// partial class DevExpressImportPlugin : ImportPlugin { #region Constructors /// /// Initializes a new instance of the class. /// public DevExpressImportPlugin() : base() { Import = new DevExpressImport(); } /// /// Initializes a new instance of the class with a specified designer. /// /// The report designer. public DevExpressImportPlugin(Designer designer) : base(designer) { Import = new DevExpressImport(); } #endregion // Constructors #region Protected Methods /// protected override string GetFilter() { return new FastReport.Utils.MyRes("FileFilters").Get("DevExpressFiles"); } #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 } }