public bool CanUseExistingDocumentMapChunk(ICatalogItemContext reportContext) { if (!this.HasDocumentMap) { return(false); } if (!this.DocumentMapHasRenderFormatDependency) { return(true); } string format = ReportSnapshot.NormalizeRenderFormatForDocumentMap(reportContext); return(RenderFormatImpl.IsRenderFormat(format, this.m_documentMapRenderFormat)); }
public void SetRenderFormatDependencyInDocumentMap(OnDemandProcessingContext odpContext) { this.m_cachedDataChanged = true; this.m_documentMapRenderFormat = ReportSnapshot.NormalizeRenderFormatForDocumentMap(odpContext.TopLevelContext.ReportContext); }