Subversion Repositories Scribus

Rev

Rev 14100 | Rev 14746 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
9729 cbradney 1
<?xml version="1.0" encoding="utf-8"?>
14489 cbradney 2
<!DOCTYPE TS>
3
<TS version="2.0" language="cs_CZ">
1525 cbradney 4
<context>
12918 cbradney 5
    <name></name>
1135 cbradney 6
    <message>
14489 cbradney 7
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="17"/>
12918 cbradney 8
        <source>getColorNames() -&gt; list
9
 
10
Returns a list containing the names of all defined colors in the document.
11
If no document is open, returns a list of the default document colors.
12
</source>
13
        <translation type="unfinished">getColorNames() -&gt; list
14
 
13480 subik 15
Vrátí seznam s názvy všech barev v dokumentu. Jestliže není žádný dokument
16
otevřen, vrátí seznam výchozích barev.</translation>
12918 cbradney 17
    </message>
18
    <message>
14489 cbradney 19
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="27"/>
12918 cbradney 20
        <source>getColor(&quot;name&quot;) -&gt; tuple
21
 
22
Returns a tuple (C, M, Y, K) containing the four color components of the
23
color &quot;name&quot; from the current document. If no document is open, returns
24
the value of the named color from the default document colors.
25
 
26
May raise NotFoundError if the named color wasn&apos;t found.
27
May raise ValueError if an invalid color name is specified.
28
</source>
29
        <translation type="unfinished">getColor(&quot;name&quot;) -&gt; tuple
30
 
31
Vrátí CMYK složky barvy &quot;name&quot; daného dokumentu. Jestliže není otevřený
13480 subik 32
žádný dokument, vrátí složky výchozí barvy &quot;name&quot;.
12918 cbradney 33
 
34
Může vyvolat výjimky NotFoundError (jestliže barvu nenajde) a
35
ValueError (chybné parametry).</translation>
36
    </message>
37
    <message>
14489 cbradney 38
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="41"/>
12918 cbradney 39
        <source>getColorAsRGB(&quot;name&quot;) -&gt; tuple
40
 
41
Returns a tuple (R,G,B) containing the three color components of the
42
color &quot;name&quot; from the current document, converted to the RGB color
43
space. If no document is open, returns the value of the named color
44
from the default document colors.
45
 
46
May raise NotFoundError if the named color wasn&apos;t found.
47
May raise ValueError if an invalid color name is specified.
48
</source>
49
        <translation type="unfinished">getColorAsRGB(&quot;name&quot;) -&gt; tuple
50
 
51
Returns a tuple (R,G,B) containing the three color components of the
52
color &quot;name&quot; from the current document, converted to the RGB color
53
space. If no document is open, returns the value of the named color
54
from the default document colors.
55
 
56
May raise NotFoundError if the named color wasn&apos;t found.
57
May raise ValueError if an invalid color name is specified.</translation>
58
    </message>
59
    <message>
14489 cbradney 60
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="56"/>
12918 cbradney 61
        <source>changeColor(&quot;name&quot;, c, m, y, k)
62
 
63
Changes the color &quot;name&quot; to the specified CMYK value. The color value is
64
defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black.
65
Color components should be in the range from 0 to 255.
66
 
67
May raise NotFoundError if the named color wasn&apos;t found.
68
May raise ValueError if an invalid color name is specified.
69
</source>
70
        <translation type="unfinished">changeColor(&quot;name&quot;, c, m, y, k)
71
 
72
Změní barvu &quot;name&quot; na specifikované CMYK hodnoty &quot;c&quot;, &quot;m&quot;, &quot;y&quot;, &quot;k&quot;.
13480 subik 73
Každá z barevných složek musí být z intervalu &lt;0; 255&gt;.
12918 cbradney 74
 
75
Může vyvolat výjimky NotFoundError (barva neexistuje) a ValueError
76
(chybné parametry).</translation>
77
    </message>
78
    <message>
14489 cbradney 79
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="70"/>
12918 cbradney 80
        <source>defineColor(&quot;name&quot;, c, m, y, k)
81
 
82
Defines a new color &quot;name&quot;. The color Value is defined via four components:
83
c = Cyan, m = Magenta, y = Yellow and k = Black. Color components should be in
84
the range from 0 to 255.
85
 
86
May raise ValueError if an invalid color name is specified.
87
</source>
88
        <translation type="unfinished"></translation>
89
    </message>
90
    <message>
14489 cbradney 91
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="83"/>
12918 cbradney 92
        <source>deleteColor(&quot;name&quot;, &quot;replace&quot;)
93
 
94
Deletes the color &quot;name&quot;. Every occurence of that color is replaced by the
95
color &quot;replace&quot;. If not specified, &quot;replace&quot; defaults to the color
96
&quot;None&quot; - transparent.
97
 
98
deleteColor works on the default document colors if there is no document open.
99
In that case, &quot;replace&quot;, if specified, has no effect.
100
 
101
May raise NotFoundError if a named color wasn&apos;t found.
102
May raise ValueError if an invalid color name is specified.
103
</source>
104
        <translation type="unfinished">deleteColor(&quot;name&quot;, &quot;replace&quot;)
105
 
106
Smaže barvu &quot;name&quot;. každý výskyt této barvy je nahrazen  barvou &quot;replace&quot;.
107
Jestliže není &quot;replace&quot; uvedena, zamění mazanou barvu transparentní
108
průhlednou &quot;None&quot;.
109
Jestliže není otevřený žádný dokument pracuje deleteColor s imlicitní
110
barevnou množinou. &quot;replace&quot; potom nemá žádnou funkčnost.
111
 
112
Může vyvolat výjimky NotFoundError (barva neexistuje) a ValueError
113
(chybné parametry).</translation>
114
    </message>
115
    <message>
14489 cbradney 116
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="100"/>
12918 cbradney 117
        <source>replaceColor(&quot;name&quot;, &quot;replace&quot;)
118
 
119
Every occurence of the color &quot;name&quot; is replaced by the color &quot;replace&quot;.
120
 
121
May raise NotFoundError if a named color wasn&apos;t found.
122
May raise ValueError if an invalid color name is specified.
123
</source>
124
        <translation type="unfinished">replaceColor(&quot;name&quot;, &quot;replace&quot;)
125
 
126
Každý výskyt barvy &quot;name&quot; je nahrazen barvou &quot;replace&quot;.
127
Může vyvolat výjimky NotFoundError (barva neexistuje) a ValueError
128
(chybné parametry).</translation>
129
    </message>
130
    <message>
14489 cbradney 131
        <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="17"/>
12918 cbradney 132
        <source>newDocDialog() -&gt; bool
133
 
134
Displays the &quot;New Document&quot; dialog box. Creates a new document if the user
135
accepts the settings. Does not create a document if the user presses cancel.
136
Returns true if a new document was created.
137
</source>
138
        <translation type="unfinished">newDocDialog() -&gt; bool
139
 
140
Zobrazí &quot;Nový dokument&quot; dialogové okno a vytvoří nový dokument poté, co
141
uživatel potvrdí nastavení. Nic nevytvoří, jestliže uživatel okno zruší. Vrátí true,
142
pokud je dokument vytvořen.</translation>
143
    </message>
144
    <message>
14489 cbradney 145
        <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="28"/>
12918 cbradney 146
        <source>fileDialog(&quot;caption&quot;, [&quot;filter&quot;, &quot;defaultname&quot;, haspreview, issave, isdir]) -&gt; string with filename
147
 
148
Shows a File Open dialog box with the caption &quot;caption&quot;. Files are filtered
149
with the filter string &quot;filter&quot;. A default filename or file path can also
150
supplied, leave this string empty when you don&apos;t want to use it.  A value of
151
True for haspreview enables a small preview widget in the FileSelect box.  When
152
the issave parameter is set to True the dialog acts like a &quot;Save As&quot; dialog
153
otherwise it acts like a &quot;File Open Dialog&quot;. When the isdir parameter is True
154
the dialog shows and returns only directories. The default for all of the
155
optional parameters is False.
156
 
157
The filter, if specified, takes the form &apos;comment (*.type *.type2 ...)&apos;.
158
For example &apos;Images (*.png *.xpm *.jpg)&apos;.
159
 
160
Refer to the Qt-Documentation for QFileDialog for details on filters.
161
 
162
Example: fileDialog(&apos;Open input&apos;, &apos;CSV files (*.csv)&apos;)
163
Example: fileDialog(&apos;Save report&apos;, defaultname=&apos;report.txt&apos;, issave=True)
164
</source>
165
        <translation type="unfinished"></translation>
166
    </message>
167
    <message>
14489 cbradney 168
        <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="56"/>
12918 cbradney 169
        <source>messageBox(&quot;caption&quot;, &quot;message&quot;,
170
    icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT,
171
    button2=BUTTON_NONE, button3=BUTTON_NONE) -&gt; integer
172
 
173
Displays a message box with the title &quot;caption&quot;, the message &quot;message&quot;, and
174
an icon &quot;icon&quot; and up to 3 buttons. By default no icon is used and a single
175
button, OK, is displayed. Only the caption and message arguments are required,
176
though setting an icon and appropriate button(s) is strongly
177
recommended. The message text may contain simple HTML-like markup.
178
 
179
Returns the number of the button the user pressed. Button numbers start
180
at 1.
181
 
182
For the icon and the button parameters there are predefined constants available
183
with the same names as in the Qt Documentation. These are the BUTTON_* and
184
ICON_* constants defined in the module. There are also two extra constants that
185
can be binary-ORed with button constants:
186
    BUTTONOPT_DEFAULT   Pressing enter presses this button.
187
    BUTTONOPT_ESCAPE    Pressing escape presses this button.
188
 
189
Usage examples:
190
result = messageBox(&apos;Script failed&apos;,
191
                    &apos;This script only works when you have a text frame selected.&apos;,
192
                    ICON_ERROR)
193
result = messageBox(&apos;Monkeys!&apos;, &apos;Something went ook! &lt;i&gt;Was it a monkey?&lt;/i&gt;&apos;,
194
                    ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT,
195
                    BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE)
196
 
197
Defined button and icon constants:
198
BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO,
199
BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL,
200
ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL.
201
</source>
202
        <translation type="unfinished">messageBox(&quot;caption&quot;, &quot;message&quot;, icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT,
203
                   button2=BUTTON_NONE, button3=BUTTON_NONE) -&gt; integer
204
 
205
Zobrazí message box s titulkem &quot;caption&quot;, textem &quot;message&quot;, ikonou &quot;icon&quot;
206
a několika tlačítky. Implicitně není nastavena žádná ikona a zobrazí se jediné
207
tlačitko (OK). Povinné jsou tedy pouze parametry &quot;caption&quot; a &quot;message&quot;.
208
&quot;message&quot; může obsahovat jednoduché HTML značky.
209
Vrátí číslo tlačítka, které uživatel stisknul. Tlačítka jsou číslována od 1.
210
Jednotlivé typy ikon a tlačitek mají své předdefinované konstanty. Jsou to
211
BUTTON_* a ICON_*. Existují také dvě konstanty, které mohou být použity
212
v binárním OR s BUTTON konstantami:
213
    BUTTONOPT_DEFAULT nastaví příznak &quot;stisk enteru stiskne tlačítko&quot;
214
    BUTTONOPT_ESCAPE nastaví příznak &quot;stisk escape stiskne tlačítko&quot;
215
Příklady:
216
    result = messageBox(&apos;Script failed&apos;,
217
                                   &apos;This script only works when you have a text frame selected.&apos;,
218
                                   ICON_ERROR)
219
    result = messageBox(&apos;Monkeys!&apos;,
220
                                   &apos;Something went ook! &lt;i&gt;Was it a monkey?&lt;/i&gt;&apos;,
221
                                   ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT,
222
                                   BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE)
223
Konstanty: BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL,
224
    BUTTON_IGNORE, BUTTON_NO, BUTTON_NOALL, BUTTON_OK,
225
    BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL,
226
    ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL.</translation>
227
    </message>
228
    <message>
14489 cbradney 229
        <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="95"/>
12918 cbradney 230
        <source>valueDialog(caption, message [,defaultvalue]) -&gt; string
231
 
232
Shows the common &apos;Ask for string&apos; dialog and returns its value as a string
233
Parameters: window title, text in the window and optional &apos;default&apos; value.
234
 
235
Example: valueDialog(&apos;title&apos;, &apos;text in the window&apos;, &apos;optional&apos;)
236
</source>
237
        <translation type="unfinished">valueDialog(caption, message [,defaultvalue]) -&gt; string
238
 
239
Zobrazí jednoduchý dialog, do kterého uživatel zadává hodnotu,
240
kterou vráti skriptu jako string. Okno má titulek &quot;caption&quot;,
13480 subik 241
text &quot;message&quot; a může zobrazit výchozí hodnotu &quot;defaultvalue&quot;.
12918 cbradney 242
Např.: valueDialog(&apos;title&apos;, &apos;text in the window&apos;, &apos;optional&apos;)</translation>
243
    </message>
244
    <message>
14489 cbradney 245
        <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="107"/>
12918 cbradney 246
        <source>newStyleDialog() -&gt; string
247
 
248
Shows &apos;Create new paragraph style&apos; dialog. Function returns real
249
style name or None when user cancels the dialog.
250
</source>
251
        <translation type="unfinished"></translation>
252
    </message>
253
    <message>
14489 cbradney 254
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="16"/>
12918 cbradney 255
        <source>newDocument(size, margins, orientation, firstPageNumber,
256
                        unit, pagesType, firstPageOrder, numPages) -&gt; bool
257
 
258
Creates a new document and returns true if successful. The parameters have the
259
following meaning:
260
 
261
size = A tuple (width, height) describing the size of the document. You can
262
use predefined constants named PAPER_&lt;paper_type&gt; e.g. PAPER_A4 etc.
263
 
264
margins = A tuple (left, right, top, bottom) describing the document
265
margins
266
 
267
orientation = the page orientation - constants PORTRAIT, LANDSCAPE
268
 
269
firstPageNumer = is the number of the first page in the document used for
270
pagenumbering. While you&apos;ll usually want 1, it&apos;s useful to have higher
271
numbers if you&apos;re creating a document in several parts.
272
 
273
unit: this value sets the measurement units used by the document. Use a
274
predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
275
UNIT_PICAS, UNIT_POINTS.
276
 
277
pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page,
278
PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and
279
PAGE_4 is 4-fold.
280
 
281
firstPageOrder = What is position of first page in the document.
282
Indexed from 0 (0 = first).
283
 
284
numPage = Number of pages to be created.
285
 
286
The values for width, height and the margins are expressed in the given unit
287
for the document. PAPER_* constants are expressed in points. If your document
288
is not in points, make sure to account for this.
289
 
290
example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS,
291
PAGE_4, 3, 1)
292
 
293
May raise ScribusError if is firstPageOrder bigger than allowed by pagesType.
294
</source>
295
        <translation type="unfinished"></translation>
296
    </message>
297
    <message>
14489 cbradney 298
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="62"/>
12918 cbradney 299
        <source>newDoc(size, margins, orientation, firstPageNumber,
300
                   unit, facingPages, firstSideLeft) -&gt; bool
301
 
302
WARNING: Obsolete procedure! Use newDocument instead.
303
 
304
Creates a new document and returns true if successful. The parameters have the
305
following meaning:
306
 
307
    size = A tuple (width, height) describing the size of the document. You can
308
    use predefined constants named PAPER_&lt;paper_type&gt; e.g. PAPER_A4 etc.
309
 
310
    margins = A tuple (left, right, top, bottom) describing the document
311
    margins
312
 
313
    orientation = the page orientation - constants PORTRAIT, LANDSCAPE
314
 
315
    firstPageNumer = is the number of the first page in the document used for
316
    pagenumbering. While you&apos;ll usually want 1, it&apos;s useful to have higher
317
    numbers if you&apos;re creating a document in several parts.
318
 
319
    unit: this value sets the measurement units used by the document. Use a
320
    predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
321
    UNIT_PICAS, UNIT_POINTS.
322
 
323
    facingPages = FACINGPAGES, NOFACINGPAGES
324
 
325
    firstSideLeft = FIRSTPAGELEFT, FIRSTPAGERIGHT
326
 
327
The values for width, height and the margins are expressed in the given unit
328
for the document. PAPER_* constants are expressed in points. If your document
329
is not in points, make sure to account for this.
330
 
331
example: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS,
332
                FACINGPAGES, FIRSTPAGERIGHT)
333
</source>
334
        <translation type="unfinished"></translation>
335
    </message>
336
    <message>
14489 cbradney 337
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="103"/>
12918 cbradney 338
        <source>closeDoc()
339
 
340
Closes the current document without prompting to save.
341
 
342
May throw NoDocOpenError if there is no document to close
343
</source>
344
        <translation type="unfinished">closeDoc()
345
 
346
Zavře aktuální dokument bez výzvy k uložení.
347
 
348
Může vyvolat výjimku NoDocOpenError, kdyý enní žádný dokument otevřen</translation>
349
    </message>
350
    <message>
14489 cbradney 351
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="114"/>
12918 cbradney 352
        <source>haveDoc() -&gt; bool
353
 
354
Returns true if there is a document open.
355
</source>
356
        <translation type="unfinished">haveDoc() -&gt; bool
357
 
358
Vrátí true, když je otevřený jakýkoli dokument.</translation>
359
    </message>
360
    <message>
14489 cbradney 361
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="123"/>
12918 cbradney 362
        <source>openDoc(&quot;name&quot;)
363
 
364
Opens the document &quot;name&quot;.
365
 
366
May raise ScribusError if the document could not be opened.
367
</source>
368
        <translation type="unfinished">openDoc(&quot;name&quot;)
369
 
370
Otevře dokument &quot;name&quot;.
371
 
372
Může vyvolat výjimku ScribusError, když dokument nejde otevřít.</translation>
373
    </message>
374
    <message>
14489 cbradney 375
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="134"/>
12918 cbradney 376
        <source>saveDoc()
377
 
378
Saves the current document with its current name, returns true if successful.
379
If the document has not already been saved, this may bring up an interactive
380
save file dialog.
381
 
382
If the save fails, there is currently no way to tell.
383
</source>
384
        <translation type="unfinished">saveDoc()
385
 
386
Uloží aktuální dokument pod platným jménem. Vrátí true v případě úspěchu.
387
Jestliže nebyl dokument ještě niky uložen, zobrazí se &quot;Uložit jako&quot; okno.
388
Jestliže ukladání selže, neexituje žádný způsob, jak toto zjistit.</translation>
389
    </message>
390
    <message>
14489 cbradney 391
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="146"/>
392
        <source>getDocName() -&gt; string
393
 
394
Returns the name the document was saved under.
395
If the document was not saved before the name is empty.
396
</source>
397
        <translation type="unfinished"></translation>
398
    </message>
399
    <message>
400
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="156"/>
12918 cbradney 401
        <source>saveDocAs(&quot;name&quot;)
402
 
403
Saves the current document under the new name &quot;name&quot; (which may be a full or
404
relative path).
405
 
406
May raise ScribusError if the save fails.
407
</source>
408
        <translation type="unfinished">saveDocAs(&quot;name&quot;)
409
 
410
Uloží aktuální dokument pod jménem &quot;name&quot;. &quot;name&quot; může být jak celá, tak
411
relativní cesta souborového systému.
412
 
413
Může vyvolat výjimku ScribusError, jestliže ukládání selže.</translation>
414
    </message>
415
    <message>
14489 cbradney 416
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="168"/>
12918 cbradney 417
        <source>setInfo(&quot;author&quot;, &quot;info&quot;, &quot;description&quot;) -&gt; bool
418
 
419
Sets the document information. &quot;Author&quot;, &quot;Info&quot;, &quot;Description&quot; are
420
strings.
421
</source>
422
        <translation type="unfinished"></translation>
423
    </message>
424
    <message>
14489 cbradney 425
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="178"/>
12918 cbradney 426
        <source>setMargins(lr, rr, tr, br)
427
 
428
Sets the margins of the document, Qt::DockLeft(lr), Qt::DockRight(rr), Qt::DockTop(tr) and Qt::DockBottom(br)
429
margins are given in the measurement units of the document - see UNIT_&lt;type&gt;
430
constants.
431
</source>
432
        <translation type="unfinished"></translation>
433
    </message>
434
    <message>
14489 cbradney 435
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="189"/>
12918 cbradney 436
        <source>setUnit(type)
437
 
438
Changes the measurement unit of the document. Possible values for &quot;unit&quot; are
439
defined as constants UNIT_&lt;type&gt;.
440
 
441
May raise ValueError if an invalid unit is passed.
442
</source>
443
        <translation type="unfinished">setUnit(type)
444
 
445
Změní měrné jednotky dokumentu. Možná nastavení jsou definována jako
446
konstanty UNIT_*.
447
 
448
Může vyvolat výjimku ValueError při nepodporovaném typu jednotky.</translation>
449
    </message>
450
    <message>
14489 cbradney 451
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="201"/>
12918 cbradney 452
        <source>getUnit() -&gt; integer (Scribus unit constant)
453
 
454
Returns the measurement units of the document. The returned value will be one
455
of the UNIT_* constants:
456
UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.
457
</source>
458
        <translation type="unfinished">getUnit() -&gt; integer (Scribus unit constant)
459
 
460
Vrátí typ měrné jednotky dokumentu. Návratová hodnota je jednou z UNIT_*
461
konstant: UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.</translation>
462
    </message>
463
    <message>
14489 cbradney 464
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="212"/>
12918 cbradney 465
        <source>loadStylesFromFile(&quot;filename&quot;)
466
 
467
Loads paragraph styles from the Scribus document at &quot;filename&quot; into the
468
current document.
469
</source>
470
        <translation type="unfinished">loadStylesFromFile(&quot;filename&quot;)
471
 
472
Nahraje styly odstavce z dokumentu &quot;filename&quot; do dokumentu aktuálního.</translation>
473
    </message>
474
    <message>
14489 cbradney 475
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="222"/>
12918 cbradney 476
        <source>setDocType(facingPages, firstPageLeft)
477
 
478
Sets the document type. To get facing pages set the first parameter to
479
FACINGPAGES, to switch facingPages off use NOFACINGPAGES instead.  If you want
480
to be the first page a left side set the second parameter to FIRSTPAGELEFT, for
481
a right page use FIRSTPAGERIGHT.
482
</source>
483
        <translation type="unfinished">setDocType(facingPages, firstPageLeft)
484
 
485
Nastaví typ dokumentu. Parametr facingPages může být FACINGPAGES (dvoustrany)
486
nebo NOFACINGPAGES (jedna strana). Jestliže chcete, aby dokument začínal
487
levou stranou nastavte firstPageLeft na FIRSTPAGELEFT, jinak na FIRSTPAGERIGHT.
488
</translation>
489
    </message>
490
    <message>
14489 cbradney 491
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="232"/>
12918 cbradney 492
        <source>closeMasterPage()
493
 
494
Closes the currently active master page, if any, and returns editing
495
to normal. Begin editing with editMasterPage().
496
</source>
497
        <translation type="unfinished"></translation>
498
    </message>
499
    <message>
14489 cbradney 500
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="240"/>
12918 cbradney 501
        <source>masterPageNames()
502
 
503
Returns a list of the names of all master pages in the document.
504
</source>
505
        <translation type="unfinished"></translation>
506
    </message>
507
    <message>
14489 cbradney 508
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="247"/>
12918 cbradney 509
        <source>editMasterPage(pageName)
