18 namespace erminas.SmartAPI.CMS.Project.ContentClasses.Elements
22 string FontClass {
get;
set; }
24 string FontColor {
get;
set; }
26 string FontFace {
get;
set; }
28 string FontSize {
get;
set; }
33 bool IsDisplayingConnectedPagesInTargetContainerOfMainLinkIfAvailable {
get;
set; }
35 bool IsFontBold {
get;
set; }
37 bool IsOnlyPathAndFilenameInserted {
get;
set; }
39 bool IsSyntaxConformingToXHtml {
get;
set; }
41 bool IsTransferingElementContentOfFollowingPages {
get;
set; }
43 Pages.Elements.IContainer PreassignedTargetContainer {
get;
set; }
46 internal class List : AbstractWorkflowAssignments, IList
48 private readonly TargetContainerPreassignment _targetContainerPreassignment;
49 private readonly ReferencePreassignment _referencePreassignment;
51 internal List(
IContentClass contentClass, XmlElement xmlElement) : base(contentClass, xmlElement)
53 _targetContainerPreassignment =
new TargetContainerPreassignment(
this);
54 PreassignedContentClasses =
new PreassignedContentClassesAndPageDefinitions(
this);
55 _referencePreassignment =
new ReferencePreassignment(
this);
58 public override void Refresh()
60 _referencePreassignment.InvalidateCache();
69 public IReferencePreassignTarget PreassignedReference
71 get {
return _referencePreassignment.Target; }
72 set { _referencePreassignment.Target = value; }
75 [RedDot(
"eltfontclass")]
76 public string FontClass
78 get {
return GetAttributeValue<string>(); }
79 set { SetAttributeValue(value); }
82 [RedDot(
"eltfontcolor")]
83 public string FontColor
85 get {
return GetAttributeValue<string>(); }
86 set { SetAttributeValue(value); }
89 [RedDot(
"eltfontface")]
90 public string FontFace
92 get {
return GetAttributeValue<string>(); }
93 set { SetAttributeValue(value); }
96 [RedDot(
"eltfontsize")]
97 public string FontSize
99 get {
return GetAttributeValue<string>(); }
100 set { SetAttributeValue(value); }
103 public bool IsDisplayingConnectedPagesInTargetContainerOfMainLinkIfAvailable
105 get {
return _targetContainerPreassignment.IsDisplayingConnectedPagesInTargetContainerOfMainLinkIfAvailable; }
106 set { _targetContainerPreassignment.IsDisplayingConnectedPagesInTargetContainerOfMainLinkIfAvailable = value; }
109 [RedDot(
"eltfontbold")]
110 public bool IsFontBold
112 get {
return GetAttributeValue<bool>(); }
113 set { SetAttributeValue(value); }
116 [RedDot(
"eltonlyhrefvalue")]
117 public bool IsOnlyPathAndFilenameInserted
119 get {
return GetAttributeValue<bool>(); }
120 set { SetAttributeValue(value); }
123 [RedDot(
"eltxhtmlcompliant")]
124 public bool IsSyntaxConformingToXHtml
126 get {
return GetAttributeValue<bool>(); }
127 set { SetAttributeValue(value); }
130 [RedDot(
"eltextendedlist")]
131 public bool IsTransferingElementContentOfFollowingPages
133 get {
return GetAttributeValue<bool>(); }
134 set { SetAttributeValue(value); }
137 public PreassignedContentClassesAndPageDefinitions PreassignedContentClasses {
get;
private set; }
139 public Pages.Elements.IContainer PreassignedTargetContainer
141 get {
return _targetContainerPreassignment.TargetContainer; }
142 set { _targetContainerPreassignment.TargetContainer = value; }