Ejemplo n.º 1
0
        private string GetLatexFromEstimate(int? projectId
            , int? maxPriority)
        {
            LatexDocument document = new LatexDocument();

            document.AppendText("@TOP@");

            AppendIssueEstimateTables
                (projectId
                , maxPriority
                , document);

            document.AppendSection(Resources.Phrases.Date);

            AppendPersonConfidenceDateTable
                (projectId
                , maxPriority
                , document);

            document.AppendText("@BOTTOM@");

            return document.ToString();
        }
Ejemplo n.º 2
0
        private void AppendIssueEstimateTables(int? projectId
            , int? maxPriority
            , LatexDocument document)
        {
            var issueEstimates
                = projectController.GetIssueEstimates
                (projectId, maxPriority);

            document.AppendSection(Resources.Phrases.Issues);
            AppendIssueEstimateTable
                (issueEstimates
                , true
                , document);

            foreach (var personEvaluation
                in projectController.GetEvaluationsPerPerson
                (projectId, maxPriority))
            {
                document.AppendSection
                    (personEvaluation.PersonName);
                AppendIssueEstimateTable
                    (personEvaluation.GetIssueEvaluations()
                    , false
                    , document);
            }
        }