Exemplo n.º 1
0
 internal void UnloadInteractiveChunks()
 {
     if (m_bookmarks != null)
     {
         m_bookmarks.Flush(Done);
         m_bookmarks = null;
     }
     if (m_labels != null)
     {
         m_labels.Flush(Done);
         m_labels = null;
     }
     m_labelsChunkLoaded = false;
     m_chunksLoaded      = false;
 }
Exemplo n.º 2
0
 internal void LoadInteractiveChunks(int page)
 {
     if (!m_chunksLoaded)
     {
         m_chunksLoaded = true;
         if (m_report.HasBookmarks)
         {
             m_bookmarks = InteractivityChunks.GetBookmarksStream(m_report, page);
         }
         if (!m_labelsChunkLoaded && m_report.HasDocumentMap)
         {
             m_labels = InteractivityChunks.GetLabelsStream(m_report, page);
         }
     }
 }