510
 
511
Enables master page editing and opens the named master page
512
for editing. Finish editing with closeMasterPage().
513
</source>
514
        <translation type="unfinished"></translation>
515
    </message>
516
    <message>
14489 cbradney 517
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="255"/>
12918 cbradney 518
        <source>createMasterPage(pageName)
519
 
520
Creates a new master page named pageName and opens it for
521
editing.
522
</source>
523
        <translation type="unfinished"></translation>
524
    </message>
525
    <message>
14489 cbradney 526
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="263"/>
12918 cbradney 527
        <source>deleteMasterPage(pageName)
528
 
529
Delete the named master page.
530
</source>
531
        <translation type="unfinished"></translation>
532
    </message>
533
    <message>
14489 cbradney 534
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="17"/>
12918 cbradney 535
        <source>getFillColor([&quot;name&quot;]) -&gt; string
536
 
537
Returns the name of the fill color of the object &quot;name&quot;.
538
If &quot;name&quot; is not given the currently selected item is used.
539
</source>
540
        <translation type="unfinished">getFillColor([&quot;name&quot;]) -&gt; string
541
 
13480 subik 542
Vrátí název výplňové barvy objektu &quot;name&quot;.
12918 cbradney 543
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
544
    </message>
545
    <message>
14489 cbradney 546
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="27"/>
12918 cbradney 547
        <source>getFillTransparency([&quot;name&quot;]) -&gt; float
548
 
549
Returns the fill transparency of the object &quot;name&quot;. If &quot;name&quot;
550
is not given the currently selected Item is used.
551
</source>
552
        <translation type="unfinished"></translation>
553
    </message>
554
    <message>
14489 cbradney 555
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="37"/>
12918 cbradney 556
        <source>getFillBlendmode([&quot;name&quot;]) -&gt; integer
557
 
558
Returns the fill blendmode of the object &quot;name&quot;. If &quot;name&quot;
559
is not given the currently selected Item is used.
560
</source>
561
        <translation type="unfinished"></translation>
562
    </message>
563
    <message>
14489 cbradney 564
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="47"/>
12918 cbradney 565
        <source>getLineColor([&quot;name&quot;]) -&gt; string
566
 
567
Returns the name of the line color of the object &quot;name&quot;.
568
If &quot;name&quot; is not given the currently selected item is used.
569
</source>
570
        <translation type="unfinished">getLineColor([&quot;name&quot;]) -&gt; string
571
 
13480 subik 572
Vrátí název barvy čar objektu &quot;name&quot;.
12918 cbradney 573
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
574
    </message>
575
    <message>
14489 cbradney 576
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="57"/>
12918 cbradney 577
        <source>getLineTransparency([&quot;name&quot;]) -&gt; float
578
 
579
Returns the line transparency of the object &quot;name&quot;. If &quot;name&quot;
580
is not given the currently selected Item is used.
581
</source>
582
        <translation type="unfinished"></translation>
583
    </message>
584
    <message>
14489 cbradney 585
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="67"/>
12918 cbradney 586
        <source>getLineBlendmode([&quot;name&quot;]) -&gt; integer
587
 
588
Returns the line blendmode of the object &quot;name&quot;. If &quot;name&quot;
589
is not given the currently selected Item is used.
590
</source>
591
        <translation type="unfinished"></translation>
592
    </message>
593
    <message>
14489 cbradney 594
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="77"/>
12918 cbradney 595
        <source>getLineWidth([&quot;name&quot;]) -&gt; integer
596
 
597
Returns the line width of the object &quot;name&quot;. If &quot;name&quot;
598
is not given the currently selected Item is used.
599
</source>
600
        <translation type="unfinished">getLineWidth([&quot;name&quot;]) -&gt; integer
601
 
13480 subik 602
Vrátí tloušťku čáry objektu &quot;name&quot;.
12918 cbradney 603
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
604
    </message>
605
    <message>
14489 cbradney 606
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="87"/>
12918 cbradney 607
        <source>getLineShade([&quot;name&quot;]) -&gt; integer
608
 
609
Returns the shading value of the line color of the object &quot;name&quot;.
610
If &quot;name&quot; is not given the currently selected item is used.
611
</source>
612
        <translation type="unfinished">getLineShade([&quot;name&quot;]) -&gt; integer
613
 
614
Vrátí stín barvy objektu &quot;name&quot;.
615
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
616
    </message>
617
    <message>
14489 cbradney 618
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="97"/>
12918 cbradney 619
        <source>getLineJoin([&quot;name&quot;]) -&gt; integer (see constants)
620
 
621
Returns the line join style of the object &quot;name&quot;. If &quot;name&quot; is not given
622
the currently selected item is used.  The join types are:
623
JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND
624
</source>
625
        <translation type="unfinished"></translation>
626
    </message>
627
    <message>
14489 cbradney 628
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="108"/>
12918 cbradney 629
        <source>getLineEnd([&quot;name&quot;]) -&gt; integer (see constants)
630
 
631
Returns the line cap style of the object &quot;name&quot;. If &quot;name&quot; is not given the
632
currently selected item is used. The cap types are:
633
CAP_FLAT, CAP_ROUND, CAP_SQUARE
634
</source>
635
        <translation type="unfinished">getLineEnd([&quot;name&quot;]) -&gt; integer (see constants)
636
 
13480 subik 637
Vrátí typ ukončení čáry objektu &quot;name&quot;.
12918 cbradney 638
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
639
Typy jsou: CAP_FLAT, CAP_ROUND, CAP_SQUARE</translation>
640
    </message>
641
    <message>
14489 cbradney 642
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="119"/>
12918 cbradney 643
        <source>getLineStyle([&quot;name&quot;]) -&gt; integer (see constants)
644
 
645
Returns the line style of the object &quot;name&quot;. If &quot;name&quot; is not given the
646
currently selected item is used. Line style constants are:
647
LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
648
</source>
649
        <translation type="unfinished">getLineStyle([&quot;name&quot;]) -&gt; integer (see constants)
650
 
13480 subik 651
Vrátí styl čáry objektu &quot;name&quot;.
12918 cbradney 652
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
653
Styly jsou: LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID</translation>
654
    </message>
655
    <message>
14489 cbradney 656
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="130"/>
12918 cbradney 657
        <source>getFillShade([&quot;name&quot;]) -&gt; integer
658
 
659
Returns the shading value of the fill color of the object &quot;name&quot;.
660
If &quot;name&quot; is not given the currently selected item is used.
661
</source>
662
        <translation type="unfinished">getFillShade([&quot;name&quot;]) -&gt; integer
663
 
664
Vrátí stín výplně objektu &quot;name&quot;.
665
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
666
    </message>
667
    <message>
14489 cbradney 668
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="140"/>
12918 cbradney 669
        <source>getCornerRadius([&quot;name&quot;]) -&gt; integer
670
 
671
Returns the corner radius of the object &quot;name&quot;. The radius is
672
expressed in points. If &quot;name&quot; is not given the currently
673
selected item is used.
674
</source>
675
        <translation type="unfinished"></translation>
676
    </message>
677
    <message>
14489 cbradney 678
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="151"/>
12918 cbradney 679
        <source>getImageScale([&quot;name&quot;]) -&gt; (x,y)
680
 
681
Returns a (x, y) tuple containing the scaling values of the image frame
682
&quot;name&quot;.  If &quot;name&quot; is not given the currently selected item is used.
683
</source>
684
        <translation type="unfinished">getImageScale([&quot;name&quot;]) -&gt; (x,y)
685
 
686
Vrátí tuple s velikostmi obrázku rámce &quot;name&quot;.
687
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
688
    </message>
689
    <message>
14489 cbradney 690
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="161"/>
12918 cbradney 691
        <source>getImageName([&quot;name&quot;]) -&gt; string
692
 
693
Returns the filename for the image in the image frame. If &quot;name&quot; is not
694
given the currently selected item is used.
695
</source>
696
        <translation type="unfinished">getImageName([&quot;name&quot;]) -&gt; string
697
 
13480 subik 698
Vrátí název souboru (obrázku) daného rámce &quot;name&quot;.
12918 cbradney 699
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
700
    </message>
701
    <message>
14489 cbradney 702
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="171"/>
12918 cbradney 703
        <source>getPosition([&quot;name&quot;]) -&gt; (x,y)
704
 
705
Returns a (x, y) tuple with the position of the object &quot;name&quot;.
706
If &quot;name&quot; is not given the currently selected item is used.
707
The position is expressed in the actual measurement unit of the document
708
- see UNIT_&lt;type&gt; for reference.
709
</source>
710
        <translation type="unfinished"></translation>
711
    </message>
712
    <message>
14489 cbradney 713
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="183"/>
12918 cbradney 714
        <source>getSize([&quot;name&quot;]) -&gt; (width,height)
715
 
716
Returns a (width, height) tuple with the size of the object &quot;name&quot;.
717
If &quot;name&quot; is not given the currently selected item is used. The size is
718
expressed in the current measurement unit of the document - see UNIT_&lt;type&gt;
719
for reference.
720
</source>
721
        <translation type="unfinished">getSize([&quot;name&quot;]) -&gt; (width,height)
722
 
723
Vrátí velikost (tuple) s velikostí rámce &quot;name&quot;.
724
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
725
Velikost je vyjádřena v aktuálních měrných jednotkách (viz UNIT_typ).</translation>
726
    </message>
727
    <message>
14489 cbradney 728
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="195"/>
12918 cbradney 729
        <source>getRotation([&quot;name&quot;]) -&gt; integer
730
 
731
Returns the rotation of the object &quot;name&quot;. The value is expressed in degrees,
732
and clockwise is positive. If &quot;name&quot; is not given the currently selected item
733
is used.
734
</source>
735
        <translation type="unfinished">getRotation([&quot;name&quot;]) -&gt; integer
736
 
737
Vrátí rotaci objektu &quot;name&quot;. Hodnota je vyjádřena ve stupních. Otočení ve směru
738
hodinových ručiček je kladné.
739
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
740
    </message>
741
    <message>
14489 cbradney 742
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="206"/>
12918 cbradney 743
        <source>getAllObjects() -&gt; list
744
 
745
Returns a list containing the names of all objects on the current page.
746
</source>
747
        <translation type="unfinished">getAllObjects() -&gt; list
748
 
13480 subik 749
Vrátí seznam, který obsahuje názvy všech objektů na aktuální stránce.</translation>
12918 cbradney 750
    </message>
751
    <message>
14489 cbradney 752
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="77"/>
12918 cbradney 753
        <source>getPropertyCType(object, property, includesuper=True)
754
 
755
Returns the name of the C type of `property&apos; of `object&apos;. See getProperty()
756
for details of arguments.
757
 
758
If `includesuper&apos; is true, search inherited properties too.
759
</source>
760
        <translation type="unfinished"></translation>
761
    </message>
762
    <message>
14489 cbradney 763
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="96"/>
12918 cbradney 764
        <source>getPropertyNames(object, includesuper=True)
765
 
766
Return a list of property names supported by `object&apos;.
767
If `includesuper&apos; is true, return properties supported
768
by parent classes as well.
769
</source>
770
        <translation type="unfinished"></translation>
771
    </message>
772
    <message>
14489 cbradney 773
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="123"/>
12918 cbradney 774
        <source>getProperty(object, property)
775
 
776
Return the value of the property `property&apos; of the passed `object&apos;.
777
 
778
The `object&apos; argument may be a string, in which case the named PageItem
779
is searched for. It may also be a PyCObject, which may point to any
780
C++ QObject instance.
781
 
782
The `property&apos; argument must be a string, and is the name of the property
783
to look up on `object&apos;.
784
 
785
The return value varies depending on the type of the property.
786
</source>
787
        <translation type="unfinished"></translation>
788
    </message>
789
    <message>
14489 cbradney 790
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="158"/>
12918 cbradney 791
        <source>setProperty(object, property, value)
792
 
793
Set `property&apos; of `object&apos; to `value&apos;. If `value&apos; cannot be converted to a type
794
compatible with the type of `property&apos;, an exception is raised. An exception may
795
also be raised if the underlying setter fails.
796
 
797
See getProperty() for more information.
798
</source>
799
        <translation type="unfinished"></translation>
800
    </message>
801
    <message>
14489 cbradney 802
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="17"/>
12918 cbradney 803
        <source>moveObject(dx, dy [, &quot;name&quot;])
804
 
805
Moves the object &quot;name&quot; by dx and dy relative to its current position. The
806
distances are expressed in the current measurement unit of the document (see
807
UNIT constants). If &quot;name&quot; is not given the currently selected item is used.
808
If the object &quot;name&quot; belongs to a group, the whole group is moved.
809
</source>
810
        <translation type="unfinished">moveObject(dx, dy [, &quot;name&quot;])
811
 
812
Posune objekt &quot;name&quot; relativně o dx a dy vůči aktuální pozici. Vzdálenosti
813
jsou vyjádřeny v délkových jednotkách dokumentu (viz konstanty UNIT).
814
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt. Jestliže &quot;name&quot;
815
patří do nějaké skupiny, je posunuta celá skupina.</translation>
816
    </message>
817
    <message>
14489 cbradney 818
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="29"/>
12918 cbradney 819
        <source>moveObjectAbs(x, y [, &quot;name&quot;])
820
 
821
Moves the object &quot;name&quot; to a new location. The coordinates are expressed in
822
the current measurement unit of the document (see UNIT constants).  If &quot;name&quot;
823
is not given the currently selected item is used.  If the object &quot;name&quot;
824
belongs to a group, the whole group is moved.
825
</source>
826
        <translation type="unfinished">moveObjectAbs(x, y [, &quot;name&quot;])
827
 
828
Přesune objekt &quot;name&quot; na nové místo. Paramety x a y jsou vyjádřeny v aktuálních
829
měrných jednotkách dokumentu (viz konstanty UNIT).
830
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
13480 subik 831
Jestliže objekt &quot;name&quot; patří do skupiny objektů, je posunuta celá skupina.</translation>
12918 cbradney 832
    </message>
833
    <message>
14489 cbradney 834
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="41"/>
12918 cbradney 835
        <source>rotateObject(rot [, &quot;name&quot;])
836
 
837
Rotates the object &quot;name&quot; by &quot;rot&quot; degrees relatively. The object is
838
rotated by the vertex that is currently selected as the rotation point - by
839
default, the top left vertex at zero rotation. Positive values mean counter
840
clockwise rotation when the default rotation point is used. If &quot;name&quot; is not
841
given the currently selected item is used.
842
</source>
843
        <translation type="unfinished"></translation>
844
    </message>
845
    <message>
14489 cbradney 846
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="54"/>
12918 cbradney 847
        <source>rotateObjectAbs(rot [, &quot;name&quot;])
848
 
849
Sets the rotation of the object &quot;name&quot; to &quot;rot&quot;. Positive values
850
mean counter clockwise rotation. If &quot;name&quot; is not given the currently
851
selected item is used.
852
</source>
853
        <translation type="unfinished"></translation>
854
    </message>
855
    <message>
14489 cbradney 856
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="65"/>
12918 cbradney 857
        <source>sizeObject(width, height [, &quot;name&quot;])
858
 
859
Resizes the object &quot;name&quot; to the given width and height. If &quot;name&quot;
860
is not given the currently selected item is used.
861
</source>
862
        <translation type="unfinished">sizeObject(width, height [, &quot;name&quot;])
863
 
864
Změní velikost objektu &quot;name&quot; na danou šířku &quot;width&quot; a výšku &quot;height&quot;.
865
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
866
    </message>
867
    <message>
14489 cbradney 868
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="75"/>
12918 cbradney 869
        <source>getSelectedObject([nr]) -&gt; string
870
 
871
Returns the name of the selected object. &quot;nr&quot; if given indicates the number
872
of the selected object, e.g. 0 means the first selected object, 1 means the
873
second selected Object and so on.
874
</source>
875
        <translation type="unfinished">getSelectedObject([nr]) -&gt; string
876
 
13480 subik 877
Vrátí název vybraného objektu. Jestliže je zadáno &quot;nr&quot;, pak indikuje,
12918 cbradney 878
jaký objekt z výběru vrátí. 0 znamená první objekt atd.</translation>
879
    </message>
880
    <message>
14489 cbradney 881
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="86"/>
12918 cbradney 882
        <source>selectionCount() -&gt; integer
883
 
884
Returns the number of selected objects.
885
</source>
886
        <translation type="unfinished">selectionCount() -&gt; integer
887
 
888
Vrátí počet objektů ve výběru.</translation>
889
    </message>
890
    <message>
14489 cbradney 891
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="95"/>
12918 cbradney 892
        <source>selectObject(&quot;name&quot;)
893
 
894
Selects the object with the given &quot;name&quot;.
895
</source>
896
        <translation type="unfinished">selectObject(&quot;name&quot;)
897
 
898
Zařadí objekt &quot;name&quot; do výběru.</translation>
899
    </message>
900
    <message>
14489 cbradney 901
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="104"/>
12918 cbradney 902
        <source>deselectAll()
903
 
904
Deselects all objects in the whole document.
905
</source>
906
        <translation type="unfinished">deselectAll()
907
 
908
Zruší výběr všech objektů v celém dokumentu.</translation>
909
    </message>
910
    <message>
14489 cbradney 911
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="113"/>
12918 cbradney 912
        <source>groupObjects(list)
913
 
914
Groups the objects named in &quot;list&quot; together. &quot;list&quot; must contain the names
915
of the objects to be grouped. If &quot;list&quot; is not given the currently selected
916
items are used.
917
</source>
918
        <translation type="unfinished">groupObjects(list)
919
 
920
Seskupí objekty vyjmenované v seznamu &quot;list&quot;. Jestliže není seznam zadán,
921
použijí se vybrané objekty.</translation>
922
    </message>
923
    <message>
14489 cbradney 924
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="124"/>
12918 cbradney 925
        <source>unGroupObjects(&quot;name&quot;)
926
 
927
Destructs the group the object &quot;name&quot; belongs to.If &quot;name&quot; is not given the currently selected item is used.</source>
928
        <translation type="unfinished">unGroupObjects(&quot;name&quot;)
929
 
930
Zruší seskupení objektů, do kterého patří objekt &quot;name&quot;.
931
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
932
    </message>
933
    <message>
14489 cbradney 934
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="132"/>
12918 cbradney 935
        <source>scaleGroup(factor [,&quot;name&quot;])
936
 
937
Scales the group the object &quot;name&quot; belongs to. Values greater than 1 enlarge
938
the group, values smaller than 1 make the group smaller e.g a value of 0.5
939
scales the group to 50 % of its original size, a value of 1.5 scales the group
940
to 150 % of its original size.  The value for &quot;factor&quot; must be greater than
941
0. If &quot;name&quot; is not given the currently selected item is used.
942
 
943
May raise ValueError if an invalid scale factor is passed.
944
</source>
945
        <translation type="unfinished">scaleGroup(factor [,&quot;name&quot;])
946
 
947
Změní velikost seskupených objektů, kam objekt &quot;name&quot; patří. Hodnoty &quot;factor&quot;
948
větší než 1 zvětšují a naopak. Např. 0.5 znamená 50%, 1.5 150% atd. &quot;factor&quot;
949
musí být větší než 0.
950
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
951
 
952
Může vyvolat výjimku ValueError při chybném nastavení &quot;factor&quot;.</translation>
953
    </message>
954
    <message>
14489 cbradney 955
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="147"/>
12918 cbradney 956
        <source>loadImage(&quot;filename&quot; [, &quot;name&quot;])
957
 
958
Loads the picture &quot;picture&quot; into the image frame &quot;name&quot;. If &quot;name&quot; is
959
not given the currently selected item is used.
960
 
961
May raise WrongFrameTypeError if the target frame is not an image frame
962
</source>
963
        <translation type="unfinished">loadImage(&quot;filename&quot; [, &quot;name&quot;])
964
 
965
Nahraje obrázek &quot;picture&quot; do obrázkového rámce &quot;name&quot;.
966
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
967
 
968
Může vyvolat výjimku WrongFrameTypeError, není-li objekt obrázkovým rámem</translation>
969
    </message>
970
    <message>
971
        <source>scaleImage(x, y [, &quot;name&quot;])
972
 
973
Sets the scaling factors of the picture in the image frame &quot;name&quot;.
974
If &quot;name&quot; is not given the currently selected item is used. A number of 1
975
means 100 %.
976
 
977
May raise WrongFrameTypeError if the target frame is not an image frame
978
</source>
13279 cbradney 979
        <translation type="obsolete">scaleImage(x, y [, &quot;name&quot;])
12918 cbradney 980
 
981
Nastaví velikost obrázku v obrázkovém rámu &quot;name&quot;.
982
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
983
Číslo 1 znamená 100%.
984
 
985
Může vyvolat výjimku WrongFrameTypeError jestliže rámec není obrázkový</translation>
986
    </message>
987
    <message>
14489 cbradney 988
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="186"/>
12918 cbradney 989
        <source>lockObject([&quot;name&quot;]) -&gt; bool
990
 
991
Locks the object &quot;name&quot; if it&apos;s unlocked or unlock it if it&apos;s locked.
992
If &quot;name&quot; is not given the currently selected item is used. Returns true
993
if locked.
994
</source>
995
        <translation type="unfinished">lockObject([&quot;name&quot;]) -&gt; bool
996
 
997
Jestliže je objekt &quot;name&quot; zamčený, tak jej odemkne a naopak.
998
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
999
Vrátí true jestliže je objekt zamčený.</translation>
1000
    </message>
1001
    <message>
14489 cbradney 1002
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="197"/>
12918 cbradney 1003
        <source>isLocked([&quot;name&quot;]) -&gt; bool
1004
 
1005
Returns true if is the object &quot;name&quot; locked.  If &quot;name&quot; is not given the
1006
currently selected item is used.
1007
</source>
1008
        <translation type="unfinished">isLocked([&quot;name&quot;]) -&gt; bool
1009
 
1010
Vrátí true kdyý je objekt &quot;name&quot; zamčený.
1011
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
1012
    </message>
1013
    <message>
14489 cbradney 1014
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="206"/>
12918 cbradney 1015
        <source>setScaleImageToFrame(scaletoframe, proportional=None, name=&lt;selection&gt;)
1016
 
1017
Sets the scale to frame on the selected or specified image frame to `scaletoframe&apos;.
1018
If `proportional&apos; is specified, set fixed aspect ratio scaling to `proportional&apos;.
1019
Both `scaletoframe&apos; and `proportional&apos; are boolean.
1020
 
1021
May raise WrongFrameTypeError.
1022
</source>
1023
        <translation type="unfinished">setScaleImageToFrame(scaletoframe, proportional=None, name=&lt;selection&gt;)
1024
 
