예제 #1
0
        public ChunkInfo(string chunkText)
        {
            var text = chunkText.Trim();

            Text    = text;
            Summary = ChunkInfoHelper.GetChunksummary(text);
        }
예제 #2
0
        public ChunkInfo(int chunkNumber, string chunkText, int?startPage, int?endPage)
        {
            ChunkNumber = chunkNumber;
            var text = chunkText.Trim();

            Text      = text;
            CharCount = text.Length;
            StartPage = startPage;
            EndPage   = endPage;
            Summary   = ChunkInfoHelper.GetChunksummary(text);
        }