/// <summary> /// Creates the pages of a prepared report /// </summary> /// <param name="report"></param> public PreparedPages(Report report) { this.report = report; sourcePages = new SourcePages(this); preparedPages = new List <PreparedPage>(); dictionary = new Dictionary(this); bookmarks = new Bookmarks(); outline = new Outline(); blobStore = new BlobStore(report != null ? report.UseFileCache : false); pageCache = new PageCache(this); macroValues = new Dictionary <string, object>(); if (this.report != null && this.report.UseFileCache) { tempFileName = Config.CreateTempFile(""); tempFile = new FileStream(tempFileName, FileMode.OpenOrCreate, FileAccess.ReadWrite); } }
internal PreparedPages(Report report) { FReport = report; FSourcePages = new SourcePages(this); FPreparedPages = new List <PreparedPage>(); FDictionary = new Dictionary(this); FBookmarks = new Bookmarks(); FOutline = new Outline(); FBlobStore = new BlobStore(); FPageCache = new PageCache(this); FMacroValues = new Dictionary <string, object>(); if (FReport != null && FReport.UseFileCache) { FTempFileName = Config.CreateTempFile(""); FTempFile = new FileStream(FTempFileName, FileMode.OpenOrCreate, FileAccess.ReadWrite); } }