public Report(ReportItem parent, IntermediateFormatVersion version, Guid reportVersion) : base(parent) { this.m_intermediateFormatVersion = version; this.m_reportVersion = reportVersion; base.m_startPage = 0; base.m_endPage = 0; }
public bool IsSimpleTextBox(IntermediateFormatVersion intermediateFormatVersion) { Global.Tracer.Assert(null != intermediateFormatVersion); if (intermediateFormatVersion.IsRS2005_WithSimpleTextBoxOptimizations) { return(this.IsSimpleTextBox()); } return(false); }
public Report(int id, int idForReportItems) : base(id, null) { this.m_intermediateFormatVersion = new IntermediateFormatVersion(); this.m_reportVersion = Guid.NewGuid(); base.m_height = "11in"; base.m_width = "8.5in"; this.m_dataSources = new DataSourceList(); this.m_reportItems = new ReportItemCollection(idForReportItems, true); this.m_pageAggregates = new DataAggregateInfoList(); this.m_exprCompiledCode = new byte[0]; }
public override string ToString() { if (this.m_major < 10) { return(string.Format(CultureInfo.InvariantCulture, "{0}.{1}.{2}", this.m_major, this.m_minor, this.m_build)); } int num = default(int); int num2 = default(int); int num3 = default(int); int num4 = default(int); IntermediateFormatVersion.DecodeFileVersion(this.m_build, out num, out num2, out num3, out num4); return(string.Format(CultureInfo.InvariantCulture, "{0}.{1}.{2}.{3}", this.m_major, this.m_minor, num3, num4)); }
static IntermediateFormatVersion() { IntermediateFormatVersion.m_current_major = 10; IntermediateFormatVersion.m_current_minor = 8; int current_build = 0; //todo: can delete? RevertImpersonationContext.Run(delegate { current_build = IntermediateFormatVersion.EncodeFileVersion(FileVersionInfo.GetVersionInfo(typeof(IntermediateFormatVersion).Assembly.Location)); }); //current_build = IntermediateFormatVersion.EncodeFileVersion(FileVersionInfo.GetVersionInfo(typeof(IntermediateFormatVersion).Assembly.Location)); IntermediateFormatVersion.m_current_build = current_build; }