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(); }
public static void ProcessDataDefController(DataDefController ddc, XmlWriter xmlw) { DataDefModel.ProcessDataDefinition(ddc.DataDefinition, xmlw); }
public static void ProcessDatabaseController(DatabaseController dc, XmlWriter xmlw) { DataDefModel.ProcessDatabase(dc.Database, xmlw); }
public static void ProcessCustomFunctionController(CustomFunctionController cfc, XmlWriter xmlw) { DataDefModel.ProcessCustomFunctions(cfc.GetCustomFunctions(), xmlw); }
public static void ProcessCustomFunctionController(CustomFunctionController cfc, Utf8JsonWriter jsonw) { DataDefModel.ProcessCustomFunctions(cfc.GetCustomFunctions(), jsonw); }
public static void ProcessDataDefController(DataDefController ddc, Utf8JsonWriter jsonw) { DataDefModel.ProcessDataDefinition(ddc.DataDefinition, jsonw); }
public static void ProcessDatabaseController(DatabaseController dc, Utf8JsonWriter jsonw) { DataDefModel.ProcessDatabase(dc.Database, jsonw); }