Exemple #1
0
 public static void Process(SubreportController sc, XmlWriter xmlw)
 {
     foreach (string Subreport in sc.GetSubreportNames())
     {
         xmlw.WriteStartElement("Subreport");
         Process(sc.GetSubreport(Subreport), xmlw);
         ReportDefModel.ProcessSubreportLinks(sc.GetSubreportLinks(Subreport), xmlw);
         xmlw.WriteEndElement();
     }
 }
Exemple #2
0
 public static void ProcessSubreportController(SubreportController sc, Utf8JsonWriter jsonw)
 {
     jsonw.WritePropertyName("Subreports");
     jsonw.WriteStartArray();
     foreach (string Subreport in sc.GetSubreportNames())
     {
         jsonw.WriteStartObject();
         ProcessSubreportClientDocument(sc.GetSubreport(Subreport), jsonw);
         ReportDefModel.ProcessSubreportLinks(sc.GetSubreportLinks(Subreport), jsonw);
         jsonw.WriteEndObject();
     }
     jsonw.WriteEndArray();
 }