예제 #1
0
 public virtual void ChangeValue(ListStyleType val)
 {
     withvalue = true;
 }
예제 #2
0
 public ListStyle()
 {
     image=	null;
     position=	new FlexiblePoint(0f, 0f);
     type=	ListStyleType.none;
 }
예제 #3
0
 public override void ChangeValue(ListStyleType val)
 {
     Value = val;
     base.ChangeValue(value);
 }
예제 #4
0
 public ListToken(string line, int leading, ListStyleType list_style)
     : base(line)
 {
     this.leading = leading;
     this.list_style = list_style;
 }
예제 #5
0
 public static MigraDoc.DocumentObjectModel.ListType GetListStyleType(ListStyleType v)
 {
     switch (v)
     {
         case ListStyleType.BulletList1:
             return MigraDoc.DocumentObjectModel.ListType.BulletList1;
         case ListStyleType.BulletList2:
             return MigraDoc.DocumentObjectModel.ListType.BulletList2;
         case ListStyleType.BulletList3:
             return MigraDoc.DocumentObjectModel.ListType.BulletList3;
         case ListStyleType.NumberList1:
             return MigraDoc.DocumentObjectModel.ListType.NumberList1;
         case ListStyleType.NumberList2:
             return MigraDoc.DocumentObjectModel.ListType.NumberList2;
         case ListStyleType.NumberList3:
             return MigraDoc.DocumentObjectModel.ListType.NumberList3;
         default:
             return MigraDoc.DocumentObjectModel.ListType.BulletList1;
     }
 }