コード例 #1
0
        public DocumentMapNode GetDocumentMap(ChunkManager.RenderingChunkManager chunkManager)
        {
            IntermediateFormatReader intermediateFormatReader = null;

            if (this.m_documentMap != null)
            {
                if (this.m_documentMap is OffsetInfo)
                {
                    intermediateFormatReader = chunkManager.GetReaderForSpecialChunk(((OffsetInfo)this.m_documentMap).Offset);
                    goto IL_004c;
                }
                return((DocumentMapNode)this.m_documentMap);
            }
            if (this.m_hasDocumentMap)
            {
                intermediateFormatReader = chunkManager.GetSpecialChunkReader(ChunkManager.SpecialChunkName.DocumentMap);
            }
            goto IL_004c;
IL_004c:
            if (intermediateFormatReader != null)
            {
                return(intermediateFormatReader.ReadDocumentMapNode());
            }
            return(null);
        }
コード例 #2
0
 internal BookmarksHashtable GetBookmarksInfo(ChunkManager.RenderingChunkManager chunkManager)
 {
     if (m_bookmarksInfo != null)
     {
         return(m_bookmarksInfo);
     }
     return(chunkManager.GetSpecialChunkReader(ChunkManager.SpecialChunkName.Bookmark)?.ReadBookmarksHashtable());
 }
コード例 #3
0
        internal SortFilterEventInfoHashtable GetSortFilterEventInfo(ChunkManager.RenderingChunkManager chunkManager)
        {
            IntermediateFormatReader intermediateFormatReader = null;

            if (m_sortFilterEventInfo != null)
            {
                return((SortFilterEventInfoHashtable)m_sortFilterEventInfo);
            }
            return(chunkManager.GetSpecialChunkReader(ChunkManager.SpecialChunkName.SortFilterEventInfo)?.ReadSortFilterEventInfoHashtable());
        }
コード例 #4
0
 private void GetShowHideInfo(ChunkManager.RenderingChunkManager chunkManager)
 {
     if (this.m_showHideSenderInfo == null && this.m_showHideReceiverInfo == null)
     {
         IntermediateFormatReader specialChunkReader = chunkManager.GetSpecialChunkReader(ChunkManager.SpecialChunkName.ShowHideInfo);
         if (specialChunkReader != null)
         {
             this.m_showHideSenderInfo   = specialChunkReader.ReadSenderInformationHashtable();
             this.m_showHideReceiverInfo = specialChunkReader.ReadReceiverInformationHashtable();
         }
     }
 }
コード例 #5
0
        public BookmarksHashtable GetBookmarksInfo(ChunkManager.RenderingChunkManager chunkManager)
        {
            if (this.m_bookmarksInfo != null)
            {
                return(this.m_bookmarksInfo);
            }
            IntermediateFormatReader specialChunkReader = chunkManager.GetSpecialChunkReader(ChunkManager.SpecialChunkName.Bookmark);

            if (specialChunkReader != null)
            {
                return(specialChunkReader.ReadBookmarksHashtable());
            }
            return(null);
        }
コード例 #6
0
        public SortFilterEventInfoHashtable GetSortFilterEventInfo(ChunkManager.RenderingChunkManager chunkManager)
        {
            IntermediateFormatReader intermediateFormatReader = null;

            if (this.m_sortFilterEventInfo != null)
            {
                return((SortFilterEventInfoHashtable)this.m_sortFilterEventInfo);
            }
            intermediateFormatReader = chunkManager.GetSpecialChunkReader(ChunkManager.SpecialChunkName.SortFilterEventInfo);
            if (intermediateFormatReader != null)
            {
                return(intermediateFormatReader.ReadSortFilterEventInfoHashtable());
            }
            return(null);
        }
コード例 #7
0
        internal QuickFindHashtable GetQuickFind(ChunkManager.RenderingChunkManager chunkManager)
        {
            IntermediateFormatReader intermediateFormatReader = null;

            if (m_quickFind != null)
            {
                if (!(m_quickFind is OffsetInfo))
                {
                    return((QuickFindHashtable)m_quickFind);
                }
                intermediateFormatReader = chunkManager.GetReaderForSpecialChunk(((OffsetInfo)m_quickFind).Offset);
            }
            else
            {
                intermediateFormatReader = chunkManager.GetSpecialChunkReader(ChunkManager.SpecialChunkName.QuickFind);
            }
            return(intermediateFormatReader?.ReadQuickFindHashtable());
        }
コード例 #8
0
        internal DocumentMapNode GetDocumentMap(ChunkManager.RenderingChunkManager chunkManager)
        {
            IntermediateFormatReader intermediateFormatReader = null;

            if (m_documentMap != null)
            {
                if (!(m_documentMap is OffsetInfo))
                {
                    return((DocumentMapNode)m_documentMap);
                }
                intermediateFormatReader = chunkManager.GetReaderForSpecialChunk(((OffsetInfo)m_documentMap).Offset);
            }
            else if (m_hasDocumentMap)
            {
                intermediateFormatReader = chunkManager.GetSpecialChunkReader(ChunkManager.SpecialChunkName.DocumentMap);
            }
            return(intermediateFormatReader?.ReadDocumentMapNode());
        }
コード例 #9
0
        public QuickFindHashtable GetQuickFind(ChunkManager.RenderingChunkManager chunkManager)
        {
            IntermediateFormatReader intermediateFormatReader = null;

            if (this.m_quickFind != null)
            {
                if (this.m_quickFind is OffsetInfo)
                {
                    intermediateFormatReader = chunkManager.GetReaderForSpecialChunk(((OffsetInfo)this.m_quickFind).Offset);
                    goto IL_0044;
                }
                return((QuickFindHashtable)this.m_quickFind);
            }
            intermediateFormatReader = chunkManager.GetSpecialChunkReader(ChunkManager.SpecialChunkName.QuickFind);
            goto IL_0044;
IL_0044:
            if (intermediateFormatReader != null)
            {
                return(intermediateFormatReader.ReadQuickFindHashtable());
            }
            return(null);
        }