123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- using Aspose.Cells;
- using System;
- using System.Collections.Generic;
- using System.IO;
- using System.Text;
- namespace Bowin.Common.Office
- {
- public class CellItem
- {
- public int Row { get; set; }
- public int Col { get; set; }
- public string Value { get; set; }
- }
- public class ListItem
- {
- public int StartRow { get; set; }
- public int StartColumn { get; set; }
- public int EndColumn { get; set; }
- public string[][] Values { get; set; }
- }
- public class PictureItem
- {
- public int StartRow { get; set; }
- public int StartColumn { get; set; }
- public int EndRow { get; set; }
- public int EndColumn { get; set; }
- public Stream Picture { get; set; }
- }
- public class PageItem
- {
- public PageItem()
- {
- CellItemList = new List<CellItem>();
- ListItemList = new List<ListItem>();
- PictureItemList = new List<PictureItem>();
- ColumnWidthList = new Dictionary<int, double>();
- }
- public string Name { get; set; }
- public List<CellItem> CellItemList { get; set; }
- public List<ListItem> ListItemList { get; set; }
- public List<PictureItem> PictureItemList { get; set; }
- public IDictionary<int, double> ColumnWidthList { get; set; }
- }
- }
|