Subversion Repositories Scribus

Rev

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