123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace HTEXLib
- {
- 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; }
-
- }
- }
|