Poprawienie nazwy zmiennej "availble_themes" -> "available_themes".
[redakcja.git] / apps / toolbar / fixtures / przyciski.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <django-objects version="1.0">
3   <object pk="24" model="toolbar.buttongroup">
4     <field type="CharField" name="name">Dodatkowe przyciski edytora HTML</field>
5     <field type="SlugField" name="slug">htmleditor-extra</field>
6     <field type="IntegerField" name="position">-1</field>
7   </object>
8   <object pk="23" model="toolbar.buttongroup">
9     <field type="CharField" name="name">Dodatkowe przyciski w XMLEditor</field>
10     <field type="SlugField" name="slug">xmleditor-extra-buttons</field>
11     <field type="IntegerField" name="position">-1</field>
12   </object>
13   <object pk="14" model="toolbar.buttongroup">
14     <field type="CharField" name="name">Akapity</field>
15     <field type="SlugField" name="slug">akapity</field>
16     <field type="IntegerField" name="position">0</field>
17   </object>
18   <object pk="2" model="toolbar.buttongroup">
19     <field type="CharField" name="name">Autokorekta</field>
20     <field type="SlugField" name="slug">autokorekta</field>
21     <field type="IntegerField" name="position">0</field>
22   </object>
23   <object pk="21" model="toolbar.buttongroup">
24     <field type="CharField" name="name">Bloki</field>
25     <field type="SlugField" name="slug">bloki</field>
26     <field type="IntegerField" name="position">0</field>
27   </object>
28   <object pk="25" model="toolbar.buttongroup">
29     <field type="CharField" name="name">Dodatkowe przyciski DC</field>
30     <field type="SlugField" name="slug">dc-editor-extra-buttons</field>
31     <field type="IntegerField" name="position">0</field>
32   </object>
33   <object pk="12" model="toolbar.buttongroup">
34     <field type="CharField" name="name">Dramat wierszowany</field>
35     <field type="SlugField" name="slug">dramat-wierszowany</field>
36     <field type="IntegerField" name="position">0</field>
37   </object>
38   <object pk="13" model="toolbar.buttongroup">
39     <field type="CharField" name="name">Elementy początkowe</field>
40     <field type="SlugField" name="slug">elementy-poczatkowe</field>
41     <field type="IntegerField" name="position">0</field>
42   </object>
43   <object pk="1" model="toolbar.buttongroup">
44     <field type="CharField" name="name">Nagłówki</field>
45     <field type="SlugField" name="slug">naglowki</field>
46     <field type="IntegerField" name="position">0</field>
47   </object>
48   <object pk="22" model="toolbar.buttongroup">
49     <field type="CharField" name="name">Początek dramatu</field>
50     <field type="SlugField" name="slug">poczatek-dramatu</field>
51     <field type="IntegerField" name="position">0</field>
52   </object>
53   <object pk="27" model="toolbar.buttongroup">
54     <field type="CharField" name="name">Polecenia</field>
55     <field type="SlugField" name="slug">polecenia</field>
56     <field type="IntegerField" name="position">0</field>
57   </object>
58   <object pk="26" model="toolbar.buttongroup">
59     <field type="CharField" name="name">Przypisy</field>
60     <field type="SlugField" name="slug">przypisy</field>
61     <field type="IntegerField" name="position">0</field>
62   </object>
63   <object pk="16" model="toolbar.buttongroup">
64     <field type="CharField" name="name">Separatory</field>
65     <field type="SlugField" name="slug">separatory</field>
66     <field type="IntegerField" name="position">0</field>
67   </object>
68   <object pk="11" model="toolbar.buttongroup">
69     <field type="CharField" name="name">Strukturalne</field>
70     <field type="SlugField" name="slug">strukturalne</field>
71     <field type="IntegerField" name="position">0</field>
72   </object>
73   <object pk="15" model="toolbar.buttongroup">
74     <field type="CharField" name="name">Style znakowe</field>
75     <field type="SlugField" name="slug">style-znakowe</field>
76     <field type="IntegerField" name="position">0</field>
77   </object>
78   <object pk="17" model="toolbar.buttongroup">
79     <field type="CharField" name="name">Wersy</field>
80     <field type="SlugField" name="slug">wersy</field>
81     <field type="IntegerField" name="position">0</field>
82   </object>
83   <object pk="39" model="toolbar.button">
84     <field type="CharField" name="label">akapit</field>
85     <field type="SlugField" name="slug">akapit</field>
86     <field type="TextField" name="params">{"tag": "akap"}</field>
87     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
88     <field type="CharField" name="link"/>
89     <field type="CharField" name="key">a</field>
90     <field type="PositiveIntegerField" name="key_mod">1</field>
91     <field type="CharField" name="tooltip">Alt+a</field>
92     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
93       <object pk="14"/>
94     </field>
95   </object>
96   <object pk="40" model="toolbar.button">
97     <field type="CharField" name="label">akapit cd.</field>
98     <field type="SlugField" name="slug">akapit-cd</field>
99     <field type="TextField" name="params">{"tag": "akap_cd"}</field>
100     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
101     <field type="CharField" name="link"/>
102     <field type="CharField" name="key"/>
103     <field type="PositiveIntegerField" name="key_mod">0</field>
104     <field type="CharField" name="tooltip"/>
105     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
106       <object pk="14"/>
107     </field>
108   </object>
109   <object pk="41" model="toolbar.button">
110     <field type="CharField" name="label">akapit dialogowy</field>
111     <field type="SlugField" name="slug">akapit-dialogowy</field>
112     <field type="TextField" name="params">{"tag": "akap_dialog"}</field>
113     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
114     <field type="CharField" name="link"/>
115     <field type="CharField" name="key">d</field>
116     <field type="PositiveIntegerField" name="key_mod">1</field>
117     <field type="CharField" name="tooltip">Alt+d</field>
118     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
119       <object pk="14"/>
120     </field>
121   </object>
122   <object pk="14" model="toolbar.button">
123     <field type="CharField" name="label">akt</field>
124     <field type="SlugField" name="slug">akt</field>
125     <field type="TextField" name="params">{"tag": "akt"}</field>
126     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
127     <field type="CharField" name="link"/>
128     <field type="CharField" name="key"/>
129     <field type="PositiveIntegerField" name="key_mod">0</field>
130     <field type="CharField" name="tooltip"/>
131     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
132       <object pk="1"/>
133     </field>
134   </object>
135   <object pk="32" model="toolbar.button">
136     <field type="CharField" name="label">autor</field>
137     <field type="SlugField" name="slug">autor</field>
138     <field type="TextField" name="params">{"tag": "autor"}</field>
139     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
140     <field type="CharField" name="link"/>
141     <field type="CharField" name="key"/>
142     <field type="PositiveIntegerField" name="key_mod">0</field>
143     <field type="CharField" name="tooltip"/>
144     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
145       <object pk="13"/>
146     </field>
147   </object>
148   <object pk="4" model="toolbar.button">
149     <field type="CharField" name="label">Podstawowa</field>
150     <field type="SlugField" name="slug">basic_correction</field>
151     <field type="TextField" name="params">[["fulltextregexp", {"exprs": [["\ufeff", ""], ["$[\\s]*\\d+[\\s]*^", ""], ["-\\s*^", ""], ["\\,\\.\\.|\\.\\,\\.|\\.\\.\\,", "..."]]}], ["lineregexp", {"exprs": [["^\\s+|\\s+$", ""], ["\\s+", " "], ["(,,)\\s+|\\s+(\")", "$1"], ["(\\d)[\u2014-](\\d)", "$1--$2"], ["\u2014", "---"], ["&lt;(/?)P([aert])", "&lt;$1p$2"], ["([^\\.])(\\s*)&lt;/p", "$1.$2&lt;/p"], ["([,\\.:;!\\?])([^\\s\\\\])", "$1 $2"], ["([^\\s])\\s+([,\\.:;!\\?])", "$1$2"]]}]]</field>
152     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">macro</field>
153     <field type="CharField" name="link"/>
154     <field type="CharField" name="key"/>
155     <field type="PositiveIntegerField" name="key_mod">0</field>
156     <field type="CharField" name="tooltip">Wykonuję operację z novel-pages i poem-pages.</field>
157     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
158       <object pk="2"/>
159     </field>
160   </object>
161   <object pk="10" model="toolbar.button">
162     <field type="CharField" name="label">część/księga</field>
163     <field type="SlugField" name="slug">czesc</field>
164     <field type="TextField" name="params">{"tag": "naglowek_czesc"}</field>
165     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
166     <field type="CharField" name="link"/>
167     <field type="CharField" name="key"/>
168     <field type="PositiveIntegerField" name="key_mod">0</field>
169     <field type="CharField" name="tooltip"/>
170     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
171       <object pk="1"/>
172     </field>
173   </object>
174   <object pk="74" model="toolbar.button">
175     <field type="CharField" name="label">dedykacja</field>
176     <field type="SlugField" name="slug">dedykacja</field>
177     <field type="TextField" name="params">{"tag": "dedykacja"}</field>
178     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
179     <field type="CharField" name="link"/>
180     <field type="CharField" name="key"/>
181     <field type="PositiveIntegerField" name="key_mod">0</field>
182     <field type="CharField" name="tooltip"/>
183     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
184       <object pk="13"/>
185       <object pk="22"/>
186     </field>
187   </object>
188   <object pk="6" model="toolbar.button">
189     <field type="CharField" name="label">A&lt;sup&gt;-&lt;/sup&gt;</field>
190     <field type="SlugField" name="slug">descrease_font_size</field>
191     <field type="TextField" name="params">{"change": -2}</field>
192     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">codemirror_fontsize</field>
193     <field type="CharField" name="link"/>
194     <field type="CharField" name="key"/>
195     <field type="PositiveIntegerField" name="key_mod">0</field>
196     <field type="CharField" name="tooltip">Zmniejsz rozmiar czcionki.</field>
197     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
198       <object pk="23"/>
199     </field>
200   </object>
201   <object pk="62" model="toolbar.button">
202     <field type="CharField" name="label">didaskalia</field>
203     <field type="SlugField" name="slug">didaskalia</field>
204     <field type="TextField" name="params">{"tag": "didaskalia"}</field>
205     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
206     <field type="CharField" name="link"/>
207     <field type="CharField" name="key"/>
208     <field type="PositiveIntegerField" name="key_mod">0</field>
209     <field type="CharField" name="tooltip"/>
210     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
211       <object pk="12"/>
212     </field>
213   </object>
214   <object pk="79" model="toolbar.button">
215     <field type="CharField" name="label">didaskalia początkowe</field>
216     <field type="SlugField" name="slug">didaskalia-poczatkowe</field>
217     <field type="TextField" name="params">{"tag": "miejsce_czas"}</field>
218     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
219     <field type="CharField" name="link"/>
220     <field type="CharField" name="key"/>
221     <field type="PositiveIntegerField" name="key_mod">0</field>
222     <field type="CharField" name="tooltip"/>
223     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
224       <object pk="22"/>
225     </field>
226   </object>
227   <object pk="63" model="toolbar.button">
228     <field type="CharField" name="label">didaskalia wewn.</field>
229     <field type="SlugField" name="slug">didaskalia-wewn</field>
230     <field type="TextField" name="params">{"tag": "didask_tekst"}</field>
231     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
232     <field type="CharField" name="link"/>
233     <field type="CharField" name="key"/>
234     <field type="PositiveIntegerField" name="key_mod">0</field>
235     <field type="CharField" name="tooltip"/>
236     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
237       <object pk="12"/>
238     </field>
239   </object>
240   <object pk="67" model="toolbar.button">
241     <field type="CharField" name="label">długi cyt. poet.</field>
242     <field type="SlugField" name="slug">dlugi-cyt-poet</field>
243     <field type="TextField" name="params">{"tag": "poezja_cyt"}</field>
244     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
245     <field type="CharField" name="link"/>
246     <field type="CharField" name="key"/>
247     <field type="PositiveIntegerField" name="key_mod">0</field>
248     <field type="CharField" name="tooltip"/>
249     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
250       <object pk="21"/>
251     </field>
252   </object>
253   <object pk="42" model="toolbar.button">
254     <field type="CharField" name="label">długi cytat</field>
255     <field type="SlugField" name="slug">dlugi-cytat</field>
256     <field type="TextField" name="params">{"tag": "dlugi_cyt"}</field>
257     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
258     <field type="CharField" name="link"/>
259     <field type="CharField" name="key"/>
260     <field type="PositiveIntegerField" name="key_mod">0</field>
261     <field type="CharField" name="tooltip"/>
262     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
263       <object pk="21"/>
264     </field>
265   </object>
266   <object pk="20" model="toolbar.button">
267     <field type="CharField" name="label">dramat wiersz.</field>
268     <field type="SlugField" name="slug">dramat-wiersz</field>
269     <field type="TextField" name="params">{"tag": "dramat_wierszowany_l"}</field>
270     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
271     <field type="CharField" name="link"/>
272     <field type="CharField" name="key"/>
273     <field type="PositiveIntegerField" name="key_mod">0</field>
274     <field type="CharField" name="tooltip"/>
275     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
276       <object pk="11"/>
277     </field>
278   </object>
279   <object pk="22" model="toolbar.button">
280     <field type="CharField" name="label">dramat wiersz./w. łam</field>
281     <field type="SlugField" name="slug">dramat-wiersz-w-lam</field>
282     <field type="TextField" name="params">{"tag": "dramat_wierszowany_lp"}</field>
283     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
284     <field type="CharField" name="link"/>
285     <field type="CharField" name="key"/>
286     <field type="PositiveIntegerField" name="key_mod">0</field>
287     <field type="CharField" name="tooltip"/>
288     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
289       <object pk="11"/>
290     </field>
291   </object>
292   <object pk="21" model="toolbar.button">
293     <field type="CharField" name="label">dramat współczesny</field>
294     <field type="SlugField" name="slug">dramat-wspolczesny</field>
295     <field type="TextField" name="params">{"tag": "dramat_wspolczesny"}</field>
296     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
297     <field type="CharField" name="link"/>
298     <field type="CharField" name="key"/>
299     <field type="PositiveIntegerField" name="key_mod">0</field>
300     <field type="CharField" name="tooltip"/>
301     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
302       <object pk="11"/>
303     </field>
304   </object>
305   <object pk="38" model="toolbar.button">
306     <field type="CharField" name="label">dzieło nadrzędne</field>
307     <field type="SlugField" name="slug">dzielo-nadrzedne</field>
308     <field type="TextField" name="params">{"tag": "dzielo_nadrzedne"}</field>
309     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
310     <field type="CharField" name="link"/>
311     <field type="CharField" name="key"/>
312     <field type="PositiveIntegerField" name="key_mod">0</field>
313     <field type="CharField" name="tooltip"/>
314     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
315       <object pk="13"/>
316     </field>
317   </object>
318   <object pk="52" model="toolbar.button">
319     <field type="CharField" name="label">ekstra</field>
320     <field type="SlugField" name="slug">ekstra</field>
321     <field type="TextField" name="params">{"tag": "ekstra"}</field>
322     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
323     <field type="CharField" name="link"/>
324     <field type="CharField" name="key"/>
325     <field type="PositiveIntegerField" name="key_mod">0</field>
326     <field type="CharField" name="tooltip"/>
327     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
328       <object pk="27"/>
329     </field>
330   </object>
331   <object pk="87" model="toolbar.button">
332     <field type="CharField" name="label">Wydrukuj</field>
333     <field type="SlugField" name="slug">htmleditor-print</field>
334     <field type="TextField" name="params">[]</field>
335     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
336     <field type="CharField" name="link">print/html</field>
337     <field type="CharField" name="key"/>
338     <field type="PositiveIntegerField" name="key_mod">0</field>
339     <field type="CharField" name="tooltip"/>
340     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
341       <object pk="24"/>
342     </field>
343   </object>
344   <object pk="5" model="toolbar.button">
345     <field type="CharField" name="label">A&lt;sup&gt;+&lt;/sup&gt;</field>
346     <field type="SlugField" name="slug">increase_font_size</field>
347     <field type="TextField" name="params">{"change": 2}</field>
348     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">codemirror_fontsize</field>
349     <field type="CharField" name="link"/>
350     <field type="CharField" name="key"/>
351     <field type="PositiveIntegerField" name="key_mod">0</field>
352     <field type="CharField" name="tooltip">Zwiększ rozmiar czcionki.</field>
353     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
354       <object pk="23"/>
355     </field>
356   </object>
357   <object pk="82" model="toolbar.button">
358     <field type="CharField" name="label">kwestia</field>
359     <field type="SlugField" name="slug">kwestia</field>
360     <field type="TextField" name="params">{"tag": "kwestia"}</field>
361     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
362     <field type="CharField" name="link"/>
363     <field type="CharField" name="key">k</field>
364     <field type="PositiveIntegerField" name="key_mod">1</field>
365     <field type="CharField" name="tooltip">Alt+k</field>
366     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
367       <object pk="12"/>
368     </field>
369   </object>
370   <object pk="23" model="toolbar.button">
371     <field type="CharField" name="label">liryka</field>
372     <field type="SlugField" name="slug">liryka</field>
373     <field type="TextField" name="params">{"tag": "liryka_l"}</field>
374     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
375     <field type="CharField" name="link"/>
376     <field type="CharField" name="key"/>
377     <field type="PositiveIntegerField" name="key_mod">0</field>
378     <field type="CharField" name="tooltip"/>
379     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
380       <object pk="11"/>
381     </field>
382   </object>
383   <object pk="24" model="toolbar.button">
384     <field type="CharField" name="label">liryka/w. łam</field>
385     <field type="SlugField" name="slug">liryka-w-lam</field>
386     <field type="TextField" name="params">{"tag": "liryka_lp"}</field>
387     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
388     <field type="CharField" name="link"/>
389     <field type="CharField" name="key"/>
390     <field type="PositiveIntegerField" name="key_mod">0</field>
391     <field type="CharField" name="tooltip"/>
392     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
393       <object pk="11"/>
394     </field>
395   </object>
396   <object pk="78" model="toolbar.button">
397     <field type="CharField" name="label">lista osób: pole</field>
398     <field type="SlugField" name="slug">lista-osob-pole</field>
399     <field type="TextField" name="params">{"tag": "lista_osoba", "attrs": {"typ": ""}}</field>
400     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
401     <field type="CharField" name="link"/>
402     <field type="CharField" name="key"/>
403     <field type="PositiveIntegerField" name="key_mod">0</field>
404     <field type="CharField" name="tooltip"/>
405     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
406       <object pk="22"/>
407     </field>
408   </object>
409   <object pk="47" model="toolbar.button">
410     <field type="CharField" name="label">mamtemat.</field>
411     <field type="SlugField" name="slug">matemat</field>
412     <field type="TextField" name="params">{"tag": "mat"}</field>
413     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
414     <field type="CharField" name="link"/>
415     <field type="CharField" name="key"/>
416     <field type="PositiveIntegerField" name="key_mod">0</field>
417     <field type="CharField" name="tooltip"/>
418     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
419       <object pk="15"/>
420     </field>
421   </object>
422   <object pk="75" model="toolbar.button">
423     <field type="CharField" name="label">motto</field>
424     <field type="SlugField" name="slug">motto</field>
425     <field type="TextField" name="params">{"tag": "motto"}</field>
426     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
427     <field type="CharField" name="link"/>
428     <field type="CharField" name="key"/>
429     <field type="PositiveIntegerField" name="key_mod">0</field>
430     <field type="CharField" name="tooltip"/>
431     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
432       <object pk="13"/>
433       <object pk="22"/>
434     </field>
435   </object>
436   <object pk="37" model="toolbar.button">
437     <field type="CharField" name="label">motto podpis</field>
438     <field type="SlugField" name="slug">motto-podpis</field>
439     <field type="TextField" name="params">{"tag": "motto_podpis"}</field>
440     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
441     <field type="CharField" name="link"/>
442     <field type="CharField" name="key"/>
443     <field type="PositiveIntegerField" name="key_mod">0</field>
444     <field type="CharField" name="tooltip"/>
445     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
446       <object pk="13"/>
447       <object pk="22"/>
448     </field>
449   </object>
450   <object pk="16" model="toolbar.button">
451     <field type="CharField" name="label">nagłówek kwestii</field>
452     <field type="SlugField" name="slug">naglowek-kwestii</field>
453     <field type="TextField" name="params">{"tag": "naglowek_osoba"}</field>
454     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
455     <field type="CharField" name="link"/>
456     <field type="CharField" name="key"/>
457     <field type="PositiveIntegerField" name="key_mod">0</field>
458     <field type="CharField" name="tooltip"/>
459     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
460       <object pk="1"/>
461     </field>
462   </object>
463   <object pk="33" model="toolbar.button">
464     <field type="CharField" name="label">nazwa utworu</field>
465     <field type="SlugField" name="slug">nazwa-utworu</field>
466     <field type="TextField" name="params">{"tag": "nazwa_utworu"}</field>
467     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
468     <field type="CharField" name="link"/>
469     <field type="CharField" name="key"/>
470     <field type="PositiveIntegerField" name="key_mod">0</field>
471     <field type="CharField" name="tooltip"/>
472     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
473       <object pk="13"/>
474     </field>
475   </object>
476   <object pk="35" model="toolbar.button">
477     <field type="CharField" name="label">nota</field>
478     <field type="SlugField" name="slug">nota</field>
479     <field type="TextField" name="params">{"tag": "nota"}</field>
480     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
481     <field type="CharField" name="link"/>
482     <field type="CharField" name="key"/>
483     <field type="PositiveIntegerField" name="key_mod">0</field>
484     <field type="CharField" name="tooltip"/>
485     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
486       <object pk="13"/>
487     </field>
488   </object>
489   <object pk="18" model="toolbar.button">
490     <field type="CharField" name="label">opowiadanie</field>
491     <field type="SlugField" name="slug">opowiadanie</field>
492     <field type="TextField" name="params">{"tag": "opowiadanie"}</field>
493     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
494     <field type="CharField" name="link"/>
495     <field type="CharField" name="key"/>
496     <field type="PositiveIntegerField" name="key_mod">0</field>
497     <field type="CharField" name="tooltip"/>
498     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
499       <object pk="11"/>
500     </field>
501   </object>
502   <object pk="64" model="toolbar.button">
503     <field type="CharField" name="label">osoba</field>
504     <field type="SlugField" name="slug">osoba</field>
505     <field type="TextField" name="params">{"tag": "osoba"}</field>
506     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
507     <field type="CharField" name="link"/>
508     <field type="CharField" name="key">b</field>
509     <field type="PositiveIntegerField" name="key_mod">1</field>
510     <field type="CharField" name="tooltip">Alt+b</field>
511     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
512       <object pk="12"/>
513     </field>
514   </object>
515   <object pk="90" model="toolbar.button">
516     <field type="CharField" name="label">Odśwież</field>
517     <field type="SlugField" name="slug">panel-refresh</field>
518     <field type="TextField" name="params">[]</field>
519     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">refresh_panel</field>
520     <field type="CharField" name="link"/>
521     <field type="CharField" name="key"/>
522     <field type="PositiveIntegerField" name="key_mod">0</field>
523     <field type="CharField" name="tooltip"/>
524     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
525       <object pk="24"/>
526       <object pk="23"/>
527       <object pk="25"/>
528     </field>
529   </object>
530   <object pk="12" model="toolbar.button">
531     <field type="CharField" name="label">podrozdział</field>
532     <field type="SlugField" name="slug">podrozdzial</field>
533     <field type="TextField" name="params">{"tag": "naglowek_podrozdzial"}</field>
534     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
535     <field type="CharField" name="link"/>
536     <field type="CharField" name="key"/>
537     <field type="PositiveIntegerField" name="key_mod">0</field>
538     <field type="CharField" name="tooltip"/>
539     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
540       <object pk="1"/>
541     </field>
542   </object>
543   <object pk="34" model="toolbar.button">
544     <field type="CharField" name="label">podtytuł</field>
545     <field type="SlugField" name="slug">podtytul</field>
546     <field type="TextField" name="params">{"tag": "podtytul"}</field>
547     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
548     <field type="CharField" name="link"/>
549     <field type="CharField" name="key"/>
550     <field type="PositiveIntegerField" name="key_mod">0</field>
551     <field type="CharField" name="tooltip"/>
552     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
553       <object pk="13"/>
554     </field>
555   </object>
556   <object pk="19" model="toolbar.button">
557     <field type="CharField" name="label">powieść</field>
558     <field type="SlugField" name="slug">powiesc</field>
559     <field type="TextField" name="params">{"tag": "powiesc"}</field>
560     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
561     <field type="CharField" name="link"/>
562     <field type="CharField" name="key"/>
563     <field type="PositiveIntegerField" name="key_mod">0</field>
564     <field type="CharField" name="tooltip"/>
565     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
566       <object pk="11"/>
567     </field>
568   </object>
569   <object pk="86" model="toolbar.button">
570     <field type="CharField" name="label">Wydrukuj</field>
571     <field type="SlugField" name="slug">print-xml</field>
572     <field type="TextField" name="params">[]</field>
573     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
574     <field type="CharField" name="link">print/xml</field>
575     <field type="CharField" name="key"/>
576     <field type="PositiveIntegerField" name="key_mod">0</field>
577     <field type="CharField" name="tooltip"/>
578     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
579       <object pk="23"/>
580     </field>
581   </object>
582   <object pk="68" model="toolbar.button">
583     <field type="CharField" name="label">przypis autorski</field>
584     <field type="SlugField" name="slug">przypis-autorski</field>
585     <field type="TextField" name="params">{"tag": "pa"}</field>
586     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
587     <field type="CharField" name="link"/>
588     <field type="CharField" name="key"/>
589     <field type="PositiveIntegerField" name="key_mod">0</field>
590     <field type="CharField" name="tooltip"/>
591     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
592       <object pk="26"/>
593     </field>
594   </object>
595   <object pk="71" model="toolbar.button">
596     <field type="CharField" name="label">przypis edytorski</field>
597     <field type="SlugField" name="slug">przypis-edytorski</field>
598     <field type="TextField" name="params">{"tag": "pe"}</field>
599     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
600     <field type="CharField" name="link"/>
601     <field type="CharField" name="key"/>
602     <field type="PositiveIntegerField" name="key_mod">0</field>
603     <field type="CharField" name="tooltip"/>
604     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
605       <object pk="26"/>
606     </field>
607   </object>
608   <object pk="70" model="toolbar.button">
609     <field type="CharField" name="label">przypis redaktorski</field>
610     <field type="SlugField" name="slug">przypis-redaktorski</field>
611     <field type="TextField" name="params">{"tag": "pr"}</field>
612     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
613     <field type="CharField" name="link"/>
614     <field type="CharField" name="key"/>
615     <field type="PositiveIntegerField" name="key_mod">0</field>
616     <field type="CharField" name="tooltip"/>
617     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
618       <object pk="26"/>
619     </field>
620   </object>
621   <object pk="69" model="toolbar.button">
622     <field type="CharField" name="label">przypis tłumacza</field>
623     <field type="SlugField" name="slug">przypis-tlumacza</field>
624     <field type="TextField" name="params">{"tag": "pt"}</field>
625     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
626     <field type="CharField" name="link"/>
627     <field type="CharField" name="key"/>
628     <field type="PositiveIntegerField" name="key_mod">0</field>
629     <field type="CharField" name="tooltip"/>
630     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
631       <object pk="26"/>
632     </field>
633   </object>
634   <object pk="7" model="toolbar.button">
635     <field type="CharField" name="label">A&lt;sup&gt;=&lt;/sup&gt;</field>
636     <field type="SlugField" name="slug">reset_font_size</field>
637     <field type="TextField" name="params">{"fontSize": 13}</field>
638     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">codemirror_fontsize</field>
639     <field type="CharField" name="link"/>
640     <field type="CharField" name="key"/>
641     <field type="PositiveIntegerField" name="key_mod">0</field>
642     <field type="CharField" name="tooltip">Przywróć orginalny rozmiar czcionki.</field>
643     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
644       <object pk="23"/>
645     </field>
646   </object>
647   <object pk="11" model="toolbar.button">
648     <field type="CharField" name="label">rozdział</field>
649     <field type="SlugField" name="slug">rozdzial</field>
650     <field type="TextField" name="params">{"tag": "naglowek_rozdzial"}</field>
651     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
652     <field type="CharField" name="link"/>
653     <field type="CharField" name="key"/>
654     <field type="PositiveIntegerField" name="key_mod">0</field>
655     <field type="CharField" name="tooltip"/>
656     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
657       <object pk="1"/>
658     </field>
659   </object>
660   <object pk="15" model="toolbar.button">
661     <field type="CharField" name="label">scena</field>
662     <field type="SlugField" name="slug">scena</field>
663     <field type="TextField" name="params">{"tag": "naglowek_scena"}</field>
664     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
665     <field type="CharField" name="link"/>
666     <field type="CharField" name="key"/>
667     <field type="PositiveIntegerField" name="key_mod">0</field>
668     <field type="CharField" name="tooltip"/>
669     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
670       <object pk="1"/>
671     </field>
672   </object>
673   <object pk="54" model="toolbar.button">
674     <field type="CharField" name="label">sep. asteryks</field>
675     <field type="SlugField" name="slug">sep-asteryks</field>
676     <field type="TextField" name="params">{"tag": "sekcja_asteryks"}</field>
677     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
678     <field type="CharField" name="link"/>
679     <field type="CharField" name="key"/>
680     <field type="PositiveIntegerField" name="key_mod">0</field>
681     <field type="CharField" name="tooltip"/>
682     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
683       <object pk="16"/>
684     </field>
685   </object>
686   <object pk="55" model="toolbar.button">
687     <field type="CharField" name="label">sep. linia</field>
688     <field type="SlugField" name="slug">sep-linia</field>
689     <field type="TextField" name="params">{"tag": "separator_linia"}</field>
690     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
691     <field type="CharField" name="link"/>
692     <field type="CharField" name="key"/>
693     <field type="PositiveIntegerField" name="key_mod">0</field>
694     <field type="CharField" name="tooltip"/>
695     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
696       <object pk="16"/>
697     </field>
698   </object>
699   <object pk="53" model="toolbar.button">
700     <field type="CharField" name="label">sep. światło</field>
701     <field type="SlugField" name="slug">sep-swiatlo</field>
702     <field type="TextField" name="params">{"tag": "sekcja_swiatlo"}</field>
703     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
704     <field type="CharField" name="link"/>
705     <field type="CharField" name="key"/>
706     <field type="PositiveIntegerField" name="key_mod">0</field>
707     <field type="CharField" name="tooltip"/>
708     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
709       <object pk="16"/>
710     </field>
711   </object>
712   <object pk="46" model="toolbar.button">
713     <field type="CharField" name="label">słowo obce</field>
714     <field type="SlugField" name="slug">slowo-obce</field>
715     <field type="TextField" name="params">{"tag": "slowo_obce"}</field>
716     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
717     <field type="CharField" name="link"/>
718     <field type="CharField" name="key"/>
719     <field type="PositiveIntegerField" name="key_mod">0</field>
720     <field type="CharField" name="tooltip"/>
721     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
722       <object pk="15"/>
723     </field>
724   </object>
725   <object pk="88" model="toolbar.button">
726     <field type="CharField" name="label">Wydziel</field>
727     <field type="SlugField" name="slug">split-text-from-xmleditor</field>
728     <field type="TextField" name="params">[]</field>
729     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">show_splitmodal</field>
730     <field type="CharField" name="link"/>
731     <field type="CharField" name="key"/>
732     <field type="PositiveIntegerField" name="key_mod">0</field>
733     <field type="CharField" name="tooltip"/>
734     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
735       <object pk="23"/>
736     </field>
737   </object>
738   <object pk="13" model="toolbar.button">
739     <field type="CharField" name="label">śródtytuł</field>
740     <field type="SlugField" name="slug">srodtytul</field>
741     <field type="TextField" name="params">{"tag": "srodtytul"}</field>
742     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
743     <field type="CharField" name="link"/>
744     <field type="CharField" name="key"/>
745     <field type="PositiveIntegerField" name="key_mod">0</field>
746     <field type="CharField" name="tooltip"/>
747     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
748       <object pk="1"/>
749     </field>
750   </object>
751   <object pk="3" model="toolbar.button">
752     <field type="CharField" name="label">Usuń spację</field>
753     <field type="SlugField" name="slug">strip_whitespace</field>
754     <field type="TextField" name="params">{"exprs": [["^\\s+|\\s+$", ""], ["\\s+", " "], ["(,,)\\s+|\\s+(\")", "$1"]]}</field>
755     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">lineregexp</field>
756     <field type="CharField" name="link"/>
757     <field type="CharField" name="key"/>
758     <field type="PositiveIntegerField" name="key_mod">0</field>
759     <field type="CharField" name="tooltip">Usuwa zbędne spację z dokumentu.</field>
760     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
761       <object pk="2"/>
762     </field>
763   </object>
764   <object pk="81" model="toolbar.button">
765     <field type="CharField" name="label">strofa</field>
766     <field type="SlugField" name="slug">strofa</field>
767     <field type="TextField" name="params">{"tag": "strofa"}</field>
768     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_stanza</field>
769     <field type="CharField" name="link"/>
770     <field type="CharField" name="key">s</field>
771     <field type="PositiveIntegerField" name="key_mod">1</field>
772     <field type="CharField" name="tooltip"> </field>
773     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
774       <object pk="12"/>
775       <object pk="17"/>
776     </field>
777   </object>
778   <object pk="17" model="toolbar.button">
779     <field type="CharField" name="label">tagi główne</field>
780     <field type="SlugField" name="slug">tagi-glowne</field>
781     <field type="TextField" name="params">{"tag": "utwor"}</field>
782     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
783     <field type="CharField" name="link"/>
784     <field type="CharField" name="key"/>
785     <field type="PositiveIntegerField" name="key_mod">0</field>
786     <field type="CharField" name="tooltip"/>
787     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
788       <object pk="11"/>
789     </field>
790   </object>
791   <object pk="76" model="toolbar.button">
792     <field type="CharField" name="label">A&lt;sup&gt;↓&lt;/sup&gt;</field>
793     <field type="SlugField" name="slug">tolowercase</field>
794     <field type="TextField" name="params">[]</field>
795     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">lowercase</field>
796     <field type="CharField" name="link"/>
797     <field type="CharField" name="key">u</field>
798     <field type="PositiveIntegerField" name="key_mod">5</field>
799     <field type="CharField" name="tooltip">Zamień wielkie litery na małe.</field>
800     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
801       <object pk="15"/>
802     </field>
803   </object>
804   <object pk="92" model="toolbar.button">
805     <field type="CharField" name="label">tytuł dzieła</field>
806     <field type="SlugField" name="slug">tytul-dziela</field>
807     <field type="TextField" name="params">{"tag": "tytul_dziela"}</field>
808     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
809     <field type="CharField" name="link"/>
810     <field type="CharField" name="key"/>
811     <field type="PositiveIntegerField" name="key_mod">0</field>
812     <field type="CharField" name="tooltip"/>
813     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
814       <object pk="15"/>
815     </field>
816   </object>
817   <object pk="45" model="toolbar.button">
818     <field type="CharField" name="label">tytuł dzieła typ 1</field>
819     <field type="SlugField" name="slug">tytul-dziela-typ</field>
820     <field type="TextField" name="params">{"tag": "tytul_dziela", "attrs": {"typ": "1"}}</field>
821     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
822     <field type="CharField" name="link"/>
823     <field type="CharField" name="key"/>
824     <field type="PositiveIntegerField" name="key_mod">0</field>
825     <field type="CharField" name="tooltip"/>
826     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
827       <object pk="15"/>
828     </field>
829   </object>
830   <object pk="51" model="toolbar.button">
831     <field type="CharField" name="label">uwaga</field>
832     <field type="SlugField" name="slug">uwaga</field>
833     <field type="TextField" name="params">{"tag": "uwaga"}</field>
834     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
835     <field type="CharField" name="link"/>
836     <field type="CharField" name="key"/>
837     <field type="PositiveIntegerField" name="key_mod">0</field>
838     <field type="CharField" name="tooltip"/>
839     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
840       <object pk="27"/>
841     </field>
842   </object>
843   <object pk="83" model="toolbar.button">
844     <field type="CharField" name="label">wers akap.</field>
845     <field type="SlugField" name="slug">wers-akap</field>
846     <field type="TextField" name="params">{"tag": "wers_akap"}</field>
847     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
848     <field type="CharField" name="link"/>
849     <field type="CharField" name="key"/>
850     <field type="PositiveIntegerField" name="key_mod">0</field>
851     <field type="CharField" name="tooltip"/>
852     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
853       <object pk="12"/>
854       <object pk="17"/>
855     </field>
856   </object>
857   <object pk="85" model="toolbar.button">
858     <field type="CharField" name="label">wers cd.</field>
859     <field type="SlugField" name="slug">wers-cd</field>
860     <field type="TextField" name="params">{"tag": "wers_cd"}</field>
861     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
862     <field type="CharField" name="link"/>
863     <field type="CharField" name="key"/>
864     <field type="PositiveIntegerField" name="key_mod">0</field>
865     <field type="CharField" name="tooltip"/>
866     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
867       <object pk="12"/>
868       <object pk="17"/>
869     </field>
870   </object>
871   <object pk="84" model="toolbar.button">
872     <field type="CharField" name="label">wers m. wcięty</field>
873     <field type="SlugField" name="slug">wers-mocno-wciety</field>
874     <field type="TextField" name="params">{"tag": "wers_wciety", "attrs": {"typ": ""}}</field>
875     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
876     <field type="CharField" name="link"/>
877     <field type="CharField" name="key">w</field>
878     <field type="PositiveIntegerField" name="key_mod">1</field>
879     <field type="CharField" name="tooltip">Alt+w</field>
880     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
881       <object pk="12"/>
882       <object pk="17"/>
883     </field>
884   </object>
885   <object pk="91" model="toolbar.button">
886     <field type="CharField" name="label">wers wcięty</field>
887     <field type="SlugField" name="slug">wers-wciety</field>
888     <field type="TextField" name="params">{"tag": "wers-wciety"}</field>
889     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
890     <field type="CharField" name="link"/>
891     <field type="CharField" name="key">q</field>
892     <field type="PositiveIntegerField" name="key_mod">1</field>
893     <field type="CharField" name="tooltip">Alt+q</field>
894     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
895       <object pk="12"/>
896       <object pk="17"/>
897     </field>
898   </object>
899   <object pk="48" model="toolbar.button">
900     <field type="CharField" name="label">www</field>
901     <field type="SlugField" name="slug">www</field>
902     <field type="TextField" name="params">{"tag": "www"}</field>
903     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
904     <field type="CharField" name="link"/>
905     <field type="CharField" name="key"/>
906     <field type="PositiveIntegerField" name="key_mod">0</field>
907     <field type="CharField" name="tooltip"/>
908     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
909       <object pk="15"/>
910     </field>
911   </object>
912   <object pk="44" model="toolbar.button">
913     <field type="CharField" name="label">wyróżnienie</field>
914     <field type="SlugField" name="slug">wyroznienie</field>
915     <field type="TextField" name="params">{"tag": "wyroznienie"}</field>
916     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
917     <field type="CharField" name="link"/>
918     <field type="CharField" name="key"/>
919     <field type="PositiveIntegerField" name="key_mod">0</field>
920     <field type="CharField" name="tooltip"/>
921     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
922       <object pk="15"/>
923     </field>
924   </object>
925   <object pk="25" model="toolbar.button">
926     <field type="CharField" name="label">wywiad</field>
927     <field type="SlugField" name="slug">wywiad</field>
928     <field type="TextField" name="params">{"tag": "wywiad"}</field>
929     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
930     <field type="CharField" name="link"/>
931     <field type="CharField" name="key"/>
932     <field type="PositiveIntegerField" name="key_mod">0</field>
933     <field type="CharField" name="tooltip"/>
934     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
935       <object pk="11"/>
936     </field>
937   </object>
938   <object pk="73" model="toolbar.button">
939     <field type="CharField" name="label">wywiad odpowiedź</field>
940     <field type="SlugField" name="slug">wywiad-odpowiedz</field>
941     <field type="TextField" name="params">{"tag": "wywiad_odp"}</field>
942     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
943     <field type="CharField" name="link"/>
944     <field type="CharField" name="key"/>
945     <field type="PositiveIntegerField" name="key_mod">0</field>
946     <field type="CharField" name="tooltip"/>
947     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
948       <object pk="21"/>
949     </field>
950   </object>
951   <object pk="72" model="toolbar.button">
952     <field type="CharField" name="label">wywiad pytanie</field>
953     <field type="SlugField" name="slug">wywiad-pytanie</field>
954     <field type="TextField" name="params">{"tag": "wywiad_pyt"}</field>
955     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
956     <field type="CharField" name="link"/>
957     <field type="CharField" name="key"/>
958     <field type="PositiveIntegerField" name="key_mod">0</field>
959     <field type="CharField" name="tooltip"/>
960     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
961       <object pk="21"/>
962     </field>
963   </object>
964   <object pk="89" model="toolbar.button">
965     <field type="CharField" name="label">Zamień Cudzysłów PT</field>
966     <field type="SlugField" name="slug">zamien-cudzyslow-pt</field>
967     <field type="TextField" name="params">{"exprs": [["\u00ab|\u201e", ",,"], ["\u00bb", "\""], ["([^=])\"([\u0104\u0118\u00d3\u0141\u017b\u0179\u0106\u0143\u0105\u017c\u017a\u015b\u0144\u00f3\u0142\u0107\\w])", "$1,,$2"], ["^\"([\u0104\u0118\u00d3\u0141\u017b\u0179\u0106\u0143\u0105\u017c\u017a\u015b\u0144\u00f3\u0142\u0107\\w])", ",,$1"], ["(,,)\\s+|\\s+(\")", "$1"]]}</field>
968     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">lineregexp</field>
969     <field type="CharField" name="link"/>
970     <field type="CharField" name="key"/>
971     <field type="PositiveIntegerField" name="key_mod">0</field>
972     <field type="CharField" name="tooltip">Zamienia cudzysłowy (Pan Tadeusz Style)</field>
973     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
974       <object pk="2"/>
975     </field>
976   </object>
977   <object pk="77" model="toolbar.button">
978     <field type="CharField" name="label">Zamień cudzysłowy</field>
979     <field type="SlugField" name="slug">zamien-cudzyslowy</field>
980     <field type="TextField" name="params">{"exprs": [["\u00bb|\u201e", ",,"], ["\u00ab", "\""], ["([^=])\"([\u0104\u0118\u00d3\u0141\u017b\u0179\u0106\u0143\u0105\u017c\u017a\u015b\u0144\u00f3\u0142\u0107\\w])", "$1,,$2"], ["^\"([\u0104\u0118\u00d3\u0141\u017b\u0179\u0106\u0143\u0105\u017c\u017a\u015b\u0144\u00f3\u0142\u0107\\w])", ",,$1"], ["(,,)\\s+|\\s+(\")", "$1"]]}</field>
981     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">lineregexp</field>
982     <field type="CharField" name="link"/>
983     <field type="CharField" name="key"/>
984     <field type="PositiveIntegerField" name="key_mod">0</field>
985     <field type="CharField" name="tooltip"/>
986     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
987       <object pk="2"/>
988     </field>
989   </object>
990   <object pk="2" model="toolbar.button">
991     <field type="CharField" name="label">Zamień dywiz</field>
992     <field type="SlugField" name="slug">zamien_dywiz</field>
993     <field type="TextField" name="params">{"exprs": [["(\\s)-(\\s)", "$1---$2"], ["^(\\s*)-(\\s)", "$1---$2"], ["(\\s)-(\\s*)$", "$1---$2"], ["(\\d)[\u2014\u2013\u2010-](\\d)", "$1--$2"], ["\u2014\u2013\u2010", "---"]]}</field>
994     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">lineregexp</field>
995     <field type="CharField" name="link"/>
996     <field type="CharField" name="key"/>
997     <field type="PositiveIntegerField" name="key_mod">0</field>
998     <field type="CharField" name="tooltip">Zamienia '—' na '---', oraz '1—2' na '1--2'.</field>
999     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
1000       <object pk="2"/>
1001     </field>
1002   </object>
1003   <object pk="56" model="toolbar.button">
1004     <field type="CharField" name="label">zastępnik wersu</field>
1005     <field type="SlugField" name="slug">zastepnik-wersu</field>
1006     <field type="TextField" name="params">{"tag": "zastepnik_wersu"}</field>
1007     <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
1008     <field type="CharField" name="link"/>
1009     <field type="CharField" name="key"/>
1010     <field type="PositiveIntegerField" name="key_mod">0</field>
1011     <field type="CharField" name="tooltip"/>
1012     <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
1013       <object pk="16"/>
1014     </field>
1015   </object>
1016   <object pk="insert_tag" model="toolbar.scriptlet">
1017     <field type="TextField" name="code">var texteditor = panel.texteditor;
1018 var text = texteditor.selection();
1019 var start_tag = '&lt;'+params.tag;
1020 for (var attr in params.attrs) {
1021     start_tag += ' '+attr+'="' + params.attrs[attr] + '"';
1022 };
1023 start_tag += '&gt;';
1024 var end_tag = '&lt;/'+params.tag+'&gt;';
1025
1026 if(text.length &gt; 0) {
1027 // tokenize
1028 var output = ''
1029 var token = ''
1030 for(var index=0; index &lt; text.length; index++)
1031 {
1032     if (text[index].match(/\s/)) { // whitespace
1033         token += text[index];
1034     }
1035     else { // character
1036         output += token;
1037         if(output == token) output += start_tag;
1038         token = ''
1039         output += text[index];
1040     }
1041 }
1042
1043 if( output[output.length-1] == '\\' ) {
1044     output = output.substr(0, output.length-1) + end_tag + '\\';
1045 } else {
1046     output += end_tag;
1047 }
1048 output += token;
1049 }
1050 else {
1051  output = start_tag + end_tag;
1052 }
1053
1054 texteditor.replaceSelection(output);
1055
1056 if (text.length == 0) {
1057     var pos = texteditor.cursorPosition();
1058     texteditor.selectLines(pos.line, pos.character + params.tag.length + 2);
1059 }
1060
1061 panel.fireEvent('contentChanged');</field>
1062   </object>
1063   <object pk="lineregexp" model="toolbar.scriptlet">
1064     <field type="TextField" name="code">editor.showPopup('generic-info', 'Przetwarzanie zaznaczonego tekstu...', '', -1);
1065
1066 var cm = panel.texteditor;
1067 var exprs = $.map(params.exprs, function(expr) {
1068
1069     var opts = "g";
1070
1071     if(expr.length &gt; 2)
1072
1073         opts = expr[2];
1074
1075     return {rx: new RegExp(expr[0], opts), repl: expr[1]};
1076
1077 });
1078
1079
1080
1081 var partial = true;
1082
1083 var text = cm.selection();
1084
1085
1086
1087 if(!text) {
1088
1089     var cpos = cm.cursorPosition();
1090
1091     cpos.line = cm.lineNumber(cpos.line)
1092
1093     cm.selectLines(cm.firstLine(), 0, cm.lastLine(), 0);
1094
1095     text = cm.selection();
1096
1097     partial = false;
1098
1099 }
1100
1101
1102
1103 var changed = 0;
1104 var lines = text.split('\n');
1105 var lines = $.map(lines, function(line) { 
1106     var old_line = line;
1107     $(exprs).each(function() { 
1108         var expr = this;
1109         line = line.replace(expr.rx, expr.repl);
1110     });
1111
1112     if(old_line != line) changed += 1;
1113     return line;
1114 });
1115
1116 if(changed &gt; 0) 
1117 {
1118     cm.replaceSelection( lines.join('\n') );
1119     panel.fireEvent('contentChanged');
1120     editor.showPopup('generic-yes', 'Zmieniono ' + changed + ' linii.', 1500);
1121     editor.advancePopupQueue();
1122 }
1123 else {
1124     editor.showPopup('generic-info',  'Brak zmian w tekście', 1500);
1125     editor.advancePopupQueue();
1126 }
1127
1128 if(!partial)
1129     cm.selectLines( cm.nthLine(cpos.line), cpos.character )</field>
1130   </object>
1131   <object pk="codemirror_fontsize" model="toolbar.scriptlet">
1132     <field type="TextField" name="code">var texteditor = panel.texteditor;
1133
1134 var frameBody = $('body', $(texteditor.frame).contents());
1135
1136
1137
1138 if(params.fontSize) {
1139
1140     frameBody.css('font-size', params.fontSize);
1141
1142 }
1143
1144 else {
1145
1146     var old_size = parseInt(frameBody.css('font-size'));
1147
1148     frameBody.css('font-size', old_size + (params.change || 0) );
1149
1150 }</field>
1151   </object>
1152   <object pk="fulltextregexp" model="toolbar.scriptlet">
1153     <field type="TextField" name="code">editor.showPopup('generic-info', 'Przetwarzanie zaznaczonego tekstu...', '', -1);
1154 $.log(editor, panel, params);
1155 var cm = panel.texteditor;
1156 var exprs = $.map(params.exprs, function(expr) {
1157     var opts = "mg";
1158     if(expr.length &gt; 2)
1159         opts = expr[2];
1160
1161     return {rx: new RegExp(expr[0], opts), repl: expr[1]};
1162 });
1163
1164 var partial = true;
1165 var text = cm.selection();
1166
1167 if(!text) {
1168     var cpos = cm.cursorPosition();
1169     cpos.line = cm.lineNumber(cpos.line)
1170     cm.selectLines(cm.firstLine(), 0, cm.lastLine(), 0);
1171
1172     text = cm.selection();
1173     partial = false;
1174 }
1175
1176 var original = text;
1177 $(exprs).each(function() { 
1178     text = text.replace(this.rx, this.repl);
1179 });
1180
1181 if( original != text) 
1182 {    
1183     cm.replaceSelection(text);
1184     panel.fireEvent('contentChanged');
1185     editor.showPopup('generic-yes', 'Zmieniono tekst' );
1186     editor.advancePopupQueue();
1187 }
1188 else {
1189     editor.showPopup('generic-info', 'Brak zmian w tekście.');
1190     editor.advancePopupQueue();
1191 }
1192
1193 if(!partial) {
1194     cm.selectLines( cm.nthLine(cpos.line), cpos.character );
1195 }</field>
1196   </object>
1197   <object pk="macro" model="toolbar.scriptlet">
1198     <field type="TextField" name="code">$(params).each(function() {
1199     $.log(this[0], this[1]);
1200     editor.callScriptlet(this[0], panel, this[1]);
1201
1202 });</field>
1203   </object>
1204   <object pk="lowercase" model="toolbar.scriptlet">
1205     <field type="TextField" name="code">var cm = panel.texteditor;
1206 var text = cm.selection();
1207
1208 if(!text) return;
1209 var repl = '';
1210 var lcase = text.toLowerCase();
1211 var ucase = text.toUpperCase();
1212
1213 if(lcase == text) repl = ucase; /* was lowercase */
1214 else if(ucase != text) repl = lcase; /* neither lower- or upper-case */
1215 else { /* upper case -&gt; camel-case */
1216    repl = ''
1217    $(lcase.split(/\s/)).each(function() { 
1218      if(this.length &gt; 0) repl += this[0].toUpperCase() + this.slice(1) + ' ';
1219    }); 
1220
1221
1222 if(repl != text) {
1223     cm.replaceSelection(repl);
1224     panel.fireEvent('contentChanged');
1225 };</field>
1226   </object>
1227   <object pk="insert_stanza" model="toolbar.scriptlet">
1228     <field type="TextField" name="code">var texteditor = panel.texteditor;
1229 var text = texteditor.selection();
1230
1231 if(text) {
1232   var verses = text.split('\n');
1233   var text = ''; var buf = ''; var ebuf = '';
1234   var first = true;
1235
1236   for(var i=0;  i &lt; verses.length; i++) {
1237     verse = verses[i].replace(/^\s+/, "").replace(/\s+$/, "");   
1238     if(verse) {
1239       text += (buf ? buf + '\\\n' : '') + ebuf;
1240       buf = (first ? '&lt;strofa&gt;\n' : '') + verses[i];
1241       ebuf = '';
1242       first = false;
1243     } else {    
1244       ebuf += '\n' + verses[i];
1245     }
1246   };
1247   text = text + buf + '\n&lt;/strofa&gt;' + ebuf; 
1248   texteditor.replaceSelection(text);
1249 }
1250
1251 if (!text) {
1252     var pos = texteditor.cursorPosition();
1253     texteditor.selectLines(pos.line, pos.character + 6 + 2);
1254 }
1255
1256
1257
1258
1259
1260
1261
1262 panel.fireEvent('contentChanged');</field>
1263   </object>
1264   <object pk="show_splitmodal" model="toolbar.scriptlet">
1265     <field type="TextField" name="code">var cm = panel.texteditor;
1266
1267 cm.focus();
1268
1269 var text = cm.selection();
1270
1271 if(!text) return;
1272
1273
1274
1275 cm.replaceSelection('&lt;include-tag-placeholder /&gt;');
1276
1277 var fulltext = cm.getCode();
1278
1279
1280
1281 $('#split-dialog').jqmShow({
1282
1283     selection: text, fulltext: fulltext,
1284
1285     success: function(uri) {
1286
1287         editor.refreshPanels();
1288
1289     },
1290
1291     failure: function() { cm.undo(); } 
1292
1293 }) ;</field>
1294   </object>
1295   <object pk="show_dialog" model="toolbar.scriptlet">
1296     <field type="TextField" name="code">$(params[0]).jqmShow({editor: editor, panel: panel, params: params});</field>
1297   </object>
1298   <object pk="refresh_panel" model="toolbar.scriptlet">
1299     <field type="TextField" name="code">panel.refresh();</field>
1300   </object>
1301 </django-objects>