use insert function instead of for loop
[LibreOffice.git] / sfx2 / uiconfig / ui / newstyle.ui
blobcabd281b8b97ecf2b7a00b4628c6a83d1e090121
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 text -->
8 <column type="gchararray"/>
9 <!-- column-name id -->
10 <column type="gchararray"/>
11 </columns>
12 </object>
13 <object class="GtkDialog" id="CreateStyleDialog">
14 <property name="can-focus">False</property>
15 <property name="border-width">6</property>
16 <property name="title" translatable="yes" context="newstyle|CreateStyleDialog">New Style from Selection</property>
17 <property name="modal">True</property>
18 <property name="default-width">0</property>
19 <property name="default-height">0</property>
20 <property name="type-hint">dialog</property>
21 <child internal-child="vbox">
22 <object class="GtkBox" id="dialog-vbox3">
23 <property name="can-focus">False</property>
24 <property name="hexpand">True</property>
25 <property name="vexpand">True</property>
26 <property name="orientation">vertical</property>
27 <property name="spacing">12</property>
28 <child internal-child="action_area">
29 <object class="GtkButtonBox" id="dialog-action_area3">
30 <property name="can-focus">False</property>
31 <property name="layout-style">end</property>
32 <child>
33 <object class="GtkButton" id="ok">
34 <property name="label" translatable="yes" context="stock">_OK</property>
35 <property name="visible">True</property>
36 <property name="sensitive">False</property>
37 <property name="can-focus">True</property>
38 <property name="can-default">True</property>
39 <property name="has-default">True</property>
40 <property name="receives-default">True</property>
41 <property name="use-underline">True</property>
42 </object>
43 <packing>
44 <property name="expand">False</property>
45 <property name="fill">True</property>
46 <property name="position">0</property>
47 </packing>
48 </child>
49 <child>
50 <object class="GtkButton" id="cancel">
51 <property name="label" translatable="yes" context="stock">_Cancel</property>
52 <property name="visible">True</property>
53 <property name="can-focus">True</property>
54 <property name="receives-default">True</property>
55 <property name="use-underline">True</property>
56 </object>
57 <packing>
58 <property name="expand">False</property>
59 <property name="fill">True</property>
60 <property name="position">1</property>
61 </packing>
62 </child>
63 <child>
64 <object class="GtkButton" id="help">
65 <property name="label" translatable="yes" context="stock">_Help</property>
66 <property name="visible">True</property>
67 <property name="can-focus">True</property>
68 <property name="receives-default">True</property>
69 <property name="use-underline">True</property>
70 </object>
71 <packing>
72 <property name="expand">False</property>
73 <property name="fill">True</property>
74 <property name="position">2</property>
75 <property name="secondary">True</property>
76 </packing>
77 </child>
78 </object>
79 <packing>
80 <property name="expand">False</property>
81 <property name="fill">True</property>
82 <property name="pack-type">end</property>
83 <property name="position">0</property>
84 </packing>
85 </child>
86 <child>
87 <object class="GtkFrame" id="frame1">
88 <property name="visible">True</property>
89 <property name="can-focus">False</property>
90 <property name="hexpand">True</property>
91 <property name="vexpand">True</property>
92 <property name="label-xalign">0</property>
93 <property name="shadow-type">none</property>
94 <child>
95 <!-- n-columns=1 n-rows=3 -->
96 <object class="GtkGrid" id="stylegrid">
97 <property name="visible">True</property>
98 <property name="can-focus">False</property>
99 <property name="margin-start">12</property>
100 <property name="margin-top">6</property>
101 <property name="hexpand">True</property>
102 <property name="vexpand">True</property>
103 <property name="row-spacing">3</property>
104 <child>
105 <object class="GtkScrolledWindow">
106 <property name="visible">True</property>
107 <property name="can-focus">True</property>
108 <property name="hexpand">True</property>
109 <property name="vexpand">True</property>
110 <property name="shadow-type">in</property>
111 <child>
112 <object class="GtkTreeView" id="styles">
113 <property name="visible">True</property>
114 <property name="can-focus">True</property>
115 <property name="hexpand">True</property>
116 <property name="vexpand">True</property>
117 <property name="model">liststore1</property>
118 <property name="headers-visible">False</property>
119 <property name="headers-clickable">False</property>
120 <property name="search-column">0</property>
121 <property name="show-expanders">False</property>
122 <child internal-child="selection">
123 <object class="GtkTreeSelection" id="treeview-selection1"/>
124 </child>
125 <child>
126 <object class="GtkTreeViewColumn" id="treeviewcolumn1">
127 <child>
128 <object class="GtkCellRendererText" id="cellrenderertext1"/>
129 <attributes>
130 <attribute name="text">0</attribute>
131 </attributes>
132 </child>
133 </object>
134 </child>
135 <child internal-child="accessible">
136 <object class="AtkObject" id="styles-atkobject">
137 <property name="AtkObject::accessible-name" translatable="yes" context="newstyle|styles-atkobject">Custom styles for selected category</property>
138 </object>
139 </child>
140 </object>
141 </child>
142 </object>
143 <packing>
144 <property name="left-attach">0</property>
145 <property name="top-attach">2</property>
146 </packing>
147 </child>
148 <child>
149 <object class="GtkEntry" id="stylename">
150 <property name="visible">True</property>
151 <property name="can-focus">True</property>
152 <property name="hexpand">True</property>
153 <property name="activates-default">True</property>
154 <property name="truncate-multiline">True</property>
155 <child internal-child="accessible">
156 <object class="AtkObject" id="stylename-atkobject">
157 <property name="AtkObject::accessible-name" translatable="yes" context="newstyle|stylename-atkobject">Style name</property>
158 </object>
159 </child>
160 </object>
161 <packing>
162 <property name="left-attach">0</property>
163 <property name="top-attach">0</property>
164 </packing>
165 </child>
166 <child>
167 <object class="GtkLabel" id="categorylabel">
168 <property name="visible">True</property>
169 <property name="can-focus">False</property>
170 <property name="label" translatable="yes" context="newstyle|categorylabel">Custom styles for current document</property>
171 <property name="mnemonic-widget">styles</property>
172 <property name="xalign">0</property>
173 <attributes>
174 <attribute name="weight" value="bold"/>
175 </attributes>
176 </object>
177 <packing>
178 <property name="left-attach">0</property>
179 <property name="top-attach">1</property>
180 </packing>
181 </child>
182 </object>
183 </child>
184 <child type="label">
185 <object class="GtkLabel" id="label1">
186 <property name="visible">True</property>
187 <property name="can-focus">False</property>
188 <property name="label" translatable="yes" context="newstyle|label1">Enter new style name:</property>
189 <attributes>
190 <attribute name="weight" value="bold"/>
191 </attributes>
192 </object>
193 </child>
194 </object>
195 <packing>
196 <property name="expand">False</property>
197 <property name="fill">True</property>
198 <property name="position">1</property>
199 </packing>
200 </child>
201 </object>
202 </child>
203 <action-widgets>
204 <action-widget response="-5">ok</action-widget>
205 <action-widget response="-6">cancel</action-widget>
206 <action-widget response="-11">help</action-widget>
207 </action-widgets>
208 </object>
209 </interface>