using System; using System.Collections.Generic; using System.Text; namespace HTEXLib { public class TextBody { public List paragraphs { get; set; } /// /// 垂直布局 Top 0,Center 1 , Bootom 2 /// public string anchor { get; set; } /// /// 水平布局 水平居中anchorCt /// public bool anchorCtr { get; set; } // 书写方向 false 从左到右书写,true从右到左 public bool rtlCol { get; set; } /// /// square 不溢出, none 溢出 /// public string wrap { get; set; } /// /// "horz". 横向水平排版 默认 /// "vert". 顺时针旋转90 ,多一行则向左前进 /// "vert270". 顺时针旋转270,多一行则向右前进 /// |------ /// |---1 /// |---2 /// |---3 /// 》》》》》 /// | /// |123 /// |||| /// |||| /// ------- /// "wordArtVert". 堆积从左到右 /// "wordArtVertRtl".堆积从右到左 /// "eaVert". 垂直90度书写 /// "mongolianVert". 垂直书写,从左到右 /// public string vert { get; set; } = "horz"; /// /// 旋转角度 /// public double rot { get; set; } = 0; /// /// autoFit 大于 wrap设定 /// true 每个形状的文本都停留在该形状的范围内 /// flase 此元素指定文本主体内的文本不应自动适合于边框。 /// public bool autoFit { get; set; } = true; public double top { get; set; } public double bottom { get; set; } public double left { get; set; } public double right { get; set; } public double lnSpRn { get; set; } = 0; } }