Пример #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();
     }
 }
Пример #2
0
 private static void Process(SubreportClientDocument scd, XmlWriter xmlw)
 {
     xmlw.WriteElementString("EnableOnDemand", scd.EnableOnDemand.ToStringSafe());
     xmlw.WriteElementString("EnableReimport", scd.EnableReimport.ToStringSafe());
     xmlw.WriteElementString("IsImported", scd.IsImported.ToStringSafe());
     xmlw.WriteElementString("Name", scd.Name);
     xmlw.WriteElementString("SubreportLocation", scd.SubreportLocation);
     Process(scd.DatabaseController, xmlw);
     Process(scd.DataDefController, xmlw);
     Process(scd.ReportDefController, xmlw);
     ReportDefModel.ProcessReportOptions(scd.ReportOptions, xmlw);
 }
 public static void ProcessReport(ISCDReportClientDocument report, XmlWriter xmlw, string reportDoc = "ReportClientDocument")
 {
     xmlw.WriteStartElement(reportDoc);
     xmlw.WriteElementString("DisplayName", report.DisplayName);
     xmlw.WriteElementString("IsModified", report.IsModified.ToStringSafe());
     xmlw.WriteElementString("IsOpen", report.IsOpen.ToStringSafe());
     xmlw.WriteElementString("IsReadOnly", report.IsReadOnly.ToStringSafe());
     xmlw.WriteElementString("LocaleID", report.LocaleID.ToStringSafe());
     xmlw.WriteElementString("MajorVersion", report.MajorVersion.ToStringSafe());
     xmlw.WriteElementString("MinorVersion", report.MinorVersion.ToStringSafe());
     xmlw.WriteElementString("Path", report.Path);
     xmlw.WriteElementString("PreferredViewingLocaleID", report.PreferredViewingLocaleID.ToStringSafe());
     xmlw.WriteElementString("ProductLocaleID", report.ProductLocaleID.ToStringSafe());
     xmlw.WriteElementString("ReportAppServer", report.ReportAppServer);
     Controllers.Process(report.CustomFunctionController, xmlw);
     Controllers.Process(report.DatabaseController, xmlw);
     Controllers.Process(report.DataDefController, xmlw);
     Controllers.Process(report.PrintOutputController, xmlw);
     Controllers.Process(report.ReportDefController, xmlw);
     ReportDefModel.ProcessReportOptions(report.ReportOptions, xmlw);
     Controllers.Process(report.SubreportController, xmlw);
     DataDefModel.ProcessSummaryInfo(report.SummaryInfo, xmlw);
     xmlw.WriteEndElement();
 }
Пример #4
0
 public static void Process(ReportDefController2 rdc, XmlWriter xmlw)
 {
     ReportDefModel.Process(rdc.ReportDefinition, xmlw);
 }
Пример #5
0
 public static void Process(PrintOutputController poc, XmlWriter xmlw)
 {
     ReportDefModel.Process(poc.GetPrintOptions(), xmlw);
     ReportDefModel.Process(poc.GetSavedXMLExportFormats(), xmlw);
 }