@@ -130,5 +130,61 @@ feature -- Access
130130 -- All column groups on this sheet, ordered by increasing range start index, then by group depth.
131131
132132 slicers : detachable LIST [EG_SLICER ]
133- -- The slicers on this sheet.
133+ -- The slicers on this sheet.
134+
135+
136+ feature -- Element Change
137+
138+ set_properties (a_properties : like properties )
139+ -- -- Set `properties` with `a_properties`.
140+ do
141+ properties := a_properties
142+ ensure
143+ properties_set : properties = a_properties
144+ end
145+
146+ force_data (a_data : EG_GRID_DATA )
147+ -- Add an item `a_data` to the list `data`.
148+ local
149+ l_data : like data
150+ do
151+ l_data := data
152+ if l_data /= Void then
153+ l_data .force (a_data )
154+ else
155+ create {ARRAYED_LIST [EG_GRID_DATA ]}l_data .make (5 )
156+ l_data .force (a_data )
157+ end
158+ data := l_data
159+ end
160+
161+ force_merges (a_merge : EG_GRID_RANGE )
162+ -- Add an item `a_merge` to the list `merges`.
163+ local
164+ l_merges : like merges
165+ do
166+ l_merges := merges
167+ if l_merges /= Void then
168+ l_merges .force (a_merge )
169+ else
170+ create {ARRAYED_LIST [EG_GRID_RANGE ]}l_merges .make (5 )
171+ l_merges .force (a_merge )
172+ end
173+ merges := l_merges
174+ end
175+
176+ force_conditional_formats (a_item : EG_CONDITIONAL_FORMAT_RULE )
177+ -- Add an item `a_item` to the list `conditional_formats`.
178+ local
179+ l_conditional_formats : like conditional_formats
180+ do
181+ l_conditional_formats := conditional_formats
182+ if l_conditional_formats /= Void then
183+ l_conditional_formats .force (a_item )
184+ else
185+ create {ARRAYED_LIST [EG_CONDITIONAL_FORMAT_RULE ]}l_conditional_formats .make (5 )
186+ l_conditional_formats .force (a_item )
187+ end
188+ conditional_formats := l_conditional_formats
189+ end
134190end
0 commit comments