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

            Log.Info("Creating spec issues report");
            retVal.Info.Title = "EFS Specification issues report";
            retVal.Info.Author = "ERTMS Solutions";
            retVal.Info.Subject = "Specification issues report";

            SpecIssuesReport report = new SpecIssuesReport(retVal);
            if (AddInformationNeeded)
            {
                Log.Info("..generating information needed");
                report.CreateMoreInformationArticle(this);
            }
            if (AddSpecIssues)
            {
                Log.Info("..generating spec issues");
                report.CreateSpecIssuesArticle(this);
            }
            if (AddDesignChoices)
            {
                Log.Info("..generating design choices");
                report.CreateDesignChoicesArticle(this);
            }

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

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

            SpecIssuesReport report = new SpecIssuesReport(retVal);

            if (AddInformationNeeded)
            {
                report.CreateMoreInformationArticle(this);
            }
            if (AddSpecIssues)
            {
                report.CreateSpecIssuesArticle(this);
            }
            if (AddDesignChoices)
            {
                report.CreateDesignChoicesArticle(this);
            }

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

            Log.Info("Creating spec issues report");
            retVal.Info.Title   = "EFS Specification issues report";
            retVal.Info.Author  = "ERTMS Solutions";
            retVal.Info.Subject = "Specification issues report";

            SpecIssuesReport report = new SpecIssuesReport(retVal);

            if (AddSpecIssues)
            {
                Log.Info("..generating spec issues");
                report.CreateSpecIssuesArticle(this);
            }
            if (AddDesignChoices)
            {
                Log.Info("..generating design choices");
                report.CreateDesignChoicesArticle(this);
            }

            return(retVal);
        }