Generates the report based on the result of the Delta import
Inheritance: ReportTools
        /// <summary>
        ///     Creates a report on the model, according to user's choices
        /// </summary>
        /// <returns>The document created, or null</returns>
        public override MigraDoc.DocumentObjectModel.Document BuildDocument()
        {
            MigraDoc.DocumentObjectModel.Document retVal = new MigraDoc.DocumentObjectModel.Document();

            retVal.Info.Title = "EFS Model report";
            retVal.Info.Author = "ERTMS Solutions";
            retVal.Info.Subject = "Model report";

            DeltaImportReport report = new DeltaImportReport(retVal);
            report.CreateDocument(ImportResult);

            return retVal;
        }
        /// <summary>
        ///     Creates a report on the model, according to user's choices
        /// </summary>
        /// <returns>The document created, or null</returns>
        public override MigraDoc.DocumentObjectModel.Document BuildDocument()
        {
            MigraDoc.DocumentObjectModel.Document retVal = new MigraDoc.DocumentObjectModel.Document();

            retVal.Info.Title   = "EFS Model report";
            retVal.Info.Author  = "ERTMS Solutions";
            retVal.Info.Subject = "Model report";

            DeltaImportReport report = new DeltaImportReport(retVal);

            report.CreateDocument(ImportResult);

            return(retVal);
        }
        /// <summary>
        /// Creates a report on the model, according to user's choices
        /// </summary>
        /// <returns>The document created, or null</returns>
        public override Document BuildDocument()
        {
            Document retVal = new Document();

            Log.Info("Generating model report");
            retVal.Info.Title = "EFS Model report";
            retVal.Info.Author = "ERTMS Solutions";
            retVal.Info.Subject = "Model report";

            DeltaImportReport report = new DeltaImportReport(retVal);
            report.CreateDocument(ImportResult);

            return retVal;
        }
Esempio n. 4
0
        /// <summary>
        /// Creates a report on the model, according to user's choices
        /// </summary>
        /// <returns>The document created, or null</returns>
        public override Document BuildDocument()
        {
            Document retVal = new Document();

            Log.Info("Generating model report");
            retVal.Info.Title   = "EFS Model report";
            retVal.Info.Author  = "ERTMS Solutions";
            retVal.Info.Subject = "Model report";

            DeltaImportReport report = new DeltaImportReport(retVal);

            report.CreateDocument(ImportResult);

            return(retVal);
        }