Avoid potential negative array index access to cached text.
[LibreOffice.git] / sfx2 / uiconfig / ui / templatepanel.ui
blobdb5fcfa1f47ecaacc32882a000c254946c6d61c2
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Generated with glade 3.40.0 -->
3 <interface domain="sfx">
4 <requires lib="gtk+" version="3.20"/>
5 <object class="GtkTreeStore" id="liststore1">
6 <columns>
7 <!-- column-name image -->
8 <column type="CairoSurface"/>
9 <!-- column-name text -->
10 <column type="gchararray"/>
11 <!-- column-name id -->
12 <column type="gchararray"/>
13 </columns>
14 </object>
15 <object class="GtkTreeStore" id="liststore2">
16 <columns>
17 <!-- column-name image -->
18 <column type="CairoSurface"/>
19 <!-- column-name text -->
20 <column type="gchararray"/>
21 <!-- column-name id -->
22 <column type="gchararray"/>
23 </columns>
24 </object>
25 <!-- n-columns=1 n-rows=1 -->
26 <object class="GtkGrid" id="TemplatePanel">
27 <property name="visible">True</property>
28 <property name="can-focus">False</property>
29 <property name="hexpand">True</property>
30 <property name="vexpand">True</property>
31 <child>
32 <object class="GtkBox" id="box1">
33 <property name="visible">True</property>
34 <property name="can-focus">False</property>
35 <property name="hexpand">True</property>
36 <property name="vexpand">True</property>
37 <property name="border-width">6</property>
38 <property name="orientation">vertical</property>
39 <property name="spacing">3</property>
40 <child>
41 <object class="GtkBox">
42 <property name="visible">True</property>
43 <property name="can-focus">False</property>
44 <child>
45 <object class="GtkToolbar" id="left">
46 <property name="visible">True</property>
47 <property name="can-focus">True</property>
48 <property name="toolbar-style">text</property>
49 <property name="show-arrow">False</property>
50 <property name="icon_size">2</property>
51 <child>
52 <object class="GtkToggleToolButton" id="2">
53 <property name="use-underline">True</property>
54 </object>
55 <packing>
56 <property name="expand">False</property>
57 <property name="homogeneous">False</property>
58 </packing>
59 </child>
60 <child>
61 <object class="GtkToggleToolButton" id="1">
62 <property name="use-underline">True</property>
63 </object>
64 <packing>
65 <property name="expand">False</property>
66 <property name="homogeneous">False</property>
67 </packing>
68 </child>
69 <child>
70 <object class="GtkToggleToolButton" id="3">
71 <property name="use-underline">True</property>
72 </object>
73 <packing>
74 <property name="expand">False</property>
75 <property name="homogeneous">False</property>
76 </packing>
77 </child>
78 <child>
79 <object class="GtkToggleToolButton" id="4">
80 <property name="use-underline">True</property>
81 </object>
82 <packing>
83 <property name="expand">False</property>
84 <property name="homogeneous">False</property>
85 </packing>
86 </child>
87 <child>
88 <object class="GtkToggleToolButton" id="5">
89 <property name="use-underline">True</property>
90 </object>
91 <packing>
92 <property name="expand">False</property>
93 <property name="homogeneous">False</property>
94 </packing>
95 </child>
96 <child>
97 <object class="GtkToggleToolButton" id="6">
98 <property name="use-underline">True</property>
99 </object>
100 <packing>
101 <property name="expand">False</property>
102 <property name="homogeneous">False</property>
103 </packing>
104 </child>
105 <child>
106 <object class="GtkToggleToolButton" id="65535">
107 <property name="use-underline">True</property>
108 </object>
109 <packing>
110 <property name="expand">False</property>
111 <property name="homogeneous">False</property>
112 </packing>
113 </child>
114 </object>
115 <packing>
116 <property name="expand">False</property>
117 <property name="fill">False</property>
118 <property name="position">1</property>
119 </packing>
120 </child>
121 <child>
122 <object class="GtkToolbar" id="right">
123 <property name="visible">True</property>
124 <property name="can-focus">True</property>
125 <property name="toolbar-style">icons</property>
126 <property name="show-arrow">False</property>
127 <property name="icon_size">2</property>
128 <child>
129 <object class="GtkToggleToolButton" id="watercan">
130 <property name="visible">True</property>
131 <property name="tooltip-text" translatable="yes" context="templatepanel|STR_STYLE_FILL_FORMAT_MODE">Fill Format Mode</property>
132 <property name="use-underline">True</property>
133 <property name="icon-name">res/sc05554.png</property>
134 </object>
135 <packing>
136 <property name="expand">False</property>
137 <property name="homogeneous">False</property>
138 </packing>
139 </child>
140 <child>
141 <object class="GtkToolButton" id="new">
142 <property name="visible">True</property>
143 <property name="tooltip-text" translatable="yes" context="templatepanel|STR_STYLE_NEW_STYLE_FROM_SELECTION">New Style from Selection</property>
144 <property name="use-underline">True</property>
145 <property name="icon-name">res/sc05555.png</property>
146 </object>
147 <packing>
148 <property name="expand">False</property>
149 <property name="homogeneous">False</property>
150 </packing>
151 </child>
152 <child>
153 <object class="GtkMenuToolButton" id="newmenu">
154 <property name="no-show-all">True</property>
155 <property name="tooltip-text" translatable="yes" context="templatepanel|STR_STYLE_NEW_STYLE_ACTION">Styles actions</property>
156 <property name="use-underline">True</property>
157 <property name="icon-name">res/sc05555.png</property>
158 </object>
159 <packing>
160 <property name="expand">False</property>
161 <property name="homogeneous">False</property>
162 </packing>
163 </child>
164 <child>
165 <object class="GtkToolButton" id="update">
166 <property name="visible">True</property>
167 <property name="tooltip-text" translatable="yes" context="templatepanel|STR_STYLE_UPDATE_STYLE">Update Style</property>
168 <property name="use-underline">True</property>
169 <property name="icon-name">res/sc05556.png</property>
170 </object>
171 <packing>
172 <property name="expand">False</property>
173 <property name="homogeneous">False</property>
174 </packing>
175 </child>
176 </object>
177 <packing>
178 <property name="expand">False</property>
179 <property name="fill">True</property>
180 <property name="pack-type">end</property>
181 <property name="position">2</property>
182 </packing>
183 </child>
184 </object>
185 <packing>
186 <property name="expand">False</property>
187 <property name="fill">True</property>
188 <property name="position">0</property>
189 </packing>
190 </child>
191 <child>
192 <object class="GtkScrolledWindow">
193 <property name="can-focus">True</property>
194 <property name="hexpand">True</property>
195 <property name="vexpand">True</property>
196 <property name="shadow-type">in</property>
197 <child>
198 <object class="GtkTreeView" id="flatview">
199 <property name="can-focus">True</property>
200 <property name="receives-default">True</property>
201 <property name="no-show-all">True</property>
202 <property name="has-tooltip">True</property>
203 <property name="hexpand">True</property>
204 <property name="vexpand">True</property>
205 <property name="model">liststore1</property>
206 <property name="headers-visible">False</property>
207 <property name="search-column">0</property>
208 <property name="show-expanders">False</property>
209 <child internal-child="selection">
210 <object class="GtkTreeSelection" id="Macro Library List-selection2"/>
211 </child>
212 <child>
213 <object class="GtkTreeViewColumn" id="treeviewcolumn0">
214 <child>
215 <object class="GtkCellRendererPixbuf" id="cellrendererpixbuf1"/>
216 <attributes>
217 <attribute name="surface">0</attribute>
218 </attributes>
219 </child>
220 </object>
221 </child>
222 <child>
223 <object class="GtkTreeViewColumn" id="treeviewcolumn1">
224 <property name="resizable">True</property>
225 <child>
226 <object class="GtkCellRendererText" id="cellrenderertext1"/>
227 <attributes>
228 <attribute name="text">1</attribute>
229 </attributes>
230 </child>
231 </object>
232 </child>
233 <child internal-child="accessible">
234 <object class="AtkObject" id="flatview-atkobject">
235 <property name="AtkObject::accessible-name" translatable="yes" context="templatepanel|STR_STYLE_ELEMTLIST">Style List</property>
236 </object>
237 </child>
238 </object>
239 </child>
240 </object>
241 <packing>
242 <property name="expand">False</property>
243 <property name="fill">True</property>
244 <property name="position">1</property>
245 </packing>
246 </child>
247 <child>
248 <object class="GtkScrolledWindow">
249 <property name="can-focus">True</property>
250 <property name="hexpand">True</property>
251 <property name="vexpand">True</property>
252 <property name="shadow-type">in</property>
253 <child>
254 <object class="GtkTreeView" id="treeview">
255 <property name="can-focus">True</property>
256 <property name="receives-default">True</property>
257 <property name="no-show-all">True</property>
258 <property name="has-tooltip">True</property>
259 <property name="hexpand">True</property>
260 <property name="vexpand">True</property>
261 <property name="model">liststore2</property>
262 <property name="headers-visible">False</property>
263 <property name="reorderable">True</property>
264 <property name="search-column">1</property>
265 <property name="enable-tree-lines">True</property>
266 <child internal-child="selection">
267 <object class="GtkTreeSelection" id="Macro Library List-selection1"/>
268 </child>
269 <child>
270 <object class="GtkTreeViewColumn" id="treeviewcolumn3">
271 <child>
272 <object class="GtkCellRendererPixbuf" id="cellrendererpixbuf2"/>
273 <attributes>
274 <attribute name="surface">0</attribute>
275 </attributes>
276 </child>
277 </object>
278 </child>
279 <child>
280 <object class="GtkTreeViewColumn" id="treeviewcolumn2">
281 <property name="resizable">True</property>
282 <child>
283 <object class="GtkCellRendererText" id="cellrenderertext2"/>
284 <attributes>
285 <attribute name="text">1</attribute>
286 </attributes>
287 </child>
288 </object>
289 </child>
290 <child internal-child="accessible">
291 <object class="AtkObject" id="treeview-atkobject">
292 <property name="AtkObject::accessible-name" translatable="yes" context="templatepanel|STR_STYLE_ELEMTLIST">Style List</property>
293 </object>
294 </child>
295 </object>
296 </child>
297 </object>
298 <packing>
299 <property name="expand">False</property>
300 <property name="fill">True</property>
301 <property name="position">2</property>
302 </packing>
303 </child>
304 <child>
305 <object class="GtkBox">
306 <property name="visible">True</property>
307 <property name="can-focus">False</property>
308 <child>
309 <object class="GtkCheckButton" id="showpreview">
310 <property name="label" translatable="yes" context="commontemplate|STR_PREVIEW_CHECKBOX">Show previews</property>
311 <property name="visible">True</property>
312 <property name="can-focus">True</property>
313 <property name="receives-default">False</property>
314 <property name="use-underline">True</property>
315 <property name="draw-indicator">True</property>
316 </object>
317 <packing>
318 <property name="expand">False</property>
319 <property name="fill">True</property>
320 <property name="position">0</property>
321 </packing>
322 </child>
323 <child>
324 <object class="GtkCheckButton" id="highlightstyles">
325 <property name="label" translatable="yes" context="commontemplate|STR_HIGHLIGHT_CHECKBOX">Spotlight</property>
326 <property name="can-focus">True</property>
327 <property name="receives-default">False</property>
328 <property name="use-underline">True</property>
329 <property name="draw-indicator">True</property>
330 </object>
331 <packing>
332 <property name="expand">False</property>
333 <property name="fill">True</property>
334 <property name="position">1</property>
335 </packing>
336 </child>
337 </object>
338 <packing>
339 <property name="expand">False</property>
340 <property name="fill">True</property>
341 <property name="position">4</property>
342 </packing>
343 </child>
344 <child>
345 <object class="GtkComboBoxText" id="filter">
346 <property name="visible">True</property>
347 <property name="can-focus">False</property>
348 </object>
349 <packing>
350 <property name="expand">False</property>
351 <property name="fill">True</property>
352 <property name="position">5</property>
353 </packing>
354 </child>
355 </object>
356 <packing>
357 <property name="left-attach">0</property>
358 <property name="top-attach">0</property>
359 </packing>
360 </child>
361 </object>
362 <object class="GtkMenu" id="toolmenu">
363 <property name="visible">True</property>
364 <property name="can-focus">False</property>
365 </object>
366 </interface>