/// <summary>
        ///     Creates a report on specs coverage, 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 report";
            retVal.Info.Author  = "ERTMS Solutions";
            retVal.Info.Subject = "Specification report";

            SpecCoverageReport report = new SpecCoverageReport(retVal);

            if (AddSpecification)
            {
                report.CreateSpecificationArticle(this);
            }
            if (AddCoveredParagraphs)
            {
                report.CreateCoveredRequirementsArticle(this);
            }
            if (AddNonCoveredParagraphs)
            {
                report.CreateNonCoveredRequirementsArticle(this);
            }
            if (AddReqRelated)
            {
                report.CreateReqRelatedArticle(this);
            }

            return(retVal);
        }
        /// <summary>
        ///     Creates a report on specs coverage, 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 report");
            retVal.Info.Title = "EFS Specification report";
            retVal.Info.Author = "ERTMS Solutions";
            retVal.Info.Subject = "Specification report";

            SpecCoverageReport report = new SpecCoverageReport(retVal);
            if (AddSpecification)
            {
                Log.Info("..generating specifications");
                report.CreateSpecificationArticle(this);
            }
            if (AddCoveredParagraphs)
            {
                Log.Info("..generating covered paragraphs");
                report.CreateCoveredRequirementsArticle(this);
            }
            if (AddNonCoveredParagraphs)
            {
                Log.Info("..generating non covered paragraphs");
                report.CreateNonCoveredRequirementsArticle(this);
            }
            if (AddReqRelated)
            {
                Log.Info("..generating req related");
                report.CreateReqRelatedArticle(this);
            }

            return retVal;
        }