Subversion Repositories Scribus

Rev

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

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