Exemplo n.º 1
0
 public static void ProcessReport(ISCDReportClientDocument report, Utf8JsonWriter jsonw, string reportDoc = "ReportClientDocument")
 {
     jsonw.WritePropertyName(reportDoc);
     jsonw.WriteStartObject();
     jsonw.WriteString("DisplayName", report.DisplayName);
     jsonw.WriteString("IsModified", report.IsModified.ToStringSafe());
     jsonw.WriteString("IsOpen", report.IsOpen.ToStringSafe());
     jsonw.WriteString("IsReadOnly", report.IsReadOnly.ToStringSafe());
     jsonw.WriteString("LocaleID", report.LocaleID.ToStringSafe());
     jsonw.WriteString("MajorVersion", report.MajorVersion.ToStringSafe());
     jsonw.WriteString("MinorVersion", report.MinorVersion.ToStringSafe());
     jsonw.WriteString("Path", report.Path);
     jsonw.WriteString("PreferredViewingLocaleID", report.PreferredViewingLocaleID.ToStringSafe());
     jsonw.WriteString("ProductLocaleID", report.ProductLocaleID.ToStringSafe());
     jsonw.WriteString("ReportAppServer", report.ReportAppServer);
     Controllers.ProcessCustomFunctionController(report.CustomFunctionController, jsonw);
     Controllers.ProcessDatabaseController(report.DatabaseController, jsonw);
     Controllers.ProcessDataDefController(report.DataDefController, jsonw);
     Controllers.ProcessPrintOutputController(report.PrintOutputController, jsonw);
     Controllers.ProcessReportDefController(report.ReportDefController, jsonw);
     ReportDefModel.ProcessReportOptions(report.ReportOptions, jsonw);
     Controllers.ProcessSubreportController(report.SubreportController, jsonw);
     DataDefModel.ProcessSummaryInfo(report.SummaryInfo, jsonw);
     jsonw.WriteEndObject();
 }
Exemplo n.º 2
0
 public static void ProcessDataDefController(DataDefController ddc, XmlWriter xmlw)
 {
     DataDefModel.ProcessDataDefinition(ddc.DataDefinition, xmlw);
 }
Exemplo n.º 3
0
 public static void ProcessDatabaseController(DatabaseController dc, XmlWriter xmlw)
 {
     DataDefModel.ProcessDatabase(dc.Database, xmlw);
 }
Exemplo n.º 4
0
 public static void ProcessCustomFunctionController(CustomFunctionController cfc, XmlWriter xmlw)
 {
     DataDefModel.ProcessCustomFunctions(cfc.GetCustomFunctions(), xmlw);
 }
Exemplo n.º 5
0
 public static void ProcessCustomFunctionController(CustomFunctionController cfc, Utf8JsonWriter jsonw)
 {
     DataDefModel.ProcessCustomFunctions(cfc.GetCustomFunctions(), jsonw);
 }
Exemplo n.º 6
0
 public static void ProcessDataDefController(DataDefController ddc, Utf8JsonWriter jsonw)
 {
     DataDefModel.ProcessDataDefinition(ddc.DataDefinition, jsonw);
 }
Exemplo n.º 7
0
 public static void ProcessDatabaseController(DatabaseController dc, Utf8JsonWriter jsonw)
 {
     DataDefModel.ProcessDatabase(dc.Database, jsonw);
 }