add a sub item to allow for a bullet within a tab with separate font settings.
This commit is contained in:
		@@ -4309,6 +4309,35 @@ namespace VEPROMS.CSLA.Library
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	#endregion
 | 
			
		||||
	#region Bullet
 | 
			
		||||
	[TypeConverter(typeof(ExpandableObjectConverter))]
 | 
			
		||||
	public class Bullet : vlnFormatItem
 | 
			
		||||
	{
 | 
			
		||||
		public Bullet(XmlNode xmlNode) : base(xmlNode) { }
 | 
			
		||||
		private LazyLoad<bool> _Separate;
 | 
			
		||||
		public bool Separate
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return LazyLoad(ref _Separate, "TabData/Bullet/@Separate");
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		private VE_Font _Font;
 | 
			
		||||
		public VE_Font Font
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				if (_Font == null)
 | 
			
		||||
				{
 | 
			
		||||
					XmlNode xn = vlnFormatDocument.LookupSingleStepNode(base.XmlNode, "Bullet[Font]");
 | 
			
		||||
					_Font = new VE_Font(xn);
 | 
			
		||||
				}
 | 
			
		||||
				return _Font;
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	#endregion
 | 
			
		||||
	#region StepTab
 | 
			
		||||
	[TypeConverter(typeof(ExpandableObjectConverter))]
 | 
			
		||||
@@ -4390,6 +4419,14 @@ namespace VEPROMS.CSLA.Library
 | 
			
		||||
				return LazyLoad(ref _UsePreviousStyle, "TabData/@UsePreviousStyle");
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		private LazyLoad<float?> _IdentWidth;
 | 
			
		||||
		public float? IdentWidth
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return LazyLoad(ref _IdentWidth, "TabData/@IdentWidth");
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		private VE_Font _Font;
 | 
			
		||||
		public VE_Font Font
 | 
			
		||||
		{
 | 
			
		||||
@@ -4403,6 +4440,14 @@ namespace VEPROMS.CSLA.Library
 | 
			
		||||
				return _Font;
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		private Bullet _Bullet;
 | 
			
		||||
		public Bullet Bullet
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return (_Bullet == null) ? _Bullet = new Bullet(base.XmlNode) : _Bullet;
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
	}
 | 
			
		||||
	#endregion
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user