Esempio n. 1
0
        private void AddHeading(Section section, ReportStructureSet structureSet, ReportPlanningItem reportPlanningItem)
        {
            Paragraph p = section.AddParagraph();

            p.Style = StyleNames.Heading1;
            AddPlanningItemSymbol(p, reportPlanningItem);
            p.AddText(reportPlanningItem.Type + " : " + reportPlanningItem.Id);
            section.AddParagraph($"created {reportPlanningItem.Created:g}");
            section.AddParagraph($"Image {structureSet.Image.Id} " +
                                 $"taken {structureSet.Image.CreationTime:g}");
        }
Esempio n. 2
0
 public PlanningItemSymbol(ReportPlanningItem reportPlanningItem)
 {
     _reportPlanningItem = reportPlanningItem;
 }
Esempio n. 3
0
 public void Add(Section section, ReportStructureSet structureSet, ReportPlanningItem reportPlanningItem, ReportPQMs reportPQMs)
 {
     AddHeading(section, structureSet, reportPlanningItem);
     AddPQMs(section, reportPQMs);
 }
Esempio n. 4
0
 private void AddPlanningItemSymbol(Paragraph p, ReportPlanningItem reportPlanningItem)
 {
     p.AddImage(new PlanningItemSymbol(reportPlanningItem).GetMigraDocFileName());
 }
Esempio n. 5
0
 private void AddPQMs(Section section, ReportStructureSet structureSet, ReportPlanningItem reportPlanningItem, ReportPQMs reportPQMs)
 {
     new PQMsContent().Add(section, structureSet, reportPlanningItem, reportPQMs);
 }