use insert function instead of for loop
[LibreOffice.git] / sfx2 / uiconfig / ui / saveastemplatedlg.ui
blobae0d45567af3efbf99e67f9e97109328de13a974
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="categorylist">
6 <columns>
7 <!-- column-name gchararray1 -->
8 <column type="gchararray"/>
9 </columns>
10 </object>
11 <object class="GtkDialog" id="SaveAsTemplateDialog">
12 <property name="can-focus">False</property>
13 <property name="border-width">6</property>
14 <property name="title" translatable="yes" context="saveastemplatedlg|SaveAsTemplateDialog">Save As Template</property>
15 <property name="modal">True</property>
16 <property name="default-width">0</property>
17 <property name="default-height">0</property>
18 <property name="type-hint">normal</property>
19 <child internal-child="vbox">
20 <object class="GtkBox" id="dialog-vbox1">
21 <property name="can-focus">False</property>
22 <property name="orientation">vertical</property>
23 <property name="spacing">2</property>
24 <child internal-child="action_area">
25 <object class="GtkButtonBox" id="dialog-action_area1">
26 <property name="can-focus">False</property>
27 <property name="layout-style">end</property>
28 <child>
29 <object class="GtkButton" id="help">
30 <property name="label" translatable="yes" context="stock">_Help</property>
31 <property name="visible">True</property>
32 <property name="can-focus">True</property>
33 <property name="receives-default">True</property>
34 <property name="use-underline">True</property>
35 </object>
36 <packing>
37 <property name="expand">False</property>
38 <property name="fill">True</property>
39 <property name="position">0</property>
40 <property name="secondary">True</property>
41 </packing>
42 </child>
43 <child>
44 <object class="GtkButton" id="ok">
45 <property name="label" translatable="yes" context="stock">_OK</property>
46 <property name="visible">True</property>
47 <property name="can-focus">True</property>
48 <property name="can-default">True</property>
49 <property name="has-default">True</property>
50 <property name="receives-default">True</property>
51 <property name="use-underline">True</property>
52 </object>
53 <packing>
54 <property name="expand">False</property>
55 <property name="fill">True</property>
56 <property name="position">1</property>
57 </packing>
58 </child>
59 <child>
60 <object class="GtkButton" id="cancel">
61 <property name="label" translatable="yes" context="stock">_Cancel</property>
62 <property name="visible">True</property>
63 <property name="can-focus">True</property>
64 <property name="receives-default">True</property>
65 <property name="use-underline">True</property>
66 </object>
67 <packing>
68 <property name="expand">False</property>
69 <property name="fill">True</property>
70 <property name="position">2</property>
71 </packing>
72 </child>
73 </object>
74 <packing>
75 <property name="expand">False</property>
76 <property name="fill">True</property>
77 <property name="pack-type">end</property>
78 <property name="position">1</property>
79 </packing>
80 </child>
81 <child>
82 <!-- n-columns=1 n-rows=3 -->
83 <object class="GtkGrid" id="grid1">
84 <property name="visible">True</property>
85 <property name="can-focus">False</property>
86 <property name="margin-bottom">6</property>
87 <property name="hexpand">True</property>
88 <property name="vexpand">True</property>
89 <property name="row-spacing">12</property>
90 <property name="column-spacing">12</property>
91 <child>
92 <object class="GtkBox" id="box1">
93 <property name="visible">True</property>
94 <property name="can-focus">False</property>
95 <property name="hexpand">True</property>
96 <property name="orientation">vertical</property>
97 <property name="spacing">6</property>
98 <child>
99 <object class="GtkLabel" id="create_label">
100 <property name="visible">True</property>
101 <property name="can-focus">False</property>
102 <property name="tooltip-text" translatable="yes" context="saveastemplatedlg|create_label">Enter a name for the template.</property>
103 <property name="label" translatable="yes" context="saveastemplatedlg|create_label">Enter Template _Name:</property>
104 <property name="use-underline">True</property>
105 <property name="mnemonic-widget">name_entry</property>
106 <property name="xalign">0</property>
107 <attributes>
108 <attribute name="weight" value="normal"/>
109 </attributes>
110 </object>
111 <packing>
112 <property name="expand">False</property>
113 <property name="fill">True</property>
114 <property name="position">0</property>
115 </packing>
116 </child>
117 <child>
118 <object class="GtkEntry" id="name_entry">
119 <property name="width-request">300</property>
120 <property name="visible">True</property>
121 <property name="can-focus">True</property>
122 <property name="activates-default">True</property>
123 <property name="truncate-multiline">True</property>
124 <child internal-child="accessible">
125 <object class="AtkObject" id="name_entry-atkobject">
126 <property name="AtkObject::accessible-description" translatable="yes" context="saveastemplatedlg|extended_tip|name_entry">Enter a name for the template.</property>
127 </object>
128 </child>
129 </object>
130 <packing>
131 <property name="expand">False</property>
132 <property name="fill">True</property>
133 <property name="position">1</property>
134 </packing>
135 </child>
136 </object>
137 <packing>
138 <property name="left-attach">0</property>
139 <property name="top-attach">0</property>
140 </packing>
141 </child>
142 <child>
143 <object class="GtkBox" id="box2">
144 <property name="visible">True</property>
145 <property name="can-focus">False</property>
146 <property name="hexpand">True</property>
147 <property name="vexpand">True</property>
148 <property name="orientation">vertical</property>
149 <property name="spacing">6</property>
150 <child>
151 <object class="GtkLabel" id="select_label">
152 <property name="visible">True</property>
153 <property name="can-focus">False</property>
154 <property name="tooltip-text" translatable="yes" context="saveastemplatedlg|select_label">Save template in selected category.</property>
155 <property name="label" translatable="yes" context="saveastemplatedlg|select_label">Select Template _Category:</property>
156 <property name="use-underline">True</property>
157 <property name="mnemonic-widget">categorylb</property>
158 <property name="xalign">0</property>
159 <attributes>
160 <attribute name="weight" value="normal"/>
161 </attributes>
162 </object>
163 <packing>
164 <property name="expand">False</property>
165 <property name="fill">True</property>
166 <property name="position">0</property>
167 </packing>
168 </child>
169 <child>
170 <object class="GtkScrolledWindow" id="scroll">
171 <property name="visible">True</property>
172 <property name="can-focus">True</property>
173 <property name="hexpand">True</property>
174 <property name="vexpand">True</property>
175 <property name="shadow-type">in</property>
176 <child>
177 <object class="GtkTreeView" id="categorylb">
178 <property name="height-request">146</property>
179 <property name="visible">True</property>
180 <property name="can-focus">True</property>
181 <property name="hexpand">True</property>
182 <property name="vexpand">True</property>
183 <property name="model">categorylist</property>
184 <property name="headers-visible">False</property>
185 <property name="headers-clickable">False</property>
186 <property name="search-column">0</property>
187 <property name="show-expanders">False</property>
188 <child internal-child="selection">
189 <object class="GtkTreeSelection" id="treeview-selection1"/>
190 </child>
191 <child>
192 <object class="GtkTreeViewColumn" id="treeviewcolumn1">
193 <child>
194 <object class="GtkCellRendererText" id="cellrenderertext1"/>
195 <attributes>
196 <attribute name="text">0</attribute>
197 </attributes>
198 </child>
199 </object>
200 </child>
201 <child internal-child="accessible">
202 <object class="AtkObject" id="categorylb-atkobject">
203 <property name="AtkObject::accessible-description" translatable="yes" context="saveastemplatedlg|extended_tip|categorylb">Select a category in which to save the new template.</property>
204 </object>
205 </child>
206 </object>
207 </child>
208 </object>
209 <packing>
210 <property name="expand">False</property>
211 <property name="fill">True</property>
212 <property name="position">1</property>
213 </packing>
214 </child>
215 </object>
216 <packing>
217 <property name="left-attach">0</property>
218 <property name="top-attach">1</property>
219 </packing>
220 </child>
221 <child>
222 <object class="GtkCheckButton" id="defaultcb">
223 <property name="label" translatable="yes" context="saveastemplatedlg|defaultcb">_Set as default template</property>
224 <property name="visible">True</property>
225 <property name="can-focus">True</property>
226 <property name="receives-default">False</property>
227 <property name="use-underline">True</property>
228 <property name="draw-indicator">True</property>
229 <child internal-child="accessible">
230 <object class="AtkObject" id="defaultcb-atkobject">
231 <property name="AtkObject::accessible-description" translatable="yes" context="saveastemplatedlg|extended_tip|defaultcb">The new template will be used as the default template.</property>
232 </object>
233 </child>
234 </object>
235 <packing>
236 <property name="left-attach">0</property>
237 <property name="top-attach">2</property>
238 </packing>
239 </child>
240 </object>
241 <packing>
242 <property name="expand">True</property>
243 <property name="fill">True</property>
244 <property name="position">2</property>
245 </packing>
246 </child>
247 </object>
248 </child>
249 <action-widgets>
250 <action-widget response="-11">help</action-widget>
251 <action-widget response="-5">ok</action-widget>
252 <action-widget response="-6">cancel</action-widget>
253 </action-widgets>
254 <child internal-child="accessible">
255 <object class="AtkObject" id="SaveAsTemplateDialog-atkobject">
256 <property name="AtkObject::accessible-description" translatable="yes" context="saveastemplatedlg|extended_tip|SaveAsTemplateDialog">Saves the current document as a template.</property>
257 </object>
258 </child>
259 </object>
260 </interface>