using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// /// AiOcrTableContext Data Structure. /// [Serializable] public class AiOcrTableContext : AopObject { /// /// one past end column index(单元格所占的列数(colspan)为ex - sx) /// [XmlElement("ex")] public long Ex { get; set; } /// /// one past end row index(单元格所占的行数(rowspan)为ey - sy) /// [XmlElement("ey")] public long Ey { get; set; } /// /// cell height,图片上单元格的高度 /// [XmlElement("height")] public long Height { get; set; } /// /// start from column(单元格的起始列id) /// [XmlElement("sx")] public long Sx { get; set; } /// /// start row(单元格的起始行id) /// [XmlElement("sy")] public long Sy { get; set; } /// /// 表格文字内容 /// [XmlArray("text")] [XmlArrayItem("string")] public List Text { get; set; } /// /// 类型 /// [XmlElement("type")] public string Type { get; set; } /// /// cell width,图片上单元格的宽度 /// [XmlElement("width")] public long Width { get; set; } } }