17 using erminas.SmartAPI.CMS.Converter;
19 namespace erminas.SmartAPI.CMS.Project.ContentClasses.Elements
23 string Coords {
get;
set; }
25 bool IsDisplayingConnectedPagesInTargetContainerOfMainLinkIfAvailable {
get;
set; }
27 bool IsOnlyPathAndFilenameInserted {
get;
set; }
29 bool IsSyntaxConformingToXHtml {
get;
set; }
31 Pages.Elements.IContainer PreassignedTargetContainer {
get;
set; }
35 string Supplement {
get;
set; }
40 internal class Area : AbstractWorkflowAssignments, IArea
42 private readonly TargetContainerPreassignment _targetContainerPreassignment;
44 internal Area(
IContentClass contentClass, XmlElement xmlElement) : base(contentClass, xmlElement)
46 PreassignedContentClasses =
new PreassignedContentClassesAndPageDefinitions(
this);
47 _targetContainerPreassignment =
new TargetContainerPreassignment(
this);
58 get {
return GetAttributeValue<string>(); }
59 set { SetAttributeValue(value); }
62 public bool IsDisplayingConnectedPagesInTargetContainerOfMainLinkIfAvailable
64 get {
return _targetContainerPreassignment.IsDisplayingConnectedPagesInTargetContainerOfMainLinkIfAvailable; }
65 set { _targetContainerPreassignment.IsDisplayingConnectedPagesInTargetContainerOfMainLinkIfAvailable = value; }
68 [RedDot(
"eltonlyhrefvalue")]
69 public bool IsOnlyPathAndFilenameInserted
71 get {
return GetAttributeValue<bool>(); }
72 set { SetAttributeValue(value); }
75 [RedDot(
"eltxhtmlcompliant")]
76 public bool IsSyntaxConformingToXHtml
78 get {
return GetAttributeValue<bool>(); }
79 set { SetAttributeValue(value); }
82 public PreassignedContentClassesAndPageDefinitions PreassignedContentClasses {
get;
private set; }
84 public Pages.Elements.IContainer PreassignedTargetContainer
86 get {
return _targetContainerPreassignment.TargetContainer; }
87 set { _targetContainerPreassignment.TargetContainer = value; }
90 [RedDot(
"eltshape", ConverterType = typeof (StringEnumConverter<Shape>))]
93 get {
return GetAttributeValue<Shape>(); }
94 set { SetAttributeValue(value); }
97 [RedDot(
"eltsupplement")]
98 public string Supplement
100 get {
return GetAttributeValue<string>(); }
101 set { SetAttributeValue(value); }
104 [RedDot(
"elttarget", ConverterType = typeof (StringEnumConverter<HtmlTarget>))]
107 get {
return GetAttributeValue<HtmlTarget>(); }
108 set { SetAttributeValue(value); }