Exemplo 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}");
        }
Exemplo n.º 2
0
 public PlanningItemSymbol(ReportPlanningItem reportPlanningItem)
 {
     _reportPlanningItem = reportPlanningItem;
 }
Exemplo n.º 3
0
 public void Add(Section section, ReportStructureSet structureSet, ReportPlanningItem reportPlanningItem, ReportPQMs reportPQMs)
 {
     AddHeading(section, structureSet, reportPlanningItem);
     AddPQMs(section, reportPQMs);
 }
Exemplo n.º 4
0
 private void AddPlanningItemSymbol(Paragraph p, ReportPlanningItem reportPlanningItem)
 {
     p.AddImage(new PlanningItemSymbol(reportPlanningItem).GetMigraDocFileName());
 }
Exemplo n.º 5
0
 private void AddPQMs(Section section, ReportStructureSet structureSet, ReportPlanningItem reportPlanningItem, ReportPQMs reportPQMs)
 {
     new PQMsContent().Add(section, structureSet, reportPlanningItem, reportPQMs);
 }