Avoid potential negative array index access to cached text.
[LibreOffice.git] / sc / uiconfig / scalc / ui / insertsheet.ui
blob4c3ee04d6dfad89018201c6f712ff0e913e69e7b
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="GtkAdjustment" id="adjustment1">
6 <property name="lower">1</property>
7 <property name="upper">256</property>
8 <property name="value">1</property>
9 <property name="step_increment">1</property>
10 <property name="page_increment">10</property>
11 </object>
12 <object class="GtkTreeStore" id="liststore1">
13 <columns>
14 <!-- column-name text -->
15 <column type="gchararray"/>
16 <!-- column-name id -->
17 <column type="gchararray"/>
18 </columns>
19 </object>
20 <object class="GtkDialog" id="InsertSheetDialog">
21 <property name="can_focus">False</property>
22 <property name="border_width">6</property>
23 <property name="title" translatable="yes" context="insertsheet|InsertSheetDialog">Insert Sheet</property>
24 <property name="modal">True</property>
25 <property name="default_width">0</property>
26 <property name="default_height">0</property>
27 <property name="type_hint">dialog</property>
28 <child internal-child="vbox">
29 <object class="GtkBox" id="dialog-vbox1">
30 <property name="can_focus">False</property>
31 <property name="orientation">vertical</property>
32 <property name="spacing">2</property>
33 <child internal-child="action_area">
34 <object class="GtkButtonBox" id="dialog-action_area1">
35 <property name="can_focus">False</property>
36 <property name="layout_style">end</property>
37 <child>
38 <object class="GtkButton" id="ok">
39 <property name="label" translatable="yes" context="stock">_OK</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 </object>
47 <packing>
48 <property name="expand">False</property>
49 <property name="fill">True</property>
50 <property name="position">0</property>
51 </packing>
52 </child>
53 <child>
54 <object class="GtkButton" id="cancel">
55 <property name="label" translatable="yes" context="stock">_Cancel</property>
56 <property name="visible">True</property>
57 <property name="can_focus">True</property>
58 <property name="receives_default">True</property>
59 <property name="use-underline">True</property>
60 </object>
61 <packing>
62 <property name="expand">False</property>
63 <property name="fill">True</property>
64 <property name="position">1</property>
65 </packing>
66 </child>
67 <child>
68 <object class="GtkButton" id="help">
69 <property name="label" translatable="yes" context="stock">_Help</property>
70 <property name="visible">True</property>
71 <property name="can_focus">True</property>
72 <property name="receives_default">True</property>
73 <property name="use-underline">True</property>
74 </object>
75 <packing>
76 <property name="expand">False</property>
77 <property name="fill">True</property>
78 <property name="position">2</property>
79 <property name="secondary">True</property>
80 </packing>
81 </child>
82 </object>
83 <packing>
84 <property name="expand">False</property>
85 <property name="fill">True</property>
86 <property name="pack_type">end</property>
87 <property name="position">0</property>
88 </packing>
89 </child>
90 <child>
91 <object class="GtkBox" id="box1">
92 <property name="visible">True</property>
93 <property name="can_focus">False</property>
94 <property name="orientation">vertical</property>
95 <property name="spacing">12</property>
96 <child>
97 <object class="GtkFrame" id="frame1">
98 <property name="visible">True</property>
99 <property name="can_focus">False</property>
100 <property name="hexpand">True</property>
101 <property name="label_xalign">0</property>
102 <property name="shadow_type">none</property>
103 <child>
104 <object class="GtkBox" id="box2">
105 <property name="visible">True</property>
106 <property name="can_focus">False</property>
107 <property name="orientation">vertical</property>
108 <property name="spacing">6</property>
109 <property name="margin-start">12</property>
110 <property name="margin-top">6</property>
111 <child>
112 <object class="GtkRadioButton" id="before">
113 <property name="label" translatable="yes" context="insertsheet|before">B_efore current sheet</property>
114 <property name="visible">True</property>
115 <property name="can_focus">True</property>
116 <property name="receives_default">False</property>
117 <property name="use_underline">True</property>
118 <property name="active">True</property>
119 <property name="draw_indicator">True</property>
120 <child internal-child="accessible">
121 <object class="AtkObject" id="before-atkobject">
122 <property name="AtkObject::accessible-description" translatable="yes" context="insertsheet|extended_tip|before">Inserts a new sheet directly before the current sheet.</property>
123 </object>
124 </child>
125 </object>
126 <packing>
127 <property name="expand">False</property>
128 <property name="fill">True</property>
129 <property name="position">0</property>
130 </packing>
131 </child>
132 <child>
133 <object class="GtkRadioButton" id="after">
134 <property name="label" translatable="yes" context="insertsheet|after">_After current sheet</property>
135 <property name="visible">True</property>
136 <property name="can_focus">True</property>
137 <property name="receives_default">False</property>
138 <property name="use_underline">True</property>
139 <property name="draw_indicator">True</property>
140 <property name="group">before</property>
141 <child internal-child="accessible">
142 <object class="AtkObject" id="after-atkobject">
143 <property name="AtkObject::accessible-description" translatable="yes" context="insertsheet|extended_tip|after">Inserts a new sheet directly after the current sheet.</property>
144 </object>
145 </child>
146 </object>
147 <packing>
148 <property name="expand">False</property>
149 <property name="fill">True</property>
150 <property name="position">1</property>
151 </packing>
152 </child>
153 </object>
154 </child>
155 <child type="label">
156 <object class="GtkLabel" id="label1">
157 <property name="visible">True</property>
158 <property name="can_focus">False</property>
159 <property name="label" translatable="yes" context="insertsheet|label1">Position</property>
160 <attributes>
161 <attribute name="weight" value="bold"/>
162 </attributes>
163 </object>
164 </child>
165 </object>
166 <packing>
167 <property name="expand">False</property>
168 <property name="fill">True</property>
169 <property name="position">0</property>
170 </packing>
171 </child>
172 <child>
173 <object class="GtkFrame" id="frame2">
174 <property name="visible">True</property>
175 <property name="can_focus">False</property>
176 <property name="hexpand">True</property>
177 <property name="vexpand">True</property>
178 <property name="label_xalign">0</property>
179 <property name="shadow_type">none</property>
180 <child>
181 <object class="GtkBox" id="box3">
182 <property name="visible">True</property>
183 <property name="can_focus">False</property>
184 <property name="hexpand">True</property>
185 <property name="vexpand">True</property>
186 <property name="orientation">vertical</property>
187 <property name="spacing">6</property>
188 <property name="margin-start">12</property>
189 <property name="margin-top">6</property>
190 <child>
191 <object class="GtkBox" id="box4">
192 <property name="visible">True</property>
193 <property name="can_focus">False</property>
194 <property name="hexpand">True</property>
195 <property name="orientation">vertical</property>
196 <property name="spacing">6</property>
197 <child>
198 <object class="GtkRadioButton" id="new">
199 <property name="label" translatable="yes" context="insertsheet|new">_New sheet</property>
200 <property name="visible">True</property>
201 <property name="can_focus">True</property>
202 <property name="receives_default">False</property>
203 <property name="use_underline">True</property>
204 <property name="active">True</property>
205 <property name="draw_indicator">True</property>
206 <child internal-child="accessible">
207 <object class="AtkObject" id="new-atkobject">
208 <property name="AtkObject::accessible-description" translatable="yes" context="insertsheet|extended_tip|new">Creates a new sheet. Enter a sheet name in the Name field. Allowed characters are letters, numbers, spaces, and the underline character.</property>
209 </object>
210 </child>
211 </object>
212 <packing>
213 <property name="expand">False</property>
214 <property name="fill">True</property>
215 <property name="position">0</property>
216 </packing>
217 </child>
218 <child>
219 <!-- n-columns=1 n-rows=1 -->
220 <object class="GtkGrid" id="grid1">
221 <property name="visible">True</property>
222 <property name="can_focus">False</property>
223 <property name="hexpand">True</property>
224 <property name="row_spacing">6</property>
225 <property name="column_spacing">12</property>
226 <property name="margin-start">12</property>
227 <child>
228 <object class="GtkLabel" id="countft">
229 <property name="visible">True</property>
230 <property name="can_focus">False</property>
231 <property name="label" translatable="yes" context="insertsheet|countft">N_o. of sheets:</property>
232 <property name="use_underline">True</property>
233 <property name="mnemonic_widget">countnf</property>
234 <property name="xalign">0</property>
235 </object>
236 <packing>
237 <property name="left_attach">0</property>
238 <property name="top_attach">0</property>
239 </packing>
240 </child>
241 <child>
242 <object class="GtkLabel" id="nameft">
243 <property name="visible">True</property>
244 <property name="can_focus">False</property>
245 <property name="label" translatable="yes" context="insertsheet|nameft">Na_me:</property>
246 <property name="use_underline">True</property>
247 <property name="mnemonic_widget">nameed</property>
248 <property name="xalign">0</property>
249 </object>
250 <packing>
251 <property name="left_attach">0</property>
252 <property name="top_attach">1</property>
253 </packing>
254 </child>
255 <child>
256 <object class="GtkSpinButton" id="countnf">
257 <property name="visible">True</property>
258 <property name="can_focus">True</property>
259 <property name="halign">start</property>
260 <property name="activates_default">True</property>
261 <property name="adjustment">adjustment1</property>
262 <property name="truncate-multiline">True</property>
263 <child internal-child="accessible">
264 <object class="AtkObject" id="countnf-atkobject">
265 <property name="AtkObject::accessible-description" translatable="yes" context="insertsheet|extended_tip|countnf">Specifies the number of sheets to be created.</property>
266 </object>
267 </child>
268 </object>
269 <packing>
270 <property name="left_attach">1</property>
271 <property name="top_attach">0</property>
272 </packing>
273 </child>
274 <child>
275 <object class="GtkEntry" id="nameed">
276 <property name="visible">True</property>
277 <property name="can_focus">True</property>
278 <property name="hexpand">True</property>
279 <property name="activates_default">True</property>
280 <property name="width_chars">52</property>
281 <property name="text" translatable="yes" context="insertsheet|nameed">Sheet...</property>
282 <property name="truncate-multiline">True</property>
283 <child internal-child="accessible">
284 <object class="AtkObject" id="nameed-atkobject">
285 <property name="AtkObject::accessible-description" translatable="yes" context="insertsheet|extended_tip|nameed">Specifies the name of the new sheet.</property>
286 </object>
287 </child>
288 </object>
289 <packing>
290 <property name="left_attach">1</property>
291 <property name="top_attach">1</property>
292 </packing>
293 </child>
294 </object>
295 <packing>
296 <property name="expand">True</property>
297 <property name="fill">True</property>
298 <property name="position">1</property>
299 </packing>
300 </child>
301 </object>
302 <packing>
303 <property name="expand">False</property>
304 <property name="fill">True</property>
305 <property name="position">0</property>
306 </packing>
307 </child>
308 <child>
309 <object class="GtkBox" id="box5">
310 <property name="visible">True</property>
311 <property name="can_focus">False</property>
312 <property name="hexpand">True</property>
313 <property name="vexpand">True</property>
314 <property name="orientation">vertical</property>
315 <property name="spacing">6</property>
316 <child>
317 <object class="GtkRadioButton" id="fromfile">
318 <property name="label" translatable="yes" context="insertsheet|fromfile">_From file</property>
319 <property name="visible">True</property>
320 <property name="can_focus">True</property>
321 <property name="receives_default">False</property>
322 <property name="use_underline">True</property>
323 <property name="draw_indicator">True</property>
324 <property name="group">new</property>
325 <child internal-child="accessible">
326 <object class="AtkObject" id="fromfile-atkobject">
327 <property name="AtkObject::accessible-description" translatable="yes" context="insertsheet|extended_tip|fromfile">Inserts a sheet from an existing file into the current document.</property>
328 </object>
329 </child>
330 </object>
331 <packing>
332 <property name="expand">False</property>
333 <property name="fill">True</property>
334 <property name="position">0</property>
335 </packing>
336 </child>
337 <child>
338 <!-- n-columns=1 n-rows=1 -->
339 <object class="GtkGrid" id="grid2">
340 <property name="visible">True</property>
341 <property name="can_focus">False</property>
342 <property name="hexpand">True</property>
343 <property name="vexpand">True</property>
344 <property name="row_spacing">6</property>
345 <property name="column_spacing">12</property>
346 <property name="margin-start">12</property>
347 <child>
348 <object class="GtkLabel" id="path">
349 <property name="visible">True</property>
350 <property name="can_focus">False</property>
351 <property name="xalign">0</property>
352 </object>
353 <packing>
354 <property name="left_attach">0</property>
355 <property name="top_attach">1</property>
356 <property name="width">2</property>
357 </packing>
358 </child>
359 <child>
360 <object class="GtkScrolledWindow">
361 <property name="visible">True</property>
362 <property name="can_focus">True</property>
363 <property name="hexpand">True</property>
364 <property name="vexpand">True</property>
365 <property name="shadow_type">in</property>
366 <child>
367 <object class="GtkTreeView" id="tables">
368 <property name="visible">True</property>
369 <property name="can_focus">True</property>
370 <property name="hexpand">True</property>
371 <property name="vexpand">True</property>
372 <property name="model">liststore1</property>
373 <property name="headers_visible">False</property>
374 <property name="headers_clickable">False</property>
375 <property name="search_column">0</property>
376 <property name="show_expanders">False</property>
377 <child internal-child="selection">
378 <object class="GtkTreeSelection" id="treeview-selection1"/>
379 </child>
380 <child>
381 <object class="GtkTreeViewColumn" id="treeviewcolumn1">
382 <child>
383 <object class="GtkCellRendererText" id="cellrenderertext1"/>
384 <attributes>
385 <attribute name="text">0</attribute>
386 </attributes>
387 </child>
388 </object>
389 </child>
390 <child internal-child="accessible">
391 <object class="AtkObject" id="tables-atkobject">
392 <property name="AtkObject::accessible-name" translatable="yes" context="insertsheet|tables-atkobject">Tables in file</property>
393 <property name="AtkObject::accessible-description" translatable="yes" context="insertsheet|extended_tip|tables">If you selected a file by using the Browse button, the sheets contained in it are displayed in the list box. The file path is displayed below this box. Select the sheet to be inserted from the list box.</property>
394 </object>
395 </child>
396 </object>
397 </child>
398 </object>
399 <packing>
400 <property name="left_attach">0</property>
401 <property name="top_attach">0</property>
402 </packing>
403 </child>
404 <child>
405 <!-- n-columns=1 n-rows=1 -->
406 <object class="GtkGrid" id="grid3">
407 <property name="visible">True</property>
408 <property name="can_focus">False</property>
409 <property name="row_spacing">12</property>
410 <child>
411 <object class="GtkButton" id="browse">
412 <property name="label" translatable="yes" context="insertsheet|browse">_Browse...</property>
413 <property name="visible">True</property>
414 <property name="can_focus">True</property>
415 <property name="receives_default">True</property>
416 <property name="use_underline">True</property>
417 <child internal-child="accessible">
418 <object class="AtkObject" id="browse-atkobject">
419 <property name="AtkObject::accessible-description" translatable="yes" context="insertsheet|extended_tip|browse">Opens a dialog for selecting a file.</property>
420 </object>
421 </child>
422 </object>
423 <packing>
424 <property name="left_attach">0</property>
425 <property name="top_attach">0</property>
426 </packing>
427 </child>
428 <child>
429 <object class="GtkCheckButton" id="link">
430 <property name="label" translatable="yes" context="insertsheet|link">Lin_k</property>
431 <property name="visible">True</property>
432 <property name="can_focus">True</property>
433 <property name="receives_default">False</property>
434 <property name="valign">start</property>
435 <property name="vexpand">True</property>
436 <property name="use_underline">True</property>
437 <property name="draw_indicator">True</property>
438 <child internal-child="accessible">
439 <object class="AtkObject" id="link-atkobject">
440 <property name="AtkObject::accessible-description" translatable="yes" context="insertsheet|extended_tip|link">Select to insert the sheet as a link instead as a copy. The links can be updated to show the current contents.</property>
441 </object>
442 </child>
443 </object>
444 <packing>
445 <property name="left_attach">0</property>
446 <property name="top_attach">1</property>
447 </packing>
448 </child>
449 </object>
450 <packing>
451 <property name="left_attach">1</property>
452 <property name="top_attach">0</property>
453 </packing>
454 </child>
455 </object>
456 <packing>
457 <property name="expand">False</property>
458 <property name="fill">True</property>
459 <property name="position">1</property>
460 </packing>
461 </child>
462 </object>
463 <packing>
464 <property name="expand">True</property>
465 <property name="fill">True</property>
466 <property name="position">1</property>
467 </packing>
468 </child>
469 </object>
470 </child>
471 <child type="label">
472 <object class="GtkLabel" id="label2">
473 <property name="visible">True</property>
474 <property name="can_focus">False</property>
475 <property name="label" translatable="yes" context="insertsheet|label2">Sheet</property>
476 <attributes>
477 <attribute name="weight" value="bold"/>
478 </attributes>
479 </object>
480 </child>
481 </object>
482 <packing>
483 <property name="expand">False</property>
484 <property name="fill">True</property>
485 <property name="position">1</property>
486 </packing>
487 </child>
488 </object>
489 <packing>
490 <property name="expand">True</property>
491 <property name="fill">True</property>
492 <property name="position">1</property>
493 </packing>
494 </child>
495 </object>
496 </child>
497 <action-widgets>
498 <action-widget response="-5">ok</action-widget>
499 <action-widget response="-6">cancel</action-widget>
500 <action-widget response="-11">help</action-widget>
501 </action-widgets>
502 <child type="titlebar">
503 <placeholder/>
504 </child>
505 <child internal-child="accessible">
506 <object class="AtkObject" id="InsertSheetDialog-atkobject">
507 <property name="AtkObject::accessible-description" translatable="yes" context="insertsheet|extended_tip|InsertSheetDialog">Defines the options to be used to insert a new sheet.</property>
508 </object>
509 </child>
510 </object>
511 </interface>