add a sub item to allow for a bullet within a tab with separate font settings.

This commit is contained in:
John Jenko 2011-12-07 14:01:45 +00:00
parent f1af6e9d6c
commit bd05860f50

View File

@ -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