F2017-036: For VCB: Additional Proprietary statement
This commit is contained in:
@@ -84,6 +84,14 @@ namespace VEPROMS.CSLA.Library
|
||||
return (_Font == null) ?_Font = new VE_Font(XmlNode): _Font;
|
||||
}
|
||||
}
|
||||
private RelatedItem _RelatedItem;
|
||||
public RelatedItem RelatedItem
|
||||
{
|
||||
get
|
||||
{
|
||||
return (_RelatedItem == null) ? _RelatedItem = new RelatedItem(SelectSingleNode("RelatedItem")) : _RelatedItem;
|
||||
}
|
||||
}
|
||||
private LazyLoad<string> _Token;
|
||||
[Category("Content")]
|
||||
[DisplayName("Content")]
|
||||
@@ -146,6 +154,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Override ToString
|
||||
public override string ToString()
|
||||
{
|
||||
@@ -157,4 +166,60 @@ namespace VEPROMS.CSLA.Library
|
||||
#endregion
|
||||
}
|
||||
#endregion
|
||||
#region RelatedItem
|
||||
// RelatedItem was added to allow a PSI logical to have an associated PSI item, and if both are
|
||||
// selected the RelatedItem data changes where the item prints. This was implemented for
|
||||
// F2017-036 - VCS.
|
||||
[TypeConverter(typeof(ExpandableObjectConverter))]
|
||||
public class RelatedItem : vlnFormatItem
|
||||
{
|
||||
#region Constructor
|
||||
public RelatedItem(XmlNode xmlNode) : base(xmlNode) { }
|
||||
public RelatedItem() : base() { }
|
||||
#endregion
|
||||
#region Business Methods
|
||||
private LazyLoad<string> _Token;
|
||||
[Category("RelatedContent")]
|
||||
[DisplayName("RelatedContent")]
|
||||
[Description("Item RelatedContent")]
|
||||
public string Token
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _Token, "@Token");
|
||||
}
|
||||
}
|
||||
private LazyLoad<float?> _Row;
|
||||
[Category("Location")]
|
||||
[DisplayName("Vertical Position")]
|
||||
[Description("Vertical Position")]
|
||||
public float? Row
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _Row, "@Row");
|
||||
}
|
||||
}
|
||||
private LazyLoad<float?> _Col;
|
||||
[Category("Location")]
|
||||
[DisplayName("Horizontal Position")]
|
||||
[Description("Horizontal Position")]
|
||||
public float? Col
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _Col, "@Col");
|
||||
}
|
||||
}
|
||||
private LazyLoad<E_Justify?> _Justify;
|
||||
public E_Justify? Justify
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad<E_Justify>(ref _Justify, "@Justify");
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
Reference in New Issue
Block a user