Avoid potential negative array index access to cached text.
[LibreOffice.git] / sc / uiconfig / scalc / ui / definename.ui
blobb33ed86a56e1a384b7037cd1c40f5637c46ea503
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="GtkDialog" id="DefineNameDialog">
6 <property name="can_focus">False</property>
7 <property name="border_width">6</property>
8 <property name="title" translatable="yes" context="definename|DefineNameDialog">Define Name</property>
9 <property name="resizable">False</property>
10 <property name="default_width">0</property>
11 <property name="default_height">0</property>
12 <property name="type_hint">dialog</property>
13 <child internal-child="vbox">
14 <object class="GtkBox" id="dialog-vbox1">
15 <property name="can_focus">False</property>
16 <property name="orientation">vertical</property>
17 <property name="spacing">12</property>
18 <child internal-child="action_area">
19 <object class="GtkButtonBox" id="dialog-action_area1">
20 <property name="can_focus">False</property>
21 <property name="layout_style">end</property>
22 <child>
23 <object class="GtkButton" id="help">
24 <property name="label" translatable="yes" context="stock">_Help</property>
25 <property name="visible">True</property>
26 <property name="can_focus">True</property>
27 <property name="receives_default">True</property>
28 <property name="use-underline">True</property>
29 </object>
30 <packing>
31 <property name="expand">False</property>
32 <property name="fill">True</property>
33 <property name="position">0</property>
34 <property name="secondary">True</property>
35 </packing>
36 </child>
37 <child>
38 <object class="GtkButton" id="add">
39 <property name="label" translatable="yes" context="stock">_Add</property>
40 <property name="visible">True</property>
41 <property name="can_focus">True</property>
42 <property name="can_default">True</property>
43 <property name="has_default">True</property>
44 <property name="receives_default">True</property>
45 <property name="use-underline">True</property>
46 <child internal-child="accessible">
47 <object class="AtkObject" id="add-atkobject">
48 <property name="AtkObject::accessible-description" translatable="yes" context="definename|extended_tip|add">Click the Add button to add a new defined name.</property>
49 </object>
50 </child>
51 </object>
52 <packing>
53 <property name="expand">False</property>
54 <property name="fill">True</property>
55 <property name="position">1</property>
56 </packing>
57 </child>
58 <child>
59 <object class="GtkButton" id="cancel">
60 <property name="label" translatable="yes" context="stock">_Cancel</property>
61 <property name="visible">True</property>
62 <property name="can_focus">True</property>
63 <property name="receives_default">True</property>
64 <property name="use-underline">True</property>
65 </object>
66 <packing>
67 <property name="expand">False</property>
68 <property name="fill">True</property>
69 <property name="position">2</property>
70 </packing>
71 </child>
72 </object>
73 <packing>
74 <property name="expand">False</property>
75 <property name="fill">True</property>
76 <property name="pack_type">end</property>
77 <property name="position">0</property>
78 </packing>
79 </child>
80 <child>
81 <object class="GtkBox" id="box1">
82 <property name="visible">True</property>
83 <property name="can_focus">False</property>
84 <property name="orientation">vertical</property>
85 <property name="spacing">12</property>
86 <child>
87 <!-- n-columns=1 n-rows=1 -->
88 <object class="GtkGrid" id="grid1">
89 <property name="visible">True</property>
90 <property name="can_focus">False</property>
91 <property name="row_spacing">6</property>
92 <child>
93 <object class="GtkLabel" id="label2">
94 <property name="visible">True</property>
95 <property name="can_focus">False</property>
96 <property name="label" translatable="yes" context="definename|label2">Name:</property>
97 <property name="use_underline">True</property>
98 <property name="mnemonic_widget">edit</property>
99 <property name="xalign">0</property>
100 </object>
101 <packing>
102 <property name="left_attach">0</property>
103 <property name="top_attach">1</property>
104 </packing>
105 </child>
106 <child>
107 <object class="GtkLabel" id="label3">
108 <property name="visible">True</property>
109 <property name="can_focus">False</property>
110 <property name="label" translatable="yes" context="definename|label3">Range or formula expression:</property>
111 <property name="use_underline">True</property>
112 <property name="mnemonic_widget">range</property>
113 <property name="xalign">0</property>
114 </object>
115 <packing>
116 <property name="left_attach">0</property>
117 <property name="top_attach">3</property>
118 </packing>
119 </child>
120 <child>
121 <object class="GtkLabel" id="label4">
122 <property name="visible">True</property>
123 <property name="can_focus">False</property>
124 <property name="label" translatable="yes" context="definename|label4">Scope:</property>
125 <property name="use_underline">True</property>
126 <property name="mnemonic_widget">scope</property>
127 <property name="xalign">0</property>
128 </object>
129 <packing>
130 <property name="left_attach">0</property>
131 <property name="top_attach">5</property>
132 </packing>
133 </child>
134 <child>
135 <object class="GtkEntry" id="edit">
136 <property name="visible">True</property>
137 <property name="can_focus">True</property>
138 <property name="activates_default">True</property>
139 <property name="truncate-multiline">True</property>
140 <child internal-child="accessible">
141 <object class="AtkObject" id="edit-atkobject">
142 <property name="AtkObject::accessible-description" translatable="yes" context="definename|extended_tip|edit">Enter the name of the area for which you want to define a reference or a formula expression.</property>
143 </object>
144 </child>
145 </object>
146 <packing>
147 <property name="left_attach">0</property>
148 <property name="top_attach">2</property>
149 </packing>
150 </child>
151 <child>
152 <object class="GtkBox" id="box2">
153 <property name="visible">True</property>
154 <property name="can_focus">False</property>
155 <property name="spacing">6</property>
156 <child>
157 <object class="GtkEntry" id="range">
158 <property name="visible">True</property>
159 <property name="can_focus">True</property>
160 <property name="hexpand">True</property>
161 <property name="activates_default">True</property>
162 <property name="width_chars">50</property>
163 <property name="truncate-multiline">True</property>
164 <child internal-child="accessible">
165 <object class="AtkObject" id="range-atkobject">
166 <property name="AtkObject::accessible-description" translatable="yes" context="definename|extended_tip|range">The reference of the selected area name is shown here as an absolute value.</property>
167 </object>
168 </child>
169 </object>
170 <packing>
171 <property name="expand">False</property>
172 <property name="fill">True</property>
173 <property name="position">0</property>
174 </packing>
175 </child>
176 <child>
177 <object class="GtkButton" id="refbutton">
178 <property name="visible">True</property>
179 <property name="can_focus">True</property>
180 <property name="receives_default">True</property>
181 </object>
182 <packing>
183 <property name="expand">False</property>
184 <property name="fill">True</property>
185 <property name="position">1</property>
186 </packing>
187 </child>
188 </object>
189 <packing>
190 <property name="left_attach">0</property>
191 <property name="top_attach">4</property>
192 </packing>
193 </child>
194 <child>
195 <object class="GtkComboBoxText" id="scope">
196 <property name="visible">True</property>
197 <property name="can_focus">False</property>
198 <property name="hexpand">True</property>
199 <child internal-child="accessible">
200 <object class="AtkObject" id="scope-atkobject">
201 <property name="AtkObject::accessible-description" translatable="yes" context="definename|extended_tip|scope">Select the scope of the named range or named formula. Document (Global) means the name is valid for the whole document.</property>
202 </object>
203 </child>
204 </object>
205 <packing>
206 <property name="left_attach">0</property>
207 <property name="top_attach">6</property>
208 </packing>
209 </child>
210 <child>
211 <object class="GtkLabel" id="label">
212 <property name="visible">True</property>
213 <property name="can_focus">False</property>
214 <property name="label" translatable="yes" context="definename|label">Define the name and range or formula expression.</property>
215 <property name="xalign">0</property>
216 </object>
217 <packing>
218 <property name="left_attach">0</property>
219 <property name="top_attach">0</property>
220 </packing>
221 </child>
222 </object>
223 <packing>
224 <property name="expand">False</property>
225 <property name="fill">True</property>
226 <property name="position">1</property>
227 </packing>
228 </child>
229 <child>
230 <object class="GtkExpander" id="more">
231 <property name="visible">True</property>
232 <property name="can_focus">True</property>
233 <property name="resize_toplevel">True</property>
234 <child>
235 <!-- n-columns=1 n-rows=1 -->
236 <object class="GtkGrid" id="grid2">
237 <property name="visible">True</property>
238 <property name="can_focus">False</property>
239 <property name="margin-start">12</property>
240 <property name="row_spacing">6</property>
241 <property name="column_spacing">12</property>
242 <property name="column_homogeneous">True</property>
243 <child>
244 <object class="GtkCheckButton" id="printarea">
245 <property name="label" translatable="yes" context="definename|printarea">_Print range</property>
246 <property name="visible">True</property>
247 <property name="can_focus">True</property>
248 <property name="receives_default">False</property>
249 <property name="use_underline">True</property>
250 <property name="draw_indicator">True</property>
251 <child internal-child="accessible">
252 <object class="AtkObject" id="printarea-atkobject">
253 <property name="AtkObject::accessible-description" translatable="yes" context="definename|extended_tip|printarea">Defines the area as a print range.</property>
254 </object>
255 </child>
256 </object>
257 <packing>
258 <property name="left_attach">0</property>
259 <property name="top_attach">0</property>
260 </packing>
261 </child>
262 <child>
263 <object class="GtkCheckButton" id="filter">
264 <property name="label" translatable="yes" context="definename|filter">_Filter</property>
265 <property name="visible">True</property>
266 <property name="can_focus">True</property>
267 <property name="receives_default">False</property>
268 <property name="use_underline">True</property>
269 <property name="draw_indicator">True</property>
270 <child internal-child="accessible">
271 <object class="AtkObject" id="filter-atkobject">
272 <property name="AtkObject::accessible-description" translatable="yes" context="definename|extended_tip|filter">Defines the selected area to be used in an advanced filter.</property>
273 </object>
274 </child>
275 </object>
276 <packing>
277 <property name="left_attach">0</property>
278 <property name="top_attach">1</property>
279 </packing>
280 </child>
281 <child>
282 <object class="GtkCheckButton" id="colheader">
283 <property name="label" translatable="yes" context="definename|colheader">Repeat _column</property>
284 <property name="visible">True</property>
285 <property name="can_focus">True</property>
286 <property name="receives_default">False</property>
287 <property name="use_underline">True</property>
288 <property name="draw_indicator">True</property>
289 <child internal-child="accessible">
290 <object class="AtkObject" id="colheader-atkobject">
291 <property name="AtkObject::accessible-description" translatable="yes" context="definename|extended_tip|colheader">Defines the area as a repeating column.</property>
292 </object>
293 </child>
294 </object>
295 <packing>
296 <property name="left_attach">1</property>
297 <property name="top_attach">0</property>
298 </packing>
299 </child>
300 <child>
301 <object class="GtkCheckButton" id="rowheader">
302 <property name="label" translatable="yes" context="definename|rowheader">Repeat _row</property>
303 <property name="visible">True</property>
304 <property name="can_focus">True</property>
305 <property name="receives_default">False</property>
306 <property name="use_underline">True</property>
307 <property name="draw_indicator">True</property>
308 <child internal-child="accessible">
309 <object class="AtkObject" id="rowheader-atkobject">
310 <property name="AtkObject::accessible-description" translatable="yes" context="definename|extended_tip|rowheader">Defines the area as a repeating row.</property>
311 </object>
312 </child>
313 </object>
314 <packing>
315 <property name="left_attach">1</property>
316 <property name="top_attach">1</property>
317 </packing>
318 </child>
319 </object>
320 </child>
321 <child type="label">
322 <object class="GtkLabel" id="label5">
323 <property name="visible">True</property>
324 <property name="can_focus">False</property>
325 <property name="label" translatable="yes" context="definename|label5">Range _Options</property>
326 <property name="use_underline">True</property>
327 </object>
328 </child>
329 <child internal-child="accessible">
330 <object class="AtkObject" id="more-atkobject">
331 <property name="AtkObject::accessible-description" translatable="yes" context="definename|extended_tip|more">Allows you to specify the Area type (optional) for the reference.</property>
332 </object>
333 </child>
334 </object>
335 <packing>
336 <property name="expand">False</property>
337 <property name="fill">True</property>
338 <property name="position">2</property>
339 </packing>
340 </child>
341 </object>
342 <packing>
343 <property name="expand">False</property>
344 <property name="fill">True</property>
345 <property name="position">1</property>
346 </packing>
347 </child>
348 </object>
349 </child>
350 <action-widgets>
351 <action-widget response="-11">help</action-widget>
352 <action-widget response="101">add</action-widget>
353 <action-widget response="-6">cancel</action-widget>
354 </action-widgets>
355 <child type="titlebar">
356 <placeholder/>
357 </child>
358 <child internal-child="accessible">
359 <object class="AtkObject" id="DefineNameDialog-atkobject">
360 <property name="AtkObject::accessible-description" translatable="yes" context="definename|extended_tip|DefineNameDialog">Opens a dialog where you can specify a name for a selected area or a name for a formula expression.</property>
361 </object>
362 </child>
363 </object>
364 </interface>