public bool SaveDocument(IDocumentModel documentModel, Stream stream, IExporterOptions options)
        {
            BBCodeExporter exporter = new BBCodeExporter((DocumentModel)documentModel, (BBCodeDocumentExporterOptions)options);

            exporter.Export(stream);
            return(true);
        }
 public XlsExporter(DataTable table, String fileName = "", String sheetName = "")
 {
     try
     {
         Options = new XlsExporterOptions();
         Export(table, fileName, sheetName);
     }
     catch (Exception)
     {
         throw;
     }
 }
 public AccessExporter(DataTable table, String fileName = "", String sheetName = "", Boolean dropTable = false)
 {
     try
     {
         Options = new AccessExporterOptions();
         Export(table, fileName, sheetName);
     }
     catch (Exception)
     {
         throw;
     }
 }
 public CsvHelperExporter(DataTable table,
                           String fileName = "",
                           String delimiter = "",
                           Boolean quoteAllFields = false,
                           String quote = "")
 {
     try
     {
         Options = new CsvHelperExporterOptions();
         Export(table, fileName, delimiter, quoteAllFields, quote);
     }
     catch (Exception)
     {
         throw;
     }
 }
 public TextExporter(DataTable table, 
                     String fileName = "", 
                     String delimiter = "", 
                     Boolean quoteHeaders = false,
                     Boolean quoteFields = false, 
                     String quote = "")
 {
     try
     {
         Options = new TextExporterOptions();
         Export(table, fileName, delimiter, quoteHeaders, quoteFields, quote);
     }
     catch (Exception)
     {
         throw;
     }
 }
 public OpenXmlExporter(DataTable table,
                       String fileName = "",
                       String sheetName = "",
                       IList<FieldFormatItem> formats = null,
                       Boolean autoFilter = false,
                       Int32 startRow = 1,
                       Int32 startColumn = 1,
                       Boolean freezeHeaderRow = false)
 {
     try
     {
         Options = new OpenXmlExporterOptions();
         Export(table, fileName, sheetName, formats, autoFilter, startRow, startColumn, freezeHeaderRow);
     }
     catch (Exception)
     {
         throw;
     }
 }
        public bool SaveDocument(DevExpress.Office.IDocumentModel documentModel, Stream stream, IExporterOptions options)
        {
            DocumentModel model = (DocumentModel)documentModel;

            model.InternalAPI.SaveDocumentMhtContent(stream, (EmlDocumentExporterOptions)options);
            return(true);
        }
        //
        // Constructors

        public TextExporter()
        {
            Options = new TextExporterOptions();
        }
        //
        // Constructors

        public OpenXmlExporter()
        {
            Options = new OpenXmlExporterOptions();
        }
        //
        // Constructors

        public AccessExporter()
        {
            Options = new AccessExporterOptions();
        }
        //
        // Constructors

        public CsvHelperExporter()
        {
            Options = new CsvHelperExporterOptions();
        }
        //
        // Constructors

        public XlsExporter()
        {
            Options = new XlsExporterOptions();
        }
        //
        // Constructors

        public ExcelExporter()
        {
            Options = new ExcelExporterOptions();
        }