public virtual void ChangeValue(ListStyleType val) { withvalue = true; }
public ListStyle() { image= null; position= new FlexiblePoint(0f, 0f); type= ListStyleType.none; }
public override void ChangeValue(ListStyleType val) { Value = val; base.ChangeValue(value); }
public ListToken(string line, int leading, ListStyleType list_style) : base(line) { this.leading = leading; this.list_style = list_style; }
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; } }