using System;
using System.Collections.Generic;
using System.Text;

namespace TEAMModelOS.Models.PowerPoint
{
    public class Table :Item
    {
        public Table() {
            tr = new List<Tr>();
        }
        //内容排版方向 左书写 右书写
        public string dir { get; set; }
        public string collapse { get; set; } = "collapse";
       // public Border Border { get; set; }
       // public Fill Fill { get; set; }
        public List<Tr> tr { get; set; }
    }

    public class Tr {
        public Tr()
        {
            td = new List<Td>();
        }
       
        public Fill fill { get; set; }
        public  double height { get; set; }
        public List<Td> td { get; set; }
    
        public List<Border> borders { get; set; }
    }
    public class Td
    {
        public double width { get; set; }
    
        public Fill fill { get; set; }
        public int rowspan { get; set; }
        public int colspan { get; set; }

        public int vmerge { get; set; }
        public int hmerge { get; set; }
        public List<Paragraph> paragraphs { get; set; }
      
    }
}
