Subversion Repositories Scribus

Rev

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