Пример #1
0
 public void UnloadInteractiveChunks()
 {
     if (this.m_bookmarks != null)
     {
         this.m_bookmarks.Flush(this.Done);
         this.m_bookmarks = null;
     }
     if (this.m_labels != null)
     {
         this.m_labels.Flush(this.Done);
         this.m_labels = null;
     }
     this.m_labelsChunkLoaded = false;
     this.m_chunksLoaded      = false;
 }
Пример #2
0
 public void LoadInteractiveChunks(int page)
 {
     if (!this.m_chunksLoaded)
     {
         this.m_chunksLoaded = true;
         if (this.m_report.HasBookmarks)
         {
             this.m_bookmarks = InteractivityChunks.GetBookmarksStream(this.m_report, page);
         }
         if (!this.m_labelsChunkLoaded && this.m_report.HasDocumentMap)
         {
             this.m_labels = InteractivityChunks.GetLabelsStream(this.m_report, page);
         }
     }
 }