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

namespace TEAMModelOS.Models.PowerPoint
{
    public class Paragraph
    {
         
        public ParagraphStyle style { get; set; }
        public Paragraph() {
            texts = new List<Text>();
        }
 
        public BuChar buChar { get; set; }
        public List<Text> texts { get; set; }
       
    }
    public class Text
    {
      //  public string StyleSha { get; set; }
        public string content { get; set; }
        public string href { get; set; }
        public bool isbr { get; set; } = false;
        
        public FontStyle style { get; set; }
    }

    public class BuChar {
        //TYPE_BULPIC  TYPE_NUMERIC TYPE_BULLET  TYPE_NONE  没有图标的 只有缩进
        public string type{ get; set; }
        public double left { get; set; }
        public double riht { get; set; }
        public string buchar { get; set; }
        public string typeface { get; set; }
        public double  size { get; set; }
        public string @float { get; set; }
        /// <summary>
        /// ltr	默认。文本方向从左到右
        /// rtl	文本方向从右到左。
        /// inherit	规定应该从父元素继承 direction 属性的值。
        /// </summary>
        public string direction { get; set; } = "inherit";
    }

    public class ParagraphStyle
    {
        public string vert { get; set; }
        // public string LeftMargin { get; set; }
        public string hori { get; set; }
        public string writing { get; set; }
      
    }
}
