Avoid potential negative array index access to cached text.
[LibreOffice.git] / sc / uiconfig / scalc / ui / datafielddialog.ui
blob32ad712bf24a407c77e4da3c9b091820cecef984
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Generated with glade 3.36.0 -->
3 <interface domain="sc">
4 <requires lib="gtk+" version="3.20"/>
5 <object class="GtkTreeStore" id="liststore2">
6 <columns>
7 <!-- column-name text -->
8 <column type="gchararray"/>
9 <!-- column-name id -->
10 <column type="gchararray"/>
11 </columns>
12 </object>
13 <object class="GtkDialog" id="DataFieldDialog">
14 <property name="can_focus">False</property>
15 <property name="border_width">6</property>
16 <property name="title" translatable="yes" context="datafielddialog|DataFieldDialog">Data Field</property>
17 <property name="resizable">False</property>
18 <property name="type_hint">dialog</property>
19 <child internal-child="vbox">
20 <object class="GtkBox" id="dialog-vbox1">
21 <property name="can_focus">False</property>
22 <property name="hexpand">True</property>
23 <property name="vexpand">True</property>
24 <property name="orientation">vertical</property>
25 <property name="spacing">12</property>
26 <child internal-child="action_area">
27 <object class="GtkButtonBox" id="dialog-action_area1">
28 <property name="can_focus">False</property>
29 <property name="layout_style">end</property>
30 <child>
31 <object class="GtkButton" id="ok">
32 <property name="label" translatable="yes" context="stock">_OK</property>
33 <property name="visible">True</property>
34 <property name="can_focus">True</property>
35 <property name="can_default">True</property>
36 <property name="has_default">True</property>
37 <property name="receives_default">True</property>
38 <property name="use-underline">True</property>
39 </object>
40 <packing>
41 <property name="expand">False</property>
42 <property name="fill">True</property>
43 <property name="position">0</property>
44 </packing>
45 </child>
46 <child>
47 <object class="GtkButton" id="cancel">
48 <property name="label" translatable="yes" context="stock">_Cancel</property>
49 <property name="visible">True</property>
50 <property name="can_focus">True</property>
51 <property name="can_default">True</property>
52 <property name="receives_default">True</property>
53 <property name="use-underline">True</property>
54 </object>
55 <packing>
56 <property name="expand">False</property>
57 <property name="fill">True</property>
58 <property name="position">1</property>
59 </packing>
60 </child>
61 <child>
62 <object class="GtkButton" id="help">
63 <property name="label" translatable="yes" context="stock">_Help</property>
64 <property name="visible">True</property>
65 <property name="can_focus">True</property>
66 <property name="receives_default">True</property>
67 <property name="use-underline">True</property>
68 </object>
69 <packing>
70 <property name="expand">False</property>
71 <property name="fill">True</property>
72 <property name="position">2</property>
73 <property name="secondary">True</property>
74 </packing>
75 </child>
76 </object>
77 <packing>
78 <property name="expand">False</property>
79 <property name="fill">True</property>
80 <property name="pack_type">end</property>
81 <property name="position">0</property>
82 </packing>
83 </child>
84 <child>
85 <!-- n-columns=1 n-rows=1 -->
86 <object class="GtkGrid" id="grid1">
87 <property name="visible">True</property>
88 <property name="can_focus">False</property>
89 <property name="hexpand">True</property>
90 <property name="vexpand">True</property>
91 <property name="row_spacing">12</property>
92 <child>
93 <object class="GtkFrame" id="frame1">
94 <property name="visible">True</property>
95 <property name="can_focus">False</property>
96 <property name="hexpand">True</property>
97 <property name="vexpand">True</property>
98 <property name="label_xalign">0</property>
99 <property name="shadow_type">none</property>
100 <child>
101 <!-- n-columns=1 n-rows=1 -->
102 <object class="GtkGrid" id="grid2">
103 <property name="visible">True</property>
104 <property name="can_focus">False</property>
105 <property name="hexpand">True</property>
106 <property name="vexpand">True</property>
107 <property name="row_spacing">6</property>
108 <property name="margin-start">12</property>
109 <property name="margin-top">6</property>
110 <child>
111 <object class="GtkScrolledWindow">
112 <property name="visible">True</property>
113 <property name="can_focus">True</property>
114 <property name="hexpand">True</property>
115 <property name="vexpand">True</property>
116 <property name="shadow_type">in</property>
117 <child>
118 <object class="GtkTreeView" id="functions">
119 <property name="visible">True</property>
120 <property name="can_focus">True</property>
121 <property name="receives_default">True</property>
122 <property name="hexpand">True</property>
123 <property name="vexpand">True</property>
124 <property name="model">liststore2</property>
125 <property name="headers_visible">False</property>
126 <property name="search_column">1</property>
127 <property name="show_expanders">False</property>
128 <child internal-child="selection">
129 <object class="GtkTreeSelection" id="Macro Library List-selection2"/>
130 </child>
131 <child>
132 <object class="GtkTreeViewColumn" id="treeviewcolumn5">
133 <property name="resizable">True</property>
134 <property name="spacing">6</property>
135 <child>
136 <object class="GtkCellRendererText" id="cellrenderer4"/>
137 <attributes>
138 <attribute name="text">0</attribute>
139 </attributes>
140 </child>
141 </object>
142 </child>
143 <child internal-child="accessible">
144 <object class="AtkObject" id="functions-atkobject">
145 <property name="AtkObject::accessible-description" translatable="yes" context="datafielddialog|extended_tip|functions">Click the type of subtotal that you want to calculate. This option is only available if the User-defined option is selected.</property>
146 </object>
147 </child>
148 </object>
149 </child>
150 </object>
151 <packing>
152 <property name="left_attach">0</property>
153 <property name="top_attach">0</property>
154 </packing>
155 </child>
156 </object>
157 </child>
158 <child type="label">
159 <object class="GtkLabel" id="label1">
160 <property name="visible">True</property>
161 <property name="can_focus">False</property>
162 <property name="label" translatable="yes" context="datafielddialog|label1">Function</property>
163 <attributes>
164 <attribute name="weight" value="bold"/>
165 </attributes>
166 </object>
167 </child>
168 </object>
169 <packing>
170 <property name="left_attach">0</property>
171 <property name="top_attach">0</property>
172 </packing>
173 </child>
174 <child>
175 <object class="GtkCheckButton" id="checkbutton1">
176 <property name="label" translatable="yes" context="datafielddialog|checkbutton1">Show it_ems without data</property>
177 <property name="visible">True</property>
178 <property name="can_focus">True</property>
179 <property name="receives_default">False</property>
180 <property name="use_underline">True</property>
181 <property name="draw_indicator">True</property>
182 <child internal-child="accessible">
183 <object class="AtkObject" id="checkbutton1-atkobject">
184 <property name="AtkObject::accessible-description" translatable="yes" context="datafielddialog|extended_tip|checkbutton1">Includes empty columns and rows in the results table.</property>
185 </object>
186 </child>
187 </object>
188 <packing>
189 <property name="left_attach">0</property>
190 <property name="top_attach">1</property>
191 </packing>
192 </child>
193 <child>
194 <!-- n-columns=1 n-rows=1 -->
195 <object class="GtkGrid" id="grid3">
196 <property name="visible">True</property>
197 <property name="can_focus">False</property>
198 <property name="column_spacing">12</property>
199 <child>
200 <object class="GtkLabel" id="label2">
201 <property name="visible">True</property>
202 <property name="can_focus">False</property>
203 <property name="label" translatable="yes" context="datafielddialog|label2">Name:</property>
204 <property name="xalign">0</property>
205 </object>
206 <packing>
207 <property name="left_attach">0</property>
208 <property name="top_attach">0</property>
209 </packing>
210 </child>
211 <child>
212 <object class="GtkLabel" id="name">
213 <property name="visible">True</property>
214 <property name="can_focus">False</property>
215 <property name="xalign">0</property>
216 </object>
217 <packing>
218 <property name="left_attach">1</property>
219 <property name="top_attach">0</property>
220 </packing>
221 </child>
222 </object>
223 <packing>
224 <property name="left_attach">0</property>
225 <property name="top_attach">2</property>
226 </packing>
227 </child>
228 <child>
229 <object class="GtkExpander" id="expander">
230 <property name="visible">True</property>
231 <property name="can_focus">True</property>
232 <property name="resize_toplevel">True</property>
233 <child>
234 <!-- n-columns=1 n-rows=1 -->
235 <object class="GtkGrid" id="grid4">
236 <property name="hexpand">True</property>
237 <property name="visible">True</property>
238 <property name="can_focus">False</property>
239 <property name="row_spacing">6</property>
240 <property name="column_spacing">12</property>
241 <property name="margin-start">12</property>
242 <property name="margin-top">6</property>
243 <child>
244 <object class="GtkLabel" id="label4">
245 <property name="visible">True</property>
246 <property name="can_focus">False</property>
247 <property name="label" translatable="yes" context="datafielddialog|label4">_Type:</property>
248 <property name="use_underline">True</property>
249 <property name="mnemonic_widget">type</property>
250 <property name="ellipsize">end</property>
251 <property name="xalign">0</property>
252 </object>
253 <packing>
254 <property name="left_attach">0</property>
255 <property name="top_attach">0</property>
256 </packing>
257 </child>
258 <child>
259 <object class="GtkLabel" id="basefieldft">
260 <property name="visible">True</property>
261 <property name="can_focus">False</property>
262 <property name="label" translatable="yes" context="datafielddialog|basefieldft">_Base field:</property>
263 <property name="use_underline">True</property>
264 <property name="mnemonic_widget">basefield</property>
265 <property name="ellipsize">end</property>
266 <property name="xalign">0</property>
267 </object>
268 <packing>
269 <property name="left_attach">0</property>
270 <property name="top_attach">1</property>
271 </packing>
272 </child>
273 <child>
274 <object class="GtkLabel" id="baseitemft">
275 <property name="visible">True</property>
276 <property name="can_focus">False</property>
277 <property name="label" translatable="yes" context="datafielddialog|baseitemft">Ba_se item:</property>
278 <property name="use_underline">True</property>
279 <property name="mnemonic_widget">baseitem</property>
280 <property name="ellipsize">end</property>
281 <property name="xalign">0</property>
282 </object>
283 <packing>
284 <property name="left_attach">0</property>
285 <property name="top_attach">2</property>
286 </packing>
287 </child>
288 <child>
289 <object class="GtkComboBoxText" id="type">
290 <property name="visible">True</property>
291 <property name="can_focus">False</property>
292 <items>
293 <item translatable="yes" context="datafielddialog|type">Normal</item>
294 <item translatable="yes" context="datafielddialog|type">Difference from</item>
295 <item translatable="yes" context="datafielddialog|type">% of</item>
296 <item translatable="yes" context="datafielddialog|type">% difference from</item>
297 <item translatable="yes" context="datafielddialog|type">Running total in</item>
298 <item translatable="yes" context="datafielddialog|type">% of row</item>
299 <item translatable="yes" context="datafielddialog|type">% of column</item>
300 <item translatable="yes" context="datafielddialog|type">% of total</item>
301 <item translatable="yes" context="datafielddialog|type">Index</item>
302 </items>
303 <child internal-child="accessible">
304 <object class="AtkObject" id="type-atkobject">
305 <property name="AtkObject::accessible-description" translatable="yes" context="datafielddialog|extended_tip|type">Select the type of calculating of the displayed value for the data field.</property>
306 </object>
307 </child>
308 </object>
309 <packing>
310 <property name="left_attach">1</property>
311 <property name="top_attach">0</property>
312 </packing>
313 </child>
314 <child>
315 <object class="GtkComboBoxText" id="basefield">
316 <property name="visible">True</property>
317 <property name="can_focus">False</property>
318 <child internal-child="accessible">
319 <object class="AtkObject" id="basefield-atkobject">
320 <property name="AtkObject::accessible-description" translatable="yes" context="datafielddialog|extended_tip|basefield">Select the field from which the respective value is taken as base for the calculation.</property>
321 </object>
322 </child>
323 </object>
324 <packing>
325 <property name="left_attach">1</property>
326 <property name="top_attach">1</property>
327 </packing>
328 </child>
329 <child>
330 <object class="GtkComboBoxText" id="baseitem">
331 <property name="visible">True</property>
332 <property name="can_focus">False</property>
333 <items>
334 <item translatable="yes" context="datafielddialog|baseitem">- previous item -</item>
335 <item translatable="yes" context="datafielddialog|baseitem">- next item -</item>
336 </items>
337 <child internal-child="accessible">
338 <object class="AtkObject" id="baseitem-atkobject">
339 <property name="AtkObject::accessible-description" translatable="yes" context="datafielddialog|extended_tip|baseitem">Select the item of the base field from which the respective value is taken as base for the calculation.</property>
340 </object>
341 </child>
342 </object>
343 <packing>
344 <property name="left_attach">1</property>
345 <property name="top_attach">2</property>
346 </packing>
347 </child>
348 </object>
349 </child>
350 <child type="label">
351 <object class="GtkLabel" id="label3">
352 <property name="visible">True</property>
353 <property name="can_focus">False</property>
354 <property name="label" translatable="yes" context="datafielddialog|label3">Displayed Value</property>
355 </object>
356 </child>
357 <child internal-child="accessible">
358 <object class="AtkObject" id="expander-atkobject">
359 <property name="AtkObject::accessible-description" translatable="yes" context="datafielddialog|extended_tip|expander">Expands or reduces the dialog. The More button is visible for data fields only.</property>
360 </object>
361 </child>
362 </object>
363 <packing>
364 <property name="left_attach">0</property>
365 <property name="top_attach">3</property>
366 </packing>
367 </child>
368 </object>
369 <packing>
370 <property name="expand">False</property>
371 <property name="fill">True</property>
372 <property name="position">1</property>
373 </packing>
374 </child>
375 </object>
376 </child>
377 <action-widgets>
378 <action-widget response="-5">ok</action-widget>
379 <action-widget response="-6">cancel</action-widget>
380 <action-widget response="-11">help</action-widget>
381 </action-widgets>
382 <child type="titlebar">
383 <placeholder/>
384 </child>
385 </object>
386 </interface>