1 <?xml version="1.0" encoding="utf-8"?>
\r
2 <django-objects version="1.0">
\r
3 <object pk="14" model="toolbar.buttongroup">
\r
4 <field type="CharField" name="name">Akapity i długie cytaty</field>
\r
5 <field type="SlugField" name="slug">akapity-i-dlugie-cytaty</field>
\r
6 <field type="IntegerField" name="position">0</field>
\r
8 <object pk="2" model="toolbar.buttongroup">
\r
9 <field type="CharField" name="name">Autokorekta</field>
\r
10 <field type="SlugField" name="slug">autokorekta</field>
\r
11 <field type="IntegerField" name="position">0</field>
\r
13 <object pk="21" model="toolbar.buttongroup">
\r
14 <field type="CharField" name="name">Bloki</field>
\r
15 <field type="SlugField" name="slug">bloki</field>
\r
16 <field type="IntegerField" name="position">0</field>
\r
18 <object pk="12" model="toolbar.buttongroup">
\r
19 <field type="CharField" name="name">Dramat wierszowany</field>
\r
20 <field type="SlugField" name="slug">dramat-wierszowany</field>
\r
21 <field type="IntegerField" name="position">0</field>
\r
23 <object pk="18" model="toolbar.buttongroup">
\r
24 <field type="CharField" name="name">Dramat współczesny</field>
\r
25 <field type="SlugField" name="slug">dramat-wspolczesny</field>
\r
26 <field type="IntegerField" name="position">0</field>
\r
28 <object pk="13" model="toolbar.buttongroup">
\r
29 <field type="CharField" name="name">Elementy początkowe</field>
\r
30 <field type="SlugField" name="slug">elementy-poczatkowe</field>
\r
31 <field type="IntegerField" name="position">0</field>
\r
33 <object pk="1" model="toolbar.buttongroup">
\r
34 <field type="CharField" name="name">Nagłówki</field>
\r
35 <field type="SlugField" name="slug">naglowki</field>
\r
36 <field type="IntegerField" name="position">0</field>
\r
38 <object pk="22" model="toolbar.buttongroup">
\r
39 <field type="CharField" name="name">Początek dramatu</field>
\r
40 <field type="SlugField" name="slug">poczatek-dramatu</field>
\r
41 <field type="IntegerField" name="position">0</field>
\r
43 <object pk="16" model="toolbar.buttongroup">
\r
44 <field type="CharField" name="name">Polecenia</field>
\r
45 <field type="SlugField" name="slug">polecenia</field>
\r
46 <field type="IntegerField" name="position">0</field>
\r
48 <object pk="11" model="toolbar.buttongroup">
\r
49 <field type="CharField" name="name">Strukturalne</field>
\r
50 <field type="SlugField" name="slug">strukturalne</field>
\r
51 <field type="IntegerField" name="position">0</field>
\r
53 <object pk="15" model="toolbar.buttongroup">
\r
54 <field type="CharField" name="name">Style znakowe</field>
\r
55 <field type="SlugField" name="slug">style-znakowe</field>
\r
56 <field type="IntegerField" name="position">0</field>
\r
58 <object pk="17" model="toolbar.buttongroup">
\r
59 <field type="CharField" name="name">Wersy</field>
\r
60 <field type="SlugField" name="slug">wersy</field>
\r
61 <field type="IntegerField" name="position">0</field>
\r
63 <object pk="3" model="toolbar.buttongroup">
\r
64 <field type="CharField" name="name">Widok</field>
\r
65 <field type="SlugField" name="slug">display_options</field>
\r
66 <field type="IntegerField" name="position">2</field>
\r
68 <object pk="5" model="toolbar.button">
\r
69 <field type="CharField" name="label">A<sup>+</sup></field>
\r
70 <field type="SlugField" name="slug">increase_font_size</field>
\r
71 <field type="TextField" name="params">{"change": 2}</field>
\r
72 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">codemirror_fontsize</field>
\r
73 <field type="CharField" name="key">+</field>
\r
74 <field type="CharField" name="tooltip">Zwiększ rozmiar czcionki.</field>
\r
75 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
79 <object pk="6" model="toolbar.button">
\r
80 <field type="CharField" name="label">A<sup>-</sup></field>
\r
81 <field type="SlugField" name="slug">descrease_font_size</field>
\r
82 <field type="TextField" name="params">{"change": -2}</field>
\r
83 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">codemirror_fontsize</field>
\r
84 <field type="CharField" name="key">-</field>
\r
85 <field type="CharField" name="tooltip">Zmniejsz rozmiar czcionki.</field>
\r
86 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
90 <object pk="7" model="toolbar.button">
\r
91 <field type="CharField" name="label">A<sup>=</sup></field>
\r
92 <field type="SlugField" name="slug">reset_font_size</field>
\r
93 <field type="TextField" name="params">{"fontSize": 13}</field>
\r
94 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">codemirror_fontsize</field>
\r
95 <field type="CharField" name="key">=</field>
\r
96 <field type="CharField" name="tooltip">Przywróć orginalny rozmiar czcionki.</field>
\r
97 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
101 <object pk="76" model="toolbar.button">
\r
102 <field type="CharField" name="label">A<sup>↓</sup></field>
\r
103 <field type="SlugField" name="slug">tolowercase</field>
\r
104 <field type="TextField" name="params">[]</field>
\r
105 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">lowercase</field>
\r
106 <field type="CharField" name="key">u</field>
\r
107 <field type="CharField" name="tooltip">Zamień wielkie litery na małe.</field>
\r
108 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
112 <object pk="39" model="toolbar.button">
\r
113 <field type="CharField" name="label">akapit</field>
\r
114 <field type="SlugField" name="slug">akapit</field>
\r
115 <field type="TextField" name="params">{"tag": "akap"}</field>
\r
116 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
117 <field type="CharField" name="key"/>
\r
118 <field type="CharField" name="tooltip"/>
\r
119 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
123 <object pk="40" model="toolbar.button">
\r
124 <field type="CharField" name="label">akapit cd.</field>
\r
125 <field type="SlugField" name="slug">akapit-cd</field>
\r
126 <field type="TextField" name="params">{"tag": "akap_cd"}</field>
\r
127 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
128 <field type="CharField" name="key"/>
\r
129 <field type="CharField" name="tooltip"/>
\r
130 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
134 <object pk="41" model="toolbar.button">
\r
135 <field type="CharField" name="label">akapit dialogowy</field>
\r
136 <field type="SlugField" name="slug">akapit-dialogowy</field>
\r
137 <field type="TextField" name="params">{"tag": "akap_dialog"}</field>
\r
138 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
139 <field type="CharField" name="key"/>
\r
140 <field type="CharField" name="tooltip"/>
\r
141 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
145 <object pk="14" model="toolbar.button">
\r
146 <field type="CharField" name="label">akt</field>
\r
147 <field type="SlugField" name="slug">akt</field>
\r
148 <field type="TextField" name="params">{"tag": "akt"}</field>
\r
149 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
150 <field type="CharField" name="key"/>
\r
151 <field type="CharField" name="tooltip"/>
\r
152 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
156 <object pk="32" model="toolbar.button">
\r
157 <field type="CharField" name="label">autor</field>
\r
158 <field type="SlugField" name="slug">autor</field>
\r
159 <field type="TextField" name="params">{"tag": "autor"}</field>
\r
160 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
161 <field type="CharField" name="key"/>
\r
162 <field type="CharField" name="tooltip"/>
\r
163 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
167 <object pk="10" model="toolbar.button">
\r
168 <field type="CharField" name="label">część/księga</field>
\r
169 <field type="SlugField" name="slug">czesc</field>
\r
170 <field type="TextField" name="params">{"tag": "naglowek_czesc"}</field>
\r
171 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
172 <field type="CharField" name="key"/>
\r
173 <field type="CharField" name="tooltip"/>
\r
174 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
178 <object pk="74" model="toolbar.button">
\r
179 <field type="CharField" name="label">dedykacja</field>
\r
180 <field type="SlugField" name="slug">dedykacja</field>
\r
181 <field type="TextField" name="params">{"tag": "dedykacja"}</field>
\r
182 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
183 <field type="CharField" name="key"/>
\r
184 <field type="CharField" name="tooltip"/>
\r
185 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
190 <object pk="62" model="toolbar.button">
\r
191 <field type="CharField" name="label">didaskalia</field>
\r
192 <field type="SlugField" name="slug">didaskalia</field>
\r
193 <field type="TextField" name="params">{"tag": "didaskalia"}</field>
\r
194 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
195 <field type="CharField" name="key"/>
\r
196 <field type="CharField" name="tooltip"/>
\r
197 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
202 <object pk="79" model="toolbar.button">
\r
203 <field type="CharField" name="label">didaskalia początkowe</field>
\r
204 <field type="SlugField" name="slug">didaskalia-poczatkowe</field>
\r
205 <field type="TextField" name="params">{"tag": "miejsce_czas"}</field>
\r
206 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
207 <field type="CharField" name="key"/>
\r
208 <field type="CharField" name="tooltip"/>
\r
209 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
213 <object pk="63" model="toolbar.button">
\r
214 <field type="CharField" name="label">didaskalia wewn.</field>
\r
215 <field type="SlugField" name="slug">didaskalia-wewn</field>
\r
216 <field type="TextField" name="params">{"tag": "didask_tekst"}</field>
\r
217 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
218 <field type="CharField" name="key"/>
\r
219 <field type="CharField" name="tooltip"/>
\r
220 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
225 <object pk="20" model="toolbar.button">
\r
226 <field type="CharField" name="label">dramat wiersz.</field>
\r
227 <field type="SlugField" name="slug">dramat-wiersz</field>
\r
228 <field type="TextField" name="params">{"tag": "dramat_wierszowany_l"}</field>
\r
229 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
230 <field type="CharField" name="key"/>
\r
231 <field type="CharField" name="tooltip"/>
\r
232 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
236 <object pk="22" model="toolbar.button">
\r
237 <field type="CharField" name="label">dramat wiersz./w. łam</field>
\r
238 <field type="SlugField" name="slug">dramat-wiersz-w-lam</field>
\r
239 <field type="TextField" name="params">{"tag": "dramat_wierszowany_lp"}</field>
\r
240 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
241 <field type="CharField" name="key"/>
\r
242 <field type="CharField" name="tooltip"/>
\r
243 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
247 <object pk="21" model="toolbar.button">
\r
248 <field type="CharField" name="label">dramat współczesny</field>
\r
249 <field type="SlugField" name="slug">dramat-wspolczesny</field>
\r
250 <field type="TextField" name="params">{"tag": "dramat_wspolczesny"}</field>
\r
251 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
252 <field type="CharField" name="key"/>
\r
253 <field type="CharField" name="tooltip"/>
\r
254 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
258 <object pk="38" model="toolbar.button">
\r
259 <field type="CharField" name="label">dzieło nadrzędne</field>
\r
260 <field type="SlugField" name="slug">dzielo-nadrzedne</field>
\r
261 <field type="TextField" name="params">{"tag": "dzielo_nadrzedne"}</field>
\r
262 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
263 <field type="CharField" name="key"/>
\r
264 <field type="CharField" name="tooltip"/>
\r
265 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
269 <object pk="67" model="toolbar.button">
\r
270 <field type="CharField" name="label">długi cyt. poet.</field>
\r
271 <field type="SlugField" name="slug">dlugi-cyt-poet</field>
\r
272 <field type="TextField" name="params">{"tag": "poezja_cyt"}</field>
\r
273 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
274 <field type="CharField" name="key"/>
\r
275 <field type="CharField" name="tooltip"/>
\r
276 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
281 <object pk="42" model="toolbar.button">
\r
282 <field type="CharField" name="label">długi cytat</field>
\r
283 <field type="SlugField" name="slug">dlugi-cytat</field>
\r
284 <field type="TextField" name="params">{"tag": "dlugi_cyt"}</field>
\r
285 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
286 <field type="CharField" name="key"/>
\r
287 <field type="CharField" name="tooltip"/>
\r
288 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
293 <object pk="52" model="toolbar.button">
\r
294 <field type="CharField" name="label">ekstra</field>
\r
295 <field type="SlugField" name="slug">ekstra</field>
\r
296 <field type="TextField" name="params">{"tag": "ekstra"}</field>
\r
297 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
298 <field type="CharField" name="key"/>
\r
299 <field type="CharField" name="tooltip"/>
\r
300 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
304 <object pk="82" model="toolbar.button">
\r
305 <field type="CharField" name="label">kwestia</field>
\r
306 <field type="SlugField" name="slug">kwestia</field>
\r
307 <field type="TextField" name="params">{"tag": "kwestia"}</field>
\r
308 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
309 <field type="CharField" name="key"/>
\r
310 <field type="CharField" name="tooltip"/>
\r
311 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
316 <object pk="23" model="toolbar.button">
\r
317 <field type="CharField" name="label">liryka</field>
\r
318 <field type="SlugField" name="slug">liryka</field>
\r
319 <field type="TextField" name="params">{"tag": "liryka_l"}</field>
\r
320 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
321 <field type="CharField" name="key"/>
\r
322 <field type="CharField" name="tooltip"/>
\r
323 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
327 <object pk="24" model="toolbar.button">
\r
328 <field type="CharField" name="label">liryka/w. łam</field>
\r
329 <field type="SlugField" name="slug">liryka-w-lam</field>
\r
330 <field type="TextField" name="params">{"tag": "liryka_lp"}</field>
\r
331 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
332 <field type="CharField" name="key"/>
\r
333 <field type="CharField" name="tooltip"/>
\r
334 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
338 <object pk="78" model="toolbar.button">
\r
339 <field type="CharField" name="label">lista osób: pole</field>
\r
340 <field type="SlugField" name="slug">lista-osob-pole</field>
\r
341 <field type="TextField" name="params">{"tag": "lista_osoba", "attrs": {"typ": ""}}</field>
\r
342 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
343 <field type="CharField" name="key"/>
\r
344 <field type="CharField" name="tooltip"/>
\r
345 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
349 <object pk="47" model="toolbar.button">
\r
350 <field type="CharField" name="label">mamtemat.</field>
\r
351 <field type="SlugField" name="slug">matemat</field>
\r
352 <field type="TextField" name="params">{"tag": "mat"}</field>
\r
353 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
354 <field type="CharField" name="key"/>
\r
355 <field type="CharField" name="tooltip"/>
\r
356 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
360 <object pk="75" model="toolbar.button">
\r
361 <field type="CharField" name="label">motto</field>
\r
362 <field type="SlugField" name="slug">motto</field>
\r
363 <field type="TextField" name="params">{"tag": "motto"}</field>
\r
364 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
365 <field type="CharField" name="key"/>
\r
366 <field type="CharField" name="tooltip"/>
\r
367 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
372 <object pk="37" model="toolbar.button">
\r
373 <field type="CharField" name="label">motto podpis</field>
\r
374 <field type="SlugField" name="slug">motto-podpis</field>
\r
375 <field type="TextField" name="params">{"tag": "motto_podpis"}</field>
\r
376 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
377 <field type="CharField" name="key"/>
\r
378 <field type="CharField" name="tooltip"/>
\r
379 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
383 <object pk="16" model="toolbar.button">
\r
384 <field type="CharField" name="label">nagłówek kwestii</field>
\r
385 <field type="SlugField" name="slug">naglowek-kwestii</field>
\r
386 <field type="TextField" name="params">{"tag": "naglowek_osoba"}</field>
\r
387 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
388 <field type="CharField" name="key"/>
\r
389 <field type="CharField" name="tooltip"/>
\r
390 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
394 <object pk="35" model="toolbar.button">
\r
395 <field type="CharField" name="label">nota</field>
\r
396 <field type="SlugField" name="slug">nota</field>
\r
397 <field type="TextField" name="params">{"tag": "nota"}</field>
\r
398 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
399 <field type="CharField" name="key"/>
\r
400 <field type="CharField" name="tooltip"/>
\r
401 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
405 <object pk="18" model="toolbar.button">
\r
406 <field type="CharField" name="label">opowiadanie</field>
\r
407 <field type="SlugField" name="slug">opowiadanie</field>
\r
408 <field type="TextField" name="params">{"tag": "opowiadanie"}</field>
\r
409 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
410 <field type="CharField" name="key"/>
\r
411 <field type="CharField" name="tooltip"/>
\r
412 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
416 <object pk="64" model="toolbar.button">
\r
417 <field type="CharField" name="label">osoba</field>
\r
418 <field type="SlugField" name="slug">osoba</field>
\r
419 <field type="TextField" name="params">{"tag": "osoba"}</field>
\r
420 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
421 <field type="CharField" name="key"/>
\r
422 <field type="CharField" name="tooltip"/>
\r
423 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
428 <object pk="12" model="toolbar.button">
\r
429 <field type="CharField" name="label">podrozdział</field>
\r
430 <field type="SlugField" name="slug">podrozdzial</field>
\r
431 <field type="TextField" name="params">{"tag": "naglowek_podrozdzial"}</field>
\r
432 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
433 <field type="CharField" name="key"/>
\r
434 <field type="CharField" name="tooltip"/>
\r
435 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
439 <object pk="4" model="toolbar.button">
\r
440 <field type="CharField" name="label">Podstawowa</field>
\r
441 <field type="SlugField" name="slug">basic_correction</field>
\r
442 <field type="TextField" name="params">{"exprs": [["\n\\d+\n", "\n"], ["-\\s*\n+", ""], ["\\,\\.\\.|\\.\\,\\.|\\.\\.\\,", "..."]]}</field>
\r
443 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">fulltextregexp</field>
\r
444 <field type="CharField" name="key"/>
\r
445 <field type="CharField" name="tooltip">Wykonuję operację z novel-pages i poem-pages.</field>
\r
446 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
450 <object pk="34" model="toolbar.button">
\r
451 <field type="CharField" name="label">podtytuł</field>
\r
452 <field type="SlugField" name="slug">podtytul</field>
\r
453 <field type="TextField" name="params">{"tag": "podtytul"}</field>
\r
454 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
455 <field type="CharField" name="key"/>
\r
456 <field type="CharField" name="tooltip"/>
\r
457 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
461 <object pk="19" model="toolbar.button">
\r
462 <field type="CharField" name="label">powieść</field>
\r
463 <field type="SlugField" name="slug">powiesc</field>
\r
464 <field type="TextField" name="params">{"tag": "powiesc"}</field>
\r
465 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
466 <field type="CharField" name="key"/>
\r
467 <field type="CharField" name="tooltip"/>
\r
468 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
472 <object pk="68" model="toolbar.button">
\r
473 <field type="CharField" name="label">przypis autorski</field>
\r
474 <field type="SlugField" name="slug">przypis-autorski</field>
\r
475 <field type="TextField" name="params">{"tag": "pa"}</field>
\r
476 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
477 <field type="CharField" name="key"/>
\r
478 <field type="CharField" name="tooltip"/>
\r
479 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
483 <object pk="71" model="toolbar.button">
\r
484 <field type="CharField" name="label">przypis edytorski</field>
\r
485 <field type="SlugField" name="slug">przypis-edytorski</field>
\r
486 <field type="TextField" name="params">{"tag": "pe"}</field>
\r
487 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
488 <field type="CharField" name="key"/>
\r
489 <field type="CharField" name="tooltip"/>
\r
490 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
494 <object pk="70" model="toolbar.button">
\r
495 <field type="CharField" name="label">przypis redaktorski</field>
\r
496 <field type="SlugField" name="slug">przypis-redaktorski</field>
\r
497 <field type="TextField" name="params">{"tag": "pr"}</field>
\r
498 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
499 <field type="CharField" name="key"/>
\r
500 <field type="CharField" name="tooltip"/>
\r
501 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
505 <object pk="69" model="toolbar.button">
\r
506 <field type="CharField" name="label">przypis tłumacza</field>
\r
507 <field type="SlugField" name="slug">przypis-tlumacza</field>
\r
508 <field type="TextField" name="params">{"tag": "pt"}</field>
\r
509 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
510 <field type="CharField" name="key"/>
\r
511 <field type="CharField" name="tooltip"/>
\r
512 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
516 <object pk="11" model="toolbar.button">
\r
517 <field type="CharField" name="label">rozdział</field>
\r
518 <field type="SlugField" name="slug">rozdzial</field>
\r
519 <field type="TextField" name="params">{"tag": "naglowek_rozdzial"}</field>
\r
520 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
521 <field type="CharField" name="key"/>
\r
522 <field type="CharField" name="tooltip"/>
\r
523 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
527 <object pk="15" model="toolbar.button">
\r
528 <field type="CharField" name="label">scena</field>
\r
529 <field type="SlugField" name="slug">scena</field>
\r
530 <field type="TextField" name="params">{"tag": "naglowek_scena"}</field>
\r
531 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
532 <field type="CharField" name="key"/>
\r
533 <field type="CharField" name="tooltip"/>
\r
534 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
538 <object pk="54" model="toolbar.button">
\r
539 <field type="CharField" name="label">sep. asteryks</field>
\r
540 <field type="SlugField" name="slug">sep-asteryks</field>
\r
541 <field type="TextField" name="params">{"tag": "sekcja_asteryks"}</field>
\r
542 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
543 <field type="CharField" name="key"/>
\r
544 <field type="CharField" name="tooltip"/>
\r
545 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
549 <object pk="55" model="toolbar.button">
\r
550 <field type="CharField" name="label">sep. linia</field>
\r
551 <field type="SlugField" name="slug">sep-linia</field>
\r
552 <field type="TextField" name="params">{"tag": "separator_linia"}</field>
\r
553 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
554 <field type="CharField" name="key"/>
\r
555 <field type="CharField" name="tooltip"/>
\r
556 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
560 <object pk="53" model="toolbar.button">
\r
561 <field type="CharField" name="label">sep. światło</field>
\r
562 <field type="SlugField" name="slug">sep-swiatlo</field>
\r
563 <field type="TextField" name="params">{"tag": "sekcja_swiatlo"}</field>
\r
564 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
565 <field type="CharField" name="key"/>
\r
566 <field type="CharField" name="tooltip"/>
\r
567 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
571 <object pk="13" model="toolbar.button">
\r
572 <field type="CharField" name="label">śródtytuł</field>
\r
573 <field type="SlugField" name="slug">srodtytul</field>
\r
574 <field type="TextField" name="params">{"tag": "srodtytul"}</field>
\r
575 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
576 <field type="CharField" name="key"/>
\r
577 <field type="CharField" name="tooltip"/>
\r
578 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
582 <object pk="81" model="toolbar.button">
\r
583 <field type="CharField" name="label">strofa</field>
\r
584 <field type="SlugField" name="slug">strofa</field>
\r
585 <field type="TextField" name="params">{"tag": "strofa"}</field>
\r
586 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
587 <field type="CharField" name="key">s</field>
\r
588 <field type="CharField" name="tooltip"/>
\r
589 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
594 <object pk="46" model="toolbar.button">
\r
595 <field type="CharField" name="label">słowo obce</field>
\r
596 <field type="SlugField" name="slug">slowo-obce</field>
\r
597 <field type="TextField" name="params">{"tag": "slowo_obce"}</field>
\r
598 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
599 <field type="CharField" name="key"/>
\r
600 <field type="CharField" name="tooltip"/>
\r
601 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
605 <object pk="17" model="toolbar.button">
\r
606 <field type="CharField" name="label">tagi główne</field>
\r
607 <field type="SlugField" name="slug">tagi-glowne</field>
\r
608 <field type="TextField" name="params">{"tag": "utwor"}</field>
\r
609 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
610 <field type="CharField" name="key"/>
\r
611 <field type="CharField" name="tooltip"/>
\r
612 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
616 <object pk="33" model="toolbar.button">
\r
617 <field type="CharField" name="label">tytuł</field>
\r
618 <field type="SlugField" name="slug">tytul</field>
\r
619 <field type="TextField" name="params">{"tag": "nazwa_utworu"}</field>
\r
620 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
621 <field type="CharField" name="key"/>
\r
622 <field type="CharField" name="tooltip"/>
\r
623 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
627 <object pk="45" model="toolbar.button">
\r
628 <field type="CharField" name="label">tytuł dzieła</field>
\r
629 <field type="SlugField" name="slug">tytul-dziela</field>
\r
630 <field type="TextField" name="params">{"tag": "tytul_dziela", "attrs": {"typ": "1"}}</field>
\r
631 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
632 <field type="CharField" name="key"/>
\r
633 <field type="CharField" name="tooltip"/>
\r
634 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
638 <object pk="3" model="toolbar.button">
\r
639 <field type="CharField" name="label">Usuń spację</field>
\r
640 <field type="SlugField" name="slug">strip_whitespace</field>
\r
641 <field type="TextField" name="params">{"exprs": [["^\\s+|\\s+$", ""], ["\\s+", " "]]}</field>
\r
642 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">lineregexp</field>
\r
643 <field type="CharField" name="key"/>
\r
644 <field type="CharField" name="tooltip">Usuwa zbędne spację z dokumentu.</field>
\r
645 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
649 <object pk="51" model="toolbar.button">
\r
650 <field type="CharField" name="label">uwaga</field>
\r
651 <field type="SlugField" name="slug">uwaga</field>
\r
652 <field type="TextField" name="params">{"tag": "uwaga"}</field>
\r
653 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
654 <field type="CharField" name="key"/>
\r
655 <field type="CharField" name="tooltip"/>
\r
656 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
660 <object pk="83" model="toolbar.button">
\r
661 <field type="CharField" name="label">wers akap.</field>
\r
662 <field type="SlugField" name="slug">wers-akap</field>
\r
663 <field type="TextField" name="params">{"tag": "wers_akap"}</field>
\r
664 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
665 <field type="CharField" name="key"/>
\r
666 <field type="CharField" name="tooltip"/>
\r
667 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
672 <object pk="85" model="toolbar.button">
\r
673 <field type="CharField" name="label">wers cd.</field>
\r
674 <field type="SlugField" name="slug">wers-cd</field>
\r
675 <field type="TextField" name="params">{"tag": "wers_cd"}</field>
\r
676 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
677 <field type="CharField" name="key"/>
\r
678 <field type="CharField" name="tooltip"/>
\r
679 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
684 <object pk="84" model="toolbar.button">
\r
685 <field type="CharField" name="label">Wers wcięty</field>
\r
686 <field type="SlugField" name="slug">wers-wciety</field>
\r
687 <field type="TextField" name="params">{"tag": "wers_wciety", "attrs": {"typ": ""}}</field>
\r
688 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
689 <field type="CharField" name="key"/>
\r
690 <field type="CharField" name="tooltip"/>
\r
691 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
696 <object pk="48" model="toolbar.button">
\r
697 <field type="CharField" name="label">www</field>
\r
698 <field type="SlugField" name="slug">www</field>
\r
699 <field type="TextField" name="params">{"tag": "www"}</field>
\r
700 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
701 <field type="CharField" name="key"/>
\r
702 <field type="CharField" name="tooltip"/>
\r
703 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
707 <object pk="44" model="toolbar.button">
\r
708 <field type="CharField" name="label">wyróżnienie</field>
\r
709 <field type="SlugField" name="slug">wyroznienie</field>
\r
710 <field type="TextField" name="params">{"tag": "wyroznienie"}</field>
\r
711 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
712 <field type="CharField" name="key"/>
\r
713 <field type="CharField" name="tooltip"/>
\r
714 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
718 <object pk="25" model="toolbar.button">
\r
719 <field type="CharField" name="label">wywiad</field>
\r
720 <field type="SlugField" name="slug">wywiad</field>
\r
721 <field type="TextField" name="params">{"tag": "wywiad"}</field>
\r
722 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
723 <field type="CharField" name="key"/>
\r
724 <field type="CharField" name="tooltip"/>
\r
725 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
729 <object pk="73" model="toolbar.button">
\r
730 <field type="CharField" name="label">wywiad odpowiedź</field>
\r
731 <field type="SlugField" name="slug">wywiad-odpowiedz</field>
\r
732 <field type="TextField" name="params">{"tag": "wywiad_odp"}</field>
\r
733 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
734 <field type="CharField" name="key"/>
\r
735 <field type="CharField" name="tooltip"/>
\r
736 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
740 <object pk="72" model="toolbar.button">
\r
741 <field type="CharField" name="label">wywiad pytanie</field>
\r
742 <field type="SlugField" name="slug">wywiad-pytanie</field>
\r
743 <field type="TextField" name="params">{"tag": "wywiad_pyt"}</field>
\r
744 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
745 <field type="CharField" name="key"/>
\r
746 <field type="CharField" name="tooltip"/>
\r
747 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
751 <object pk="77" model="toolbar.button">
\r
752 <field type="CharField" name="label">Zamień cudzysłowy</field>
\r
753 <field type="SlugField" name="slug">zamien-cudzyslowy</field>
\r
754 <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"]]}</field>
\r
755 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">lineregexp</field>
\r
756 <field type="CharField" name="key"/>
\r
757 <field type="CharField" name="tooltip"/>
\r
758 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
762 <object pk="2" model="toolbar.button">
\r
763 <field type="CharField" name="label">Zamień dywiz</field>
\r
764 <field type="SlugField" name="slug">zamien_dywiz</field>
\r
765 <field type="TextField" name="params">{"exprs": [["(\\d)[\u2014-](\\d)", "$1--$2"], ["\u2014", "---"]]}</field>
\r
766 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">lineregexp</field>
\r
767 <field type="CharField" name="key"/>
\r
768 <field type="CharField" name="tooltip">Zamienia '—' na '---', oraz '1—2' na '1--2'.</field>
\r
769 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
773 <object pk="56" model="toolbar.button">
\r
774 <field type="CharField" name="label">zastępnik wersu</field>
\r
775 <field type="SlugField" name="slug">zastepnik-wersu</field>
\r
776 <field type="TextField" name="params">{"tag": "zastepnik_wersu"}</field>
\r
777 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
\r
778 <field type="CharField" name="key"/>
\r
779 <field type="CharField" name="tooltip"/>
\r
780 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
\r
784 <object pk="insert_tag" model="toolbar.scriptlet">
\r
785 <field type="TextField" name="code">var texteditor = panel.texteditor;
\r
787 var text = texteditor.selection();
\r
789 var out = '<'+params.tag;
\r
791 for (var attr in params.attrs) {
\r
793 out += ' '+attr+'="' + params.attrs[attr] + '"';
\r
801 out += '</' + params.tag + '>';
\r
805 texteditor.replaceSelection(out);
\r
809 if (text.length == 0) {
\r
811 var pos = texteditor.cursorPosition();
\r
813 texteditor.selectLines(pos.line, pos.character + params.tag.length + 2);
\r
819 panel.fireEvent('contentChanged');</field>
\r
821 <object pk="lineregexp" model="toolbar.scriptlet">
\r
822 <field type="TextField" name="code">editor.showPopup('generic-info', 'Przetwarzanie zaznaczonego tekstu...', '', -1);
\r
824 var cm = panel.texteditor;
\r
825 var exprs = $.map(params.exprs, function(expr) {
\r
829 if(expr.length > 2)
\r
833 return {rx: new RegExp(expr[0], opts), repl: expr[1]};
\r
839 var partial = true;
\r
841 var text = cm.selection();
\r
847 var cpos = cm.cursorPosition();
\r
849 cpos.line = cm.lineNumber(cpos.line)
\r
851 cm.selectLines(cm.firstLine(), 0, cm.lastLine(), 0);
\r
853 text = cm.selection();
\r
862 var lines = text.split('\n');
\r
863 var lines = $.map(lines, function(line) {
\r
864 var old_line = line;
\r
865 $(exprs).each(function() {
\r
867 line = line.replace(expr.rx, expr.repl);
\r
870 if(old_line != line) changed += 1;
\r
874 if(changed > 0)
\r
876 cm.replaceSelection( lines.join('\n') );
\r
877 panel.fireEvent('contentChanged');
\r
878 editor.showPopup('generic-yes', 'Zmieniono ' + changed + ' linii.', 1500);
\r
879 editor.advancePopupQueue();
\r
882 editor.showPopup('generic-info', 'Brak zmian w tekście', 1500);
\r
883 editor.advancePopupQueue();
\r
887 cm.selectLines( cm.nthLine(cpos.line), cpos.character )</field>
\r
889 <object pk="codemirror_fontsize" model="toolbar.scriptlet">
\r
890 <field type="TextField" name="code">var texteditor = panel.texteditor;
\r
892 var frameBody = $('body', $(texteditor.frame).contents());
\r
896 if(params.fontSize) {
\r
898 frameBody.css('font-size', params.fontSize);
\r
904 var old_size = parseInt(frameBody.css('font-size'));
\r
906 frameBody.css('font-size', old_size + (params.change || 0) );
\r
910 <object pk="fulltextregexp" model="toolbar.scriptlet">
\r
911 <field type="TextField" name="code">editor.showPopup('generic-info', 'Przetwarzanie zaznaczonego tekstu...', '', -1);
\r
913 var cm = panel.texteditor;
\r
915 var exprs = $.map(params.exprs, function(expr) {
\r
917 if(expr.length > 2)
\r
920 return {rx: new RegExp(expr[0], opts), repl: expr[1]};
\r
923 var partial = true;
\r
924 var text = cm.selection();
\r
927 var cpos = cm.cursorPosition();
\r
928 cpos.line = cm.lineNumber(cpos.line)
\r
929 cm.selectLines(cm.firstLine(), 0, cm.lastLine(), 0);
\r
931 text = cm.selection();
\r
937 var original = text;
\r
938 $(exprs).each(function() {
\r
939 text = text.replace(this.rx, this.repl);
\r
942 if( original != text)
\r
944 cm.replaceSelection(text);
\r
945 panel.fireEvent('contentChanged');
\r
946 editor.showPopup('generic-yes', 'Zmieniono tekst' );
\r
947 editor.advancePopupQueue();
\r
950 editor.showPopup('generic-info', 'Brak zmian w tekście.');
\r
951 editor.advancePopupQueue();
\r
955 cm.selectLines( cm.nthLine(cpos.line), cpos.character );
\r
958 <object pk="macro" model="toolbar.scriptlet">
\r
959 <field type="TextField" name="code">params.each(function() {
\r
961 editor.callScriptlet(this[0], this[1]);
\r
965 <object pk="lowercase" model="toolbar.scriptlet">
\r
966 <field type="TextField" name="code">var cm = panel.texteditor;
\r
968 var text = cm.selection();
\r
972 var repl = text.toLowerCase();
\r
976 cm.replaceSelection(repl);
\r
978 panel.fireEvent('contentChanged');
\r