1025
Sets the scale to frame on the selected or specified image frame to `scaletoframe&apos;.
1026
If `proportional&apos; is specified, set fixed aspect ratio scaling to `proportional&apos;.
1027
Both `scaletoframe&apos; and `proportional&apos; are boolean.
1028
 
1029
May raise WrongFrameTypeError.</translation>
1030
    </message>
1031
    <message>
14489 cbradney 1032
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="19"/>
12918 cbradney 1033
        <source>setRedraw(bool)
1034
 
1035
Disables page redraw when bool = False, otherwise redrawing is enabled.
1036
This change will persist even after the script exits, so make sure to call
1037
setRedraw(True) in a finally: clause at the top level of your script.
1038
</source>
1039
        <translation type="unfinished">setRedraw(bool)
1040
 
1041
V případě false zruší překreslování stránek, jinak povolí. Tato změna přetrvá
1042
i po ukončení skriptu, takže se ujistěte, že zavoláte setRedraw(true) v nejvyšší
1043
úrovni skriptu.</translation>
1044
    </message>
1045
    <message>
14489 cbradney 1046
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="30"/>
12918 cbradney 1047
        <source>getFontNames() -&gt; list
1048
 
1049
Returns a list with the names of all available fonts.
1050
</source>
1051
        <translation type="unfinished">getFontNames() -&gt; list
1052
 
13480 subik 1053
Vrátí seznam s názvy dostupných písem.</translation>
12918 cbradney 1054
    </message>
1055
    <message>
14489 cbradney 1056
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="39"/>
12918 cbradney 1057
        <source>getXFontNames() -&gt; list of tuples
1058
 
1059
Returns a larger font info. It&apos;s a list of the tuples with:
1060
[ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ]
1061
</source>
1062
        <translation type="unfinished">getXFontNames() -&gt; list of tuples
1063
 
1064
Vrátí více informací o dostupných písmech. Seznam obsahuje tupple:
1065
[(Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ]</translation>
1066
    </message>
1067
    <message>
14489 cbradney 1068
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="52"/>
12918 cbradney 1069
        <source>renderFont(&quot;name&quot;, &quot;filename&quot;, &quot;sample&quot;, size, format=&quot;PPM&quot;) -&gt; bool
1070
 
1071
Creates an image preview of font &quot;name&quot; with given text &quot;sample&quot; and size.
1072
If &quot;filename&quot; is not &quot;&quot;, image is saved into &quot;filename&quot;. Otherwise
1073
image data is returned as a string. The optional &quot;format&quot; argument
1074
specifies the image format to generate, and supports any format allowed
1075
by QPixmap.save(). Common formats are PPM, JPEG, PNG and XPM.
1076
 
1077
May raise NotFoundError if the specified font can&apos;t be found.
1078
May raise ValueError if an empty sample or filename is passed.
1079
</source>
1080
        <translation type="unfinished">renderFont(&quot;name&quot;, &quot;filename&quot;, &quot;sample&quot;, size, format=&quot;PPM&quot;) -&gt; bool
1081
 
1082
Creates an image preview of font &quot;name&quot; with given text &quot;sample&quot; and size.
1083
If &quot;filename&quot; is not &quot;&quot;, image is saved into &quot;filename&quot;. Otherwise
1084
image data is returned as a string. The optional &quot;format&quot; argument
1085
specifies the image format to generate, and supports any format allowed
1086
by QPixmap.save(). Common formats are PPM, JPEG, PNG and XPM.
1087
 
1088
May raise NotFoundError if the specified font can&apos;t be found.
1089
May raise ValueError if an empty sample or filename is passed.</translation>
1090
    </message>
1091
    <message>
14489 cbradney 1092
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="68"/>
12918 cbradney 1093
        <source>getLayers() -&gt; list
1094
 
1095
Returns a list with the names of all defined layers.
1096
</source>
1097
        <translation type="unfinished">getLayers() -&gt; list
1098
 
13480 subik 1099
Vrátí seznam s názvy všech vrstev.</translation>
12918 cbradney 1100
    </message>
1101
    <message>
14489 cbradney 1102
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="77"/>
12918 cbradney 1103
        <source>setActiveLayer(&quot;name&quot;)
1104
 
1105
Sets the active layer to the layer named &quot;name&quot;.
1106
 
1107
May raise NotFoundError if the layer can&apos;t be found.
1108
May raise ValueError if the layer name isn&apos;t acceptable.
1109
</source>
1110
        <translation type="unfinished">setActiveLayer(&quot;name&quot;)
1111
 
1112
Přepne dokument na specifikovanou vrstvu &quot;name&quot;.
1113
 
1114
Může vyvolat výjimky NotFoundError (vrstva nenalezena) a
1115
ValueError (nelze přepnout vrstvu).</translation>
1116
    </message>
1117
    <message>
14489 cbradney 1118
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="89"/>
12918 cbradney 1119
        <source>getActiveLayer() -&gt; string
1120
 
1121
Returns the name of the current active layer.
1122
</source>
1123
        <translation type="unfinished">getActiveLayer() -&gt; string
1124
 
13480 subik 1125
Vrátí název aktuální vrstvy.</translation>
12918 cbradney 1126
    </message>
1127
    <message>
14489 cbradney 1128
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="98"/>
12918 cbradney 1129
        <source>sentToLayer(&quot;layer&quot; [, &quot;name&quot;])
1130
 
1131
Sends the object &quot;name&quot; to the layer &quot;layer&quot;. The layer must exist.
1132
If &quot;name&quot; is not given the currently selected item is used.
1133
 
1134
May raise NotFoundError if the layer can&apos;t be found.
1135
May raise ValueError if the layer name isn&apos;t acceptable.
1136
</source>
1137
        <translation type="unfinished">sentToLayer(&quot;layer&quot; [, &quot;name&quot;])
1138
 
1139
Přesune objekt &quot;name&quot; do vrstvy &quot;layer&quot;. Vrstva musí existovat.
1140
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
1141
 
1142
Může vyvolat výjimku NotFoundError (vrstva nenalezena) a
1143
ValueError (nelze přepnout vrstvu).</translation>
1144
    </message>
1145
    <message>
14489 cbradney 1146
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="111"/>
12918 cbradney 1147
        <source>setLayerVisible(&quot;layer&quot;, visible)
1148
 
1149
Sets the layer &quot;layer&quot; to be visible or not. If is the visible set to false
1150
the layer is invisible.
1151
 
1152
May raise NotFoundError if the layer can&apos;t be found.
1153
May raise ValueError if the layer name isn&apos;t acceptable.
1154
</source>
1155
        <translation type="unfinished">setLayerVisible(&quot;layer&quot;, visible)
1156
 
1157
Nastaví jestli má být vrstva &quot;layer&quot; viditelná nebo nemá. Je-li &quot;visible&quot;
1158
false, bude vrstva neviditelná.
1159
 
1160
Může vyvolat výjimku NotFoundError (vrstva nenalezena) a
1161
ValueError (nelze přepnout vrstvu).</translation>
1162
    </message>
1163
    <message>
14489 cbradney 1164
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="124"/>
12918 cbradney 1165
        <source>setLayerPrintable(&quot;layer&quot;, printable)
1166
 
1167
Sets the layer &quot;layer&quot; to be printable or not. If is the
1168
printable set to false the layer won&apos;t be printed.
1169
 
1170
May raise NotFoundError if the layer can&apos;t be found.
1171
May raise ValueError if the layer name isn&apos;t acceptable.
1172
</source>
1173
        <translation type="unfinished"></translation>
1174
    </message>
1175
    <message>
14489 cbradney 1176
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="137"/>
12918 cbradney 1177
        <source>setLayerLocked(&quot;layer&quot;, locked)
1178
 
1179
Sets the layer &quot;layer&quot; to be locked or not. If locked is set to
1180
true the layer will be locked.
1181
 
1182
May raise NotFoundError if the layer can&apos;t be found.
1183
May raise ValueError if the layer name isn&apos;t acceptable.
1184
</source>
1185
        <translation type="unfinished"></translation>
1186
    </message>
1187
    <message>
14489 cbradney 1188
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="150"/>
12918 cbradney 1189
        <source>setLayerOutlined(&quot;layer&quot;, outline)
1190
 
1191
Sets the layer &quot;layer&quot; to be locked or not. If outline is set to
1192
true the layer will be displayed outlined.
1193
 
1194
May raise NotFoundError if the layer can&apos;t be found.
1195
May raise ValueError if the layer name isn&apos;t acceptable.
1196
</source>
1197
        <translation type="unfinished"></translation>
1198
    </message>
1199
    <message>
14489 cbradney 1200
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="163"/>
12918 cbradney 1201
        <source>setLayerFlow(&quot;layer&quot;, flow)
1202
 
1203
Sets the layers &quot;layer&quot;  flowcontrol to flow. If flow is set to
1204
true text in layers above this one will flow around objects on this layer.
1205
 
1206
May raise NotFoundError if the layer can&apos;t be found.
1207
May raise ValueError if the layer name isn&apos;t acceptable.
1208
</source>
1209
        <translation type="unfinished"></translation>
1210
    </message>
1211
    <message>
14489 cbradney 1212
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="176"/>
12918 cbradney 1213
        <source>setLayerBlendmode(&quot;layer&quot;, blend)
1214
 
1215
Sets the layers &quot;layer&quot;  blendmode to blend.
1216
 
1217
May raise NotFoundError if the layer can&apos;t be found.
1218
May raise ValueError if the layer name isn&apos;t acceptable.
1219
</source>
1220
        <translation type="unfinished"></translation>
1221
    </message>
1222
    <message>
14489 cbradney 1223
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="188"/>
12918 cbradney 1224
        <source>setLayerTransparency(&quot;layer&quot;, trans)
1225
 
1226
Sets the layers &quot;layer&quot;  transparency to trans.
1227
 
1228
May raise NotFoundError if the layer can&apos;t be found.
1229
May raise ValueError if the layer name isn&apos;t acceptable.
1230
</source>
1231
        <translation type="unfinished"></translation>
1232
    </message>
1233
    <message>
14489 cbradney 1234
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="200"/>
12918 cbradney 1235
        <source>isLayerVisible(&quot;layer&quot;) -&gt; bool
1236
 
1237
Returns whether the layer &quot;layer&quot; is visible or not, a value of True means
1238
that the layer &quot;layer&quot; is visible, a value of False means that the layer
1239
&quot;layer&quot; is invisible.
1240
 
1241
May raise NotFoundError if the layer can&apos;t be found.
1242
May raise ValueError if the layer name isn&apos;t acceptable.
1243
</source>
1244
        <translation type="unfinished"></translation>
1245
    </message>
1246
    <message>
14489 cbradney 1247
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="214"/>
12918 cbradney 1248
        <source>isLayerPrintable(&quot;layer&quot;) -&gt; bool
1249
 
1250
Returns whether the layer &quot;layer&quot; is printable or not, a value of True means
1251
that the layer &quot;layer&quot; can be printed, a value of False means that printing
1252
the layer &quot;layer&quot; is disabled.
1253
 
1254
May raise NotFoundError if the layer can&apos;t be found.
1255
May raise ValueError if the layer name isn&apos;t acceptable.
1256
</source>
1257
        <translation type="unfinished">isLayerPrintable(&quot;layer&quot;) -&gt; bool
1258
 
1259
Returns whether the layer &quot;layer&quot; is printable or not, a value of True means
1260
that the layer &quot;layer&quot; can be printed, a value of False means that printing
1261
the layer &quot;layer&quot; is disabled.
1262
 
1263
May raise NotFoundError if the layer can&apos;t be found.
1264
May raise ValueError if the layer name isn&apos;t acceptable.</translation>
1265
    </message>
1266
    <message>
14489 cbradney 1267
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="228"/>
12918 cbradney 1268
        <source>isLayerLocked(&quot;layer&quot;) -&gt; bool
1269
 
1270
Returns whether the layer &quot;layer&quot; is locked or not, a value of True means
1271
that the layer &quot;layer&quot; is editable, a value of False means that the layer
1272
&quot;layer&quot; is locked.
1273
 
1274
May raise NotFoundError if the layer can&apos;t be found.
1275
May raise ValueError if the layer name isn&apos;t acceptable.
1276
</source>
1277
        <translation type="unfinished"></translation>
1278
    </message>
1279
    <message>
14489 cbradney 1280
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="242"/>
12918 cbradney 1281
        <source>isLayerOutlined(&quot;layer&quot;) -&gt; bool
1282
 
1283
Returns whether the layer &quot;layer&quot; is outlined or not, a value of True means
1284
that the layer &quot;layer&quot; is outlined, a value of False means that the layer
1285
&quot;layer&quot; is normal.
1286
 
1287
May raise NotFoundError if the layer can&apos;t be found.
1288
May raise ValueError if the layer name isn&apos;t acceptable.
1289
</source>
1290
        <translation type="unfinished"></translation>
1291
    </message>
1292
    <message>
14489 cbradney 1293
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="256"/>
12918 cbradney 1294
        <source>isLayerFlow(&quot;layer&quot;) -&gt; bool
1295
 
1296
Returns whether text flows around objects on layer &quot;layer&quot;, a value of True means
1297
that text flows around, a value of False means that the text does not flow around.
1298
 
1299
May raise NotFoundError if the layer can&apos;t be found.
1300
May raise ValueError if the layer name isn&apos;t acceptable.
1301
</source>
1302
        <translation type="unfinished"></translation>
1303
    </message>
1304
    <message>
14489 cbradney 1305
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="269"/>
12918 cbradney 1306
        <source>getLayerBlendmode(&quot;layer&quot;) -&gt; int
1307
 
1308
Returns the &quot;layer&quot; layer blendmode,
1309
 
1310
May raise NotFoundError if the layer can&apos;t be found.
1311
May raise ValueError if the layer name isn&apos;t acceptable.
1312
</source>
1313
        <translation type="unfinished"></translation>
1314
    </message>
1315
    <message>
14489 cbradney 1316
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="281"/>
12918 cbradney 1317
        <source>getLayerTransparency(&quot;layer&quot;) -&gt; float
1318
 
1319
Returns the &quot;layer&quot; layer transparency,
1320
 
1321
May raise NotFoundError if the layer can&apos;t be found.
1322
May raise ValueError if the layer name isn&apos;t acceptable.
1323
</source>
1324
        <translation type="unfinished"></translation>
1325
    </message>
1326
    <message>
14489 cbradney 1327
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="293"/>
12918 cbradney 1328
        <source>deleteLayer(&quot;layer&quot;)
1329
 
1330
Deletes the layer with the name &quot;layer&quot;. Nothing happens if the layer doesn&apos;t
1331
exists or if it&apos;s the only layer in the document.
1332
 
1333
May raise NotFoundError if the layer can&apos;t be found.
1334
May raise ValueError if the layer name isn&apos;t acceptable.
1335
</source>
1336
        <translation type="unfinished">deleteLayer(&quot;layer&quot;)
1337
 
1338
Smaže vrstvu &quot;layer&quot;. Neudělá nic, jestliže je to poslední vrstva dokumentu
1339
nebo vrstva neexistuje.
1340
 
1341
Může vyvolat výjimku NotFoundError (vrstva nenalezena) a
1342
ValueError (nelze přepnout vrstvu).</translation>
1343
    </message>
1344
    <message>
14489 cbradney 1345
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="306"/>
12918 cbradney 1346
        <source>createLayer(layer)
1347
 
1348
Creates a new layer with the name &quot;name&quot;.
1349
 
1350
May raise ValueError if the layer name isn&apos;t acceptable.
1351
</source>
1352
        <translation type="unfinished">createLayer(layer)
1353
 
1354
Vytvoří novou vrstvu se jménem &quot;layer&quot;.
1355
 
1356
Může vyvolat výjimku ValueError v případě chyby.</translation>
1357
    </message>
1358
    <message>
14489 cbradney 1359
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="317"/>
12918 cbradney 1360
        <source>getGuiLanguage() -&gt; string
1361
 
1362
Returns a string with the -lang value.
1363
</source>
1364
        <translation type="unfinished">getGuiLanguage() -&gt; string
1365
 
1366
Vrátí řetězec s kódem jazyka, ve kterém Scribus běží (viz přepínač --lang xx).</translation>
1367
    </message>
1368
    <message>
14489 cbradney 1369
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="326"/>
12918 cbradney 1370
        <source>moveSelectionToFront()
1371
 
1372
Moves current selection to front.
1373
</source>
1374
        <translation type="unfinished"></translation>
1375
    </message>
1376
    <message>
14489 cbradney 1377
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="335"/>
12918 cbradney 1378
        <source>moveSelectionToFront()
1379
 
1380
Moves current selection to back.
1381
</source>
1382
        <translation type="unfinished"></translation>
1383
    </message>
1384
    <message>
14489 cbradney 1385
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="17"/>
12918 cbradney 1386
        <source>createRect(x, y, width, height, [&quot;name&quot;]) -&gt; string
1387
 
1388
Creates a new rectangle on the current page and returns its name. The
1389
coordinates are given in the current measurement units of the document
1390
(see UNIT constants). &quot;name&quot; should be a unique identifier for the object
1391
because you need this name to reference that object in future. If &quot;name&quot;
1392
is not given Scribus will create one for you.
1393
 
1394
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1395
</source>
1396
        <translation type="unfinished">createRect(x, y, width, height, [&quot;name&quot;]) -&gt; string
1397
 
13480 subik 1398
Vytvoří nový čtyřúhelník na aktuální stránce a vrátí jeho název. X, Y, W a H koordináty
12918 cbradney 1399
jsou dány ve zvolených měrných jednotkách dokumentu (viz konstanty UNIT*).
13480 subik 1400
&quot;name&quot; musí být jedinečný řetězec, protože slouží jako identifikátor. Jestliže není
1401
&quot;name&quot; zadáno, Scribus název vytvoří sám.
12918 cbradney 1402
 
13480 subik 1403
Může vyvolat výjimku NameExistsError, když se pokusíte zduplikovat název.</translation>
12918 cbradney 1404
    </message>
1405
    <message>
14489 cbradney 1406
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="34"/>
12918 cbradney 1407
        <source>createEllipse(x, y, width, height, [&quot;name&quot;]) -&gt; string
1408
 
1409
Creates a new ellipse on the current page and returns its name.
1410
The coordinates are given in the current measurement units of the document
1411
(see UNIT constants). &quot;name&quot; should be a unique identifier for the object
1412
because you need this name for further referencing of that object. If &quot;name&quot;
1413
is not given Scribus will create one for you.
1414
 
1415
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1416
</source>
1417
        <translation type="unfinished">createEllipse(x, y, width, height, [&quot;name&quot;]) -&gt; string
1418
 
13480 subik 1419
Vytvoří novou elipsu na aktuální stránce dokumentu a vrátí jeho název.
12918 cbradney 1420
Koordináty jsou zadávány v současných měrných jednotkách (viz konstanty UNIT).
13480 subik 1421
Název &quot;name&quot; musí být jedinečný řetězec.
1422
Jestliže není &quot;name&quot; uvedeno, Scribus název vytvoří sám.
12918 cbradney 1423
 
13480 subik 1424
Může vyvolat výjimku NameExistsError když zadáte název, který již existuje.</translation>
12918 cbradney 1425
    </message>
1426
    <message>
14489 cbradney 1427
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="51"/>
12918 cbradney 1428
        <source>createImage(x, y, width, height, [&quot;name&quot;]) -&gt; string
1429
 
1430
Creates a new picture frame on the current page and returns its name. The
1431
coordinates are given in the current measurement units of the document.
1432
&quot;name&quot; should be a unique identifier for the object because you need this
1433
name for further access to that object. If &quot;name&quot; is not given Scribus will
1434
create one for you.
1435
 
1436
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1437
</source>
1438
        <translation type="unfinished">createImage(x, y, width, height, [&quot;name&quot;]) -&gt; string
1439
 
13480 subik 1440
Vytvoří novoý obrázkový rám na aktuální stránce dokumentu a vrátí jeho název.
12918 cbradney 1441
Koordináty jsou zadávány v současných měrných jednotkách (viz konstanty UNIT).
13480 subik 1442
Název &quot;name&quot; musí být jedinečný řetězec.
1443
Jestliže není &quot;name&quot; uvedeno, Scribus název vytvoří sám.
12918 cbradney 1444
 
13480 subik 1445
Může vyvolat výjimku NameExistsError když zadáte název, který již existuje.</translation>
12918 cbradney 1446
    </message>
1447
    <message>
14489 cbradney 1448
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="66"/>
12918 cbradney 1449
        <source>createText(x, y, width, height, [&quot;name&quot;]) -&gt; string
1450
 
1451
Creates a new text frame on the actual page and returns its name.
1452
The coordinates are given in the actual measurement unit of the document (see
1453
UNIT constants). &quot;name&quot; should be a unique identifier for the object because
1454
you need this name for further referencing of that object. If &quot;name&quot; is not
1455
given Scribus will create one for you.
1456
 
1457
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1458
</source>
1459
        <translation type="unfinished">createText(x, y, width, height, [&quot;name&quot;]) -&gt; string
1460
 
13480 subik 1461
Vytvoří nový textový rámec na aktuální stránce dokumentu a vrátí jeho název.
12918 cbradney 1462
Koordináty jsou zadávány v současných měrných jednotkách (viz konstanty UNIT).
13480 subik 1463
Název &quot;name&quot; musí být jedinečný řetězec.
1464
Jestliže není &quot;name&quot; uvedeno, Scribus název vytvoří sám.
12918 cbradney 1465
 
13480 subik 1466
Může vyvolat výjimku NameExistsError když zadáte název, který již existuje.</translation>
12918 cbradney 1467
    </message>
1468
    <message>
14489 cbradney 1469
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="81"/>
12918 cbradney 1470
        <source>createLine(x1, y1, x2, y2, [&quot;name&quot;]) -&gt; string
1471
 
1472
Creates a new line from the point(x1, y1) to the point(x2, y2) and returns
1473
its name. The coordinates are given in the current measurement unit of the
1474
document (see UNIT constants). &quot;name&quot; should be a unique identifier for the
1475
object because you need this name for further access to that object. If
1476
&quot;name&quot; is not given Scribus will create one for you.
1477
 
1478
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1479
</source>
1480
        <translation type="unfinished">createLine(x1, y1, x2, y2, [&quot;name&quot;]) -&gt; string
1481
 
13480 subik 1482
Vytvoří novou čáru na aktuální stránce dokumentu a vrátí její název.
12918 cbradney 1483
Koordináty jsou zadávány v současných měrných jednotkách (viz konstanty UNIT).
13480 subik 1484
Název &quot;name&quot; musí být jedinečný řetězec.
1485
Jestliže není &quot;name&quot; uvedeno, Scribus název vytvoří sám.
12918 cbradney 1486
 
13480 subik 1487
Může vyvolat výjimku NameExistsError když zadáte název, který již existuje.</translation>
12918 cbradney 1488
    </message>
1489
    <message>
14489 cbradney 1490
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="96"/>
12918 cbradney 1491
        <source>createPolyLine(list, [&quot;name&quot;]) -&gt; string
1492
 
1493
Creates a new polyline and returns its name. The points for the polyline are
1494
stored in the list &quot;list&quot; in the following order: [x1, y1, x2, y2...xn. yn].
1495
The coordinates are given in the current measurement units of the document (see
1496
UNIT constants). &quot;name&quot; should be a unique identifier for the object because
1497
you need this name for further access to that object. If &quot;name&quot; is not given
1498
Scribus will create one for you.
1499
 
1500
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1501
May raise ValueError if an insufficient number of points is passed or if
1502
the number of values passed don&apos;t group into points without leftovers.
1503
</source>
1504
        <translation type="unfinished">createPolyLine(list, [&quot;name&quot;]) -&gt; string
1505
 
13480 subik 1506
Vytvoří novou lomenou čáru na aktuální stránce dokumentu a vrátí její název.
12918 cbradney 1507
Koordináty jsou zadávány v současných měrných jednotkách (viz konstanty UNIT).
13480 subik 1508
Název &quot;name&quot; musí být jedinečný řetězec.
1509
Jestliže není &quot;name&quot; uvedeno, Scribus název vytvoří sám.
12918 cbradney 1510
Seznam bodů má tvar: [x1, y1, x2, y2, ..., xn, yn].
1511
 
13480 subik 1512
Může vyvolat výjimku NameExistsError když zadáte název, který již existuje.
12918 cbradney 1513
Může vyvolat výjimku ValueError v případě špatných koordinátů.</translation>
1514
    </message>
1515
    <message>
14489 cbradney 1516
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="114"/>
12918 cbradney 1517
        <source>createPolygon(list, [&quot;name&quot;]) -&gt; string
1518
 
1519
Creates a new polygon and returns its name. The points for the polygon are
1520
stored in the list &quot;list&quot; in the following order: [x1, y1, x2, y2...xn. yn].
1521
At least three points are required. There is no need to repeat the first point
1522
to close the polygon. The polygon is automatically closed by connecting the
1523
first and the last point.  The coordinates are given in the current measurement
1524
units of the document (see UNIT constants).  &quot;name&quot; should be a unique
1525
identifier for the object because you need this name for further access to that
1526
object. If &quot;name&quot; is not given Scribus will create one for you.
1527
 
1528
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1529
May raise ValueError if an insufficient number of points is passed or if
1530
the number of values passed don&apos;t group into points without leftovers.
1531
</source>
1532
        <translation type="unfinished">createPolygon(list, [&quot;name&quot;]) -&gt; string
1533
 
13480 subik 1534
Vytvoří nový mnohoúhelník na aktuální stránce dokumentu a vrátí jeho název.
12918 cbradney 1535
Koordináty jsou zadávány v současných měrných jednotkách (viz konstanty UNIT).
13480 subik 1536
Název &quot;name&quot; musí být jedinečný řetězec.
1537
Jestliže není &quot;name&quot; uvedeno, Scribus název vytvoří sám.
12918 cbradney 1538
Seznam bodů objeku má tvar: [x1, y1, x2, y2, ..., xn, yn] a jsou nutné alespoň
1539
tři body. Mnohoúhelník je automaticky uzavřen, takže není třeba zadávat poslední
1540
bod jako první.
1541
 
13480 subik 1542
Může vyvolat výjimku NameExistsError když zadáte název, který již existuje.
12918 cbradney 1543
Může vyvolat výjimku ValueError v případě špatných koordinátů.</translation>
1544
    </message>
1545
    <message>
14489 cbradney 1546
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="134"/>
12918 cbradney 1547
        <source>createBezierLine(list, [&quot;name&quot;]) -&gt; string
1548
 
1549
Creates a new bezier curve and returns its name. The points for the bezier
1550
curve are stored in the list &quot;list&quot; in the following order:
1551
[x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn]
1552
In the points list, x and y mean the x and y coordinates of the point and kx
1553
and ky meaning the control point for the curve.  The coordinates are given in
1554
the current measurement units of the document (see UNIT constants). &quot;name&quot;
1555
should be a unique identifier for the object because you need this name for
1556
further access to that object. If &quot;name&quot; is not given Scribus will create one
1557
for you.
1558
 
1559
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1560
May raise ValueError if an insufficient number of points is passed or if
1561
the number of values passed don&apos;t group into points without leftovers.
1562
</source>
1563
        <translation type="unfinished">createBezierLine(list, [&quot;name&quot;]) -&gt; string
1564
 
13480 subik 1565
Vytvoří novou Bezierovou křivku na aktuální stránce dokumentu a vrátí jeho název.
12918 cbradney 1566
Koordináty jsou zadávány v současných měrných jednotkách (viz konstanty UNIT).
13480 subik 1567
Název &quot;name&quot; musí být jedinečný řetězec.
1568
Jestliže není &quot;name&quot; uvedeno, Scribus název vytvoří sám.
12918 cbradney 1569
Seznam bodů objeku má tvar: [x1, y1, kx1, ky1, x2, y2, kx2, ky2, ..., xn, yn, kxn, kyn].
1570
x a y jsou koordináty bodů, kx a ky jsou koordináty řídícího bodu křivky.
1571
 
13480 subik 1572
Může vyvolat výjimku NameExistsError když zadáte název, který již existuje.
12918 cbradney 1573
Může vyvolat výjimku ValueError v případě špatných koordinátů.</translation>
1574
    </message>
1575
    <message>
14489 cbradney 1576
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="155"/>
12918 cbradney 1577
        <source>createPathText(x, y, &quot;textbox&quot;, &quot;beziercurve&quot;, [&quot;name&quot;]) -&gt; string
1578
 
1579
Creates a new pathText by merging the two objects &quot;textbox&quot; and
1580
&quot;beziercurve&quot; and returns its name. The coordinates are given in the current
1581
measurement unit of the document (see UNIT constants). &quot;name&quot; should be a
1582
unique identifier for the object because you need this name for further access
1583
to that object. If &quot;name&quot; is not given Scribus will create one for you.
1584
 
1585
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1586
May raise NotFoundError if one or both of the named base object don&apos;t exist.
1587
</source>
1588
        <translation type="unfinished">createPathText(x, y, &quot;textbox&quot;, &quot;beziercurve&quot;, [&quot;name&quot;]) -&gt; string
1589
 
13480 subik 1590
Vytvoří nový text na křivce na aktuální stránce dokumentu a vrátí jeho název.
12918 cbradney 1591
Koordináty jsou zadávány v současných měrných jednotkách (viz konstanty UNIT).
13480 subik 1592
Název &quot;name&quot; musí být jedinečný řetězec.
1593
Jestliže není &quot;name&quot; uvedeno, Scribus název vytvoří sám.
12918 cbradney 1594
Text na křivce vyznikne ze dvou objektů - textového rámce &quot;textbox&quot; a Bezierovské
1595
křivky &quot;beziercurve&quot;.
1596
 
13480 subik 1597
Může vyvolat výjimku NameExistsError když zadáte název, který již existuje.
12918 cbradney 1598
Může vyvolat výjimku NotFoundError v případě neexistujících objektů.</translation>
1599
    </message>
1600
    <message>
14489 cbradney 1601
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="173"/>
12918 cbradney 1602
        <source>deleteObject([&quot;name&quot;])
1603
 
1604
Deletes the item with the name &quot;name&quot;. If &quot;name&quot; is not given the currently
1605
selected item is deleted.
1606
</source>
1607
        <translation type="unfinished">deleteObject([&quot;name&quot;])
1608
 
1609
Smaže objekt &quot;name&quot;. Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
1610
    </message>
1611
    <message>
14489 cbradney 1612
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="184"/>
12918 cbradney 1613
        <source>textFlowMode(&quot;name&quot; [, state])
1614
 
1615
Enables/disables &quot;Text Flows Around Frame&quot; feature for object &quot;name&quot;.
1616
Called with parameters string name and optional int &quot;state&quot; (0 &lt;= state &lt;= 3).
1617
Setting &quot;state&quot; to 0 will disable text flow.
1618
Setting &quot;state&quot; to 1 will make text flow around object frame.
1619
Setting &quot;state&quot; to 2 will make text flow around bounding box.
1620
Setting &quot;state&quot; to 3 will make text flow around contour line.
1621
If &quot;state&quot; is not passed, text flow is toggled.
1622
</source>
1623
        <translation type="unfinished"></translation>
1624
    </message>
1625
    <message>
14489 cbradney 1626
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="206"/>
12918 cbradney 1627
        <source>objectExists([&quot;name&quot;]) -&gt; bool
1628
 
1629
Test if an object with specified name really exists in the document.
1630
The optional parameter is the object name. When no object name is given,
1631
returns True if there is something selected.
1632
</source>
1633
        <translation type="unfinished">objectExists([&quot;name&quot;]) -&gt; bool
1634
 
1635
Vrátí příznak, zda objekt &quot;name&quot; v dokuemntu existuje. Když není &quot;name&quot;
1636
zadáno, vrátí true, jestliže je nějaký objekt vybrán.</translation>
1637
    </message>
1638
    <message>
14489 cbradney 1639
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="223"/>
12918 cbradney 1640
        <source>setStyle(&quot;style&quot; [, &quot;name&quot;])
1641
 
1642
Apply the named &quot;style&quot; to the object named &quot;name&quot;. If is no object name
1643
given, it&apos;s applied on the selected object.
1644
</source>
1645
        <translation type="unfinished">setStyle(&quot;style&quot; [, &quot;name&quot;])
1646
 
1647
Aplikuje styl &quot;style&quot; na objekt &quot;name&quot;. Jestliže není &quot;name&quot; uvedeno,
1648
použije vybraný objekt.</translation>
1649
    </message>
1650
    <message>
14489 cbradney 1651
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="237"/>
12918 cbradney 1652
        <source>getAllStyles() -&gt; list
1653
 
1654
Return a list of the names of all paragraph styles in the current document.
1655
</source>
1656
        <translation type="unfinished">getAllStyles() -&gt; list
1657
 
1658
Vrátí seznam všech jmen stylů odstavce v dokumentu.</translation>
1659
    </message>
1660
    <message>
14489 cbradney 1661
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="249"/>
12918 cbradney 1662
        <source>duplicateObject([&quot;name&quot;]) -&gt; string
1663
 
1664
creates a Duplicate of the selected Object (or Selection Group).
1665
</source>
1666
        <translation type="unfinished"></translation>
1667
    </message>
1668
    <message>
14489 cbradney 1669
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="17"/>
12918 cbradney 1670
        <source>newPage(where [,&quot;masterpage&quot;])
1671
 
1672
Creates a new page. If &quot;where&quot; is -1 the new Page is appended to the
1673
document, otherwise the new page is inserted before &quot;where&quot;. Page numbers are
1674
counted from 1 upwards, no matter what the displayed first page number of your
1675
document is. The optional parameter &quot;masterpage&quot; specifies the name of the
1676
master page for the new page.
1677
 
1678
May raise IndexError if the page number is out of range
1679
</source>
1680
        <translation type="unfinished">newPage(where [,&quot;masterpage&quot;])
1681
 
1682
Creates a new page. If &quot;where&quot; is -1 the new Page is appended to the
1683
document, otherwise the new page is inserted before &quot;where&quot;. Page numbers are
1684
counted from 1 upwards, no matter what the displayed first page number of your
1685
document is. The optional parameter &quot;masterpage&quot; specifies the name of the
1686
master page for the new page.
1687
 
1688
May raise IndexError if the page number is out of range</translation>
1689
    </message>
1690
    <message>
14489 cbradney 1691
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="32"/>
12918 cbradney 1692
        <source>currentPage() -&gt; integer
1693
 
1694
Returns the number of the current working page. Page numbers are counted from 1
1695
upwards, no matter what the displayed first page number of your document is.
1696
</source>
1697
        <translation type="unfinished">currentPage() -&gt; integer
1698
 
1699
Vrátí číslo aktuální stránky dokumentu. Stránky jsou číslovány od 1, přičemž nezáleží
1700
na nastaveném čísle první stránky.</translation>
1701
    </message>
1702
    <message>
14489 cbradney 1703
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="42"/>
12918 cbradney 1704
        <source>redrawAll()
1705
 
1706
Redraws all pages.
1707
</source>
1708
        <translation type="unfinished">Překreslí/obnoví všechny stránky.</translation>
1709
    </message>
1710
    <message>
14489 cbradney 1711
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="51"/>
12918 cbradney 1712
        <source>getPageType() -&gt; integer
1713
 
1714
Returns the type of the Page, 0 means left Page, 1 is a middle Page and 2 is a right Page
1715
</source>
1716
        <translation type="unfinished"></translation>
1717
    </message>
1718
    <message>
14489 cbradney 1719
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="60"/>
12918 cbradney 1720
        <source>savePageAsEPS(&quot;name&quot;)
1721
 
1722
Saves the current page as an EPS to the file &quot;name&quot;.
1723
 
1724
May raise ScribusError if the save failed.
1725
</source>
1726
        <translation type="unfinished">Uloží aktuální stránku jako EPS do souboru &quot;name&quot;.
1727
 
1728
Může vyvolat výjimu ScribusErro, dojde-li k chybě.</translation>
1729
    </message>
1730
    <message>
14489 cbradney 1731
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="71"/>
12918 cbradney 1732
        <source>deletePage(nr)
1733
 
1734
Deletes the given page. Does nothing if the document contains only one page.
1735
Page numbers are counted from 1 upwards, no matter what the displayed first
1736
page number is.
1737
 
1738
May raise IndexError if the page number is out of range
1739
</source>
1740
        <translation type="unfinished">deletePage(nr)
1741
 
1742
Smaže zadanou stránku. Nedělá nic, jestliže dokument obsahuje jedinou stránku.
1743
Stránky jsou číslovány od 1, přičemž nezáleží na nastaveném čísle první stránky.
1744
 
1745
Může vyvolat výjimku IndexError, jestliže není &quot;nr&quot; číslo existující stránky</translation>
1746
    </message>
1747
    <message>
14489 cbradney 1748
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="84"/>
12918 cbradney 1749
        <source>gotoPage(nr)
1750
 
1751
Moves to the page &quot;nr&quot; (that is, makes the current page &quot;nr&quot;). Note that
1752
gotoPage doesn&apos;t (currently) change the page the user&apos;s view is displaying, it
1753
just sets the page that script commands will operates on.
1754
 
1755
May raise IndexError if the page number is out of range.
1756
</source>
1757
        <translation type="unfinished"></translation>
1758
    </message>
1759
    <message>
14489 cbradney 1760
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="97"/>
12918 cbradney 1761
        <source>pageCount() -&gt; integer
1762
 
1763
Returns the number of pages in the document.
1764
</source>
1765
        <translation type="unfinished">Vrátí počet stránek dokumentu.</translation>
1766
    </message>
1767
    <message>
14489 cbradney 1768
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="106"/>
12918 cbradney 1769
        <source>getHGuides() -&gt; list
1770
 
1771
Returns a list containing positions of the horizontal guides. Values are in the
1772
document&apos;s current units - see UNIT_&lt;type&gt; constants.
1773
</source>
1774
        <translation type="unfinished">getHGuides() -&gt; list
1775
 
1776
Vrátí seznam s pozicemi horizontálních vodítek. Hodnoty jsou v aktuálních
1777
měrných jednotkách. Viz konstanty UNIT.</translation>
1778
    </message>
1779
    <message>
14489 cbradney 1780
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="116"/>
12918 cbradney 1781
        <source>setHGuides(list)
1782
 
1783
Sets horizontal guides. Input parameter must be a list of guide positions
1784
measured in the current document units - see UNIT_&lt;type&gt; constants.
1785
 
1786
Example: setHGuides(getHGuides() + [200.0, 210.0] # add new guides without any lost
1787
         setHGuides([90,250]) # replace current guides entirely
1788
</source>
1789
        <translation type="unfinished">setHGuides(list)
1790
 
1791
Nastaví horizontální vodítka. Vstupní parametr je seznam jejich pozicí
1792
v aktuálních měrných jednotkách (viz konstanty UNIT).
1793
Např.:
1794
     setHGuides(getHGuides()) + [200.0, 210.0] # prida voditka
1795
     setHGuides([90, 250]) # smaze stara a nastavi nova voditka</translation>
1796
    </message>
1797
    <message>
14489 cbradney 1798
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="129"/>
12918 cbradney 1799
        <source>getVGuides()
1800
 
1801
See getHGuides.
1802
</source>
1803
        <translation type="unfinished">Viz getHGuides().</translation>
1804
    </message>
1805
    <message>
14489 cbradney 1806
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="138"/>
12918 cbradney 1807
        <source>setVGuides()
1808
 
1809
See setHGuides.
1810
</source>
1811
        <translation type="unfinished">Viz setHGuides().</translation>
1812
    </message>
1813
    <message>
14489 cbradney 1814
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="147"/>
12918 cbradney 1815
        <source>getPageSize() -&gt; tuple
1816
 
1817
Returns a tuple with page dimensions measured in the document&apos;s current units.
1818
See UNIT_&lt;type&gt; constants and getPageMargins()
1819
</source>
1820
        <translation type="unfinished">getPageSize() -&gt; tuple
1821
 
1822
Vrátí tuple s rozměry stránky v aktuálních měrných jednotkách. Viz konstanty UNIT
1823
a getPageMargins()</translation>
1824
    </message>
1825
    <message>
14489 cbradney 1826
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="161"/>
1827
        <source>getPageNSize() -&gt; tuple
1828
 
1829
Returns a tuple with a particular page&apos;s size measured in the document&apos;s current units.
1830
See UNIT_&lt;type&gt; constants and getPageMargins()
1831
</source>
1832
        <translation type="unfinished"></translation>
1833
    </message>
1834
    <message>
1835
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="174"/>
1836
        <source>getPageNMargins() -&gt; tuple
1837
 
1838
Returns a tuple with a particular page&apos;s margins measured in the document&apos;s current units.
1839
See UNIT_&lt;type&gt; constants and getPageMargins()
1840
</source>
1841
        <translation type="unfinished"></translation>
1842
    </message>
1843
    <message>
1844
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="187"/>
12918 cbradney 1845
        <source>getPageItems() -&gt; list
1846
 
1847
Returns a list of tuples with items on the current page. The tuple is:
1848
(name, objectType, order) E.g. [(&apos;Text1&apos;, 4, 0), (&apos;Image1&apos;, 2, 1)]
1849
means that object named &apos;Text1&apos; is a text frame (type 4) and is the first at
1850
the page...
1851
</source>
1852
        <translation type="unfinished">getPageItems() -&gt; list
1853
 
1854
Vrátí seznam tuple objektů na aktuální stránce: (jmeno, typ, poradi).
1855
Např.: [(&apos;Text1&apos;, 4, 0), (&apos;Image1&apos;, 2, 1)], což znamená, že objekt &quot;Text1&quot;
1856
je textový rámec (4) a je první v pořadí na stránce...</translation>
1857
    </message>
1858
    <message>
14489 cbradney 1859
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="203"/>
12918 cbradney 1860
        <source>getPageMargins()
1861
 
1862
Returns the page margins as a (top, left, right, bottom) tuple in the current
1863
units. See UNIT_&lt;type&gt; constants and getPageSize().
1864
</source>
1865
        <translation type="unfinished">getPageMargins()
1866
 
1867
Returns the page margins as a (top, left, right, bottom) tuple in the current
1868
units. See UNIT_&lt;type&gt; constants and getPageSize().</translation>
1869
    </message>
1870
    <message>
14489 cbradney 1871
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="216"/>
12918 cbradney 1872
        <source>importPage(&quot;fromDoc&quot;, (pageList), [create, imortwhere, importwherePage])
1873
 
1874
Imports a set of pages (given as a tuple) from an existing document (the file name must be given). This functions maps the &quot;Page-&gt;Import&quot; dropdown menu function.
1875
fromDoc: string; the filename of the document to import pages from
1876
pageList: tuple with page numbers of pages to import
1877
create: number; 0 to replace existing pages, 1 (default) to insert new pages
1878
importWhere: number; the page number (of the current document) at which import the pages
1879
importWherePage: number; used if create==1; 0 to create pages before selected page; 1 to create pages after selected page; 2 (default) to create pages at the end of the document
1880
</source>
1881
        <translation type="unfinished"></translation>
1882
    </message>
1883
    <message>
14489 cbradney 1884
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="17"/>
12918 cbradney 1885
        <source>setGradientFill(type, &quot;color1&quot;, shade1, &quot;color2&quot;, shade2, [&quot;name&quot;])
1886
 
1887
Sets the gradient fill of the object &quot;name&quot; to type. Color descriptions are
1888
the same as for setFillColor() and setFillShade(). See the constants for
1889
available types (FILL_&lt;type&gt;).
1890
</source>
1891
        <translation type="unfinished">setGradientFill(type, &quot;color1&quot;, shade1, &quot;color2&quot;, shade2, [&quot;name&quot;])
1892
 
1893
Nastaví gradient výplně objektu &quot;name&quot; na specifikovaný typ. Specifikace barev
1894
je stejná jako v setFillColor() a setFillShade(). Dostupné gradienty viz
1895
konstanty FILL_&lt;typ&gt;.</translation>
1896
    </message>
1897
    <message>
14489 cbradney 1898
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="39"/>
12918 cbradney 1899
        <source>setFillColor(&quot;color&quot;, [&quot;name&quot;])
1900
 
1901
Sets the fill color of the object &quot;name&quot; to the color &quot;color&quot;. &quot;color&quot;
1902
is the name of one of the defined colors. If &quot;name&quot; is not given the
1903
currently selected item is used.
1904
</source>
1905
        <translation type="unfinished">setFillColor(&quot;color&quot;, [&quot;name&quot;])
1906
 
13480 subik 1907
Nastavý výplňovou barvu &quot;color&quot; objektu &quot;name&quot;. &quot;color&quot; je název
12918 cbradney 1908
jedné z definovaných barev. Jestliže není &quot;name&quot; uvedeno, použije
1909
vybraný objekt.</translation>
1910
    </message>
1911
    <message>
14489 cbradney 1912
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="50"/>
12918 cbradney 1913
        <source>setFillTransparency(transparency, [&quot;name&quot;])
1914
 
1915
Sets the fill transparency of the object &quot;name&quot; to transparency
1916
If &quot;name&quot; is not given the currently selected item is used.
1917
</source>
1918
        <translation type="unfinished"></translation>
1919
    </message>
1920
    <message>
14489 cbradney 1921
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="60"/>
12918 cbradney 1922
        <source>setFillBlendmode(blendmode, [&quot;name&quot;])
1923
 
1924
Sets the fill blendmode of the object &quot;name&quot; to blendmode
1925
If &quot;name&quot; is not given the currently selected item is used.
1926
</source>
1927
        <translation type="unfinished"></translation>
1928
    </message>
1929
    <message>
14489 cbradney 1930
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="70"/>
12918 cbradney 1931
        <source>setLineColor(&quot;color&quot;, [&quot;name&quot;])
1932
 
1933
Sets the line color of the object &quot;name&quot; to the color &quot;color&quot;. If &quot;name&quot;
1934
is not given the currently selected item is used.
1935
</source>
1936
        <translation type="unfinished">setLineColor(&quot;color&quot;, [&quot;name&quot;])
1937
 
13480 subik 1938
Nastaví barvu &quot;color&quot; čar objektu &quot;name&quot;.
12918 cbradney 1939
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
1940
    </message>
1941
    <message>
14489 cbradney 1942
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="80"/>
12918 cbradney 1943
        <source>setLineTransparency(transparency, [&quot;name&quot;])
1944
 
1945
Sets the line transparency of the object &quot;name&quot; to transparency
1946
If &quot;name&quot; is not given the currently selected item is used.
1947
</source>
1948
        <translation type="unfinished"></translation>
1949
    </message>
1950
    <message>
14489 cbradney 1951
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="90"/>
12918 cbradney 1952
        <source>setLineBlendmode(blendmode, [&quot;name&quot;])
1953
 
1954
Sets the line blendmode of the object &quot;name&quot; to blendmode
1955
If &quot;name&quot; is not given the currently selected item is used.
1956
</source>
1957
        <translation type="unfinished"></translation>
1958
    </message>
1959
    <message>
14489 cbradney 1960
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="100"/>
12918 cbradney 1961
        <source>setLineWidth(width, [&quot;name&quot;])
1962
 
1963
Sets line width of the object &quot;name&quot; to &quot;width&quot;. &quot;width&quot; must be in the
1964
range from 0.0 to 12.0 inclusive, and is measured in points. If &quot;name&quot; is not
1965
given the currently selected item is used.
1966
 
1967
May raise ValueError if the line width is out of bounds.
1968
</source>
1969
        <translation type="unfinished">setLineWidth(width, [&quot;name&quot;])
1970
 
13480 subik 1971
Nastaví šířku čáry objektu &quot;name&quot; na hodnotu &quot;width&quot;. &quot;width&quot; musí
12918 cbradney 1972
být v intervalu &lt;0.0; 12.0&gt; a je v bodech.
1973
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
1974
 
1975
Může vyvolatvýjimku ValueError, když není hodnota v intervalu.</translation>
1976
    </message>
1977
    <message>
14489 cbradney 1978
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="113"/>
12918 cbradney 1979
        <source>setLineShade(shade, [&quot;name&quot;])
1980
 
1981
Sets the shading of the line color of the object &quot;name&quot; to &quot;shade&quot;.
1982
&quot;shade&quot; must be an integer value in the range from 0 (lightest) to 100
1983
(full color intensity). If &quot;name&quot; is not given the currently selected item
1984
is used.
1985
 
1986
May raise ValueError if the line shade is out of bounds.
1987
</source>
1988
        <translation type="unfinished">setLineShade(shade, [&quot;name&quot;])
1989
 
13480 subik 1990
Nastaví stín čar objektu &quot;name&quot; na hodnotu &quot;shade&quot;. &quot;shade&quot; musí
12918 cbradney 1991
být celé číslo z intervalu &lt;0; 100&gt;.
1992
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
1993
 
1994
Může vyvolat výjimku ValueError, když je hodnota mimo interval.</translation>
1995
    </message>
1996
    <message>
14489 cbradney 1997
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="127"/>
12918 cbradney 1998
        <source>setLineJoin(join, [&quot;name&quot;])
1999
 
2000
Sets the line join style of the object &quot;name&quot; to the style &quot;join&quot;.
2001
If &quot;name&quot; is not given the currently selected item is used. There are
2002
predefined constants for join - JOIN_&lt;type&gt;.
2003
</source>
2004
        <translation type="unfinished">setLineJoin(join, [&quot;name&quot;])
2005
 
13480 subik 2006
Nastaví typ spojení čar objektu &quot;name&quot; na styl &quot;join&quot;.
12918 cbradney 2007
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
2008
Viz předdefinované konstanty JOIN_*.</translation>
2009
    </message>
2010
    <message>
14489 cbradney 2011
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="138"/>
12918 cbradney 2012
        <source>setLineEnd(endtype, [&quot;name&quot;])
2013
 
2014
Sets the line cap style of the object &quot;name&quot; to the style &quot;cap&quot;.
2015
If &quot;name&quot; is not given the currently selected item is used. There are
2016
predefined constants for &quot;cap&quot; - CAP_&lt;type&gt;.
2017
</source>
2018
        <translation type="unfinished">setLineEnd(endtype, [&quot;name&quot;])
2019
 
13480 subik 2020
Nastaví styl konce čar objektu &quot;name&quot; na styl &quot;cap&quot;.
12918 cbradney 2021
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
2022
Viz předdefinované konstanty CAP_*.</translation>
2023
    </message>
2024
    <message>
14489 cbradney 2025
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="149"/>
12918 cbradney 2026
        <source>setLineStyle(style, [&quot;name&quot;])
2027
 
2028
Sets the line style of the object &quot;name&quot; to the style &quot;style&quot;. If &quot;name&quot;
2029
is not given the currently selected item is used. There are predefined
2030
constants for &quot;style&quot; - LINE_&lt;style&gt;.
2031
</source>
2032
        <translation type="unfinished">setLineStyle(style, [&quot;name&quot;])
2033
 
13480 subik 2034
Nastaví styl čáry objektu &quot;name&quot; na styl &quot;style&quot;.
12918 cbradney 2035
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
2036
Viz předdefinované konstanty LINE_*.</translation>
2037
    </message>
2038
    <message>
14489 cbradney 2039
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="160"/>
12918 cbradney 2040
        <source>setFillShade(shade, [&quot;name&quot;])
2041
 
2042
Sets the shading of the fill color of the object &quot;name&quot; to &quot;shade&quot;.
2043
&quot;shade&quot; must be an integer value in the range from 0 (lightest) to 100
2044
(full Color intensity). If &quot;name&quot; is not given the currently selected
2045
Item is used.
2046
 
2047
May raise ValueError if the fill shade is out of bounds.
2048
</source>
2049
        <translation type="unfinished">setFillShade(shade, [&quot;name&quot;])
2050
 
2051
Nastaví stín výplně objektu &quot;name&quot; na hodnotu &quot;shade&quot;.
2052
&quot;shade&quot; musí být celé číslo z intervalu &lt;0; 100&gt;.
2053
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
2054
 
2055
Může vyvolat výjimku ValueError, jestliže je hodnota mimo interval.</translation>
2056
    </message>
2057
    <message>
14489 cbradney 2058
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="174"/>
12918 cbradney 2059
        <source>setCornerRadius(radius, [&quot;name&quot;])
2060
 
2061
Sets the corner radius of the object &quot;name&quot;. The radius is expressed
2062
in points. If &quot;name&quot; is not given the currently selected item is used.
2063
 
2064
May raise ValueError if the corner radius is negative.
2065
</source>
2066
        <translation type="unfinished">setCornerRadius(radius, [&quot;name&quot;])
2067
 
2068
Nastaví poloměr zaoblení rohů objektu &quot;name&quot;. Poloměr je vyjádřen v bodech.
2069
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
2070
 
2071
Může vyvolat výjimku ValueError, když je poloměr negativní.</translation>
2072
    </message>
2073
    <message>
14489 cbradney 2074
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="186"/>
12918 cbradney 2075
        <source>setMultiLine(&quot;namedStyle&quot;, [&quot;name&quot;])
2076
 
2077
Sets the line style of the object &quot;name&quot; to the named style &quot;namedStyle&quot;.
2078
If &quot;name&quot; is not given the currently selected item is used.
2079
 
2080
May raise NotFoundError if the line style doesn&apos;t exist.
2081
</source>
2082
        <translation type="unfinished">setMultiLine(&quot;namedStyle&quot;, [&quot;name&quot;])
2083
 
13480 subik 2084
Nastaví styl čar objektu &quot;name&quot; na definovaný styl &quot;namedStyle&quot;.
12918 cbradney 2085
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
2086
 
2087
Může vyvolat výjimku NotFoundError, jestliže styl neexistuje.</translation>
2088
    </message>
2089
    <message>
14489 cbradney 2090
        <location filename="../../../scribus/plugins/scriptplugin/cmdstyle.h" line="22"/>
12918 cbradney 2091
        <source>createParagraphStyle(...)
2092
 
2093
Creates a paragraph style. This function takes the following keyword parameters:
2094
 
2095
&quot;name&quot; [required] -&gt; specifies the name of the paragraphstyle to create
2096
 
2097
linespacingmode [optional] -&gt; specifies the linespacing mode; possible modes are:
2098
 
2099
fixed linespacing:          0
2100
 
2101
automatic linespacing:      1
2102
 
2103
baseline grid linespacing:  2
2104
 
2105
linespacing [optional] -&gt; specifies the linespacing if using fixed linespacing
2106
 
2107
alignment [optional] -&gt; specifies the alignment of the paragraph
2108
 
2109
-&gt; left:     0
2110
 
2111
-&gt; center:   1
2112
 
2113
-&gt; right:    2
2114
 
2115
-&gt; justify:  3
2116
 
2117
-&gt; extend:   4
2118
 
2119
leftmargin [optional], rightmargin [optional] -&gt; specify the margin
2120
 
2121
gapbefore [optional], gapafter [optional] -&gt; specify the gaps to the heading and following paragraphs
2122
 
2123
firstindent [optional] -&gt; the indent of the first line
2124
 
2125
hasdropcap [optional] -&gt; specifies if there are caps (1 = yes, 0 = no)
2126
 
2127
dropcaplines [optional] -&gt; height (in lines) of the caps if used
2128
 
2129
dropcapoffset [optional] -&gt; offset of the caps if used
2130
 
2131
&quot;charstyle&quot; [optional] -&gt; char style to use
2132
 
2133
</source>
2134
        <translation type="unfinished"></translation>
2135
    </message>
2136
    <message>
14489 cbradney 2137
        <location filename="../../../scribus/plugins/scriptplugin/cmdstyle.h" line="52"/>
12918 cbradney 2138
        <source>createCharStyle(...)
2139
 
2140
Creates a character style. This function takes the following keyword parameters:
2141
 
2142
&quot;name&quot; [required] -&gt; name of the char style to create
2143
 
2144
&quot;font&quot; [optional] -&gt; name of the font to use
2145
 
2146
fontsize [optional] -&gt; font size to set (double)
2147
 
2148
&quot;features&quot; [optional] -&gt; nearer typographic details can be defined by a string that might contain the following phrases comma-seperated (without spaces!):
2149
 
2150
-&gt; inherit
2151
 
2152
-&gt; bold
2153
 
2154
-&gt; italic
2155
 
2156
-&gt; underline
2157
 
2158
-&gt; underlinewords
2159
 
2160
-&gt; strike
2161
 
2162
-&gt; superscript
2163
 
2164
-&gt; subscript
2165
 
2166
-&gt; outline
2167
 
2168
-&gt; shadowed
2169
 
2170
-&gt; allcaps
2171
 
2172
-&gt; smallcaps
2173
 
2174
&quot;fillcolor&quot; [optional], &quot;fillshade&quot; [optional] -&gt; specify fill options
2175
 
2176
&quot;strokecolor&quot; [optional], &quot;strokeshade&quot; [optional] -&gt; specify stroke options
2177
 
2178
baselineoffset [optional] -&gt; offset of the baseline
2179
 
2180
shadowxoffset [optional], shadowyoffset [optional] -&gt; offset of the shadow if used
2181
 
2182
outlinewidth [optional] -&gt; width of the outline if used
2183
 
2184
underlineoffset [optional], underlinewidth [optional] -&gt; underline options if used
2185
 
2186
strikethruoffset [optional], strikethruwidth [optional] -&gt; strikethru options if used
2187
 
2188
scaleh [optional], scalev [optional] -&gt; scale of the chars
2189
 
2190
tracking [optional] -&gt; tracking of the text
2191
 
2192
&quot;language&quot; [optional] -&gt; language code
2193
 
2194
</source>
2195
        <translation type="unfinished"></translation>
2196
    </message>
2197
    <message>
14489 cbradney 2198
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="17"/>
1525 cbradney 2199
        <source>getFontSize([&quot;name&quot;]) -&gt; float
1135 cbradney 2200
 
2201
Returns the font size in points for the text frame &quot;name&quot;. If this text
2202
frame has some text selected the value assigned to the first character of
2203
the selection is returned.
2204
If &quot;name&quot; is not given the currently selected item is used.
2205
</source>
12612 cbradney 2206
        <translation type="unfinished">getFontSize([&quot;name&quot;]) -&gt; float
1135 cbradney 2207
 
2208
Vráti velikost písma v bodech rámce &quot;name&quot;. Jestliže je
2209
vybrán nějaký text, vrátí velikost prvního znaku výběru.
2210
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
2211
    </message>
2212
    <message>
14489 cbradney 2213
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="29"/>
12918 cbradney 2214
        <source>getFont([&quot;name&quot;]) -&gt; string
2215
 
2216
Returns the font name for the text frame &quot;name&quot;. If this text frame
2217
has some text selected the value assigned to the first character
2218
of the selection is returned. If &quot;name&quot; is not given the currently
2219
selected item is used.
2220
</source>
2221
        <translation type="unfinished">getFont([&quot;name&quot;]) -&gt; string
2222
 
13480 subik 2223
Vrátí název písma textového rámce &quot;name&quot;. Jestliže je v rámu vybraný
12918 cbradney 2224
nějaký text, pak vrátí písmo prvního znaku výběru.
2225
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
2226
    </message>
2227
    <message>
14489 cbradney 2228
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="41"/>
12918 cbradney 2229
        <source>getTextLength([&quot;name&quot;]) -&gt; integer
2230
 
2231
Returns the length of the text in the text frame &quot;name&quot;.
2232
If &quot;name&quot; is not given the currently selected item is used.
2233
</source>
2234
        <translation type="unfinished">getTextLength([&quot;name&quot;]) -&gt; integer
2235
 
2236
Vrátí délku textu textového rámce &quot;name&quot;.
2237
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
2238
    </message>
2239
    <message>
14489 cbradney 2240
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="51"/>
12918 cbradney 2241
        <source>getTextLines([&quot;name&quot;]) -&gt; integer
2242
 
2243
Returns the number of lines of the text in the text frame &quot;name&quot;.
2244
If &quot;name&quot; is not given the currently selected item is used.
2245
</source>
2246
        <translation type="unfinished"></translation>
2247
    </message>
2248
    <message>
14489 cbradney 2249
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="61"/>
12918 cbradney 2250
        <source>getText([&quot;name&quot;]) -&gt; string
2251
 
2252
Returns the text of the text frame &quot;name&quot;. If this text frame has some text
2253
selected, the selected text is returned. All text in the frame, not just
2254
currently visible text, is returned. If &quot;name&quot; is not given the currently
2255
selected item is used.
2256
</source>
2257
        <translation type="unfinished">getText([&quot;name&quot;]) -&gt; string
2258
 
13480 subik 2259
Vrátí obsah textového rámce &quot;name&quot;. Jestliže je vrámu nějaký výběr, pak
12918 cbradney 2260
je výsledkem obsah výběru. Vrátí celý text, ne jen viditelný.
2261
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
2262
    </message>
2263
    <message>
14489 cbradney 2264
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="73"/>
12918 cbradney 2265
        <source>getAllText([&quot;name&quot;]) -&gt; string
2266
 
2267
Returns the text of the text frame &quot;name&quot; and of all text frames which are
2268
linked with this frame. If this textframe has some text selected, the selected
2269
text is returned. If &quot;name&quot; is not given the currently selected item is
2270
used.
2271
</source>
2272
        <translation type="unfinished">getAllText([&quot;name&quot;]) -&gt; string
2273
 
2274
Vrátí obsah textového rámce včetně kompletního textu všech zřetězených
2275
rámů. Jestliže existuje nějaký výběr, pak je výsledkem obsah výběru.
2276
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
2277
    </message>
2278
    <message>
14489 cbradney 2279
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="85"/>
12918 cbradney 2280
        <source>getLineSpacing([&quot;name&quot;]) -&gt; float
2281
 
2282
Returns the line spacing (&quot;leading&quot;) of the text frame &quot;name&quot; expressed in
2283
points. If &quot;name&quot; is not given the currently selected item is used.
2284
</source>
2285
        <translation type="unfinished">getLineSpacing([&quot;name&quot;]) -&gt; float
2286
 
2287
Vrátí velikost řádkování textového rámce &quot;name&quot; vyjádřené v bodech.
2288
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
2289
    </message>
2290
    <message>
14489 cbradney 2291
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="95"/>
12918 cbradney 2292
        <source>getTextDistances([&quot;name&quot;]) -&gt; tuple
2293
 
2294
Returns the text distances of the text frame &quot;name&quot; expressed in points. The
2295
distances are returned as a tuple like (left, right, top, bottom). If &quot;name&quot;
2296
is not given the currently selected item is used.
2297
</source>
2298
        <translation type="unfinished"></translation>
2299
    </message>
2300
    <message>
14489 cbradney 2301
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="106"/>
12918 cbradney 2302
        <source>getColumnGap([&quot;name&quot;]) -&gt; float
2303
 
2304
Returns the column gap size of the text frame &quot;name&quot; expressed in points. If
2305
&quot;name&quot; is not given the currently selected item is used.
2306
</source>
2307
        <translation type="unfinished">getColumnGap([&quot;name&quot;]) -&gt; float
2308
 
2309
Vrátí velikost mezisloupcové mezery textového rámce &quot;name&quot; vyjádřenou v bodech.
2310
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
2311
    </message>
2312
    <message>
14489 cbradney 2313
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="116"/>
12918 cbradney 2314
        <source>getColumns([&quot;name&quot;]) -&gt; integer
2315
 
2316
Gets the number of columns of the text frame &quot;name&quot;. If &quot;name&quot; is not
2317
given the currently selected item is used.
2318
</source>
2319
        <translation type="unfinished">getColumns([&quot;name&quot;]) -&gt; integer
2320
 
2321
Vrátí počet sloupců textového rámce &quot;name&quot;.
2322
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
2323
    </message>
2324
    <message>
14489 cbradney 2325
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="126"/>
12918 cbradney 2326
        <source>setText(&quot;text&quot;, [&quot;name&quot;])
2327
 
2328
Sets the text of the text frame &quot;name&quot; to the text of the string &quot;text&quot;.
2329
Text must be UTF8 encoded - use e.g. unicode(text, &apos;iso-8859-2&apos;). See the FAQ
2330
for more details. If &quot;name&quot; is not given the currently selected item is
2331
used.
2332
</source>
2333
        <translation type="unfinished">setText(&quot;text&quot;, [&quot;name&quot;])
2334
 
2335
Vyplní obsah textového rámce &quot;name&quot; textem &quot;text&quot;. Text musí být v UTF8
2336
kódování - použijte např. unicode(text, &apos;iso-8859-2&apos;). Viz FAQ.
2337
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
2338
    </message>
2339
    <message>
14489 cbradney 2340
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="138"/>
12918 cbradney 2341
        <source>insertText(&quot;text&quot;, pos, [&quot;name&quot;])
2342
 
2343
Inserts the text &quot;text&quot; at the position &quot;pos&quot; into the text frame &quot;name&quot;.
2344
Text must be UTF encoded (see setText() as reference) The first character has an
2345
index of 0. Inserting text at position -1 appends it to the frame. If &quot;name&quot; is
2346
not given the currently selected Item is used.
2347
 
2348
May throw IndexError for an insertion out of bounds.
2349
</source>
2350
        <translation type="unfinished"></translation>
2351
    </message>
2352
    <message>
14489 cbradney 2353
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="152"/>
12918 cbradney 2354
        <source>setFont(&quot;font&quot;, [&quot;name&quot;])
2355
 
2356
Sets the font of the text frame &quot;name&quot; to &quot;font&quot;. If there is some text
2357
selected only the selected text is changed.  If &quot;name&quot; is not given the
2358
currently selected item is used.
2359
 
2360
May throw ValueError if the font cannot be found.
2361
</source>
2362
        <translation type="unfinished">setFont(&quot;font&quot;, [&quot;name&quot;])
2363
 
2364
Nastaví písmo &quot;font&quot; textového rámce &quot;frame&quot;. Jestliže v rámci existuje
2365
výběr, je písmo aplikováno pouze na něj.
2366
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
2367
 
2368
Může vyvolat výjimku ValueError, jestliže písmo neexistuje.</translation>
2369
    </message>
2370
    <message>
14489 cbradney 2371
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="165"/>
12918 cbradney 2372
        <source>setFontSize(size, [&quot;name&quot;])
2373
 
2374
Sets the font size of the text frame &quot;name&quot; to &quot;size&quot;. &quot;size&quot; is treated
2375
as a value in points. If there is some text selected only the selected text is
2376
changed. &quot;size&quot; must be in the range 1 to 512. If &quot;name&quot; is not given the
2377
currently selected item is used.
2378
 
2379
May throw ValueError for a font size that&apos;s out of bounds.
2380
</source>
2381
        <translation type="unfinished">setFontSize(size, [&quot;name&quot;])
2382
 
2383
Nastaví velikost písma textového rámce &quot;name&quot; na velikost &quot;size&quot;. Velikost
2384
je vyjádřena v bodech. Jestliže je v rámu nějaký výběr, pak je změna
2385
aplikována pouze na něj. Velikost musí být v intervalu &lt;1; 512&gt;.
2386
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
2387
 
2388
Může vyvolat výjimlu ValueError, jestliže je velikost mimo interval.</translation>
2389
    </message>
2390
    <message>
14489 cbradney 2391
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="179"/>
12918 cbradney 2392
        <source>setLineSpacing(size, [&quot;name&quot;])
2393
 
2394
Sets the line spacing (&quot;leading&quot;) of the text frame &quot;name&quot; to &quot;size&quot;.
2395
&quot;size&quot; is a value in points. If &quot;name&quot; is not given the currently selected
2396
item is used.
2397
 
2398
May throw ValueError if the line spacing is out of bounds.
2399
</source>
2400
        <translation type="unfinished">setLineSpacing(size, [&quot;name&quot;])
2401
 
2402
Nastaví řádkování textového rámu &quot;name&quot; na velikost &quot;size&quot;. Velikost
2403
je uváděna v bodech.
2404
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
2405
 
2406
Může vyvolat výjimku ValueError, jestliže je velikost mimo rozsah.</translation>
2407
    </message>
2408
    <message>
14489 cbradney 2409
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="192"/>
12918 cbradney 2410
        <source>setTextDistances(left, right, top, bottom, [&quot;name&quot;])
2411
 
2412
Sets the text distances of the text frame &quot;name&quot; to the values &quot;left&quot;
2413
&quot;right&quot;, &quot;top&quot; and &quot;bottom&quot;. If &quot;name&quot; is not given the currently
2414
selected item is used.
2415
 
2416
May throw ValueError if any of the distances are out of bounds (must be positive).
2417
</source>
2418
        <translation type="unfinished"></translation>
2419
    </message>
2420
    <message>
14489 cbradney 2421
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="205"/>
12918 cbradney 2422
        <source>setColumnGap(size, [&quot;name&quot;])
2423
 
2424
Sets the column gap of the text frame &quot;name&quot; to the value &quot;size&quot;. If
2425
&quot;name&quot; is not given the currently selected item is used.
2426
 
2427
May throw ValueError if the column gap is out of bounds (must be positive).
2428
</source>
2429
        <translation type="unfinished">setColumnGap(size, [&quot;name&quot;])
2430
 
2431
Nastaví mezisloupcovou mezeru textového rámce &quot;name&quot; na velikost &quot;size&quot;.
2432
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
2433
 
2434
Může vyvolat výjimku ValueError, jestliže není velikost kladná hodnota.</translation>
2435
    </message>
2436
    <message>
14489 cbradney 2437
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="217"/>
12918 cbradney 2438
        <source>setColumns(nr, [&quot;name&quot;])
2439
 
2440
Sets the number of columns of the text frame &quot;name&quot; to the integer &quot;nr&quot;.
2441
If &quot;name&quot; is not given the currently selected item is used.
2442
 
2443
May throw ValueError if number of columns is not at least one.
2444
</source>
2445
        <translation type="unfinished">setColumns(nr, [&quot;name&quot;])
2446
 
2447
Nastaví počet sloupců textového rámce &quot;name&quot; na počet &quot;nr&quot;.
2448
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
2449
 
2450
Může vyvolat výjimku ValueError, jetsliže je &quot;nr&quot; menší něž 1.</translation>
2451
    </message>
2452
    <message>
14489 cbradney 2453
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="229"/>
12918 cbradney 2454
        <source>setTextAlignment(align, [&quot;name&quot;])
2455
 
2456
Sets the text alignment of the text frame &quot;name&quot; to the specified alignment.
2457
If &quot;name&quot; is not given the currently selected item is used. &quot;align&quot; should
2458
be one of the ALIGN_ constants defined in this module - see dir(scribus).
2459
 
2460
May throw ValueError for an invalid alignment constant.
2461
</source>
2462
        <translation type="unfinished">setTextAlignment(align, [&quot;name&quot;])
2463
 
2464
Nastaví zarovnání textu rámce &quot;name&quot;. Jestliže není &quot;name&quot; uvedeno, použije
2465
vybraný objekt. &quot;align&quot; by měla být jedna z předdefinovaných konstant ALIGN_*.
2466
 
2467
Může vyvolat výjimku ValueError, jestliže je &quot;align&quot; nepodporované číslo.</translation>
2468
    </message>
2469
    <message>
14489 cbradney 2470
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="242"/>
12918 cbradney 2471
        <source>selectText(start, count, [&quot;name&quot;])
2472
 
2473
Selects &quot;count&quot; characters of text in the text frame &quot;name&quot; starting from the
2474
character &quot;start&quot;. Character counting starts at 0. If &quot;count&quot; is zero, any
2475
text selection will be cleared.  If &quot;name&quot; is not given the currently
2476
selected item is used.
2477
 
2478
May throw IndexError if the selection is outside the bounds of the text.
2479
</source>
2480
        <translation type="unfinished">selectText(start, count, [&quot;name&quot;])
2481
 
2482
Označí jako vybraný počet &quot;count&quot; znaků v textovém rámci &quot;name&quot; od pozice
2483
&quot;start&quot;. První znak rámce má pozici 0. Jestliže je &quot;count&quot; nula, výběr je zrušen.
2484
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
2485
 
2486
Může vyvolat výjimku IndexError, jestliže je výběr mimo text rámce.</translation>
2487
    </message>
2488
    <message>
14489 cbradney 2489
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="256"/>
12918 cbradney 2490
        <source>deleteText([&quot;name&quot;])
2491
 
2492
Deletes any text in the text frame &quot;name&quot;. If there is some text selected,
2493
only the selected text will be deleted. If &quot;name&quot; is not given the currently
2494
selected item is used.
2495
</source>
2496
        <translation type="unfinished">deleteText([&quot;name&quot;])
2497
 
2498
Smaže text z textového rámce &quot;name&quot;. Jestliže je v rámu nějaký výběr,
2499
pak je smazán pouze on. Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
2500
    </message>
2501
    <message>
14489 cbradney 2502
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="267"/>
12918 cbradney 2503
        <source>setTextColor(&quot;color&quot;, [&quot;name&quot;])
2504
 
2505
Sets the text color of the text frame &quot;name&quot; to the color &quot;color&quot;. If there
2506
is some text selected only the selected text is changed. If &quot;name&quot; is not
2507
given the currently selected item is used.
2508
</source>
2509
        <translation type="unfinished">setTextColor(&quot;color&quot;, [&quot;name&quot;])
2510
 
2511
Nastaví barvu textu rámce &quot;name&quot; na barvu &quot;color&quot;. Jestliže v rámci
2512
existuje výběr, pak je barva aplikována pouze na něj.
2513
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
2514
    </message>
2515
    <message>
14489 cbradney 2516
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="278"/>
12918 cbradney 2517
        <source>setTextStroke(&quot;color&quot;, [&quot;name&quot;])
2518
 
2519
Set &quot;color&quot; of the text stroke. If &quot;name&quot; is not given the currently
2520
selected item is used.
2521
</source>
2522
        <translation type="unfinished">setTextStroke(&quot;color&quot;, [&quot;name&quot;])
2523
 
2524
Nastaví barvu &quot;color&quot; tahu textu v textovém rámci &quot;name&quot;.
2525
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
2526
    </message>
2527
    <message>
14489 cbradney 2528
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="308"/>
12918 cbradney 2529
        <source>setTextShade(shade, [&quot;name&quot;])
2530
 
2531
Sets the shading of the text color of the object &quot;name&quot; to &quot;shade&quot;. If
2532
there is some text selected only the selected text is changed. &quot;shade&quot; must
2533
be an integer value in the range from 0 (lightest) to 100 (full color
2534
intensity). If &quot;name&quot; is not given the currently selected item is
2535
used.
2536
</source>
2537
        <translation type="unfinished">setTextShade(shade, [&quot;name&quot;])
2538
 
2539
Nastaví stín textu v textovém rámci &quot;name&quot; na hodnotu &quot;shade&quot;. Jetsliže
2540
v rámci existuje výběr, pak je aplikován pouze na něj. Stín musí být celé
2541
číslo z intervalu &lt;1; 100&gt;.
2542
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
2543
    </message>
2544
    <message>
14489 cbradney 2545
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="321"/>
12918 cbradney 2546
        <source>linkTextFrames(&quot;fromname&quot;, &quot;toname&quot;)
2547
 
2548
Link two text frames. The frame named &quot;fromname&quot; is linked to the
2549
frame named &quot;toname&quot;. The target frame must be an empty text frame
2550
and must not link to or be linked from any other frames already.
2551
 
2552
May throw ScribusException if linking rules are violated.
2553
</source>
2554
        <translation type="unfinished">linkTextFrames(&quot;fromname&quot;, &quot;toname&quot;)
2555
 
2556
zřetězí dva textové rámce. Rámec &quot;fromname&quot; je před rámcem &quot;toname&quot;.
2557
&quot;toname&quot; musí být prázdný a ještě neslinkovaný textový rámec.
2558
 
2559
Může vyvolat výjimku ScribusException, jestliže jsou porušena pravidla řetězení.</translation>
2560
    </message>
2561
    <message>
14489 cbradney 2562
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="338"/>
12918 cbradney 2563
        <source>unlinkTextFrames(&quot;name&quot;)
2564
 
2565
Remove the specified (named) object from the text frame flow/linkage. If the
2566
frame was in the middle of a chain, the previous and next frames will be
2567
connected, eg &apos;a-&gt;b-&gt;c&apos; becomes &apos;a-&gt;c&apos; when you unlinkTextFrames(b)&apos;
2568
 
2569
May throw ScribusException if linking rules are violated.
2570
</source>
2571
        <translation type="unfinished">unlinkTextFrames(&quot;name&quot;)
2572
 
2573
Odstraní objekt &quot;name&quot; ze zřetězených textových rámců. Např. sekvence
2574
a-&gt;b-&gt;c bude a-&gt;c po vykonání unlinkTextFrames(b)
2575
 
2576
Může vyvolat výjimku ScribusException, jestliže jsou porušena pravidla zřetězení.</translation>
2577
    </message>
2578
    <message>
14489 cbradney 2579
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="355"/>
12918 cbradney 2580
        <source>traceText([&quot;name&quot;])
2581
 
2582
Convert the text frame &quot;name&quot; to outlines. If &quot;name&quot; is not given the
2583
currently selected item is used.</source>
2584
        <translation type="unfinished">traceText([&quot;name&quot;])
2585
 
2586
Převede textový rámec &quot;name&quot; na obrys.
2587
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
2588
    </message>
2589
    <message>
14489 cbradney 2590
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="366"/>
12918 cbradney 2591
        <source>textOverflows([&quot;name&quot;, nolinks]) -&gt; integer
2592
 
2593
Returns the actual number of overflowing characters in text frame &quot;name&quot;.
2594
If is nolinks set to non zero value it takes only one frame - it doesn&apos;t
2595
use text frame linking. Without this parameter it search all linking chain.
2596
 
2597
May raise WrongFrameTypeError if the target frame is not an text frame
2598
</source>
2599
        <translation type="unfinished"></translation>
2600
    </message>
2601
    <message>
14489 cbradney 2602
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="379"/>
12918 cbradney 2603
        <source>hyphenateText([&quot;name&quot;]) -&gt; bool
2604
 
2605
Does hyphenation on text frame &quot;name&quot;.
2606
If &quot;name&quot; is not given the currently selected item is used.
2607
 
2608
May raise WrongFrameTypeError if the target frame is not a text frame
2609
</source>
2610
        <translation type="unfinished"></translation>
2611
    </message>
2612
    <message>
14489 cbradney 2613
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="393"/>
12918 cbradney 2614
        <source>dehyphenateText([&quot;name&quot;]) -&gt; bool
2615
 
2616
Does dehyphenation on text frame &quot;name&quot;.
2617
If &quot;name&quot; is not given the currently selected item is used.
2618
 
2619
May raise WrongFrameTypeError if the target frame is not a text frame
2620
</source>
2621
        <translation type="unfinished"></translation>
2622
    </message>
2623
    <message>
14489 cbradney 2624
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="408"/>
12918 cbradney 2625
        <source>setPDFBookmark(&quot;toggle&quot;, [&quot;name&quot;])
2626
 
2627
Sets whether (toggle = 1) the text frame &quot;name&quot; is a bookmark nor not.
2628
If &quot;name&quot; is not given the currently selected item is used.
2629
 
2630
May raise WrongFrameTypeError if the target frame is not a text frame
2631
</source>
2632
        <translation type="unfinished"></translation>
2633
    </message>
2634
    <message>
14489 cbradney 2635
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="420"/>
12918 cbradney 2636
        <source>isPDFBookmark([&quot;name&quot;]) -&gt; bool
2637
 
2638
Returns true if the text frame &quot;name&quot; is a PDF bookmark.
2639
If &quot;name&quot; is not given the currently selected item is used.
2640
 
2641
May raise WrongFrameTypeError if the target frame is not a text frame
2642
</source>
2643
        <translation type="unfinished">isPDFBookmark([&quot;name&quot;]) -&gt; bool
2644
 
2645
Returns true if the text frame &quot;name&quot; is a PDF bookmark.
2646
If &quot;name&quot; is not given the currently selected item is used.
2647
 
2648
May raise WrongFrameTypeError if the target frame is not a text frame</translation>
2649
    </message>
2650
    <message>
14489 cbradney 2651
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="17"/>
12918 cbradney 2652
        <source>messagebarText(&quot;string&quot;)
2653
 
2654
Writes the &quot;string&quot; into the Scribus message bar (status line). The text
2655
must be UTF8 encoded or &apos;unicode&apos; string(recommended).
2656
</source>
2657
        <translation type="unfinished">messagebarText(&quot;string&quot;)
2658
 
2659
Zapíše řetězec &quot;string&quot; do stavového řádku Scribusu. Text musí být kódován
2660
UTF8 nebo unicode (např. unicode(&quot;text&quot;, &quot;iso-8859-2&quot;)).</translation>
2661
    </message>
2662
    <message>
14489 cbradney 2663
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="30"/>
12918 cbradney 2664
        <source>progressReset()
2665
 
2666
Cleans up the Scribus progress bar previous settings. It is called before the
2667
new progress bar use. See progressSet.
2668
</source>
2669
        <translation type="unfinished">progressReset()
2670
 
2671
Zruší předchozí nastavení progress baru. Je to vhodné použít před novým použitím P.B.</translation>
2672
    </message>
2673
    <message>
14489 cbradney 2674
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="43"/>
12918 cbradney 2675
        <source>progressTotal(max)
2676
 
2677
Sets the progress bar&apos;s maximum steps value to the specified number.
2678
See progressSet.
2679
</source>
2680
        <translation type="unfinished">progressTotal(max)
2681
 
2682
Nastaví maximální možný počet kroků (zaplnění) progress baru.</translation>
2683
    </message>
2684
    <message>
14489 cbradney 2685
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="52"/>
12918 cbradney 2686
        <source>progressSet(nr)
2687
 
2688
Set the progress bar position to &quot;nr&quot;, a value relative to the previously set
2689
progressTotal. The progress bar uses the concept of steps; you give it the
2690
total number of steps and the number of steps completed so far and it will
2691
display the percentage of steps that have been completed. You can specify the
2692
total number of steps with progressTotal(). The current number of steps is set
2693
with progressSet(). The progress bar can be rewound to the beginning with
2694
progressReset(). [based on info taken from Trolltech&apos;s Qt docs]
2695
</source>
2696
        <translation type="unfinished">progressSet(nr)
2697
 
2698
Nastaví pozici progress baru na &quot;nr&quot;. Progress bar využívá koncept &quot;kroků&quot;.
2699
Musíte zadat maximální počet kroků (progressTotal()) a nastavovat je (progressSet()).
2700
Po použití P.B. je vhodné jej vynulovat, t.j. použít progressReset(). Viz dokumentace
2701
Qt</translation>
2702
    </message>
2703
    <message>
14489 cbradney 2704
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="66"/>
12918 cbradney 2705
        <source>setCursor()
2706
 
2707
[UNSUPPORTED!] This might break things, so steer clear for now.
2708
</source>
2709
        <translation type="unfinished">[UNSUPPORTED!] This might break things, so steer clear for now.</translation>
2710
    </message>
2711
    <message>
14489 cbradney 2712
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="78"/>
12918 cbradney 2713
        <source>docChanged(bool)
2714
 
2715
Enable/disable save icon in the Scribus icon bar and the Save menu item. It&apos;s
2716
useful to call this procedure when you&apos;re changing the document, because Scribus
2717
won&apos;t automatically notice when you change the document using a script.
2718
</source>
2719
        <translation type="unfinished">docChanged(bool)
2720
 
2721
Povolí/zakáže ikonu &quot;uložit&quot; a položku menu &quot;Uložit&quot; v hlavním okně Scribusu.
2722
Proceduru volejte, jestliže jste něco ve svém skriptu změnili, protože Scribus
2723
tuto akci nezajistí automaticky.</translation>
2724
    </message>
2725
    <message>
14489 cbradney 2726
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="91"/>
12918 cbradney 2727
        <source>zoomDocument(double)
2728
 
2729
Zoom the document in main GUI window. Actions have whole number
2730
values like 20.0, 100.0, etc. Zoom to Fit uses -100 as a marker.
2731
</source>
2732
        <translation type="unfinished"></translation>
2733
    </message>
2734
    <message>
14489 cbradney 2735
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="103"/>
12918 cbradney 2736
        <source>scrollDocument(x,y)
2737
 
2738
Scroll the document in main GUI window by x and y.
2739
</source>
2740
        <translation type="unfinished"></translation>
2741
    </message>
2742
    <message>
14489 cbradney 2743
        <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="15"/>
12918 cbradney 2744
        <source>placeSVG(&quot;filename&quot;, x, y)
2745
 
2746
Places the SVG &quot;filename&quot; onto the current page,
2747
x and y specify the coordinate of the topleft corner of the SVG placed on the page
2748
 
2749
If loading was successful, the selection contains the imported SVG
2750
</source>
2751
        <translation type="unfinished"></translation>
2752
    </message>
2753
    <message>
14489 cbradney 2754
        <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="27"/>
12918 cbradney 2755
        <source>placeEPS(&quot;filename&quot;, x, y)
2756
 
2757
Places the EPS &quot;filename&quot; onto the current page,
2758
x and y specify the coordinate of the topleft corner of the EPS placed on the page
2759
 
2760
If loading was successful, the selection contains the imported EPS
2761
</source>
2762
        <translation type="unfinished"></translation>
2763
    </message>
2764
    <message>
14489 cbradney 2765
        <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="39"/>
12918 cbradney 2766
        <source>placeSXD(&quot;filename&quot;, x, y)
2767
 
2768
Places the SXD &quot;filename&quot; onto the current page,
2769
x and y specify the coordinate of the topleft corner of the SXD placed on the page
2770
 
2771
If loading was successful, the selection contains the imported SXD
2772
</source>
2773
        <translation type="unfinished"></translation>
2774
    </message>
2775
    <message>
14489 cbradney 2776
        <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="51"/>
12918 cbradney 2777
        <source>placeODG(&quot;filename&quot;, x, y)
2778
 
2779
Places the ODG &quot;filename&quot; onto the current page,
2780
x and y specify the coordinate of the topleft corner of the ODG placed on the page
2781
 
2782
If loading was successful, the selection contains the imported ODG
2783
</source>
2784
        <translation type="unfinished"></translation>
2785
    </message>
13279 cbradney 2786
    <message>
14489 cbradney 2787
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="113"/>
13279 cbradney 2788
        <source>isSpotColor(&quot;name&quot;) -&gt; bool
2789
 
2790
Returns True if the color &quot;name&quot; is a spot color.
2791
See also setSpotColor()
2792
 
2793
May raise NotFoundError if a named color wasn&apos;t found.
2794
May raise ValueError if an invalid color name is specified.
2795
</source>
2796
        <translation type="unfinished"></translation>
2797
    </message>
2798
    <message>
14489 cbradney 2799
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="128"/>
13279 cbradney 2800
        <source>setSpotColor(&quot;name&quot;, spot)
2801
 
2802
Set the color &quot;name&quot; as a spot color if spot parameter is True.
2803
See also isSpotColor()
2804
 
2805
May raise NotFoundError if a named color wasn&apos;t found.
2806
May raise ValueError if an invalid color name is specified.
2807
</source>
2808
        <translation type="unfinished"></translation>
2809
    </message>
2810
    <message>
14489 cbradney 2811
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="159"/>
13279 cbradney 2812
        <source>scaleImage(x, y [, &quot;name&quot;])
2813
 
2814
Sets the internal scaling factors of the picture in the image frame &quot;name&quot;.
2815
If &quot;name&quot; is not given the currently selected item is used. A number of 1
2816
means 100 %. Internal scaling factors are different from the values shown on
2817
properties palette. Note : deprecated, use setImageScale() instead.
2818
 
2819
May raise WrongFrameTypeError if the target frame is not an image frame
2820
</source>
2821
        <translation type="unfinished"></translation>
2822
    </message>
2823
    <message>
14489 cbradney 2824
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="173"/>
13279 cbradney 2825
        <source>setImageScale(x, y [, &quot;name&quot;])
2826
 
2827
Sets the scaling factors of the picture in the image frame &quot;name&quot;.
2828
If &quot;name&quot; is not given the currently selected item is used. A number of 1
2829
means 100 %. Scaling factors are equal to the values shown on properties palette.
2830
 
2831
May raise WrongFrameTypeError if the target frame is not an image frame
2832
</source>
2833
        <translation type="unfinished"></translation>
2834
    </message>
2835
    <message>
14489 cbradney 2836
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="28"/>
13279 cbradney 2837
        <source>setGradientStop(&quot;color&quot;, shade, opacity, ramppoint, [&quot;name&quot;])
2838
 
2839
Set or add a gradient stop to the gradient fill of the object &quot;name&quot; at position ramppoint.
2840
Color descriptions are the same as for setFillColor() and setFillShade(). setGradientFill()
2841
must have been called previously for the gradient fill to be visible.
2842
</source>
2843
        <translation type="unfinished"></translation>
2844
    </message>
2845
    <message>
14489 cbradney 2846
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="288"/>
13279 cbradney 2847
        <source>setTextScalingV(scale, [&quot;name&quot;])
2848
 
2849
Sets the vertical character scaling of the object &quot;name&quot; to &quot;scale&quot; in percent.
2850
If &quot;name&quot; is not given the currently selected item is used.
2851
</source>
2852
        <translation type="unfinished"></translation>
2853
    </message>
2854
    <message>
14489 cbradney 2855
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="298"/>
13279 cbradney 2856
        <source>setTextScalingH(scale, [&quot;name&quot;])
2857
 
2858
Sets the horizontal character scaling of the object &quot;name&quot; to &quot;scale&quot; in percent.
2859
If &quot;name&quot; is not given the currently selected item is used.
2860
</source>
2861
        <translation type="unfinished"></translation>
2862
    </message>
12918 cbradney 2863
</context>
2864
<context>
2865
    <name>@default</name>
2866
    <message>
2867
        <source>getFontSize([&quot;name&quot;]) -&gt; float
2868
 
2869
Returns the font size in points for the text frame &quot;name&quot;. If this text
2870
frame has some text selected the value assigned to the first character of
2871
the selection is returned.
2872
If &quot;name&quot; is not given the currently selected item is used.
2873
</source>
2874
        <translation type="obsolete">getFontSize([&quot;name&quot;]) -&gt; float
2875
 
2876
Vráti velikost písma v bodech rámce &quot;name&quot;. Jestliže je
2877
vybrán nějaký text, vrátí velikost prvního znaku výběru.
2878
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
2879
    </message>
2880
    <message>
1525 cbradney 2881
        <source>getColorNames() -&gt; list
1135 cbradney 2882
 
2883
Returns a list containing the names of all defined colors in the document.
2884
If no document is open, returns a list of the default document colors.
2885
</source>
12918 cbradney 2886
        <translation type="obsolete">getColorNames() -&gt; list
1135 cbradney 2887
 
13480 subik 2888
Vrátí seznam s názvy všech barev v dokumentu. Jestliže není žádný dokument
2889
otevřen, vrátí seznam výchozích barev.</translation>
1135 cbradney 2890
    </message>
2891
    <message>
1525 cbradney 2892
        <source>newDocDialog() -&gt; bool
1135 cbradney 2893
 
2894
Displays the &quot;New Document&quot; dialog box. Creates a new document if the user
2895
accepts the settings. Does not create a document if the user presses cancel.
2896
Returns true if a new document was created.
2897
</source>
12918 cbradney 2898
        <translation type="obsolete">newDocDialog() -&gt; bool
1135 cbradney 2899
 
2900
Zobrazí &quot;Nový dokument&quot; dialogové okno a vytvoří nový dokument poté, co
2901
uživatel potvrdí nastavení. Nic nevytvoří, jestliže uživatel okno zruší. Vrátí true,
2902
pokud je dokument vytvořen.</translation>
2903
    </message>
2904
    <message>
1525 cbradney 2905
        <source>getFillColor([&quot;name&quot;]) -&gt; string
1135 cbradney 2906
 
2907
Returns the name of the fill color of the object &quot;name&quot;.
2908
If &quot;name&quot; is not given the currently selected item is used.
2909
</source>
12918 cbradney 2910
        <translation type="obsolete">getFillColor([&quot;name&quot;]) -&gt; string
1135 cbradney 2911
 
13480 subik 2912
Vrátí název výplňové barvy objektu &quot;name&quot;.
1135 cbradney 2913
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
2914
    </message>
2915
    <message>
1525 cbradney 2916
        <source>moveObject(dx, dy [, &quot;name&quot;])
1135 cbradney 2917
 
2918
Moves the object &quot;name&quot; by dx and dy relative to its current position. The
2919
distances are expressed in the current measurement unit of the document (see
2920
UNIT constants). If &quot;name&quot; is not given the currently selected item is used.
2921
If the object &quot;name&quot; belongs to a group, the whole group is moved.
2922
</source>
12918 cbradney 2923
        <translation type="obsolete">moveObject(dx, dy [, &quot;name&quot;])
1135 cbradney 2924
 
2925
Posune objekt &quot;name&quot; relativně o dx a dy vůči aktuální pozici. Vzdálenosti
11938 subik 2926
jsou vyjádřeny v délkových jednotkách dokumentu (viz konstanty UNIT).
1135 cbradney 2927
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt. Jestliže &quot;name&quot;
2928
patří do nějaké skupiny, je posunuta celá skupina.</translation>
2929
    </message>
2930
    <message>
1525 cbradney 2931
        <source>setRedraw(bool)
1135 cbradney 2932
 
2933
Disables page redraw when bool = False, otherwise redrawing is enabled.
2934
This change will persist even after the script exits, so make sure to call
2935
setRedraw(True) in a finally: clause at the top level of your script.
2936
</source>
12918 cbradney 2937
        <translation type="obsolete">setRedraw(bool)
1135 cbradney 2938
 
2939
V případě false zruší překreslování stránek, jinak povolí. Tato změna přetrvá
2940
i po ukončení skriptu, takže se ujistěte, že zavoláte setRedraw(true) v nejvyšší
2941
úrovni skriptu.</translation>
2942
    </message>
2943
    <message>
1525 cbradney 2944
        <source>createRect(x, y, width, height, [&quot;name&quot;]) -&gt; string
1135 cbradney 2945
 
2946
Creates a new rectangle on the current page and returns its name. The
2947
coordinates are given in the current measurement units of the document
2948
(see UNIT constants). &quot;name&quot; should be a unique identifier for the object
2949
because you need this name to reference that object in future. If &quot;name&quot;
2950
is not given Scribus will create one for you.
2951
 
1525 cbradney 2952
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1135 cbradney 2953
</source>
12918 cbradney 2954
        <translation type="obsolete">createRect(x, y, width, height, [&quot;name&quot;]) -&gt; string
1135 cbradney 2955
 
13480 subik 2956
Vytvoří nový čtyřúhelník na aktuální stránce a vrátí jeho název. X, Y, W a H koordináty
11938 subik 2957
jsou dány ve zvolených měrných jednotkách dokumentu (viz konstanty UNIT*).
13480 subik 2958
&quot;name&quot; musí být jedinečný řetězec, protože slouží jako identifikátor. Jestliže není
2959
&quot;name&quot; zadáno, Scribus název vytvoří sám.
1135 cbradney 2960
 
13480 subik 2961
Může vyvolat výjimku NameExistsError, když se pokusíte zduplikovat název.</translation>
1135 cbradney 2962
    </message>
2963
    <message>
1525 cbradney 2964
        <source>setGradientFill(type, &quot;color1&quot;, shade1, &quot;color2&quot;, shade2, [&quot;name&quot;])
1135 cbradney 2965
 
2966
Sets the gradient fill of the object &quot;name&quot; to type. Color descriptions are
2967
the same as for setFillColor() and setFillShade(). See the constants for
1525 cbradney 2968
available types (FILL_&lt;type&gt;).
1135 cbradney 2969
</source>
12918 cbradney 2970
        <translation type="obsolete">setGradientFill(type, &quot;color1&quot;, shade1, &quot;color2&quot;, shade2, [&quot;name&quot;])
1135 cbradney 2971
 
2972
Nastaví gradient výplně objektu &quot;name&quot; na specifikovaný typ. Specifikace barev
11938 subik 2973
je stejná jako v setFillColor() a setFillShade(). Dostupné gradienty viz
1525 cbradney 2974
konstanty FILL_&lt;typ&gt;.</translation>
1135 cbradney 2975
    </message>
2976
    <message>
1525 cbradney 2977
        <source>messagebarText(&quot;string&quot;)
1135 cbradney 2978
 
2979
Writes the &quot;string&quot; into the Scribus message bar (status line). The text
1525 cbradney 2980
must be UTF8 encoded or &apos;unicode&apos; string(recommended).
1135 cbradney 2981
</source>
12918 cbradney 2982
        <translation type="obsolete">messagebarText(&quot;string&quot;)
1135 cbradney 2983
 
2984
Zapíše řetězec &quot;string&quot; do stavového řádku Scribusu. Text musí být kódován
2985
UTF8 nebo unicode (např. unicode(&quot;text&quot;, &quot;iso-8859-2&quot;)).</translation>
2986
    </message>
2987
    <message>
3064 cbradney 2988
        <source>newPage(where [,&quot;masterpage&quot;])
2989
 
2990
Creates a new page. If &quot;where&quot; is -1 the new Page is appended to the
2991
document, otherwise the new page is inserted before &quot;where&quot;. Page numbers are
2992
counted from 1 upwards, no matter what the displayed first page number of your
2993
document is. The optional parameter &quot;masterpage&quot; specifies the name of the
2994
master page for the new page.
2995
 
2996
May raise IndexError if the page number is out of range
2997
</source>
12918 cbradney 2998
        <translation type="obsolete">newPage(where [,&quot;masterpage&quot;])
3846 subik 2999
 
3000
Creates a new page. If &quot;where&quot; is -1 the new Page is appended to the
3001
document, otherwise the new page is inserted before &quot;where&quot;. Page numbers are
3002
counted from 1 upwards, no matter what the displayed first page number of your
3003
document is. The optional parameter &quot;masterpage&quot; specifies the name of the
3004
master page for the new page.
3005
 
3006
May raise IndexError if the page number is out of range</translation>
3064 cbradney 3007
    </message>
3008
    <message>
3009
        <source>importSVG(&quot;string&quot;)
3010
 
3011
The &quot;string&quot; must be a valid filename for a SVG image. The text
3012
must be UTF8 encoded or &apos;unicode&apos; string(recommended).
3013
</source>
12281 cbradney 3014
        <translation type="obsolete">importSVG(&quot;string&quot;)
3846 subik 3015
 
3016
The &quot;string&quot; must be a valid filename for a SVG image. The text
3017
must be UTF8 encoded or &apos;unicode&apos; string(recommended).</translation>
3064 cbradney 3018
    </message>
3824 cbradney 3019
    <message>
3020
        <source>newDocument(size, margins, orientation, firstPageNumber,
3021
                        unit, pagesType, firstPageOrder) -&gt; bool
3022
 
3023
Creates a new document and returns true if successful. The parameters have the
3024
following meaning:
3025
 
3026
size = A tuple (width, height) describing the size of the document. You can
3027
use predefined constants named PAPER_&lt;paper_type&gt; e.g. PAPER_A4 etc.
3028
 
3029
margins = A tuple (left, right, top, bottom) describing the document
3030
margins
3031
 
3032
orientation = the page orientation - constants PORTRAIT, LANDSCAPE
3033
 
3034
firstPageNumer = is the number of the first page in the document used for
3035
pagenumbering. While you&apos;ll usually want 1, it&apos;s useful to have higher
3036
numbers if you&apos;re creating a document in several parts.
3037
 
3038
unit: this value sets the measurement units used by the document. Use a
3039
predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
3040
UNIT_PICAS, UNIT_POINTS.
3041
 
3042
pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page,
3043
PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and
3044
PAGE_4 is 4-fold.
3045
 
3046
firstPageOrder = What is position of first page in the document.
3047
Indexed from 0 (0 = first).
3048
 
11345 subik 3049
numPage = Number of pages to be created.
3050
 
3824 cbradney 3051
The values for width, height and the margins are expressed in the given unit
3052
for the document. PAPER_* constants are expressed in points. If your document
3053
is not in points, make sure to account for this.
3054
 
3055
example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS,
11345 subik 3056
PAGE_4, 3, 1)
3824 cbradney 3057
 
3058
May raise ScribusError if is firstPageOrder bigger than allowed by pagesType.
3059
</source>
12281 cbradney 3060
        <translation type="obsolete">newDocument(size, margins, orientation, firstPageNumber, unit, pagesType, firstPageOrder) -&gt; bool
3846 subik 3061
 
11345 subik 3062
Creates a new document and returns true if successful. The parameters have the following meaning:
3846 subik 3063
 
3064
size = A tuple (width, height) describing the size of the document. You can
3065
use predefined constants named PAPER_&lt;paper_type&gt; e.g. PAPER_A4 etc.
3066
 
11345 subik 3067
margins = A tuple (left, right, top, bottom) describing the document margins
3846 subik 3068
 
3069
orientation = the page orientation - constants PORTRAIT, LANDSCAPE
3070
 
3071
firstPageNumer = is the number of the first page in the document used for
3072
pagenumbering. While you&apos;ll usually want 1, it&apos;s useful to have higher
3073
numbers if you&apos;re creating a document in several parts.
3074
 
3075
unit: this value sets the measurement units used by the document. Use a
3076
predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
3077
UNIT_PICAS, UNIT_POINTS.
3078
 
3079
pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page,
3080
PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and
3081
PAGE_4 is 4-fold.
3082
 
3083
firstPageOrder = What is position of first page in the document.
3084
Indexed from 0 (0 = first).
3085
 
6434 cbradney 3086
numPage = Number of pages to be created.
3087
 
3088
The values for width, height and the margins are expressed in the given unit
3089
for the document. PAPER_* constants are expressed in points. If your document
3090
is not in points, make sure to account for this.
3091
 
11345 subik 3092
example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS, PAGE_4, 3, 1)
6434 cbradney 3093
 
11345 subik 3094
May raise ScribusError if is firstPageOrder bigger than allowed by pagesType.</translation>
6434 cbradney 3095
    </message>
1135 cbradney 3096
    <message>
1525 cbradney 3097
        <source>getFont([&quot;name&quot;]) -&gt; string
1135 cbradney 3098
 
3099
Returns the font name for the text frame &quot;name&quot;. If this text frame
3100
has some text selected the value assigned to the first character
3101
of the selection is returned. If &quot;name&quot; is not given the currently
3102
selected item is used.
3103
</source>
12918 cbradney 3104
        <translation type="obsolete">getFont([&quot;name&quot;]) -&gt; string
1135 cbradney 3105
 
13480 subik 3106
Vrátí název písma textového rámce &quot;name&quot;. Jestliže je v rámu vybraný
1135 cbradney 3107
nějaký text, pak vrátí písmo prvního znaku výběru.
3108
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
3109
    </message>
3110
    <message>
1525 cbradney 3111
        <source>getTextLength([&quot;name&quot;]) -&gt; integer
1135 cbradney 3112
 
3113
Returns the length of the text in the text frame &quot;name&quot;.
3114
If &quot;name&quot; is not given the currently selected item is used.
3115
</source>
12918 cbradney 3116
        <translation type="obsolete">getTextLength([&quot;name&quot;]) -&gt; integer
1135 cbradney 3117
 
3118
Vrátí délku textu textového rámce &quot;name&quot;.
3119
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
3120
    </message>
3121
    <message>
1525 cbradney 3122
        <source>getText([&quot;name&quot;]) -&gt; string
1135 cbradney 3123
 
3124
Returns the text of the text frame &quot;name&quot;. If this text frame has some text
3125
selected, the selected text is returned. All text in the frame, not just
3126
currently visible text, is returned. If &quot;name&quot; is not given the currently
3127
selected item is used.
3128
</source>
12918 cbradney 3129
        <translation type="obsolete">getText([&quot;name&quot;]) -&gt; string
1135 cbradney 3130
 
13480 subik 3131
Vrátí obsah textového rámce &quot;name&quot;. Jestliže je vrámu nějaký výběr, pak
1135 cbradney 3132
je výsledkem obsah výběru. Vrátí celý text, ne jen viditelný.
3133
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
3134
    </message>
3135
    <message>
1525 cbradney 3136
        <source>getAllText([&quot;name&quot;]) -&gt; string
1135 cbradney 3137
 
3138
Returns the text of the text frame &quot;name&quot; and of all text frames which are
3139
linked with this frame. If this textframe has some text selected, the selected
3140
text is returned. If &quot;name&quot; is not given the currently selected item is
3141
used.
3142
</source>
12918 cbradney 3143
        <translation type="obsolete">getAllText([&quot;name&quot;]) -&gt; string
1135 cbradney 3144
 
3145
Vrátí obsah textového rámce včetně kompletního textu všech zřetězených
3146
rámů. Jestliže existuje nějaký výběr, pak je výsledkem obsah výběru.
3147
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
3148
    </message>
3149
    <message>
1525 cbradney 3150
        <source>getLineSpacing([&quot;name&quot;]) -&gt; float
1135 cbradney 3151
 
3152
Returns the line spacing (&quot;leading&quot;) of the text frame &quot;name&quot; expressed in
3153
points. If &quot;name&quot; is not given the currently selected item is used.
3154
</source>
12918 cbradney 3155
        <translation type="obsolete">getLineSpacing([&quot;name&quot;]) -&gt; float
1135 cbradney 3156
 
3157
Vrátí velikost řádkování textového rámce &quot;name&quot; vyjádřené v bodech.
3158
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
3159
    </message>
3160
    <message>
1525 cbradney 3161
        <source>getColumnGap([&quot;name&quot;]) -&gt; float
1135 cbradney 3162
 
3163
Returns the column gap size of the text frame &quot;name&quot; expressed in points. If
3164
&quot;name&quot; is not given the currently selected item is used.
3165
</source>
12918 cbradney 3166
        <translation type="obsolete">getColumnGap([&quot;name&quot;]) -&gt; float
1135 cbradney 3167
 
3168
Vrátí velikost mezisloupcové mezery textového rámce &quot;name&quot; vyjádřenou v bodech.
3169
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
3170
    </message>
3171
    <message>
1525 cbradney 3172
        <source>getColumns([&quot;name&quot;]) -&gt; integer
1135 cbradney 3173
 
3174
Gets the number of columns of the text frame &quot;name&quot;. If &quot;name&quot; is not
3175
given the currently selected item is used.
3176
</source>
12918 cbradney 3177
        <translation type="obsolete">getColumns([&quot;name&quot;]) -&gt; integer
1135 cbradney 3178
 
3179
Vrátí počet sloupců textového rámce &quot;name&quot;.
3180
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
3181
    </message>
3182
    <message>
1525 cbradney 3183
        <source>setText(&quot;text&quot;, [&quot;name&quot;])
1135 cbradney 3184
 
3185
Sets the text of the text frame &quot;name&quot; to the text of the string &quot;text&quot;.
1525 cbradney 3186
Text must be UTF8 encoded - use e.g. unicode(text, &apos;iso-8859-2&apos;). See the FAQ
1135 cbradney 3187
for more details. If &quot;name&quot; is not given the currently selected item is
3188
used.
3189
</source>
12918 cbradney 3190
        <translation type="obsolete">setText(&quot;text&quot;, [&quot;name&quot;])
1135 cbradney 3191
 
3192
Vyplní obsah textového rámce &quot;name&quot; textem &quot;text&quot;. Text musí být v UTF8
11938 subik 3193
kódování - použijte např. unicode(text, &apos;iso-8859-2&apos;). Viz FAQ.
1135 cbradney 3194
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
3195
    </message>
3196
    <message>
1525 cbradney 3197
        <source>setFont(&quot;font&quot;, [&quot;name&quot;])
1135 cbradney 3198
 
3199
Sets the font of the text frame &quot;name&quot; to &quot;font&quot;. If there is some text
3200
selected only the selected text is changed.  If &quot;name&quot; is not given the
3201
currently selected item is used.
3202
 
3203
May throw ValueError if the font cannot be found.
3204
</source>
12918 cbradney 3205
        <translation type="obsolete">setFont(&quot;font&quot;, [&quot;name&quot;])
1135 cbradney 3206
 
3207
Nastaví písmo &quot;font&quot; textového rámce &quot;frame&quot;. Jestliže v rámci existuje
3208
výběr, je písmo aplikováno pouze na něj.
3209
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
3210
 
3211
Může vyvolat výjimku ValueError, jestliže písmo neexistuje.</translation>
3212
    </message>
3213
    <message>
1525 cbradney 3214
        <source>setFontSize(size, [&quot;name&quot;])
1135 cbradney 3215
 
3216
Sets the font size of the text frame &quot;name&quot; to &quot;size&quot;. &quot;size&quot; is treated
3217
as a value in points. If there is some text selected only the selected text is
3218
changed. &quot;size&quot; must be in the range 1 to 512. If &quot;name&quot; is not given the
3219
currently selected item is used.
3220
 
1525 cbradney 3221
May throw ValueError for a font size that&apos;s out of bounds.
1135 cbradney 3222
</source>
12918 cbradney 3223
        <translation type="obsolete">setFontSize(size, [&quot;name&quot;])
1135 cbradney 3224
 
3225
Nastaví velikost písma textového rámce &quot;name&quot; na velikost &quot;size&quot;. Velikost
3226
je vyjádřena v bodech. Jestliže je v rámu nějaký výběr, pak je změna
1525 cbradney 3227
aplikována pouze na něj. Velikost musí být v intervalu &lt;1; 512&gt;.
1135 cbradney 3228
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
3229
 
3230
Může vyvolat výjimlu ValueError, jestliže je velikost mimo interval.</translation>
3231
    </message>
3232
    <message>
1525 cbradney 3233
        <source>setLineSpacing(size, [&quot;name&quot;])
1135 cbradney 3234
 
3235
Sets the line spacing (&quot;leading&quot;) of the text frame &quot;name&quot; to &quot;size&quot;.
3236
&quot;size&quot; is a value in points. If &quot;name&quot; is not given the currently selected
3237
item is used.
3238
 
3239
May throw ValueError if the line spacing is out of bounds.
3240
</source>
12918 cbradney 3241
        <translation type="obsolete">setLineSpacing(size, [&quot;name&quot;])
1135 cbradney 3242
 
3243
Nastaví řádkování textového rámu &quot;name&quot; na velikost &quot;size&quot;. Velikost
3244
je uváděna v bodech.
3245
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
3246
 
3247
Může vyvolat výjimku ValueError, jestliže je velikost mimo rozsah.</translation>
3248
    </message>
3249
    <message>
1525 cbradney 3250
        <source>setColumnGap(size, [&quot;name&quot;])
1135 cbradney 3251
 
3252
Sets the column gap of the text frame &quot;name&quot; to the value &quot;size&quot;. If
3253
&quot;name&quot; is not given the currently selected item is used.
3254
 
3255
May throw ValueError if the column gap is out of bounds (must be positive).
3256
</source>
12918 cbradney 3257
        <translation type="obsolete">setColumnGap(size, [&quot;name&quot;])
1135 cbradney 3258
 
3259
Nastaví mezisloupcovou mezeru textového rámce &quot;name&quot; na velikost &quot;size&quot;.
3260
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
3261
 
3262
Může vyvolat výjimku ValueError, jestliže není velikost kladná hodnota.</translation>
3263
    </message>
3264
    <message>
1525 cbradney 3265
        <source>setColumns(nr, [&quot;name&quot;])
1135 cbradney 3266
 
3267
Sets the number of columns of the text frame &quot;name&quot; to the integer &quot;nr&quot;.
3268
If &quot;name&quot; is not given the currently selected item is used.
3269
 
3270
May throw ValueError if number of columns is not at least one.
3271
</source>
12918 cbradney 3272
        <translation type="obsolete">setColumns(nr, [&quot;name&quot;])
1135 cbradney 3273
 
3274
Nastaví počet sloupců textového rámce &quot;name&quot; na počet &quot;nr&quot;.
3275
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
3276
 
3277
Může vyvolat výjimku ValueError, jetsliže je &quot;nr&quot; menší něž 1.</translation>
3278
    </message>
3279
    <message>
1525 cbradney 3280
        <source>setTextAlignment(align, [&quot;name&quot;])
1135 cbradney 3281
 
3282
Sets the text alignment of the text frame &quot;name&quot; to the specified alignment.
3283
If &quot;name&quot; is not given the currently selected item is used. &quot;align&quot; should
3284
be one of the ALIGN_ constants defined in this module - see dir(scribus).
3285
 
3286
May throw ValueError for an invalid alignment constant.
3287
</source>
12918 cbradney 3288
        <translation type="obsolete">setTextAlignment(align, [&quot;name&quot;])
1135 cbradney 3289
 
3290
Nastaví zarovnání textu rámce &quot;name&quot;. Jestliže není &quot;name&quot; uvedeno, použije
3291
vybraný objekt. &quot;align&quot; by měla být jedna z předdefinovaných konstant ALIGN_*.
3292
 
3293
Může vyvolat výjimku ValueError, jestliže je &quot;align&quot; nepodporované číslo.</translation>
3294
    </message>
3295
    <message>
1525 cbradney 3296
        <source>selectText(start, count, [&quot;name&quot;])
1135 cbradney 3297
 
3298
Selects &quot;count&quot; characters of text in the text frame &quot;name&quot; starting from the
3299
character &quot;start&quot;. Character counting starts at 0. If &quot;count&quot; is zero, any
3300
text selection will be cleared.  If &quot;name&quot; is not given the currently
3301
selected item is used.
3302
 
3303
May throw IndexError if the selection is outside the bounds of the text.
3304
</source>
12918 cbradney 3305
        <translation type="obsolete">selectText(start, count, [&quot;name&quot;])
1135 cbradney 3306
 
3307
Označí jako vybraný počet &quot;count&quot; znaků v textovém rámci &quot;name&quot; od pozice
3308
&quot;start&quot;. První znak rámce má pozici 0. Jestliže je &quot;count&quot; nula, výběr je zrušen.
3309
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
3310
 
3311
Může vyvolat výjimku IndexError, jestliže je výběr mimo text rámce.</translation>
3312
    </message>
3313
    <message>
1525 cbradney 3314
        <source>deleteText([&quot;name&quot;])
1135 cbradney 3315
 
3316
Deletes any text in the text frame &quot;name&quot;. If there is some text selected,
3317
only the selected text will be deleted. If &quot;name&quot; is not given the currently
3318
selected item is used.
3319
</source>
12918 cbradney 3320
        <translation type="obsolete">deleteText([&quot;name&quot;])
1135 cbradney 3321
 
3322
Smaže text z textového rámce &quot;name&quot;. Jestliže je v rámu nějaký výběr,
3323
pak je smazán pouze on. Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
3324
    </message>
3325
    <message>
1525 cbradney 3326
        <source>setTextColor(&quot;color&quot;, [&quot;name&quot;])
1135 cbradney 3327
 
3328
Sets the text color of the text frame &quot;name&quot; to the color &quot;color&quot;. If there
3329
is some text selected only the selected text is changed. If &quot;name&quot; is not
3330
given the currently selected item is used.
3331
</source>
12918 cbradney 3332
        <translation type="obsolete">setTextColor(&quot;color&quot;, [&quot;name&quot;])
1135 cbradney 3333
 
3334
Nastaví barvu textu rámce &quot;name&quot; na barvu &quot;color&quot;. Jestliže v rámci
3335
existuje výběr, pak je barva aplikována pouze na něj.
3336
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
3337
    </message>
3338
    <message>
1525 cbradney 3339
        <source>setTextStroke(&quot;color&quot;, [&quot;name&quot;])
1135 cbradney 3340
 
3341
Set &quot;color&quot; of the text stroke. If &quot;name&quot; is not given the currently
3342
selected item is used.
3343
</source>
12918 cbradney 3344
        <translation type="obsolete">setTextStroke(&quot;color&quot;, [&quot;name&quot;])
1135 cbradney 3345
 
11938 subik 3346
Nastaví barvu &quot;color&quot; tahu textu v textovém rámci &quot;name&quot;.
1135 cbradney 3347
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
3348
    </message>
3349
    <message>
1525 cbradney 3350
        <source>setTextShade(shade, [&quot;name&quot;])
1135 cbradney 3351
 
3352
Sets the shading of the text color of the object &quot;name&quot; to &quot;shade&quot;. If
3353
there is some text selected only the selected text is changed. &quot;shade&quot; must
3354
be an integer value in the range from 0 (lightest) to 100 (full color
3355
intensity). If &quot;name&quot; is not given the currently selected item is
3356
used.
3357
</source>
12918 cbradney 3358
        <translation type="obsolete">setTextShade(shade, [&quot;name&quot;])
1135 cbradney 3359
 
3360
Nastaví stín textu v textovém rámci &quot;name&quot; na hodnotu &quot;shade&quot;. Jetsliže
3361
v rámci existuje výběr, pak je aplikován pouze na něj. Stín musí být celé
1525 cbradney 3362
číslo z intervalu &lt;1; 100&gt;.
1135 cbradney 3363
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
3364
    </message>
3365
    <message>
1525 cbradney 3366
        <source>linkTextFrames(&quot;fromname&quot;, &quot;toname&quot;)
1135 cbradney 3367
 
3368
Link two text frames. The frame named &quot;fromname&quot; is linked to the
3369
frame named &quot;toname&quot;. The target frame must be an empty text frame
3370
and must not link to or be linked from any other frames already.
3371
 
3372
May throw ScribusException if linking rules are violated.
3373
</source>
12918 cbradney 3374
        <translation type="obsolete">linkTextFrames(&quot;fromname&quot;, &quot;toname&quot;)
1135 cbradney 3375
 
3376
zřetězí dva textové rámce. Rámec &quot;fromname&quot; je před rámcem &quot;toname&quot;.
3377
&quot;toname&quot; musí být prázdný a ještě neslinkovaný textový rámec.
3378
 
3379
Může vyvolat výjimku ScribusException, jestliže jsou porušena pravidla řetězení.</translation>
3380
    </message>
3381
    <message>
1525 cbradney 3382
        <source>unlinkTextFrames(&quot;name&quot;)
1135 cbradney 3383
 
3384
Remove the specified (named) object from the text frame flow/linkage. If the
3385
frame was in the middle of a chain, the previous and next frames will be
1525 cbradney 3386
connected, eg &apos;a-&gt;b-&gt;c&apos; becomes &apos;a-&gt;c&apos; when you unlinkTextFrames(b)&apos;
1135 cbradney 3387
 
3388
May throw ScribusException if linking rules are violated.
3389
</source>
12918 cbradney 3390
        <translation type="obsolete">unlinkTextFrames(&quot;name&quot;)
1135 cbradney 3391
 
3392
Odstraní objekt &quot;name&quot; ze zřetězených textových rámců. Např. sekvence
1525 cbradney 3393
a-&gt;b-&gt;c bude a-&gt;c po vykonání unlinkTextFrames(b)
1135 cbradney 3394
 
3395
Může vyvolat výjimku ScribusException, jestliže jsou porušena pravidla zřetězení.</translation>
3396
    </message>
3397
    <message>
1525 cbradney 3398
        <source>traceText([&quot;name&quot;])
1135 cbradney 3399
 
3400
Convert the text frame &quot;name&quot; to outlines. If &quot;name&quot; is not given the
3401
currently selected item is used.</source>
12918 cbradney 3402
        <translation type="obsolete">traceText([&quot;name&quot;])
1135 cbradney 3403
 
11938 subik 3404
Převede textový rámec &quot;name&quot; na obrys.
1135 cbradney 3405
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
3406
    </message>
3407
    <message>
1525 cbradney 3408
        <source>getColor(&quot;name&quot;) -&gt; tuple
1135 cbradney 3409
 
3410
Returns a tuple (C, M, Y, K) containing the four color components of the
3411
color &quot;name&quot; from the current document. If no document is open, returns
3412
the value of the named color from the default document colors.
3413
 
1525 cbradney 3414
May raise NotFoundError if the named color wasn&apos;t found.
1135 cbradney 3415
May raise ValueError if an invalid color name is specified.
3416
</source>
12918 cbradney 3417
        <translation type="obsolete">getColor(&quot;name&quot;) -&gt; tuple
1135 cbradney 3418
 
3419
Vrátí CMYK složky barvy &quot;name&quot; daného dokumentu. Jestliže není otevřený
13480 subik 3420
žádný dokument, vrátí složky výchozí barvy &quot;name&quot;.
1135 cbradney 3421
 
3422
Může vyvolat výjimky NotFoundError (jestliže barvu nenajde) a
3423
ValueError (chybné parametry).</translation>
3424
    </message>
3425
    <message>
1525 cbradney 3426
        <source>changeColor(&quot;name&quot;, c, m, y, k)
1135 cbradney 3427
 
3428
Changes the color &quot;name&quot; to the specified CMYK value. The color value is
3429
defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black.
3430
Color components should be in the range from 0 to 255.
3431
 
1525 cbradney 3432
May raise NotFoundError if the named color wasn&apos;t found.
1135 cbradney 3433
May raise ValueError if an invalid color name is specified.
3434
</source>
12918 cbradney 3435
        <translation type="obsolete">changeColor(&quot;name&quot;, c, m, y, k)
1135 cbradney 3436
 
3437
Změní barvu &quot;name&quot; na specifikované CMYK hodnoty &quot;c&quot;, &quot;m&quot;, &quot;y&quot;, &quot;k&quot;.
13480 subik 3438
Každá z barevných složek musí být z intervalu &lt;0; 255&gt;.
1135 cbradney 3439
 
3440
Může vyvolat výjimky NotFoundError (barva neexistuje) a ValueError
3441
(chybné parametry).</translation>
3442
    </message>
3443
    <message>
1525 cbradney 3444
        <source>deleteColor(&quot;name&quot;, &quot;replace&quot;)
1135 cbradney 3445
 
3446
Deletes the color &quot;name&quot;. Every occurence of that color is replaced by the
3447
color &quot;replace&quot;. If not specified, &quot;replace&quot; defaults to the color
3448
&quot;None&quot; - transparent.
3449
 
3450
deleteColor works on the default document colors if there is no document open.
3451
In that case, &quot;replace&quot;, if specified, has no effect.
3452
 
1525 cbradney 3453
May raise NotFoundError if a named color wasn&apos;t found.
1135 cbradney 3454
May raise ValueError if an invalid color name is specified.
3455
</source>
12918 cbradney 3456
        <translation type="obsolete">deleteColor(&quot;name&quot;, &quot;replace&quot;)
1135 cbradney 3457
 
3458
Smaže barvu &quot;name&quot;. každý výskyt této barvy je nahrazen  barvou &quot;replace&quot;.
3459
Jestliže není &quot;replace&quot; uvedena, zamění mazanou barvu transparentní
3460
průhlednou &quot;None&quot;.
3461
Jestliže není otevřený žádný dokument pracuje deleteColor s imlicitní
3462
barevnou množinou. &quot;replace&quot; potom nemá žádnou funkčnost.
3463
 
3464
Může vyvolat výjimky NotFoundError (barva neexistuje) a ValueError
3465
(chybné parametry).</translation>
3466
    </message>
3467
    <message>
1525 cbradney 3468
        <source>replaceColor(&quot;name&quot;, &quot;replace&quot;)
1135 cbradney 3469
 
3470
Every occurence of the color &quot;name&quot; is replaced by the color &quot;replace&quot;.
3471
 
1525 cbradney 3472
May raise NotFoundError if a named color wasn&apos;t found.
1135 cbradney 3473
May raise ValueError if an invalid color name is specified.
3474
</source>
12918 cbradney 3475
        <translation type="obsolete">replaceColor(&quot;name&quot;, &quot;replace&quot;)
1135 cbradney 3476
 
3477
Každý výskyt barvy &quot;name&quot; je nahrazen barvou &quot;replace&quot;.
3478
Může vyvolat výjimky NotFoundError (barva neexistuje) a ValueError
3479
(chybné parametry).</translation>
3480
    </message>
3481
    <message>
1525 cbradney 3482
        <source>messageBox(&quot;caption&quot;, &quot;message&quot;,
1135 cbradney 3483
    icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT,
1525 cbradney 3484
    button2=BUTTON_NONE, button3=BUTTON_NONE) -&gt; integer
1135 cbradney 3485
 
3486
Displays a message box with the title &quot;caption&quot;, the message &quot;message&quot;, and
3487
an icon &quot;icon&quot; and up to 3 buttons. By default no icon is used and a single
3488
button, OK, is displayed. Only the caption and message arguments are required,
3489
though setting an icon and appropriate button(s) is strongly
3490
recommended. The message text may contain simple HTML-like markup.
3491
 
3492
Returns the number of the button the user pressed. Button numbers start
3493
at 1.
3494
 
3495
For the icon and the button parameters there are predefined constants available
3496
with the same names as in the Qt Documentation. These are the BUTTON_* and
3497
ICON_* constants defined in the module. There are also two extra constants that
3498
can be binary-ORed with button constants:
3499
    BUTTONOPT_DEFAULT   Pressing enter presses this button.
3500
    BUTTONOPT_ESCAPE    Pressing escape presses this button.
3501
 
3502
Usage examples:
1525 cbradney 3503
result = messageBox(&apos;Script failed&apos;,
3504
                    &apos;This script only works when you have a text frame selected.&apos;,
1135 cbradney 3505
                    ICON_ERROR)
1525 cbradney 3506
result = messageBox(&apos;Monkeys!&apos;, &apos;Something went ook! &lt;i&gt;Was it a monkey?&lt;/i&gt;&apos;,
1135 cbradney 3507
                    ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT,
3508
                    BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE)
3509
 
3510
Defined button and icon constants:
3511
BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO,
3512
BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL,
3513
ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL.
3514
</source>
12918 cbradney 3515
        <translation type="obsolete">messageBox(&quot;caption&quot;, &quot;message&quot;, icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT,
1525 cbradney 3516
                   button2=BUTTON_NONE, button3=BUTTON_NONE) -&gt; integer
1135 cbradney 3517
 
3518
Zobrazí message box s titulkem &quot;caption&quot;, textem &quot;message&quot;, ikonou &quot;icon&quot;
3519
a několika tlačítky. Implicitně není nastavena žádná ikona a zobrazí se jediné
3520
tlačitko (OK). Povinné jsou tedy pouze parametry &quot;caption&quot; a &quot;message&quot;.
3521
&quot;message&quot; může obsahovat jednoduché HTML značky.
3522
Vrátí číslo tlačítka, které uživatel stisknul. Tlačítka jsou číslována od 1.
3523
Jednotlivé typy ikon a tlačitek mají své předdefinované konstanty. Jsou to
3524
BUTTON_* a ICON_*. Existují také dvě konstanty, které mohou být použity
3525
v binárním OR s BUTTON konstantami:
3526
    BUTTONOPT_DEFAULT nastaví příznak &quot;stisk enteru stiskne tlačítko&quot;
3527
    BUTTONOPT_ESCAPE nastaví příznak &quot;stisk escape stiskne tlačítko&quot;
3528
Příklady:
1525 cbradney 3529
    result = messageBox(&apos;Script failed&apos;,
3530
                                   &apos;This script only works when you have a text frame selected.&apos;,
1135 cbradney 3531
                                   ICON_ERROR)
1525 cbradney 3532
    result = messageBox(&apos;Monkeys!&apos;,
3533
                                   &apos;Something went ook! &lt;i&gt;Was it a monkey?&lt;/i&gt;&apos;,
1135 cbradney 3534
                                   ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT,
3535
                                   BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE)
3536
Konstanty: BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL,
3537
    BUTTON_IGNORE, BUTTON_NO, BUTTON_NOALL, BUTTON_OK,
3538
    BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL,
3539
    ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL.</translation>
3540
    </message>
3541
    <message>
1525 cbradney 3542
        <source>valueDialog(caption, message [,defaultvalue]) -&gt; string
1135 cbradney 3543
 
1525 cbradney 3544
Shows the common &apos;Ask for string&apos; dialog and returns its value as a string
3545
Parameters: window title, text in the window and optional &apos;default&apos; value.
1135 cbradney 3546
 
1525 cbradney 3547
Example: valueDialog(&apos;title&apos;, &apos;text in the window&apos;, &apos;optional&apos;)
1135 cbradney 3548
</source>
12918 cbradney 3549
        <translation type="obsolete">valueDialog(caption, message [,defaultvalue]) -&gt; string
1135 cbradney 3550
 
3551
Zobrazí jednoduchý dialog, do kterého uživatel zadává hodnotu,
3552
kterou vráti skriptu jako string. Okno má titulek &quot;caption&quot;,
13480 subik 3553
text &quot;message&quot; a může zobrazit výchozí hodnotu &quot;defaultvalue&quot;.
1525 cbradney 3554
Např.: valueDialog(&apos;title&apos;, &apos;text in the window&apos;, &apos;optional&apos;)</translation>
1135 cbradney 3555
    </message>
3556
    <message>
1525 cbradney 3557
        <source>closeDoc()
1135 cbradney 3558
 
3559
Closes the current document without prompting to save.
3560
 
3561
May throw NoDocOpenError if there is no document to close
3562
</source>
12918 cbradney 3563
        <translation type="obsolete">closeDoc()
1135 cbradney 3564
 
3565
Zavře aktuální dokument bez výzvy k uložení.
3566
 
3567
Může vyvolat výjimku NoDocOpenError, kdyý enní žádný dokument otevřen</translation>
3568
    </message>
3569
    <message>
1525 cbradney 3570
        <source>haveDoc() -&gt; bool
1135 cbradney 3571
 
3572
Returns true if there is a document open.
3573
</source>
12918 cbradney 3574
        <translation type="obsolete">haveDoc() -&gt; bool
1135 cbradney 3575
 
3576
Vrátí true, když je otevřený jakýkoli dokument.</translation>
3577
    </message>
3578
    <message>
1525 cbradney 3579
        <source>openDoc(&quot;name&quot;)
1135 cbradney 3580
 
3581
Opens the document &quot;name&quot;.
3582
 
3583
May raise ScribusError if the document could not be opened.
3584
</source>
12918 cbradney 3585
        <translation type="obsolete">openDoc(&quot;name&quot;)
1135 cbradney 3586
 
3587
Otevře dokument &quot;name&quot;.
3588
 
3589
Může vyvolat výjimku ScribusError, když dokument nejde otevřít.</translation>
3590
    </message>
3591
    <message>
1525 cbradney 3592
        <source>saveDoc()
1135 cbradney 3593
 
3594
Saves the current document with its current name, returns true if successful.
3595
If the document has not already been saved, this may bring up an interactive
3596
save file dialog.
3597
 
3598
If the save fails, there is currently no way to tell.
3599
</source>
12918 cbradney 3600
        <translation type="obsolete">saveDoc()
1135 cbradney 3601
 
3602
Uloží aktuální dokument pod platným jménem. Vrátí true v případě úspěchu.
3603
Jestliže nebyl dokument ještě niky uložen, zobrazí se &quot;Uložit jako&quot; okno.
3604
Jestliže ukladání selže, neexituje žádný způsob, jak toto zjistit.</translation>
3605
    </message>
3606
    <message>
1525 cbradney 3607
        <source>saveDocAs(&quot;name&quot;)
1135 cbradney 3608
 
3609
Saves the current document under the new name &quot;name&quot; (which may be a full or
3610
relative path).
3611
 
3612
May raise ScribusError if the save fails.
3613
</source>
12918 cbradney 3614
        <translation type="obsolete">saveDocAs(&quot;name&quot;)
1135 cbradney 3615
 
3616
Uloží aktuální dokument pod jménem &quot;name&quot;. &quot;name&quot; může být jak celá, tak
3617
relativní cesta souborového systému.
3618
 
3619
Může vyvolat výjimku ScribusError, jestliže ukládání selže.</translation>
3620
    </message>
3621
    <message>
1525 cbradney 3622
        <source>setMargins(lr, rr, tr, br)
1135 cbradney 3623
 
3624
Sets the margins of the document, Left(lr), Right(rr), Top(tr) and Bottom(br)
1525 cbradney 3625
margins are given in the measurement units of the document - see UNIT_&lt;type&gt;
1135 cbradney 3626
constants.
3627
</source>
12281 cbradney 3628
        <translation type="obsolete">setMargins(lr, rr, tr, br)
1135 cbradney 3629
 
3630
Nastaví okraje dokumentu - levý, pravý, horní a spodní okraj je zadáván
11938 subik 3631
v aktuálních měrných jednotkách dokumentu. Viz konstanty UNIT_typ.</translation>
1135 cbradney 3632
    </message>
3633
    <message>
1525 cbradney 3634
        <source>setUnit(type)
1135 cbradney 3635
 
3636
Changes the measurement unit of the document. Possible values for &quot;unit&quot; are
1525 cbradney 3637
defined as constants UNIT_&lt;type&gt;.
1135 cbradney 3638
 
3639
May raise ValueError if an invalid unit is passed.
3640
</source>
12918 cbradney 3641
        <translation type="obsolete">setUnit(type)
1135 cbradney 3642
 
3643
Změní měrné jednotky dokumentu. Možná nastavení jsou definována jako
3644
konstanty UNIT_*.
3645
 
3646
Může vyvolat výjimku ValueError při nepodporovaném typu jednotky.</translation>
3647
    </message>
3648
    <message>
1525 cbradney 3649
        <source>getUnit() -&gt; integer (Scribus unit constant)
1135 cbradney 3650
 
3651
Returns the measurement units of the document. The returned value will be one
3652
of the UNIT_* constants:
3653
UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.
3654
</source>
12918 cbradney 3655
        <translation type="obsolete">getUnit() -&gt; integer (Scribus unit constant)
1135 cbradney 3656
 
3657
Vrátí typ měrné jednotky dokumentu. Návratová hodnota je jednou z UNIT_*
3658
konstant: UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.</translation>
3659
    </message>
3660
    <message>
1525 cbradney 3661
        <source>loadStylesFromFile(&quot;filename&quot;)
1135 cbradney 3662
 
3663
Loads paragraph styles from the Scribus document at &quot;filename&quot; into the
3664
current document.
3665
</source>
12918 cbradney 3666
        <translation type="obsolete">loadStylesFromFile(&quot;filename&quot;)
1135 cbradney 3667
 
3668
Nahraje styly odstavce z dokumentu &quot;filename&quot; do dokumentu aktuálního.</translation>
3669
    </message>
3670
    <message>
1525 cbradney 3671
        <source>setDocType(facingPages, firstPageLeft)
1135 cbradney 3672
 
3673
Sets the document type. To get facing pages set the first parameter to
3674
FACINGPAGES, to switch facingPages off use NOFACINGPAGES instead.  If you want
3675
to be the first page a left side set the second parameter to FIRSTPAGELEFT, for
3676
a right page use FIRSTPAGERIGHT.
3677
</source>
12918 cbradney 3678
        <translation type="obsolete">setDocType(facingPages, firstPageLeft)
1135 cbradney 3679
 
3680
Nastaví typ dokumentu. Parametr facingPages může být FACINGPAGES (dvoustrany)
3681
nebo NOFACINGPAGES (jedna strana). Jestliže chcete, aby dokument začínal
11345 subik 3682
levou stranou nastavte firstPageLeft na FIRSTPAGELEFT, jinak na FIRSTPAGERIGHT.
3683
</translation>
1135 cbradney 3684
    </message>
3685
    <message>
1525 cbradney 3686
        <source>getLineColor([&quot;name&quot;]) -&gt; string
1135 cbradney 3687
 
3688
Returns the name of the line color of the object &quot;name&quot;.
3689
If &quot;name&quot; is not given the currently selected item is used.
3690
</source>
12918 cbradney 3691
        <translation type="obsolete">getLineColor([&quot;name&quot;]) -&gt; string
1135 cbradney 3692
 
13480 subik 3693
Vrátí název barvy čar objektu &quot;name&quot;.
1135 cbradney 3694
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
3695
    </message>
3696
    <message>
1525 cbradney 3697
        <source>getLineWidth([&quot;name&quot;]) -&gt; integer
1135 cbradney 3698
 
3699
Returns the line width of the object &quot;name&quot;. If &quot;name&quot;
3700
is not given the currently selected Item is used.
3701
</source>
12918 cbradney 3702
        <translation type="obsolete">getLineWidth([&quot;name&quot;]) -&gt; integer
1135 cbradney 3703
 
13480 subik 3704
Vrátí tloušťku čáry objektu &quot;name&quot;.
1135 cbradney 3705
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
3706
    </message>
3707
    <message>
1525 cbradney 3708
        <source>getLineShade([&quot;name&quot;]) -&gt; integer
1135 cbradney 3709
 
3710
Returns the shading value of the line color of the object &quot;name&quot;.
3711
If &quot;name&quot; is not given the currently selected item is used.
3712
</source>
12918 cbradney 3713
        <translation type="obsolete">getLineShade([&quot;name&quot;]) -&gt; integer
1135 cbradney 3714
 
3715
Vrátí stín barvy objektu &quot;name&quot;.
3716
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
3717
    </message>
3718
    <message>
1525 cbradney 3719
        <source>getLineJoin([&quot;name&quot;]) -&gt; integer (see contants)
1135 cbradney 3720
 
3721
Returns the line join style of the object &quot;name&quot;. If &quot;name&quot; is not given
3722
the currently selected item is used.  The join types are:
3723
JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND
3724
</source>
12281 cbradney 3725
        <translation type="obsolete">getLineJoin([&quot;name&quot;]) -&gt; integer (see contants)
1135 cbradney 3726
 
13480 subik 3727
Vrátí typ spojení čar objektu &quot;name&quot;.
1135 cbradney 3728
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
3729
Typy spojení: JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND</translation>
3730
    </message>
3731
    <message>
1525 cbradney 3732
        <source>getLineEnd([&quot;name&quot;]) -&gt; integer (see constants)
1135 cbradney 3733
 
3734
Returns the line cap style of the object &quot;name&quot;. If &quot;name&quot; is not given the
3735
currently selected item is used. The cap types are:
3736
CAP_FLAT, CAP_ROUND, CAP_SQUARE
3737
</source>
12918 cbradney 3738
        <translation type="obsolete">getLineEnd([&quot;name&quot;]) -&gt; integer (see constants)
1135 cbradney 3739
 
13480 subik 3740
Vrátí typ ukončení čáry objektu &quot;name&quot;.
1135 cbradney 3741
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
3742
Typy jsou: CAP_FLAT, CAP_ROUND, CAP_SQUARE</translation>
3743
    </message>
3744
    <message>
1525 cbradney 3745
        <source>getLineStyle([&quot;name&quot;]) -&gt; integer (see constants)
1135 cbradney 3746
 
3747
Returns the line style of the object &quot;name&quot;. If &quot;name&quot; is not given the
3748
currently selected item is used. Line style constants are:
3749
LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
3750
</source>
12918 cbradney 3751
        <translation type="obsolete">getLineStyle([&quot;name&quot;]) -&gt; integer (see constants)
1135 cbradney 3752
 
13480 subik 3753
Vrátí styl čáry objektu &quot;name&quot;.
1135 cbradney 3754
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.
3755
Styly jsou: LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID</translation>
3756
    </message>
3757
    <message>
1525 cbradney 3758
        <source>getFillShade([&quot;name&quot;]) -&gt; integer
1135 cbradney 3759
 
3760
Returns the shading value of the fill color of the object &quot;name&quot;.
3761
If &quot;name&quot; is not given the currently selected item is used.
3762
</source>
12918 cbradney 3763
        <translation type="obsolete">getFillShade([&quot;name&quot;]) -&gt; integer
1135 cbradney 3764
 
3765
Vrátí stín výplně objektu &quot;name&quot;.
3766
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
3767
    </message>
3768
    <message>
1525 cbradney 3769
        <source>getImageScale([&quot;name&quot;]) -&gt; (x,y)
1135 cbradney 3770
 
3771
Returns a (x, y) tuple containing the scaling values of the image frame
3772
&quot;name&quot;.  If &quot;name&quot; is not given the currently selected item is used.
3773
</source>
12918 cbradney 3774
        <translation type="obsolete">getImageScale([&quot;name&quot;]) -&gt; (x,y)
1135 cbradney 3775
 
3776
Vrátí tuple s velikostmi obrázku rámce &quot;name&quot;.
3777
Jestliže není &quot;name&quot; uvedeno, použije vybraný objekt.</translation>
3778
    </message>
3779
    <message>
1525 cbradney 3780
        <source>getImageName([&quot;name&quot;]) -&gt; string