Subversion Repositories Scribus

Rev

Rev 14100 | Rev 14746 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14100 Rev 14489
Line 1... Line 1...
1
<?xml version="1.0" encoding="utf-8"?>
1
<?xml version="1.0" encoding="utf-8"?>
-
 
2
<!DOCTYPE TS>
2
<!DOCTYPE TS><TS version="1.1">
3
<TS version="2.0">
3
<context>
4
<context>
4
    <name></name>
5
    <name></name>
5
    <message>
6
    <message>
6
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="21"/>
7
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="17"/>
7
        <source>getColorNames() -&gt; list
8
        <source>getColorNames() -&gt; list
8
 
9
 
9
Returns a list containing the names of all defined colors in the document.
10
Returns a list containing the names of all defined colors in the document.
10
If no document is open, returns a list of the default document colors.
11
If no document is open, returns a list of the default document colors.
11
</source>
12
</source>
Line 14... Line 15...
14
Returns a list containing the names of all defined colours in the document.
15
Returns a list containing the names of all defined colours in the document.
15
If no document is open, returns a list of the default document colours.
16
If no document is open, returns a list of the default document colours.
16
</translation>
17
</translation>
17
    </message>
18
    </message>
18
    <message>
19
    <message>
19
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="35"/>
20
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="27"/>
20
        <source>getColor(&quot;name&quot;) -&gt; tuple
21
        <source>getColor(&quot;name&quot;) -&gt; tuple
21
 
22
 
22
Returns a tuple (C, M, Y, K) containing the four color components of the
23
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
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
the value of the named color from the default document colors.
Line 35... Line 36...
35
May raise NotFoundError if the named colour wasn&apos;t found.
36
May raise NotFoundError if the named colour wasn&apos;t found.
36
May raise ValueError if an invalid colour name is specified.
37
May raise ValueError if an invalid colour name is specified.
37
</translation>
38
</translation>
38
    </message>
39
    </message>
39
    <message>
40
    <message>
40
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="50"/>
41
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="41"/>
41
        <source>getColorAsRGB(&quot;name&quot;) -&gt; tuple
42
        <source>getColorAsRGB(&quot;name&quot;) -&gt; tuple
42
 
43
 
43
Returns a tuple (R,G,B) containing the three color components of the
44
Returns a tuple (R,G,B) containing the three color components of the
44
color &quot;name&quot; from the current document, converted to the RGB color
45
color &quot;name&quot; from the current document, converted to the RGB color
45
space. If no document is open, returns the value of the named color
46
space. If no document is open, returns the value of the named color
Line 58... Line 59...
58
May raise NotFoundError if the named colour wasn&apos;t found.
59
May raise NotFoundError if the named colour wasn&apos;t found.
59
May raise ValueError if an invalid colour name is specified.
60
May raise ValueError if an invalid colour name is specified.
60
</translation>
61
</translation>
61
    </message>
62
    </message>
62
    <message>
63
    <message>
63
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="64"/>
64
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="56"/>
64
        <source>changeColor(&quot;name&quot;, c, m, y, k)
65
        <source>changeColor(&quot;name&quot;, c, m, y, k)
65
 
66
 
66
Changes the color &quot;name&quot; to the specified CMYK value. The color value is
67
Changes the color &quot;name&quot; to the specified CMYK value. The color value is
67
defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black.
68
defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black.
68
Color components should be in the range from 0 to 255.
69
Color components should be in the range from 0 to 255.
Line 79... Line 80...
79
May raise NotFoundError if the named colour wasn&apos;t found.
80
May raise NotFoundError if the named colour wasn&apos;t found.
80
May raise ValueError if an invalid colour name is specified.
81
May raise ValueError if an invalid colour name is specified.
81
</translation>
82
</translation>
82
    </message>
83
    </message>
83
    <message>
84
    <message>
84
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="77"/>
85
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="70"/>
85
        <source>defineColor(&quot;name&quot;, c, m, y, k)
86
        <source>defineColor(&quot;name&quot;, c, m, y, k)
86
 
87
 
87
Defines a new color &quot;name&quot;. The color Value is defined via four components:
88
Defines a new color &quot;name&quot;. The color Value is defined via four components:
88
c = Cyan, m = Magenta, y = Yellow and k = Black. Color components should be in
89
c = Cyan, m = Magenta, y = Yellow and k = Black. Color components should be in
89
the range from 0 to 255.
90
the range from 0 to 255.
Line 91... Line 92...
91
May raise ValueError if an invalid color name is specified.
92
May raise ValueError if an invalid color name is specified.
92
</source>
93
</source>
93
        <translation type="unfinished"></translation>
94
        <translation type="unfinished"></translation>
94
    </message>
95
    </message>
95
    <message>
96
    <message>
96
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="94"/>
97
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="83"/>
97
        <source>deleteColor(&quot;name&quot;, &quot;replace&quot;)
98
        <source>deleteColor(&quot;name&quot;, &quot;replace&quot;)
98
 
99
 
99
Deletes the color &quot;name&quot;. Every occurence of that color is replaced by the
100
Deletes the color &quot;name&quot;. Every occurence of that color is replaced by the
100
color &quot;replace&quot;. If not specified, &quot;replace&quot; defaults to the color
101
color &quot;replace&quot;. If not specified, &quot;replace&quot; defaults to the color
101
&quot;None&quot; - transparent.
102
&quot;None&quot; - transparent.
Line 118... Line 119...
118
May raise NotFoundError if a named colour wasn&apos;t found.
119
May raise NotFoundError if a named colour wasn&apos;t found.
119
May raise ValueError if an invalid colour name is specified.
120
May raise ValueError if an invalid colour name is specified.
120
</translation>
121
</translation>
121
    </message>
122
    </message>
122
    <message>
123
    <message>
123
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="106"/>
124
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="100"/>
124
        <source>replaceColor(&quot;name&quot;, &quot;replace&quot;)
125
        <source>replaceColor(&quot;name&quot;, &quot;replace&quot;)
125
 
126
 
126
Every occurence of the color &quot;name&quot; is replaced by the color &quot;replace&quot;.
127
Every occurence of the color &quot;name&quot; is replaced by the color &quot;replace&quot;.
127
 
128
 
128
May raise NotFoundError if a named color wasn&apos;t found.
129
May raise NotFoundError if a named color wasn&apos;t found.
Line 135... Line 136...
135
May raise NotFoundError if a named colour wasn&apos;t found.
136
May raise NotFoundError if a named colour wasn&apos;t found.
136
May raise ValueError if an invalid colour name is specified.
137
May raise ValueError if an invalid colour name is specified.
137
</translation>
138
</translation>
138
    </message>
139
    </message>
139
    <message>
140
    <message>
140
        <location filename="../../scribus/plugins/scriptplugin/cmddialog.h" line="22"/>
141
        <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="17"/>
141
        <source>newDocDialog() -&gt; bool
142
        <source>newDocDialog() -&gt; bool
142
 
143
 
143
Displays the &quot;New Document&quot; dialog box. Creates a new document if the user
144
Displays the &quot;New Document&quot; dialog box. Creates a new document if the user
144
accepts the settings. Does not create a document if the user presses cancel.
145
accepts the settings. Does not create a document if the user presses cancel.
145
Returns true if a new document was created.
146
Returns true if a new document was created.
Line 150... Line 151...
150
accepts the settings. Does not create a document if the user presses cancel.
151
accepts the settings. Does not create a document if the user presses cancel.
151
Returns true if a new document was created.
152
Returns true if a new document was created.
152
</translation>
153
</translation>
153
    </message>
154
    </message>
154
    <message>
155
    <message>
155
        <location filename="../../scribus/plugins/scriptplugin/cmddialog.h" line="46"/>
156
        <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="28"/>
156
        <source>fileDialog(&quot;caption&quot;, [&quot;filter&quot;, &quot;defaultname&quot;, haspreview, issave, isdir]) -&gt; string with filename
157
        <source>fileDialog(&quot;caption&quot;, [&quot;filter&quot;, &quot;defaultname&quot;, haspreview, issave, isdir]) -&gt; string with filename
157
 
158
 
158
Shows a File Open dialog box with the caption &quot;caption&quot;. Files are filtered
159
Shows a File Open dialog box with the caption &quot;caption&quot;. Files are filtered
159
with the filter string &quot;filter&quot;. A default filename or file path can also
160
with the filter string &quot;filter&quot;. A default filename or file path can also
160
supplied, leave this string empty when you don&apos;t want to use it.  A value of
161
supplied, leave this string empty when you don&apos;t want to use it.  A value of
Line 173... Line 174...
173
Example: fileDialog(&apos;Save report&apos;, defaultname=&apos;report.txt&apos;, issave=True)
174
Example: fileDialog(&apos;Save report&apos;, defaultname=&apos;report.txt&apos;, issave=True)
174
</source>
175
</source>
175
        <translation type="unfinished"></translation>
176
        <translation type="unfinished"></translation>
176
    </message>
177
    </message>
177
    <message>
178
    <message>
178
        <location filename="../../scribus/plugins/scriptplugin/cmddialog.h" line="88"/>
179
        <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="56"/>
179
        <source>messageBox(&quot;caption&quot;, &quot;message&quot;,
180
        <source>messageBox(&quot;caption&quot;, &quot;message&quot;,
180
    icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT,
181
    icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT,
181
    button2=BUTTON_NONE, button3=BUTTON_NONE) -&gt; integer
182
    button2=BUTTON_NONE, button3=BUTTON_NONE) -&gt; integer
182
 
183
 
183
Displays a message box with the title &quot;caption&quot;, the message &quot;message&quot;, and
184
Displays a message box with the title &quot;caption&quot;, the message &quot;message&quot;, and
Line 242... Line 243...
242
BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL,
243
BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL,
243
ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL.
244
ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL.
244
</translation>
245
</translation>
245
    </message>
246
    </message>
246
    <message>
247
    <message>
247
        <location filename="../../scribus/plugins/scriptplugin/cmddialog.h" line="101"/>
248
        <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="95"/>
248
        <source>valueDialog(caption, message [,defaultvalue]) -&gt; string
249
        <source>valueDialog(caption, message [,defaultvalue]) -&gt; string
249
 
250
 
250
Shows the common &apos;Ask for string&apos; dialog and returns its value as a string
251
Shows the common &apos;Ask for string&apos; dialog and returns its value as a string
251
Parameters: window title, text in the window and optional &apos;default&apos; value.
252
Parameters: window title, text in the window and optional &apos;default&apos; value.
252
 
253
 
Line 259... Line 260...
259
 
260
 
260
Example: valueDialog(&apos;title&apos;, &apos;text in the window&apos;, &apos;optional&apos;)
261
Example: valueDialog(&apos;title&apos;, &apos;text in the window&apos;, &apos;optional&apos;)
261
</translation>
262
</translation>
262
    </message>
263
    </message>
263
    <message>
264
    <message>
264
        <location filename="../../scribus/plugins/scriptplugin/cmddialog.h" line="111"/>
265
        <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="107"/>
265
        <source>newStyleDialog() -&gt; string
266
        <source>newStyleDialog() -&gt; string
266
 
267
 
267
Shows &apos;Create new paragraph style&apos; dialog. Function returns real
268
Shows &apos;Create new paragraph style&apos; dialog. Function returns real
268
style name or None when user cancels the dialog.
269
style name or None when user cancels the dialog.
269
</source>
270
</source>
Line 272... Line 273...
272
Shows &apos;Create new paragraph style&apos; dialog. Function returns real
273
Shows &apos;Create new paragraph style&apos; dialog. Function returns real
273
style name or None when user cancels the dialog.
274
style name or None when user cancels the dialog.
274
</translation>
275
</translation>
275
    </message>
276
    </message>
276
    <message>
277
    <message>
277
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="55"/>
278
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="16"/>
278
        <source>newDocument(size, margins, orientation, firstPageNumber,
279
        <source>newDocument(size, margins, orientation, firstPageNumber,
279
                        unit, pagesType, firstPageOrder, numPages) -&gt; bool
280
                        unit, pagesType, firstPageOrder, numPages) -&gt; bool
280
 
281
 
281
Creates a new document and returns true if successful. The parameters have the
282
Creates a new document and returns true if successful. The parameters have the
282
following meaning:
283
following meaning:
Line 316... Line 317...
316
May raise ScribusError if is firstPageOrder bigger than allowed by pagesType.
317
May raise ScribusError if is firstPageOrder bigger than allowed by pagesType.
317
</source>
318
</source>
318
        <translation type="unfinished"></translation>
319
        <translation type="unfinished"></translation>
319
    </message>
320
    </message>
320
    <message>
321
    <message>
321
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="96"/>
322
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="62"/>
322
        <source>newDoc(size, margins, orientation, firstPageNumber,
323
        <source>newDoc(size, margins, orientation, firstPageNumber,
323
                   unit, facingPages, firstSideLeft) -&gt; bool
324
                   unit, facingPages, firstSideLeft) -&gt; bool
324
 
325
 
325
WARNING: Obsolete procedure! Use newDocument instead.
326
WARNING: Obsolete procedure! Use newDocument instead.
326
 
327
 
Line 389... Line 390...
389
example: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS,
390
example: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS,
390
                FACINGPAGES, FIRSTPAGERIGHT)
391
                FACINGPAGES, FIRSTPAGERIGHT)
391
</translation>
392
</translation>
392
    </message>
393
    </message>
393
    <message>
394
    <message>
394
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="108"/>
395
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="103"/>
395
        <source>closeDoc()
396
        <source>closeDoc()
396
 
397
 
397
Closes the current document without prompting to save.
398
Closes the current document without prompting to save.
398
 
399
 
399
May throw NoDocOpenError if there is no document to close
400
May throw NoDocOpenError if there is no document to close
Line 404... Line 405...
404
 
405
 
405
May throw NoDocOpenError if there is no document to close
406
May throw NoDocOpenError if there is no document to close
406
</translation>
407
</translation>
407
    </message>
408
    </message>
408
    <message>
409
    <message>
409
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="117"/>
410
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="114"/>
410
        <source>haveDoc() -&gt; bool
411
        <source>haveDoc() -&gt; bool
411
 
412
 
412
Returns true if there is a document open.
413
Returns true if there is a document open.
413
</source>
414
</source>
414
        <translation type="unfinished">haveDoc() -&gt; bool
415
        <translation type="unfinished">haveDoc() -&gt; bool
415
 
416
 
416
Returns true if there is a document open.
417
Returns true if there is a document open.
417
</translation>
418
</translation>
418
    </message>
419
    </message>
419
    <message>
420
    <message>
420
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="128"/>
421
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="123"/>
421
        <source>openDoc(&quot;name&quot;)
422
        <source>openDoc(&quot;name&quot;)
422
 
423
 
423
Opens the document &quot;name&quot;.
424
Opens the document &quot;name&quot;.
424
 
425
 
425
May raise ScribusError if the document could not be opened.
426
May raise ScribusError if the document could not be opened.
Line 430... Line 431...
430
 
431
 
431
May raise ScribusError if the document could not be opened.
432
May raise ScribusError if the document could not be opened.
432
</translation>
433
</translation>
433
    </message>
434
    </message>
434
    <message>
435
    <message>
435
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="141"/>
436
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="134"/>
436
        <source>saveDoc()
437
        <source>saveDoc()
437
 
438
 
438
Saves the current document with its current name, returns true if successful.
439
Saves the current document with its current name, returns true if successful.
439
If the document has not already been saved, this may bring up an interactive
440
If the document has not already been saved, this may bring up an interactive
440
save file dialog.
441
save file dialog.
Line 449... Line 450...
449
 
450
 
450
If the save fails, there is currently no way to tell.
451
If the save fails, there is currently no way to tell.
451
</translation>
452
</translation>
452
    </message>
453
    </message>
453
    <message>
454
    <message>
-
 
455
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="146"/>
-
 
456
        <source>getDocName() -&gt; string
-
 
457
 
-
 
458
Returns the name the document was saved under.
-
 
459
If the document was not saved before the name is empty.
-
 
460
</source>
-
 
461
        <translation type="unfinished"></translation>
-
 
462
    </message>
-
 
463
    <message>
454
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="152"/>
464
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="156"/>
455
        <source>saveDocAs(&quot;name&quot;)
465
        <source>saveDocAs(&quot;name&quot;)
456
 
466
 
457
Saves the current document under the new name &quot;name&quot; (which may be a full or
467
Saves the current document under the new name &quot;name&quot; (which may be a full or
458
relative path).
468
relative path).
459
 
469
 
Line 466... Line 476...
466
 
476
 
467
May raise ScribusError if the save fails.
477
May raise ScribusError if the save fails.
468
</translation>
478
</translation>
469
    </message>
479
    </message>
470
    <message>
480
    <message>
471
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="162"/>
481
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="168"/>
472
        <source>setInfo(&quot;author&quot;, &quot;info&quot;, &quot;description&quot;) -&gt; bool
482
        <source>setInfo(&quot;author&quot;, &quot;info&quot;, &quot;description&quot;) -&gt; bool
473
 
483
 
474
Sets the document information. &quot;Author&quot;, &quot;Info&quot;, &quot;Description&quot; are
484
Sets the document information. &quot;Author&quot;, &quot;Info&quot;, &quot;Description&quot; are
475
strings.
485
strings.
476
</source>
486
</source>
477
        <translation type="unfinished"></translation>
487
        <translation type="unfinished"></translation>
478
    </message>
488
    </message>
479
    <message>
489
    <message>
480
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="173"/>
490
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="178"/>
481
        <source>setMargins(lr, rr, tr, br)
491
        <source>setMargins(lr, rr, tr, br)
482
 
492
 
483
Sets the margins of the document, Qt::DockLeft(lr), Qt::DockRight(rr), Qt::DockTop(tr) and Qt::DockBottom(br)
493
Sets the margins of the document, Qt::DockLeft(lr), Qt::DockRight(rr), Qt::DockTop(tr) and Qt::DockBottom(br)
484
margins are given in the measurement units of the document - see UNIT_&lt;type&gt;
494
margins are given in the measurement units of the document - see UNIT_&lt;type&gt;
485
constants.
495
constants.
486
</source>
496
</source>
487
        <translation type="unfinished"></translation>
497
        <translation type="unfinished"></translation>
488
    </message>
498
    </message>
489
    <message>
499
    <message>
490
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="185"/>
500
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="189"/>
491
        <source>setUnit(type)
501
        <source>setUnit(type)
492
 
502
 
493
Changes the measurement unit of the document. Possible values for &quot;unit&quot; are
503
Changes the measurement unit of the document. Possible values for &quot;unit&quot; are
494
defined as constants UNIT_&lt;type&gt;.
504
defined as constants UNIT_&lt;type&gt;.
495
 
505
 
Line 502... Line 512...
502
 
512
 
503
May raise ValueError if an invalid unit is passed.
513
May raise ValueError if an invalid unit is passed.
504
</translation>
514
</translation>
505
    </message>
515
    </message>
506
    <message>
516
    <message>
507
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="196"/>
517
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="201"/>
508
        <source>getUnit() -&gt; integer (Scribus unit constant)
518
        <source>getUnit() -&gt; integer (Scribus unit constant)
509
 
519
 
510
Returns the measurement units of the document. The returned value will be one
520
Returns the measurement units of the document. The returned value will be one
511
of the UNIT_* constants:
521
of the UNIT_* constants:
512
UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.
522
UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.
Line 517... Line 527...
517
of the UNIT_* constants:
527
of the UNIT_* constants:
518
UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.
528
UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.
519
</translation>
529
</translation>
520
    </message>
530
    </message>
521
    <message>
531
    <message>
522
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="206"/>
532
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="212"/>
523
        <source>loadStylesFromFile(&quot;filename&quot;)
533
        <source>loadStylesFromFile(&quot;filename&quot;)
524
 
534
 
525
Loads paragraph styles from the Scribus document at &quot;filename&quot; into the
535
Loads paragraph styles from the Scribus document at &quot;filename&quot; into the
526
current document.
536
current document.
527
</source>
537
</source>
Line 530... Line 540...
530
Loads paragraph styles from the Scribus document at &quot;filename&quot; into the
540
Loads paragraph styles from the Scribus document at &quot;filename&quot; into the
531
current document.
541
current document.
532
</translation>
542
</translation>
533
    </message>
543
    </message>
534
    <message>
544
    <message>
535
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="218"/>
545
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="222"/>
536
        <source>setDocType(facingPages, firstPageLeft)
546
        <source>setDocType(facingPages, firstPageLeft)
537
 
547
 
538
Sets the document type. To get facing pages set the first parameter to
548
Sets the document type. To get facing pages set the first parameter to
539
FACINGPAGES, to switch facingPages off use NOFACINGPAGES instead.  If you want
549
FACINGPAGES, to switch facingPages off use NOFACINGPAGES instead.  If you want
540
to be the first page a left side set the second parameter to FIRSTPAGELEFT, for
550
to be the first page a left side set the second parameter to FIRSTPAGELEFT, for
Line 547... Line 557...
547
to be the first page a left side set the second parameter to FIRSTPAGELEFT, for
557
to be the first page a left side set the second parameter to FIRSTPAGELEFT, for
548
a right page use FIRSTPAGERIGHT.
558
a right page use FIRSTPAGERIGHT.
549
</translation>
559
</translation>
550
    </message>
560
    </message>
551
    <message>
561
    <message>
552
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="226"/>
562
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="232"/>
553
        <source>closeMasterPage()
563
        <source>closeMasterPage()
554
 
564
 
555
Closes the currently active master page, if any, and returns editing
565
Closes the currently active master page, if any, and returns editing
556
to normal. Begin editing with editMasterPage().
566
to normal. Begin editing with editMasterPage().
557
</source>
567
</source>
Line 560... Line 570...
560
Closes the currently active master page, if any, and returns editing
570
Closes the currently active master page, if any, and returns editing
561
to normal. Begin editing with editMasterPage().
571
to normal. Begin editing with editMasterPage().
562
</translation>
572
</translation>
563
    </message>
573
    </message>
564
    <message>
574
    <message>
565
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="233"/>
575
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="240"/>
566
        <source>masterPageNames()
576
        <source>masterPageNames()
567
 
577
 
568
Returns a list of the names of all master pages in the document.
578
Returns a list of the names of all master pages in the document.
569
</source>
579
</source>
570
        <translation type="unfinished">masterPageNames()
580
        <translation type="unfinished">masterPageNames()
571
 
581
 
572
Returns a list of the names of all master pages in the document.
582
Returns a list of the names of all master pages in the document.
573
</translation>
583
</translation>
574
    </message>
584
    </message>
575
    <message>
585
    <message>
576
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="241"/>
586
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="247"/>
577
        <source>editMasterPage(pageName)
587
        <source>editMasterPage(pageName)
578
 
588
 
579
Enables master page editing and opens the named master page
589
Enables master page editing and opens the named master page
580
for editing. Finish editing with closeMasterPage().
590
for editing. Finish editing with closeMasterPage().
581
</source>
591
</source>
Line 584... Line 594...
584
Enables master page editing and opens the named master page
594
Enables master page editing and opens the named master page
585
for editing. Finish editing with closeMasterPage().
595
for editing. Finish editing with closeMasterPage().
586
</translation>
596
</translation>
587
    </message>
597
    </message>
588
    <message>
598
    <message>
589
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="249"/>
599
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="255"/>
590
        <source>createMasterPage(pageName)
600
        <source>createMasterPage(pageName)
591
 
601
 
592
Creates a new master page named pageName and opens it for
602
Creates a new master page named pageName and opens it for
593
editing.
603
editing.
594
</source>
604
</source>
Line 597... Line 607...
597
Creates a new master page named pageName and opens it for
607
Creates a new master page named pageName and opens it for
598
editing.
608
editing.
599
</translation>
609
</translation>
600
    </message>
610
    </message>
601
    <message>
611
    <message>
602
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="256"/>
612
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="263"/>
603
        <source>deleteMasterPage(pageName)
613
        <source>deleteMasterPage(pageName)
604
 
614
 
605
Delete the named master page.
615
Delete the named master page.
606
</source>
616
</source>
607
        <translation type="unfinished">deleteMasterPage(pageName)
617
        <translation type="unfinished">deleteMasterPage(pageName)
608
 
618
 
609
Delete the named master page.
619
Delete the named master page.
610
</translation>
620
</translation>
611
    </message>
621
    </message>
612
    <message>
622
    <message>
613
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="21"/>
623
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="17"/>
614
        <source>getFillColor([&quot;name&quot;]) -&gt; string
624
        <source>getFillColor([&quot;name&quot;]) -&gt; string
615
 
625
 
616
Returns the name of the fill color of the object &quot;name&quot;.
626
Returns the name of the fill color of the object &quot;name&quot;.
617
If &quot;name&quot; is not given the currently selected item is used.
627
If &quot;name&quot; is not given the currently selected item is used.
618
</source>
628
</source>
Line 621... Line 631...
621
Returns the name of the fill colour of the object &quot;name&quot;.
631
Returns the name of the fill colour of the object &quot;name&quot;.
622
If &quot;name&quot; is not given the currently selected item is used.
632
If &quot;name&quot; is not given the currently selected item is used.
623
</translation>
633
</translation>
624
    </message>
634
    </message>
625
    <message>
635
    <message>
626
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="31"/>
636
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="27"/>
627
        <source>getFillTransparency([&quot;name&quot;]) -&gt; float
637
        <source>getFillTransparency([&quot;name&quot;]) -&gt; float
628
 
638
 
629
Returns the fill transparency of the object &quot;name&quot;. If &quot;name&quot;
639
Returns the fill transparency of the object &quot;name&quot;. If &quot;name&quot;
630
is not given the currently selected Item is used.
640
is not given the currently selected Item is used.
631
</source>
641
</source>
632
        <translation type="unfinished"></translation>
642
        <translation type="unfinished"></translation>
633
    </message>
643
    </message>
634
    <message>
644
    <message>
635
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="41"/>
645
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="37"/>
636
        <source>getFillBlendmode([&quot;name&quot;]) -&gt; integer
646
        <source>getFillBlendmode([&quot;name&quot;]) -&gt; integer
637
 
647
 
638
Returns the fill blendmode of the object &quot;name&quot;. If &quot;name&quot;
648
Returns the fill blendmode of the object &quot;name&quot;. If &quot;name&quot;
639
is not given the currently selected Item is used.
649
is not given the currently selected Item is used.
640
</source>
650
</source>
641
        <translation type="unfinished"></translation>
651
        <translation type="unfinished"></translation>
642
    </message>
652
    </message>
643
    <message>
653
    <message>
644
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="51"/>
654
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="47"/>
645
        <source>getLineColor([&quot;name&quot;]) -&gt; string
655
        <source>getLineColor([&quot;name&quot;]) -&gt; string
646
 
656
 
647
Returns the name of the line color of the object &quot;name&quot;.
657
Returns the name of the line color of the object &quot;name&quot;.
648
If &quot;name&quot; is not given the currently selected item is used.
658
If &quot;name&quot; is not given the currently selected item is used.
649
</source>
659
</source>
Line 652... Line 662...
652
Returns the name of the line colour of the object &quot;name&quot;.
662
Returns the name of the line colour of the object &quot;name&quot;.
653
If &quot;name&quot; is not given the currently selected item is used.
663
If &quot;name&quot; is not given the currently selected item is used.
654
</translation>
664
</translation>
655
    </message>
665
    </message>
656
    <message>
666
    <message>
657
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="61"/>
667
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="57"/>
658
        <source>getLineTransparency([&quot;name&quot;]) -&gt; float
668
        <source>getLineTransparency([&quot;name&quot;]) -&gt; float
659
 
669
 
660
Returns the line transparency of the object &quot;name&quot;. If &quot;name&quot;
670
Returns the line transparency of the object &quot;name&quot;. If &quot;name&quot;
661
is not given the currently selected Item is used.
671
is not given the currently selected Item is used.
662
</source>
672
</source>
663
        <translation type="unfinished"></translation>
673
        <translation type="unfinished"></translation>
664
    </message>
674
    </message>
665
    <message>
675
    <message>
666
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="71"/>
676
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="67"/>
667
        <source>getLineBlendmode([&quot;name&quot;]) -&gt; integer
677
        <source>getLineBlendmode([&quot;name&quot;]) -&gt; integer
668
 
678
 
669
Returns the line blendmode of the object &quot;name&quot;. If &quot;name&quot;
679
Returns the line blendmode of the object &quot;name&quot;. If &quot;name&quot;
670
is not given the currently selected Item is used.
680
is not given the currently selected Item is used.
671
</source>
681
</source>
672
        <translation type="unfinished"></translation>
682
        <translation type="unfinished"></translation>
673
    </message>
683
    </message>
674
    <message>
684
    <message>
675
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="81"/>
685
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="77"/>
676
        <source>getLineWidth([&quot;name&quot;]) -&gt; integer
686
        <source>getLineWidth([&quot;name&quot;]) -&gt; integer
677
 
687
 
678
Returns the line width of the object &quot;name&quot;. If &quot;name&quot;
688
Returns the line width of the object &quot;name&quot;. If &quot;name&quot;
679
is not given the currently selected Item is used.
689
is not given the currently selected Item is used.
680
</source>
690
</source>
Line 683... Line 693...
683
Returns the line width of the object &quot;name&quot;. If &quot;name&quot;
693
Returns the line width of the object &quot;name&quot;. If &quot;name&quot;
684
is not given the currently selected Item is used.
694
is not given the currently selected Item is used.
685
</translation>
695
</translation>
686
    </message>
696
    </message>
687
    <message>
697
    <message>
688
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="91"/>
698
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="87"/>
689
        <source>getLineShade([&quot;name&quot;]) -&gt; integer
699
        <source>getLineShade([&quot;name&quot;]) -&gt; integer
690
 
700
 
691
Returns the shading value of the line color of the object &quot;name&quot;.
701
Returns the shading value of the line color of the object &quot;name&quot;.
692
If &quot;name&quot; is not given the currently selected item is used.
702
If &quot;name&quot; is not given the currently selected item is used.
693
</source>
703
</source>
Line 696... Line 706...
696
Returns the shading value of the line colour of the object &quot;name&quot;.
706
Returns the shading value of the line colour of the object &quot;name&quot;.
697
If &quot;name&quot; is not given the currently selected item is used.
707
If &quot;name&quot; is not given the currently selected item is used.
698
</translation>
708
</translation>
699
    </message>
709
    </message>
700
    <message>
710
    <message>
701
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="102"/>
711
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="97"/>
702
        <source>getLineJoin([&quot;name&quot;]) -&gt; integer (see constants)
712
        <source>getLineJoin([&quot;name&quot;]) -&gt; integer (see constants)
703
 
713
 
704
Returns the line join style of the object &quot;name&quot;. If &quot;name&quot; is not given
714
Returns the line join style of the object &quot;name&quot;. If &quot;name&quot; is not given
705
the currently selected item is used.  The join types are:
715
the currently selected item is used.  The join types are:
706
JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND
716
JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND
707
</source>
717
</source>
708
        <translation type="unfinished"></translation>
718
        <translation type="unfinished"></translation>
709
    </message>
719
    </message>
710
    <message>
720
    <message>
711
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="113"/>
721
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="108"/>
712
        <source>getLineEnd([&quot;name&quot;]) -&gt; integer (see constants)
722
        <source>getLineEnd([&quot;name&quot;]) -&gt; integer (see constants)
713
 
723
 
714
Returns the line cap style of the object &quot;name&quot;. If &quot;name&quot; is not given the
724
Returns the line cap style of the object &quot;name&quot;. If &quot;name&quot; is not given the
715
currently selected item is used. The cap types are:
725
currently selected item is used. The cap types are:
716
CAP_FLAT, CAP_ROUND, CAP_SQUARE
726
CAP_FLAT, CAP_ROUND, CAP_SQUARE
Line 721... Line 731...
721
currently selected item is used. The cap types are:
731
currently selected item is used. The cap types are:
722
CAP_FLAT, CAP_ROUND, CAP_SQUARE
732
CAP_FLAT, CAP_ROUND, CAP_SQUARE
723
</translation>
733
</translation>
724
    </message>
734
    </message>
725
    <message>
735
    <message>
726
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="124"/>
736
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="119"/>
727
        <source>getLineStyle([&quot;name&quot;]) -&gt; integer (see constants)
737
        <source>getLineStyle([&quot;name&quot;]) -&gt; integer (see constants)
728
 
738
 
729
Returns the line style of the object &quot;name&quot;. If &quot;name&quot; is not given the
739
Returns the line style of the object &quot;name&quot;. If &quot;name&quot; is not given the
730
currently selected item is used. Line style constants are:
740
currently selected item is used. Line style constants are:
731
LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
741
LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
Line 736... Line 746...
736
currently selected item is used. Line style constants are:
746
currently selected item is used. Line style constants are:
737
LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
747
LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
738
</translation>
748
</translation>
739
    </message>
749
    </message>
740
    <message>
750
    <message>
741
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="134"/>
751
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="130"/>
742
        <source>getFillShade([&quot;name&quot;]) -&gt; integer
752
        <source>getFillShade([&quot;name&quot;]) -&gt; integer
743
 
753
 
744
Returns the shading value of the fill color of the object &quot;name&quot;.
754
Returns the shading value of the fill color of the object &quot;name&quot;.
745
If &quot;name&quot; is not given the currently selected item is used.
755
If &quot;name&quot; is not given the currently selected item is used.
746
</source>
756
</source>
Line 749... Line 759...
749
Returns the shading value of the fill colour of the object &quot;name&quot;.
759
Returns the shading value of the fill colour of the object &quot;name&quot;.
750
If &quot;name&quot; is not given the currently selected item is used.
760
If &quot;name&quot; is not given the currently selected item is used.
751
</translation>
761
</translation>
752
    </message>
762
    </message>
753
    <message>
763
    <message>
754
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="145"/>
764
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="140"/>
755
        <source>getCornerRadius([&quot;name&quot;]) -&gt; integer
765
        <source>getCornerRadius([&quot;name&quot;]) -&gt; integer
756
 
766
 
757
Returns the corner radius of the object &quot;name&quot;. The radius is
767
Returns the corner radius of the object &quot;name&quot;. The radius is
758
expressed in points. If &quot;name&quot; is not given the currently
768
expressed in points. If &quot;name&quot; is not given the currently
759
selected item is used.
769
selected item is used.
760
</source>
770
</source>
761
        <translation type="unfinished"></translation>
771
        <translation type="unfinished"></translation>
762
    </message>
772
    </message>
763
    <message>
773
    <message>
764
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="155"/>
774
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="151"/>
765
        <source>getImageScale([&quot;name&quot;]) -&gt; (x,y)
775
        <source>getImageScale([&quot;name&quot;]) -&gt; (x,y)
766
 
776
 
767
Returns a (x, y) tuple containing the scaling values of the image frame
777
Returns a (x, y) tuple containing the scaling values of the image frame
768
&quot;name&quot;.  If &quot;name&quot; is not given the currently selected item is used.
778
&quot;name&quot;.  If &quot;name&quot; is not given the currently selected item is used.
769
</source>
779
</source>
Line 772... Line 782...
772
Returns a (x, y) tuple containing the scaling values of the image frame
782
Returns a (x, y) tuple containing the scaling values of the image frame
773
&quot;name&quot;.  If &quot;name&quot; is not given the currently selected item is used.
783
&quot;name&quot;.  If &quot;name&quot; is not given the currently selected item is used.
774
</translation>
784
</translation>
775
    </message>
785
    </message>
776
    <message>
786
    <message>
777
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="165"/>
787
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="161"/>
778
        <source>getImageName([&quot;name&quot;]) -&gt; string
788
        <source>getImageName([&quot;name&quot;]) -&gt; string
779
 
789
 
780
Returns the filename for the image in the image frame. If &quot;name&quot; is not
790
Returns the filename for the image in the image frame. If &quot;name&quot; is not
781
given the currently selected item is used.
791
given the currently selected item is used.
782
</source>
792
</source>
Line 785... Line 795...
785
Returns the filename for the image in the image frame. If &quot;name&quot; is not
795
Returns the filename for the image in the image frame. If &quot;name&quot; is not
786
given the currently selected item is used.
796
given the currently selected item is used.
787
</translation>
797
</translation>
788
    </message>
798
    </message>
789
    <message>
799
    <message>
790
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="177"/>
800
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="171"/>
791
        <source>getPosition([&quot;name&quot;]) -&gt; (x,y)
801
        <source>getPosition([&quot;name&quot;]) -&gt; (x,y)
792
 
802
 
793
Returns a (x, y) tuple with the position of the object &quot;name&quot;.
803
Returns a (x, y) tuple with the position of the object &quot;name&quot;.
794
If &quot;name&quot; is not given the currently selected item is used.
804
If &quot;name&quot; is not given the currently selected item is used.
795
The position is expressed in the actual measurement unit of the document
805
The position is expressed in the actual measurement unit of the document
796
- see UNIT_&lt;type&gt; for reference.
806
- see UNIT_&lt;type&gt; for reference.
797
</source>
807
</source>
798
        <translation type="unfinished"></translation>
808
        <translation type="unfinished"></translation>
799
    </message>
809
    </message>
800
    <message>
810
    <message>
801
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="189"/>
811
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="183"/>
802
        <source>getSize([&quot;name&quot;]) -&gt; (width,height)
812
        <source>getSize([&quot;name&quot;]) -&gt; (width,height)
803
 
813
 
804
Returns a (width, height) tuple with the size of the object &quot;name&quot;.
814
Returns a (width, height) tuple with the size of the object &quot;name&quot;.
805
If &quot;name&quot; is not given the currently selected item is used. The size is
815
If &quot;name&quot; is not given the currently selected item is used. The size is
806
expressed in the current measurement unit of the document - see UNIT_&lt;type&gt;
816
expressed in the current measurement unit of the document - see UNIT_&lt;type&gt;
Line 813... Line 823...
813
expressed in the current measurement unit of the document - see UNIT_&lt;type&gt;
823
expressed in the current measurement unit of the document - see UNIT_&lt;type&gt;
814
for reference.
824
for reference.
815
</translation>
825
</translation>
816
    </message>
826
    </message>
817
    <message>
827
    <message>
818
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="200"/>
828
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="195"/>
819
        <source>getRotation([&quot;name&quot;]) -&gt; integer
829
        <source>getRotation([&quot;name&quot;]) -&gt; integer
820
 
830
 
821
Returns the rotation of the object &quot;name&quot;. The value is expressed in degrees,
831
Returns the rotation of the object &quot;name&quot;. The value is expressed in degrees,
822
and clockwise is positive. If &quot;name&quot; is not given the currently selected item
832
and clockwise is positive. If &quot;name&quot; is not given the currently selected item
823
is used.
833
is used.
Line 828... Line 838...
828
and clockwise is positive. If &quot;name&quot; is not given the currently selected item
838
and clockwise is positive. If &quot;name&quot; is not given the currently selected item
829
is used.
839
is used.
830
</translation>
840
</translation>
831
    </message>
841
    </message>
832
    <message>
842
    <message>
833
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="209"/>
843
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="206"/>
834
        <source>getAllObjects() -&gt; list
844
        <source>getAllObjects() -&gt; list
835
 
845
 
836
Returns a list containing the names of all objects on the current page.
846
Returns a list containing the names of all objects on the current page.
837
</source>
847
</source>
838
        <translation type="unfinished">getAllObjects() -&gt; list
848
        <translation type="unfinished">getAllObjects() -&gt; list
839
 
849
 
840
Returns a list containing the names of all objects on the current page.
850
Returns a list containing the names of all objects on the current page.
841
</translation>
851
</translation>
842
    </message>
852
    </message>
843
    <message>
853
    <message>
844
        <location filename="../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="83"/>
854
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="77"/>
845
        <source>getPropertyCType(object, property, includesuper=True)
855
        <source>getPropertyCType(object, property, includesuper=True)
846
 
856
 
847
Returns the name of the C type of `property&apos; of `object&apos;. See getProperty()
857
Returns the name of the C type of `property&apos; of `object&apos;. See getProperty()
848
for details of arguments.
858
for details of arguments.
849
 
859
 
Line 856... Line 866...
856
 
866
 
857
If `includesuper&apos; is true, search inherited properties too.
867
If `includesuper&apos; is true, search inherited properties too.
858
</translation>
868
</translation>
859
    </message>
869
    </message>
860
    <message>
870
    <message>
861
        <location filename="../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="101"/>
871
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="96"/>
862
        <source>getPropertyNames(object, includesuper=True)
872
        <source>getPropertyNames(object, includesuper=True)
863
 
873
 
864
Return a list of property names supported by `object&apos;.
874
Return a list of property names supported by `object&apos;.
865
If `includesuper&apos; is true, return properties supported
875
If `includesuper&apos; is true, return properties supported
866
by parent classes as well.
876
by parent classes as well.
Line 871... Line 881...
871
If `includesuper&apos; is true, return properties supported
881
If `includesuper&apos; is true, return properties supported
872
by parent classes as well.
882
by parent classes as well.
873
</translation>
883
</translation>
874
    </message>
884
    </message>
875
    <message>
885
    <message>
876
        <location filename="../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="135"/>
886
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="123"/>
877
        <source>getProperty(object, property)
887
        <source>getProperty(object, property)
878
 
888
 
879
Return the value of the property `property&apos; of the passed `object&apos;.
889
Return the value of the property `property&apos; of the passed `object&apos;.
880
 
890
 
881
The `object&apos; argument may be a string, in which case the named PageItem
891
The `object&apos; argument may be a string, in which case the named PageItem
Line 900... Line 910...
900
 
910
 
901
The return value varies depending on the type of the property.
911
The return value varies depending on the type of the property.
902
</translation>
912
</translation>
903
    </message>
913
    </message>
904
    <message>
914
    <message>
905
        <location filename="../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="165"/>
915
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="158"/>
906
        <source>setProperty(object, property, value)
916
        <source>setProperty(object, property, value)
907
 
917
 
908
Set `property&apos; of `object&apos; to `value&apos;. If `value&apos; cannot be converted to a type
918
Set `property&apos; of `object&apos; to `value&apos;. If `value&apos; cannot be converted to a type
909
compatible with the type of `property&apos;, an exception is raised. An exception may
919
compatible with the type of `property&apos;, an exception is raised. An exception may
910
also be raised if the underlying setter fails.
920
also be raised if the underlying setter fails.
Line 919... Line 929...
919
 
929
 
920
See getProperty() for more information.
930
See getProperty() for more information.
921
</translation>
931
</translation>
922
    </message>
932
    </message>
923
    <message>
933
    <message>
924
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="23"/>
934
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="17"/>
925
        <source>moveObject(dx, dy [, &quot;name&quot;])
935
        <source>moveObject(dx, dy [, &quot;name&quot;])
926
 
936
 
927
Moves the object &quot;name&quot; by dx and dy relative to its current position. The
937
Moves the object &quot;name&quot; by dx and dy relative to its current position. The
928
distances are expressed in the current measurement unit of the document (see
938
distances are expressed in the current measurement unit of the document (see
929
UNIT constants). If &quot;name&quot; is not given the currently selected item is used.
939
UNIT constants). If &quot;name&quot; is not given the currently selected item is used.
Line 936... Line 946...
936
UNIT constants). If &quot;name&quot; is not given the currently selected item is used.
946
UNIT constants). If &quot;name&quot; is not given the currently selected item is used.
937
If the object &quot;name&quot; belongs to a group, the whole group is moved.
947
If the object &quot;name&quot; belongs to a group, the whole group is moved.
938
</translation>
948
</translation>
939
    </message>
949
    </message>
940
    <message>
950
    <message>
941
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="35"/>
951
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="29"/>
942
        <source>moveObjectAbs(x, y [, &quot;name&quot;])
952
        <source>moveObjectAbs(x, y [, &quot;name&quot;])
943
 
953
 
944
Moves the object &quot;name&quot; to a new location. The coordinates are expressed in
954
Moves the object &quot;name&quot; to a new location. The coordinates are expressed in
945
the current measurement unit of the document (see UNIT constants).  If &quot;name&quot;
955
the current measurement unit of the document (see UNIT constants).  If &quot;name&quot;
946
is not given the currently selected item is used.  If the object &quot;name&quot;
956
is not given the currently selected item is used.  If the object &quot;name&quot;
Line 953... Line 963...
953
is not given the currently selected item is used.  If the object &quot;name&quot;
963
is not given the currently selected item is used.  If the object &quot;name&quot;
954
belongs to a group, the whole group is moved.
964
belongs to a group, the whole group is moved.
955
</translation>
965
</translation>
956
    </message>
966
    </message>
957
    <message>
967
    <message>
958
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="48"/>
968
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="41"/>
959
        <source>rotateObject(rot [, &quot;name&quot;])
969
        <source>rotateObject(rot [, &quot;name&quot;])
960
 
970
 
961
Rotates the object &quot;name&quot; by &quot;rot&quot; degrees relatively. The object is
971
Rotates the object &quot;name&quot; by &quot;rot&quot; degrees relatively. The object is
962
rotated by the vertex that is currently selected as the rotation point - by
972
rotated by the vertex that is currently selected as the rotation point - by
963
default, the top left vertex at zero rotation. Positive values mean counter
973
default, the top left vertex at zero rotation. Positive values mean counter
Line 965... Line 975...
965
given the currently selected item is used.
975
given the currently selected item is used.
966
</source>
976
</source>
967
        <translation type="unfinished"></translation>
977
        <translation type="unfinished"></translation>
968
    </message>
978
    </message>
969
    <message>
979
    <message>
970
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="59"/>
980
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="54"/>
971
        <source>rotateObjectAbs(rot [, &quot;name&quot;])
981
        <source>rotateObjectAbs(rot [, &quot;name&quot;])
972
 
982
 
973
Sets the rotation of the object &quot;name&quot; to &quot;rot&quot;. Positive values
983
Sets the rotation of the object &quot;name&quot; to &quot;rot&quot;. Positive values
974
mean counter clockwise rotation. If &quot;name&quot; is not given the currently
984
mean counter clockwise rotation. If &quot;name&quot; is not given the currently
975
selected item is used.
985
selected item is used.
976
</source>
986
</source>
977
        <translation type="unfinished"></translation>
987
        <translation type="unfinished"></translation>
978
    </message>
988
    </message>
979
    <message>
989
    <message>
980
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="69"/>
990
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="65"/>
981
        <source>sizeObject(width, height [, &quot;name&quot;])
991
        <source>sizeObject(width, height [, &quot;name&quot;])
982
 
992
 
983
Resizes the object &quot;name&quot; to the given width and height. If &quot;name&quot;
993
Resizes the object &quot;name&quot; to the given width and height. If &quot;name&quot;
984
is not given the currently selected item is used.
994
is not given the currently selected item is used.
985
</source>
995
</source>
Line 988... Line 998...
988
Resizes the object &quot;name&quot; to the given width and height. If &quot;name&quot;
998
Resizes the object &quot;name&quot; to the given width and height. If &quot;name&quot;
989
is not given the currently selected item is used.
999
is not given the currently selected item is used.
990
</translation>
1000
</translation>
991
    </message>
1001
    </message>
992
    <message>
1002
    <message>
993
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="80"/>
1003
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="75"/>
994
        <source>getSelectedObject([nr]) -&gt; string
1004
        <source>getSelectedObject([nr]) -&gt; string
995
 
1005
 
996
Returns the name of the selected object. &quot;nr&quot; if given indicates the number
1006
Returns the name of the selected object. &quot;nr&quot; if given indicates the number
997
of the selected object, e.g. 0 means the first selected object, 1 means the
1007
of the selected object, e.g. 0 means the first selected object, 1 means the
998
second selected Object and so on.
1008
second selected Object and so on.
Line 1003... Line 1013...
1003
of the selected object, e.g. 0 means the first selected object, 1 means the
1013
of the selected object, e.g. 0 means the first selected object, 1 means the
1004
second selected Object and so on.
1014
second selected Object and so on.
1005
</translation>
1015
</translation>
1006
    </message>
1016
    </message>
1007
    <message>
1017
    <message>
1008
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="89"/>
1018
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="86"/>
1009
        <source>selectionCount() -&gt; integer
1019
        <source>selectionCount() -&gt; integer
1010
 
1020
 
1011
Returns the number of selected objects.
1021
Returns the number of selected objects.
1012
</source>
1022
</source>
1013
        <translation type="unfinished">selectionCount() -&gt; integer
1023
        <translation type="unfinished">selectionCount() -&gt; integer
1014
 
1024
 
1015
Returns the number of selected objects.
1025
Returns the number of selected objects.
1016
</translation>
1026
</translation>
1017
    </message>
1027
    </message>
1018
    <message>
1028
    <message>
1019
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="98"/>
1029
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="95"/>
1020
        <source>selectObject(&quot;name&quot;)
1030
        <source>selectObject(&quot;name&quot;)
1021
 
1031
 
1022
Selects the object with the given &quot;name&quot;.
1032
Selects the object with the given &quot;name&quot;.
1023
</source>
1033
</source>
1024
        <translation type="unfinished">selectObject(&quot;name&quot;)
1034
        <translation type="unfinished">selectObject(&quot;name&quot;)
1025
 
1035
 
1026
Selects the object with the given &quot;name&quot;.
1036
Selects the object with the given &quot;name&quot;.
1027
</translation>
1037
</translation>
1028
    </message>
1038
    </message>
1029
    <message>
1039
    <message>
1030
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="107"/>
1040
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="104"/>
1031
        <source>deselectAll()
1041
        <source>deselectAll()
1032
 
1042
 
1033
Deselects all objects in the whole document.
1043
Deselects all objects in the whole document.
1034
</source>
1044
</source>
1035
        <translation type="unfinished">deselectAll()
1045
        <translation type="unfinished">deselectAll()
1036
 
1046
 
1037
Deselects all objects in the whole document.
1047
Deselects all objects in the whole document.
1038
</translation>
1048
</translation>
1039
    </message>
1049
    </message>
1040
    <message>
1050
    <message>
1041
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="118"/>
1051
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="113"/>
1042
        <source>groupObjects(list)
1052
        <source>groupObjects(list)
1043
 
1053
 
1044
Groups the objects named in &quot;list&quot; together. &quot;list&quot; must contain the names
1054
Groups the objects named in &quot;list&quot; together. &quot;list&quot; must contain the names
1045
of the objects to be grouped. If &quot;list&quot; is not given the currently selected
1055
of the objects to be grouped. If &quot;list&quot; is not given the currently selected
1046
items are used.
1056
items are used.
Line 1051... Line 1061...
1051
of the objects to be grouped. If &quot;list&quot; is not given the currently selected
1061
of the objects to be grouped. If &quot;list&quot; is not given the currently selected
1052
items are used.
1062
items are used.
1053
</translation>
1063
</translation>
1054
    </message>
1064
    </message>
1055
    <message>
1065
    <message>
1056
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="126"/>
1066
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="124"/>
1057
        <source>unGroupObjects(&quot;name&quot;)
1067
        <source>unGroupObjects(&quot;name&quot;)
1058
 
1068
 
1059
Destructs the group the object &quot;name&quot; belongs to.If &quot;name&quot; is not given the currently selected item is used.</source>
1069
Destructs the group the object &quot;name&quot; belongs to.If &quot;name&quot; is not given the currently selected item is used.</source>
1060
        <translation type="unfinished">unGroupObjects(&quot;name&quot;)
1070
        <translation type="unfinished">unGroupObjects(&quot;name&quot;)
1061
 
1071
 
1062
Destructs the group the object &quot;name&quot; belongs to.If &quot;name&quot; is not given the currently selected item is used.</translation>
1072
Destructs the group the object &quot;name&quot; belongs to.If &quot;name&quot; is not given the currently selected item is used.</translation>
1063
    </message>
1073
    </message>
1064
    <message>
1074
    <message>
1065
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="141"/>
1075
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="132"/>
1066
        <source>scaleGroup(factor [,&quot;name&quot;])
1076
        <source>scaleGroup(factor [,&quot;name&quot;])
1067
 
1077
 
1068
Scales the group the object &quot;name&quot; belongs to. Values greater than 1 enlarge
1078
Scales the group the object &quot;name&quot; belongs to. Values greater than 1 enlarge
1069
the group, values smaller than 1 make the group smaller e.g a value of 0.5
1079
the group, values smaller than 1 make the group smaller e.g a value of 0.5
1070
scales the group to 50 % of its original size, a value of 1.5 scales the group
1080
scales the group to 50 % of its original size, a value of 1.5 scales the group
Line 1083... Line 1093...
1083
 
1093
 
1084
May raise ValueError if an invalid scale factor is passed.
1094
May raise ValueError if an invalid scale factor is passed.
1085
</translation>
1095
</translation>
1086
    </message>
1096
    </message>
1087
    <message>
1097
    <message>
1088
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="153"/>
1098
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="147"/>
1089
        <source>loadImage(&quot;filename&quot; [, &quot;name&quot;])
1099
        <source>loadImage(&quot;filename&quot; [, &quot;name&quot;])
1090
 
1100
 
1091
Loads the picture &quot;picture&quot; into the image frame &quot;name&quot;. If &quot;name&quot; is
1101
Loads the picture &quot;picture&quot; into the image frame &quot;name&quot;. If &quot;name&quot; is
1092
not given the currently selected item is used.
1102
not given the currently selected item is used.
1093
 
1103
 
Line 1100... Line 1110...
1100
 
1110
 
1101
May raise WrongFrameTypeError if the target frame is not an image frame
1111
May raise WrongFrameTypeError if the target frame is not an image frame
1102
</translation>
1112
</translation>
1103
    </message>
1113
    </message>
1104
    <message>
1114
    <message>
1105
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="166"/>
-
 
1106
        <source>scaleImage(x, y [, &quot;name&quot;])
1115
        <source>scaleImage(x, y [, &quot;name&quot;])
1107
 
1116
 
1108
Sets the scaling factors of the picture in the image frame &quot;name&quot;.
1117
Sets the scaling factors of the picture in the image frame &quot;name&quot;.
1109
If &quot;name&quot; is not given the currently selected item is used. A number of 1
1118
If &quot;name&quot; is not given the currently selected item is used. A number of 1
1110
means 100 %.
1119
means 100 %.
Line 1119... Line 1128...
1119
 
1128
 
1120
May raise WrongFrameTypeError if the target frame is not an image frame
1129
May raise WrongFrameTypeError if the target frame is not an image frame
1121
</translation>
1130
</translation>
1122
    </message>
1131
    </message>
1123
    <message>
1132
    <message>
1124
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="191"/>
1133
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="186"/>
1125
        <source>lockObject([&quot;name&quot;]) -&gt; bool
1134
        <source>lockObject([&quot;name&quot;]) -&gt; bool
1126
 
1135
 
1127
Locks the object &quot;name&quot; if it&apos;s unlocked or unlock it if it&apos;s locked.
1136
Locks the object &quot;name&quot; if it&apos;s unlocked or unlock it if it&apos;s locked.
1128
If &quot;name&quot; is not given the currently selected item is used. Returns true
1137
If &quot;name&quot; is not given the currently selected item is used. Returns true
1129
if locked.
1138
if locked.
Line 1134... Line 1143...
1134
If &quot;name&quot; is not given the currently selected item is used. Returns true
1143
If &quot;name&quot; is not given the currently selected item is used. Returns true
1135
if locked.
1144
if locked.
1136
</translation>
1145
</translation>
1137
    </message>
1146
    </message>
1138
    <message>
1147
    <message>
1139
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="201"/>
1148
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="197"/>
1140
        <source>isLocked([&quot;name&quot;]) -&gt; bool
1149
        <source>isLocked([&quot;name&quot;]) -&gt; bool
1141
 
1150
 
1142
Returns true if is the object &quot;name&quot; locked.  If &quot;name&quot; is not given the
1151
Returns true if is the object &quot;name&quot; locked.  If &quot;name&quot; is not given the
1143
currently selected item is used.
1152
currently selected item is used.
1144
</source>
1153
</source>
Line 1147... Line 1156...
1147
Returns true if is the object &quot;name&quot; locked.  If &quot;name&quot; is not given the
1156
Returns true if is the object &quot;name&quot; locked.  If &quot;name&quot; is not given the
1148
currently selected item is used.
1157
currently selected item is used.
1149
</translation>
1158
</translation>
1150
    </message>
1159
    </message>
1151
    <message>
1160
    <message>
1152
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="213"/>
1161
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="206"/>
1153
        <source>setScaleImageToFrame(scaletoframe, proportional=None, name=&lt;selection&gt;)
1162
        <source>setScaleImageToFrame(scaletoframe, proportional=None, name=&lt;selection&gt;)
1154
 
1163
 
1155
Sets the scale to frame on the selected or specified image frame to `scaletoframe&apos;.
1164
Sets the scale to frame on the selected or specified image frame to `scaletoframe&apos;.
1156
If `proportional&apos; is specified, set fixed aspect ratio scaling to `proportional&apos;.
1165
If `proportional&apos; is specified, set fixed aspect ratio scaling to `proportional&apos;.
1157
Both `scaletoframe&apos; and `proportional&apos; are boolean.
1166
Both `scaletoframe&apos; and `proportional&apos; are boolean.
Line 1166... Line 1175...
1166
 
1175
 
1167
May raise WrongFrameTypeError.
1176
May raise WrongFrameTypeError.
1168
</translation>
1177
</translation>
1169
    </message>
1178
    </message>
1170
    <message>
1179
    <message>
1171
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="24"/>
1180
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="19"/>
1172
        <source>setRedraw(bool)
1181
        <source>setRedraw(bool)
1173
 
1182
 
1174
Disables page redraw when bool = False, otherwise redrawing is enabled.
1183
Disables page redraw when bool = False, otherwise redrawing is enabled.
1175
This change will persist even after the script exits, so make sure to call
1184
This change will persist even after the script exits, so make sure to call
1176
setRedraw(True) in a finally: clause at the top level of your script.
1185
setRedraw(True) in a finally: clause at the top level of your script.
Line 1181... Line 1190...
1181
This change will persist even after the script exits, so make sure to call
1190
This change will persist even after the script exits, so make sure to call
1182
setRedraw(True) in a finally: clause at the top level of your script.
1191
setRedraw(True) in a finally: clause at the top level of your script.
1183
</translation>
1192
</translation>
1184
    </message>
1193
    </message>
1185
    <message>
1194
    <message>
1186
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="33"/>
1195
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="30"/>
1187
        <source>getFontNames() -&gt; list
1196
        <source>getFontNames() -&gt; list
1188
 
1197
 
1189
Returns a list with the names of all available fonts.
1198
Returns a list with the names of all available fonts.
1190
</source>
1199
</source>
1191
        <translation type="unfinished">getFontNames() -&gt; list
1200
        <translation type="unfinished">getFontNames() -&gt; list
1192
 
1201
 
1193
Returns a list with the names of all available fonts.
1202
Returns a list with the names of all available fonts.
1194
</translation>
1203
</translation>
1195
    </message>
1204
    </message>
1196
    <message>
1205
    <message>
1197
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="43"/>
1206
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="39"/>
1198
        <source>getXFontNames() -&gt; list of tuples
1207
        <source>getXFontNames() -&gt; list of tuples
1199
 
1208
 
1200
Returns a larger font info. It&apos;s a list of the tuples with:
1209
Returns a larger font info. It&apos;s a list of the tuples with:
1201
[ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ]
1210
[ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ]
1202
</source>
1211
</source>
Line 1205... Line 1214...
1205
Returns a larger font info. It&apos;s a list of the tuples with:
1214
Returns a larger font info. It&apos;s a list of the tuples with:
1206
[ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ]
1215
[ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ]
1207
</translation>
1216
</translation>
1208
    </message>
1217
    </message>
1209
    <message>
1218
    <message>
1210
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="62"/>
1219
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="52"/>
1211
        <source>renderFont(&quot;name&quot;, &quot;filename&quot;, &quot;sample&quot;, size, format=&quot;PPM&quot;) -&gt; bool
1220
        <source>renderFont(&quot;name&quot;, &quot;filename&quot;, &quot;sample&quot;, size, format=&quot;PPM&quot;) -&gt; bool
1212
 
1221
 
1213
Creates an image preview of font &quot;name&quot; with given text &quot;sample&quot; and size.
1222
Creates an image preview of font &quot;name&quot; with given text &quot;sample&quot; and size.
1214
If &quot;filename&quot; is not &quot;&quot;, image is saved into &quot;filename&quot;. Otherwise
1223
If &quot;filename&quot; is not &quot;&quot;, image is saved into &quot;filename&quot;. Otherwise
1215
image data is returned as a string. The optional &quot;format&quot; argument
1224
image data is returned as a string. The optional &quot;format&quot; argument
Line 1230... Line 1239...
1230
May raise NotFoundError if the specified font can&apos;t be found.
1239
May raise NotFoundError if the specified font can&apos;t be found.
1231
May raise ValueError if an empty sample or filename is passed.
1240
May raise ValueError if an empty sample or filename is passed.
1232
</translation>
1241
</translation>
1233
    </message>
1242
    </message>
1234
    <message>
1243
    <message>
1235
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="71"/>
1244
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="68"/>
1236
        <source>getLayers() -&gt; list
1245
        <source>getLayers() -&gt; list
1237
 
1246
 
1238
Returns a list with the names of all defined layers.
1247
Returns a list with the names of all defined layers.
1239
</source>
1248
</source>
1240
        <translation type="unfinished">getLayers() -&gt; list
1249
        <translation type="unfinished">getLayers() -&gt; list
1241
 
1250
 
1242
Returns a list with the names of all defined layers.
1251
Returns a list with the names of all defined layers.
1243
</translation>
1252
</translation>
1244
    </message>
1253
    </message>
1245
    <message>
1254
    <message>
1246
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="83"/>
1255
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="77"/>
1247
        <source>setActiveLayer(&quot;name&quot;)
1256
        <source>setActiveLayer(&quot;name&quot;)
1248
 
1257
 
1249
Sets the active layer to the layer named &quot;name&quot;.
1258
Sets the active layer to the layer named &quot;name&quot;.
1250
 
1259
 
1251
May raise NotFoundError if the layer can&apos;t be found.
1260
May raise NotFoundError if the layer can&apos;t be found.
Line 1258... Line 1267...
1258
May raise NotFoundError if the layer can&apos;t be found.
1267
May raise NotFoundError if the layer can&apos;t be found.
1259
May raise ValueError if the layer name isn&apos;t acceptable.
1268
May raise ValueError if the layer name isn&apos;t acceptable.
1260
</translation>
1269
</translation>
1261
    </message>
1270
    </message>
1262
    <message>
1271
    <message>
1263
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="92"/>
1272
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="89"/>
1264
        <source>getActiveLayer() -&gt; string
1273
        <source>getActiveLayer() -&gt; string
1265
 
1274
 
1266
Returns the name of the current active layer.
1275
Returns the name of the current active layer.
1267
</source>
1276
</source>
1268
        <translation type="unfinished">getActiveLayer() -&gt; string
1277
        <translation type="unfinished">getActiveLayer() -&gt; string
1269
 
1278
 
1270
Returns the name of the current active layer.
1279
Returns the name of the current active layer.
1271
</translation>
1280
</translation>
1272
    </message>
1281
    </message>
1273
    <message>
1282
    <message>
1274
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="105"/>
1283
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="98"/>
1275
        <source>sentToLayer(&quot;layer&quot; [, &quot;name&quot;])
1284
        <source>sentToLayer(&quot;layer&quot; [, &quot;name&quot;])
1276
 
1285
 
1277
Sends the object &quot;name&quot; to the layer &quot;layer&quot;. The layer must exist.
1286
Sends the object &quot;name&quot; to the layer &quot;layer&quot;. The layer must exist.
1278
If &quot;name&quot; is not given the currently selected item is used.
1287
If &quot;name&quot; is not given the currently selected item is used.
1279
 
1288
 
Line 1288... Line 1297...
1288
May raise NotFoundError if the layer can&apos;t be found.
1297
May raise NotFoundError if the layer can&apos;t be found.
1289
May raise ValueError if the layer name isn&apos;t acceptable.
1298
May raise ValueError if the layer name isn&apos;t acceptable.
1290
</translation>
1299
</translation>
1291
    </message>
1300
    </message>
1292
    <message>
1301
    <message>
1293
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="118"/>
1302
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="111"/>
1294
        <source>setLayerVisible(&quot;layer&quot;, visible)
1303
        <source>setLayerVisible(&quot;layer&quot;, visible)
1295
 
1304
 
1296
Sets the layer &quot;layer&quot; to be visible or not. If is the visible set to false
1305
Sets the layer &quot;layer&quot; to be visible or not. If is the visible set to false
1297
the layer is invisible.
1306
the layer is invisible.
1298
 
1307
 
Line 1307... Line 1316...
1307
May raise NotFoundError if the layer can&apos;t be found.
1316
May raise NotFoundError if the layer can&apos;t be found.
1308
May raise ValueError if the layer name isn&apos;t acceptable.
1317
May raise ValueError if the layer name isn&apos;t acceptable.
1309
</translation>
1318
</translation>
1310
    </message>
1319
    </message>
1311
    <message>
1320
    <message>
1312
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="131"/>
1321
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="124"/>
1313
        <source>setLayerPrintable(&quot;layer&quot;, printable)
1322
        <source>setLayerPrintable(&quot;layer&quot;, printable)
1314
 
1323
 
1315
Sets the layer &quot;layer&quot; to be printable or not. If is the
1324
Sets the layer &quot;layer&quot; to be printable or not. If is the
1316
printable set to false the layer won&apos;t be printed.
1325
printable set to false the layer won&apos;t be printed.
1317
 
1326
 
Line 1319... Line 1328...
1319
May raise ValueError if the layer name isn&apos;t acceptable.
1328
May raise ValueError if the layer name isn&apos;t acceptable.
1320
</source>
1329
</source>
1321
        <translation type="unfinished"></translation>
1330
        <translation type="unfinished"></translation>
1322
    </message>
1331
    </message>
1323
    <message>
1332
    <message>
1324
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="144"/>
1333
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="137"/>
1325
        <source>setLayerLocked(&quot;layer&quot;, locked)
1334
        <source>setLayerLocked(&quot;layer&quot;, locked)
1326
 
1335
 
1327
Sets the layer &quot;layer&quot; to be locked or not. If locked is set to
1336
Sets the layer &quot;layer&quot; to be locked or not. If locked is set to
1328
true the layer will be locked.
1337
true the layer will be locked.
1329
 
1338
 
Line 1331... Line 1340...
1331
May raise ValueError if the layer name isn&apos;t acceptable.
1340
May raise ValueError if the layer name isn&apos;t acceptable.
1332
</source>
1341
</source>
1333
        <translation type="unfinished"></translation>
1342
        <translation type="unfinished"></translation>
1334
    </message>
1343
    </message>
1335
    <message>
1344
    <message>
1336
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="157"/>
1345
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="150"/>
1337
        <source>setLayerOutlined(&quot;layer&quot;, outline)
1346
        <source>setLayerOutlined(&quot;layer&quot;, outline)
1338
 
1347
 
1339
Sets the layer &quot;layer&quot; to be locked or not. If outline is set to
1348
Sets the layer &quot;layer&quot; to be locked or not. If outline is set to
1340
true the layer will be displayed outlined.
1349
true the layer will be displayed outlined.
1341
 
1350
 
Line 1343... Line 1352...
1343
May raise ValueError if the layer name isn&apos;t acceptable.
1352
May raise ValueError if the layer name isn&apos;t acceptable.
1344
</source>
1353
</source>
1345
        <translation type="unfinished"></translation>
1354
        <translation type="unfinished"></translation>
1346
    </message>
1355
    </message>
1347
    <message>
1356
    <message>
1348
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="170"/>
1357
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="163"/>
1349
        <source>setLayerFlow(&quot;layer&quot;, flow)
1358
        <source>setLayerFlow(&quot;layer&quot;, flow)
1350
 
1359
 
1351
Sets the layers &quot;layer&quot;  flowcontrol to flow. If flow is set to
1360
Sets the layers &quot;layer&quot;  flowcontrol to flow. If flow is set to
1352
true text in layers above this one will flow around objects on this layer.
1361
true text in layers above this one will flow around objects on this layer.
1353
 
1362
 
Line 1355... Line 1364...
1355
May raise ValueError if the layer name isn&apos;t acceptable.
1364
May raise ValueError if the layer name isn&apos;t acceptable.
1356
</source>
1365
</source>
1357
        <translation type="unfinished"></translation>
1366
        <translation type="unfinished"></translation>
1358
    </message>
1367
    </message>
1359
    <message>
1368
    <message>
1360
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="182"/>
1369
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="176"/>
1361
        <source>setLayerBlendmode(&quot;layer&quot;, blend)
1370
        <source>setLayerBlendmode(&quot;layer&quot;, blend)
1362
 
1371
 
1363
Sets the layers &quot;layer&quot;  blendmode to blend.
1372
Sets the layers &quot;layer&quot;  blendmode to blend.
1364
 
1373
 
1365
May raise NotFoundError if the layer can&apos;t be found.
1374
May raise NotFoundError if the layer can&apos;t be found.
1366
May raise ValueError if the layer name isn&apos;t acceptable.
1375
May raise ValueError if the layer name isn&apos;t acceptable.
1367
</source>
1376
</source>
1368
        <translation type="unfinished"></translation>
1377
        <translation type="unfinished"></translation>
1369
    </message>
1378
    </message>
1370
    <message>
1379
    <message>
1371
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="194"/>
1380
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="188"/>
1372
        <source>setLayerTransparency(&quot;layer&quot;, trans)
1381
        <source>setLayerTransparency(&quot;layer&quot;, trans)
1373
 
1382
 
1374
Sets the layers &quot;layer&quot;  transparency to trans.
1383
Sets the layers &quot;layer&quot;  transparency to trans.
1375
 
1384
 
1376
May raise NotFoundError if the layer can&apos;t be found.
1385
May raise NotFoundError if the layer can&apos;t be found.
1377
May raise ValueError if the layer name isn&apos;t acceptable.
1386
May raise ValueError if the layer name isn&apos;t acceptable.
1378
</source>
1387
</source>
1379
        <translation type="unfinished"></translation>
1388
        <translation type="unfinished"></translation>
1380
    </message>
1389
    </message>
1381
    <message>
1390
    <message>
1382
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="208"/>
1391
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="200"/>
1383
        <source>isLayerVisible(&quot;layer&quot;) -&gt; bool
1392
        <source>isLayerVisible(&quot;layer&quot;) -&gt; bool
1384
 
1393
 
1385
Returns whether the layer &quot;layer&quot; is visible or not, a value of True means
1394
Returns whether the layer &quot;layer&quot; is visible or not, a value of True means
1386
that the layer &quot;layer&quot; is visible, a value of False means that the layer
1395
that the layer &quot;layer&quot; is visible, a value of False means that the layer
1387
&quot;layer&quot; is invisible.
1396
&quot;layer&quot; is invisible.
Line 1390... Line 1399...
1390
May raise ValueError if the layer name isn&apos;t acceptable.
1399
May raise ValueError if the layer name isn&apos;t acceptable.
1391
</source>
1400
</source>
1392
        <translation type="unfinished"></translation>
1401
        <translation type="unfinished"></translation>
1393
    </message>
1402
    </message>
1394
    <message>
1403
    <message>
1395
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="222"/>
1404
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="214"/>
1396
        <source>isLayerPrintable(&quot;layer&quot;) -&gt; bool
1405
        <source>isLayerPrintable(&quot;layer&quot;) -&gt; bool
1397
 
1406
 
1398
Returns whether the layer &quot;layer&quot; is printable or not, a value of True means
1407
Returns whether the layer &quot;layer&quot; is printable or not, a value of True means
1399
that the layer &quot;layer&quot; can be printed, a value of False means that printing
1408
that the layer &quot;layer&quot; can be printed, a value of False means that printing
1400
the layer &quot;layer&quot; is disabled.
1409
the layer &quot;layer&quot; is disabled.
Line 1411... Line 1420...
1411
May raise NotFoundError if the layer can&apos;t be found.
1420
May raise NotFoundError if the layer can&apos;t be found.
1412
May raise ValueError if the layer name isn&apos;t acceptable.
1421
May raise ValueError if the layer name isn&apos;t acceptable.
1413
</translation>
1422
</translation>
1414
    </message>
1423
    </message>
1415
    <message>
1424
    <message>
1416
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="236"/>
1425
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="228"/>
1417
        <source>isLayerLocked(&quot;layer&quot;) -&gt; bool
1426
        <source>isLayerLocked(&quot;layer&quot;) -&gt; bool
1418
 
1427
 
1419
Returns whether the layer &quot;layer&quot; is locked or not, a value of True means
1428
Returns whether the layer &quot;layer&quot; is locked or not, a value of True means
1420
that the layer &quot;layer&quot; is editable, a value of False means that the layer
1429
that the layer &quot;layer&quot; is editable, a value of False means that the layer
1421
&quot;layer&quot; is locked.
1430
&quot;layer&quot; is locked.
Line 1424... Line 1433...
1424
May raise ValueError if the layer name isn&apos;t acceptable.
1433
May raise ValueError if the layer name isn&apos;t acceptable.
1425
</source>
1434
</source>
1426
        <translation type="unfinished"></translation>
1435
        <translation type="unfinished"></translation>
1427
    </message>
1436
    </message>
1428
    <message>
1437
    <message>
1429
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="250"/>
1438
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="242"/>
1430
        <source>isLayerOutlined(&quot;layer&quot;) -&gt; bool
1439
        <source>isLayerOutlined(&quot;layer&quot;) -&gt; bool
1431
 
1440
 
1432
Returns whether the layer &quot;layer&quot; is outlined or not, a value of True means
1441
Returns whether the layer &quot;layer&quot; is outlined or not, a value of True means
1433
that the layer &quot;layer&quot; is outlined, a value of False means that the layer
1442
that the layer &quot;layer&quot; is outlined, a value of False means that the layer
1434
&quot;layer&quot; is normal.
1443
&quot;layer&quot; is normal.
Line 1437... Line 1446...
1437
May raise ValueError if the layer name isn&apos;t acceptable.
1446
May raise ValueError if the layer name isn&apos;t acceptable.
1438
</source>
1447
</source>
1439
        <translation type="unfinished"></translation>
1448
        <translation type="unfinished"></translation>
1440
    </message>
1449
    </message>
1441
    <message>
1450
    <message>
1442
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="263"/>
1451
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="256"/>
1443
        <source>isLayerFlow(&quot;layer&quot;) -&gt; bool
1452
        <source>isLayerFlow(&quot;layer&quot;) -&gt; bool
1444
 
1453
 
1445
Returns whether text flows around objects on layer &quot;layer&quot;, a value of True means
1454
Returns whether text flows around objects on layer &quot;layer&quot;, a value of True means
1446
that text flows around, a value of False means that the text does not flow around.
1455
that text flows around, a value of False means that the text does not flow around.
1447
 
1456
 
Line 1449... Line 1458...
1449
May raise ValueError if the layer name isn&apos;t acceptable.
1458
May raise ValueError if the layer name isn&apos;t acceptable.
1450
</source>
1459
</source>
1451
        <translation type="unfinished"></translation>
1460
        <translation type="unfinished"></translation>
1452
    </message>
1461
    </message>
1453
    <message>
1462
    <message>
1454
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="275"/>
1463
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="269"/>
1455
        <source>getLayerBlendmode(&quot;layer&quot;) -&gt; int
1464
        <source>getLayerBlendmode(&quot;layer&quot;) -&gt; int
1456
 
1465
 
1457
Returns the &quot;layer&quot; layer blendmode,
1466
Returns the &quot;layer&quot; layer blendmode,
1458
 
1467
 
1459
May raise NotFoundError if the layer can&apos;t be found.
1468
May raise NotFoundError if the layer can&apos;t be found.
1460
May raise ValueError if the layer name isn&apos;t acceptable.
1469
May raise ValueError if the layer name isn&apos;t acceptable.
1461
</source>
1470
</source>
1462
        <translation type="unfinished"></translation>
1471
        <translation type="unfinished"></translation>
1463
    </message>
1472
    </message>
1464
    <message>
1473
    <message>
1465
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="287"/>
1474
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="281"/>
1466
        <source>getLayerTransparency(&quot;layer&quot;) -&gt; float
1475
        <source>getLayerTransparency(&quot;layer&quot;) -&gt; float
1467
 
1476
 
1468
Returns the &quot;layer&quot; layer transparency,
1477
Returns the &quot;layer&quot; layer transparency,
1469
 
1478
 
1470
May raise NotFoundError if the layer can&apos;t be found.
1479
May raise NotFoundError if the layer can&apos;t be found.
1471
May raise ValueError if the layer name isn&apos;t acceptable.
1480
May raise ValueError if the layer name isn&apos;t acceptable.
1472
</source>
1481
</source>
1473
        <translation type="unfinished"></translation>
1482
        <translation type="unfinished"></translation>
1474
    </message>
1483
    </message>
1475
    <message>
1484
    <message>
1476
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="300"/>
1485
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="293"/>
1477
        <source>deleteLayer(&quot;layer&quot;)
1486
        <source>deleteLayer(&quot;layer&quot;)
1478
 
1487
 
1479
Deletes the layer with the name &quot;layer&quot;. Nothing happens if the layer doesn&apos;t
1488
Deletes the layer with the name &quot;layer&quot;. Nothing happens if the layer doesn&apos;t
1480
exists or if it&apos;s the only layer in the document.
1489
exists or if it&apos;s the only layer in the document.
1481
 
1490
 
Line 1490... Line 1499...
1490
May raise NotFoundError if the layer can&apos;t be found.
1499
May raise NotFoundError if the layer can&apos;t be found.
1491
May raise ValueError if the layer name isn&apos;t acceptable.
1500
May raise ValueError if the layer name isn&apos;t acceptable.
1492
</translation>
1501
</translation>
1493
    </message>
1502
    </message>
1494
    <message>
1503
    <message>
1495
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="311"/>
1504
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="306"/>
1496
        <source>createLayer(layer)
1505
        <source>createLayer(layer)
1497
 
1506
 
1498
Creates a new layer with the name &quot;name&quot;.
1507
Creates a new layer with the name &quot;name&quot;.
1499
 
1508
 
1500
May raise ValueError if the layer name isn&apos;t acceptable.
1509
May raise ValueError if the layer name isn&apos;t acceptable.
Line 1505... Line 1514...
1505
 
1514
 
1506
May raise ValueError if the layer name isn&apos;t acceptable.
1515
May raise ValueError if the layer name isn&apos;t acceptable.
1507
</translation>
1516
</translation>
1508
    </message>
1517
    </message>
1509
    <message>
1518
    <message>
1510
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="320"/>
1519
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="317"/>
1511
        <source>getGuiLanguage() -&gt; string
1520
        <source>getGuiLanguage() -&gt; string
1512
 
1521
 
1513
Returns a string with the -lang value.
1522
Returns a string with the -lang value.
1514
</source>
1523
</source>
1515
        <translation type="unfinished">getGuiLanguage() -&gt; string
1524
        <translation type="unfinished">getGuiLanguage() -&gt; string
1516
 
1525
 
1517
Returns a string with the -lang value.
1526
Returns a string with the -lang value.
1518
</translation>
1527
</translation>
1519
    </message>
1528
    </message>
1520
    <message>
1529
    <message>
1521
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="329"/>
1530
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="326"/>
1522
        <source>moveSelectionToFront()
1531
        <source>moveSelectionToFront()
1523
 
1532
 
1524
Moves current selection to front.
1533
Moves current selection to front.
1525
</source>
1534
</source>
1526
        <translation type="unfinished"></translation>
1535
        <translation type="unfinished"></translation>
1527
    </message>
1536
    </message>
1528
    <message>
1537
    <message>
1529
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="338"/>
1538
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="335"/>
1530
        <source>moveSelectionToFront()
1539
        <source>moveSelectionToFront()
1531
 
1540
 
1532
Moves current selection to back.
1541
Moves current selection to back.
1533
</source>
1542
</source>
1534
        <translation type="unfinished"></translation>
1543
        <translation type="unfinished"></translation>
1535
    </message>
1544
    </message>
1536
    <message>
1545
    <message>
1537
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="26"/>
1546
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="17"/>
1538
        <source>createRect(x, y, width, height, [&quot;name&quot;]) -&gt; string
1547
        <source>createRect(x, y, width, height, [&quot;name&quot;]) -&gt; string
1539
 
1548
 
1540
Creates a new rectangle on the current page and returns its name. The
1549
Creates a new rectangle on the current page and returns its name. The
1541
coordinates are given in the current measurement units of the document
1550
coordinates are given in the current measurement units of the document
1542
(see UNIT constants). &quot;name&quot; should be a unique identifier for the object
1551
(see UNIT constants). &quot;name&quot; should be a unique identifier for the object
Line 1555... Line 1564...
1555
 
1564
 
1556
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1565
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1557
</translation>
1566
</translation>
1558
    </message>
1567
    </message>
1559
    <message>
1568
    <message>
1560
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="43"/>
1569
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="34"/>
1561
        <source>createEllipse(x, y, width, height, [&quot;name&quot;]) -&gt; string
1570
        <source>createEllipse(x, y, width, height, [&quot;name&quot;]) -&gt; string
1562
 
1571
 
1563
Creates a new ellipse on the current page and returns its name.
1572
Creates a new ellipse on the current page and returns its name.
1564
The coordinates are given in the current measurement units of the document
1573
The coordinates are given in the current measurement units of the document
1565
(see UNIT constants). &quot;name&quot; should be a unique identifier for the object
1574
(see UNIT constants). &quot;name&quot; should be a unique identifier for the object
Line 1578... Line 1587...
1578
 
1587
 
1579
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1588
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1580
</translation>
1589
</translation>
1581
    </message>
1590
    </message>
1582
    <message>
1591
    <message>
1583
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="60"/>
1592
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="51"/>
1584
        <source>createImage(x, y, width, height, [&quot;name&quot;]) -&gt; string
1593
        <source>createImage(x, y, width, height, [&quot;name&quot;]) -&gt; string
1585
 
1594
 
1586
Creates a new picture frame on the current page and returns its name. The
1595
Creates a new picture frame on the current page and returns its name. The
1587
coordinates are given in the current measurement units of the document.
1596
coordinates are given in the current measurement units of the document.
1588
&quot;name&quot; should be a unique identifier for the object because you need this
1597
&quot;name&quot; should be a unique identifier for the object because you need this
Line 1601... Line 1610...
1601
 
1610
 
1602
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1611
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1603
</translation>
1612
</translation>
1604
    </message>
1613
    </message>
1605
    <message>
1614
    <message>
1606
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="75"/>
1615
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="66"/>
1607
        <source>createText(x, y, width, height, [&quot;name&quot;]) -&gt; string
1616
        <source>createText(x, y, width, height, [&quot;name&quot;]) -&gt; string
1608
 
1617
 
1609
Creates a new text frame on the actual page and returns its name.
1618
Creates a new text frame on the actual page and returns its name.
1610
The coordinates are given in the actual measurement unit of the document (see
1619
The coordinates are given in the actual measurement unit of the document (see
1611
UNIT constants). &quot;name&quot; should be a unique identifier for the object because
1620
UNIT constants). &quot;name&quot; should be a unique identifier for the object because
Line 1624... Line 1633...
1624
 
1633
 
1625
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1634
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1626
</translation>
1635
</translation>
1627
    </message>
1636
    </message>
1628
    <message>
1637
    <message>
1629
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="90"/>
1638
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="81"/>
1630
        <source>createLine(x1, y1, x2, y2, [&quot;name&quot;]) -&gt; string
1639
        <source>createLine(x1, y1, x2, y2, [&quot;name&quot;]) -&gt; string
1631
 
1640
 
1632
Creates a new line from the point(x1, y1) to the point(x2, y2) and returns
1641
Creates a new line from the point(x1, y1) to the point(x2, y2) and returns
1633
its name. The coordinates are given in the current measurement unit of the
1642
its name. The coordinates are given in the current measurement unit of the
1634
document (see UNIT constants). &quot;name&quot; should be a unique identifier for the
1643
document (see UNIT constants). &quot;name&quot; should be a unique identifier for the
Line 1647... Line 1656...
1647
 
1656
 
1648
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1657
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1649
</translation>
1658
</translation>
1650
    </message>
1659
    </message>
1651
    <message>
1660
    <message>
1652
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="108"/>
1661
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="96"/>
1653
        <source>createPolyLine(list, [&quot;name&quot;]) -&gt; string
1662
        <source>createPolyLine(list, [&quot;name&quot;]) -&gt; string
1654
 
1663
 
1655
Creates a new polyline and returns its name. The points for the polyline are
1664
Creates a new polyline and returns its name. The points for the polyline are
1656
stored in the list &quot;list&quot; in the following order: [x1, y1, x2, y2...xn. yn].
1665
stored in the list &quot;list&quot; in the following order: [x1, y1, x2, y2...xn. yn].
1657
The coordinates are given in the current measurement units of the document (see
1666
The coordinates are given in the current measurement units of the document (see
Line 1676... Line 1685...
1676
May raise ValueError if an insufficient number of points is passed or if
1685
May raise ValueError if an insufficient number of points is passed or if
1677
the number of values passed don&apos;t group into points without leftovers.
1686
the number of values passed don&apos;t group into points without leftovers.
1678
</translation>
1687
</translation>
1679
    </message>
1688
    </message>
1680
    <message>
1689
    <message>
1681
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="128"/>
1690
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="114"/>
1682
        <source>createPolygon(list, [&quot;name&quot;]) -&gt; string
1691
        <source>createPolygon(list, [&quot;name&quot;]) -&gt; string
1683
 
1692
 
1684
Creates a new polygon and returns its name. The points for the polygon are
1693
Creates a new polygon and returns its name. The points for the polygon are
1685
stored in the list &quot;list&quot; in the following order: [x1, y1, x2, y2...xn. yn].
1694
stored in the list &quot;list&quot; in the following order: [x1, y1, x2, y2...xn. yn].
1686
At least three points are required. There is no need to repeat the first point
1695
At least three points are required. There is no need to repeat the first point
Line 1709... Line 1718...
1709
May raise ValueError if an insufficient number of points is passed or if
1718
May raise ValueError if an insufficient number of points is passed or if
1710
the number of values passed don&apos;t group into points without leftovers.
1719
the number of values passed don&apos;t group into points without leftovers.
1711
</translation>
1720
</translation>
1712
    </message>
1721
    </message>
1713
    <message>
1722
    <message>
1714
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="149"/>
1723
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="134"/>
1715
        <source>createBezierLine(list, [&quot;name&quot;]) -&gt; string
1724
        <source>createBezierLine(list, [&quot;name&quot;]) -&gt; string
1716
 
1725
 
1717
Creates a new bezier curve and returns its name. The points for the bezier
1726
Creates a new bezier curve and returns its name. The points for the bezier
1718
curve are stored in the list &quot;list&quot; in the following order:
1727
curve are stored in the list &quot;list&quot; in the following order:
1719
[x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn]
1728
[x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn]
Line 1744... Line 1753...
1744
May raise ValueError if an insufficient number of points is passed or if
1753
May raise ValueError if an insufficient number of points is passed or if
1745
the number of values passed don&apos;t group into points without leftovers.
1754
the number of values passed don&apos;t group into points without leftovers.
1746
</translation>
1755
</translation>
1747
    </message>
1756
    </message>
1748
    <message>
1757
    <message>
1749
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="165"/>
1758
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="155"/>
1750
        <source>createPathText(x, y, &quot;textbox&quot;, &quot;beziercurve&quot;, [&quot;name&quot;]) -&gt; string
1759
        <source>createPathText(x, y, &quot;textbox&quot;, &quot;beziercurve&quot;, [&quot;name&quot;]) -&gt; string
1751
 
1760
 
1752
Creates a new pathText by merging the two objects &quot;textbox&quot; and
1761
Creates a new pathText by merging the two objects &quot;textbox&quot; and
1753
&quot;beziercurve&quot; and returns its name. The coordinates are given in the current
1762
&quot;beziercurve&quot; and returns its name. The coordinates are given in the current
1754
measurement unit of the document (see UNIT constants). &quot;name&quot; should be a
1763
measurement unit of the document (see UNIT constants). &quot;name&quot; should be a
Line 1769... Line 1778...
1769
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1778
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1770
May raise NotFoundError if one or both of the named base object don&apos;t exist.
1779
May raise NotFoundError if one or both of the named base object don&apos;t exist.
1771
</translation>
1780
</translation>
1772
    </message>
1781
    </message>
1773
    <message>
1782
    <message>
1774
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="177"/>
1783
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="173"/>
1775
        <source>deleteObject([&quot;name&quot;])
1784
        <source>deleteObject([&quot;name&quot;])
1776
 
1785
 
1777
Deletes the item with the name &quot;name&quot;. If &quot;name&quot; is not given the currently
1786
Deletes the item with the name &quot;name&quot;. If &quot;name&quot; is not given the currently
1778
selected item is deleted.
1787
selected item is deleted.
1779
</source>
1788
</source>
Line 1782... Line 1791...
1782
Deletes the item with the name &quot;name&quot;. If &quot;name&quot; is not given the currently
1791
Deletes the item with the name &quot;name&quot;. If &quot;name&quot; is not given the currently
1783
selected item is deleted.
1792
selected item is deleted.
1784
</translation>
1793
</translation>
1785
    </message>
1794
    </message>
1786
    <message>
1795
    <message>
1787
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="193"/>
1796
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="184"/>
1788
        <source>textFlowMode(&quot;name&quot; [, state])
1797
        <source>textFlowMode(&quot;name&quot; [, state])
1789
 
1798
 
1790
Enables/disables &quot;Text Flows Around Frame&quot; feature for object &quot;name&quot;.
1799
Enables/disables &quot;Text Flows Around Frame&quot; feature for object &quot;name&quot;.
1791
Called with parameters string name and optional int &quot;state&quot; (0 &lt;= state &lt;= 3).
1800
Called with parameters string name and optional int &quot;state&quot; (0 &lt;= state &lt;= 3).
1792
Setting &quot;state&quot; to 0 will disable text flow.
1801
Setting &quot;state&quot; to 0 will disable text flow.
Line 1796... Line 1805...
1796
If &quot;state&quot; is not passed, text flow is toggled.
1805
If &quot;state&quot; is not passed, text flow is toggled.
1797
</source>
1806
</source>
1798
        <translation type="unfinished"></translation>
1807
        <translation type="unfinished"></translation>
1799
    </message>
1808
    </message>
1800
    <message>
1809
    <message>
1801
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="211"/>
1810
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="206"/>
1802
        <source>objectExists([&quot;name&quot;]) -&gt; bool
1811
        <source>objectExists([&quot;name&quot;]) -&gt; bool
1803
 
1812
 
1804
Test if an object with specified name really exists in the document.
1813
Test if an object with specified name really exists in the document.
1805
The optional parameter is the object name. When no object name is given,
1814
The optional parameter is the object name. When no object name is given,
1806
returns True if there is something selected.
1815
returns True if there is something selected.
Line 1811... Line 1820...
1811
The optional parameter is the object name. When no object name is given,
1820
The optional parameter is the object name. When no object name is given,
1812
returns True if there is something selected.
1821
returns True if there is something selected.
1813
</translation>
1822
</translation>
1814
    </message>
1823
    </message>
1815
    <message>
1824
    <message>
1816
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="227"/>
1825
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="223"/>
1817
        <source>setStyle(&quot;style&quot; [, &quot;name&quot;])
1826
        <source>setStyle(&quot;style&quot; [, &quot;name&quot;])
1818
 
1827
 
1819
Apply the named &quot;style&quot; to the object named &quot;name&quot;. If is no object name
1828
Apply the named &quot;style&quot; to the object named &quot;name&quot;. If is no object name
1820
given, it&apos;s applied on the selected object.
1829
given, it&apos;s applied on the selected object.
1821
</source>
1830
</source>
Line 1824... Line 1833...
1824
Apply the named &quot;style&quot; to the object named &quot;name&quot;. If is no object name
1833
Apply the named &quot;style&quot; to the object named &quot;name&quot;. If is no object name
1825
given, it&apos;s applied on the selected object.
1834
given, it&apos;s applied on the selected object.
1826
</translation>
1835
</translation>
1827
    </message>
1836
    </message>
1828
    <message>
1837
    <message>
1829
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="240"/>
1838
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="237"/>
1830
        <source>getAllStyles() -&gt; list
1839
        <source>getAllStyles() -&gt; list
1831
 
1840
 
1832
Return a list of the names of all paragraph styles in the current document.
1841
Return a list of the names of all paragraph styles in the current document.
1833
</source>
1842
</source>
1834
        <translation type="unfinished">getAllStyles() -&gt; list
1843
        <translation type="unfinished">getAllStyles() -&gt; list
1835
 
1844
 
1836
Return a list of the names of all paragraph styles in the current document.
1845
Return a list of the names of all paragraph styles in the current document.
1837
</translation>
1846
</translation>
1838
    </message>
1847
    </message>
1839
    <message>
1848
    <message>
1840
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="252"/>
1849
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="249"/>
1841
        <source>duplicateObject([&quot;name&quot;]) -&gt; string
1850
        <source>duplicateObject([&quot;name&quot;]) -&gt; string
1842
 
1851
 
1843
creates a Duplicate of the selected Object (or Selection Group).
1852
creates a Duplicate of the selected Object (or Selection Group).
1844
</source>
1853
</source>
1845
        <translation type="unfinished"></translation>
1854
        <translation type="unfinished"></translation>
1846
    </message>
1855
    </message>
1847
    <message>
1856
    <message>
1848
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="26"/>
1857
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="17"/>
1849
        <source>newPage(where [,&quot;masterpage&quot;])
1858
        <source>newPage(where [,&quot;masterpage&quot;])
1850
 
1859
 
1851
Creates a new page. If &quot;where&quot; is -1 the new Page is appended to the
1860
Creates a new page. If &quot;where&quot; is -1 the new Page is appended to the
1852
document, otherwise the new page is inserted before &quot;where&quot;. Page numbers are
1861
document, otherwise the new page is inserted before &quot;where&quot;. Page numbers are
1853
counted from 1 upwards, no matter what the displayed first page number of your
1862
counted from 1 upwards, no matter what the displayed first page number of your
Line 1866... Line 1875...
1866
 
1875
 
1867
May raise IndexError if the page number is out of range
1876
May raise IndexError if the page number is out of range
1868
</translation>
1877
</translation>
1869
    </message>
1878
    </message>
1870
    <message>
1879
    <message>
1871
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="36"/>
1880
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="32"/>
1872
        <source>currentPage() -&gt; integer
1881
        <source>currentPage() -&gt; integer
1873
 
1882
 
1874
Returns the number of the current working page. Page numbers are counted from 1
1883
Returns the number of the current working page. Page numbers are counted from 1
1875
upwards, no matter what the displayed first page number of your document is.
1884
upwards, no matter what the displayed first page number of your document is.
1876
</source>
1885
</source>
Line 1879... Line 1888...
1879
Returns the number of the current working page. Page numbers are counted from 1
1888
Returns the number of the current working page. Page numbers are counted from 1
1880
upwards, no matter what the displayed first page number of your document is.
1889
upwards, no matter what the displayed first page number of your document is.
1881
</translation>
1890
</translation>
1882
    </message>
1891
    </message>
1883
    <message>
1892
    <message>
1884
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="45"/>
1893
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="42"/>
1885
        <source>redrawAll()
1894
        <source>redrawAll()
1886
 
1895
 
1887
Redraws all pages.
1896
Redraws all pages.
1888
</source>
1897
</source>
1889
        <translation type="unfinished">redrawAll()
1898
        <translation type="unfinished">redrawAll()
1890
 
1899
 
1891
Redraws all pages.
1900
Redraws all pages.
1892
</translation>
1901
</translation>
1893
    </message>
1902
    </message>
1894
    <message>
1903
    <message>
1895
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="54"/>
1904
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="51"/>
1896
        <source>getPageType() -&gt; integer
1905
        <source>getPageType() -&gt; integer
1897
 
1906
 
1898
Returns the type of the Page, 0 means left Page, 1 is a middle Page and 2 is a right Page
1907
Returns the type of the Page, 0 means left Page, 1 is a middle Page and 2 is a right Page
1899
</source>
1908
</source>
1900
        <translation type="unfinished"></translation>
1909
        <translation type="unfinished"></translation>
1901
    </message>
1910
    </message>
1902
    <message>
1911
    <message>
1903
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="65"/>
1912
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="60"/>
1904
        <source>savePageAsEPS(&quot;name&quot;)
1913
        <source>savePageAsEPS(&quot;name&quot;)
1905
 
1914
 
1906
Saves the current page as an EPS to the file &quot;name&quot;.
1915
Saves the current page as an EPS to the file &quot;name&quot;.
1907
 
1916
 
1908
May raise ScribusError if the save failed.
1917
May raise ScribusError if the save failed.
Line 1913... Line 1922...
1913
 
1922
 
1914
May raise ScribusError if the save failed.
1923
May raise ScribusError if the save failed.
1915
</translation>
1924
</translation>
1916
    </message>
1925
    </message>
1917
    <message>
1926
    <message>
1918
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="78"/>
1927
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="71"/>
1919
        <source>deletePage(nr)
1928
        <source>deletePage(nr)
1920
 
1929
 
1921
Deletes the given page. Does nothing if the document contains only one page.
1930
Deletes the given page. Does nothing if the document contains only one page.
1922
Page numbers are counted from 1 upwards, no matter what the displayed first
1931
Page numbers are counted from 1 upwards, no matter what the displayed first
1923
page number is.
1932
page number is.
Line 1932... Line 1941...
1932
 
1941
 
1933
May raise IndexError if the page number is out of range
1942
May raise IndexError if the page number is out of range
1934
</translation>
1943
</translation>
1935
    </message>
1944
    </message>
1936
    <message>
1945
    <message>
1937
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="91"/>
1946
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="84"/>
1938
        <source>gotoPage(nr)
1947
        <source>gotoPage(nr)
1939
 
1948
 
1940
Moves to the page &quot;nr&quot; (that is, makes the current page &quot;nr&quot;). Note that
1949
Moves to the page &quot;nr&quot; (that is, makes the current page &quot;nr&quot;). Note that
1941
gotoPage doesn&apos;t (currently) change the page the user&apos;s view is displaying, it
1950
gotoPage doesn&apos;t (currently) change the page the user&apos;s view is displaying, it
1942
just sets the page that script commands will operates on.
1951
just sets the page that script commands will operates on.
Line 1944... Line 1953...
1944
May raise IndexError if the page number is out of range.
1953
May raise IndexError if the page number is out of range.
1945
</source>
1954
</source>
1946
        <translation type="unfinished"></translation>
1955
        <translation type="unfinished"></translation>
1947
    </message>
1956
    </message>
1948
    <message>
1957
    <message>
1949
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="100"/>
1958
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="97"/>
1950
        <source>pageCount() -&gt; integer
1959
        <source>pageCount() -&gt; integer
1951
 
1960
 
1952
Returns the number of pages in the document.
1961
Returns the number of pages in the document.
1953
</source>
1962
</source>
1954
        <translation type="unfinished">pageCount() -&gt; integer
1963
        <translation type="unfinished">pageCount() -&gt; integer
1955
 
1964
 
1956
Returns the number of pages in the document.
1965
Returns the number of pages in the document.
1957
</translation>
1966
</translation>
1958
    </message>
1967
    </message>
1959
    <message>
1968
    <message>
1960
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="110"/>
1969
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="106"/>
1961
        <source>getHGuides() -&gt; list
1970
        <source>getHGuides() -&gt; list
1962
 
1971
 
1963
Returns a list containing positions of the horizontal guides. Values are in the
1972
Returns a list containing positions of the horizontal guides. Values are in the
1964
document&apos;s current units - see UNIT_&lt;type&gt; constants.
1973
document&apos;s current units - see UNIT_&lt;type&gt; constants.
1965
</source>
1974
</source>
Line 1968... Line 1977...
1968
Returns a list containing positions of the horizontal guides. Values are in the
1977
Returns a list containing positions of the horizontal guides. Values are in the
1969
document&apos;s current units - see UNIT_&lt;type&gt; constants.
1978
document&apos;s current units - see UNIT_&lt;type&gt; constants.
1970
</translation>
1979
</translation>
1971
    </message>
1980
    </message>
1972
    <message>
1981
    <message>
1973
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="123"/>
1982
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="116"/>
1974
        <source>setHGuides(list)
1983
        <source>setHGuides(list)
1975
 
1984
 
1976
Sets horizontal guides. Input parameter must be a list of guide positions
1985
Sets horizontal guides. Input parameter must be a list of guide positions
1977
measured in the current document units - see UNIT_&lt;type&gt; constants.
1986
measured in the current document units - see UNIT_&lt;type&gt; constants.
1978
 
1987
 
Line 1987... Line 1996...
1987
Example: setHGuides(getHGuides() + [200.0, 210.0] # add new guides without any lost
1996
Example: setHGuides(getHGuides() + [200.0, 210.0] # add new guides without any lost
1988
         setHGuides([90,250]) # replace current guides entirely
1997
         setHGuides([90,250]) # replace current guides entirely
1989
</translation>
1998
</translation>
1990
    </message>
1999
    </message>
1991
    <message>
2000
    <message>
1992
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="132"/>
2001
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="129"/>
1993
        <source>getVGuides()
2002
        <source>getVGuides()
1994
 
2003
 
1995
See getHGuides.
2004
See getHGuides.
1996
</source>
2005
</source>
1997
        <translation type="unfinished">getVGuides()
2006
        <translation type="unfinished">getVGuides()
1998
 
2007
 
1999
See getHGuides.
2008
See getHGuides.
2000
</translation>
2009
</translation>
2001
    </message>
2010
    </message>
2002
    <message>
2011
    <message>
2003
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="141"/>
2012
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="138"/>
2004
        <source>setVGuides()
2013
        <source>setVGuides()
2005
 
2014
 
2006
See setHGuides.
2015
See setHGuides.
2007
</source>
2016
</source>
2008
        <translation type="unfinished">setVGuides()
2017
        <translation type="unfinished">setVGuides()
2009
 
2018
 
2010
See setHGuides.
2019
See setHGuides.
2011
</translation>
2020
</translation>
2012
    </message>
2021
    </message>
2013
    <message>
2022
    <message>
2014
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="151"/>
2023
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="147"/>
2015
        <source>getPageSize() -&gt; tuple
2024
        <source>getPageSize() -&gt; tuple
2016
 
2025
 
2017
Returns a tuple with page dimensions measured in the document&apos;s current units.
2026
Returns a tuple with page dimensions measured in the document&apos;s current units.
2018
See UNIT_&lt;type&gt; constants and getPageMargins()
2027
See UNIT_&lt;type&gt; constants and getPageMargins()
2019
</source>
2028
</source>
Line 2022... Line 2031...
2022
Returns a tuple with page dimensions measured in the document&apos;s current units.
2031
Returns a tuple with page dimensions measured in the document&apos;s current units.
2023
See UNIT_&lt;type&gt; constants and getPageMargins()
2032
See UNIT_&lt;type&gt; constants and getPageMargins()
2024
</translation>
2033
</translation>
2025
    </message>
2034
    </message>
2026
    <message>
2035
    <message>
2027
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="167"/>
2036
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="161"/>
-
 
2037
        <source>getPageNSize() -&gt; tuple
-
 
2038
 
-
 
2039
Returns a tuple with a particular page&apos;s size measured in the document&apos;s current units.
-
 
2040
See UNIT_&lt;type&gt; constants and getPageMargins()
-
 
2041
</source>
-
 
2042
        <translation type="unfinished"></translation>
-
 
2043
    </message>
-
 
2044
    <message>
-
 
2045
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="174"/>
-
 
2046
        <source>getPageNMargins() -&gt; tuple
-
 
2047
 
-
 
2048
Returns a tuple with a particular page&apos;s margins measured in the document&apos;s current units.
-
 
2049
See UNIT_&lt;type&gt; constants and getPageMargins()
-
 
2050
</source>
-
 
2051
        <translation type="unfinished"></translation>
-
 
2052
    </message>
-
 
2053
    <message>
-
 
2054
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="187"/>
2028
        <source>getPageItems() -&gt; list
2055
        <source>getPageItems() -&gt; list
2029
 
2056
 
2030
Returns a list of tuples with items on the current page. The tuple is:
2057
Returns a list of tuples with items on the current page. The tuple is:
2031
(name, objectType, order) E.g. [(&apos;Text1&apos;, 4, 0), (&apos;Image1&apos;, 2, 1)]
2058
(name, objectType, order) E.g. [(&apos;Text1&apos;, 4, 0), (&apos;Image1&apos;, 2, 1)]
2032
means that object named &apos;Text1&apos; is a text frame (type 4) and is the first at
2059
means that object named &apos;Text1&apos; is a text frame (type 4) and is the first at
Line 2039... Line 2066...
2039
means that object named &apos;Text1&apos; is a text frame (type 4) and is the first at
2066
means that object named &apos;Text1&apos; is a text frame (type 4) and is the first at
2040
the page...
2067
the page...
2041
</translation>
2068
</translation>
2042
    </message>
2069
    </message>
2043
    <message>
2070
    <message>
2044
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="181"/>
2071
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="203"/>
2045
        <source>getPageMargins()
2072
        <source>getPageMargins()
2046
 
2073
 
2047
Returns the page margins as a (top, left, right, bottom) tuple in the current
2074
Returns the page margins as a (top, left, right, bottom) tuple in the current
2048
units. See UNIT_&lt;type&gt; constants and getPageSize().
2075
units. See UNIT_&lt;type&gt; constants and getPageSize().
2049
</source>
2076
</source>
Line 2052... Line 2079...
2052
Returns the page margins as a (top, left, right, bottom) tuple in the current
2079
Returns the page margins as a (top, left, right, bottom) tuple in the current
2053
units. See UNIT_&lt;type&gt; constants and getPageSize().
2080
units. See UNIT_&lt;type&gt; constants and getPageSize().
2054
</translation>
2081
</translation>
2055
    </message>
2082
    </message>
2056
    <message>
2083
    <message>
2057
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="198"/>
2084
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="216"/>
2058
        <source>importPage(&quot;fromDoc&quot;, (pageList), [create, imortwhere, importwherePage])
2085
        <source>importPage(&quot;fromDoc&quot;, (pageList), [create, imortwhere, importwherePage])
2059
 
2086
 
2060
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.
2087
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.
2061
fromDoc: string; the filename of the document to import pages from
2088
fromDoc: string; the filename of the document to import pages from
2062
pageList: tuple with page numbers of pages to import
2089
pageList: tuple with page numbers of pages to import
Line 2065... Line 2092...
2065
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
2092
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
2066
</source>
2093
</source>
2067
        <translation type="unfinished"></translation>
2094
        <translation type="unfinished"></translation>
2068
    </message>
2095
    </message>
2069
    <message>
2096
    <message>
2070
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="22"/>
2097
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="17"/>
2071
        <source>setGradientFill(type, &quot;color1&quot;, shade1, &quot;color2&quot;, shade2, [&quot;name&quot;])
2098
        <source>setGradientFill(type, &quot;color1&quot;, shade1, &quot;color2&quot;, shade2, [&quot;name&quot;])
2072
 
2099
 
2073
Sets the gradient fill of the object &quot;name&quot; to type. Color descriptions are
2100
Sets the gradient fill of the object &quot;name&quot; to type. Color descriptions are
2074
the same as for setFillColor() and setFillShade(). See the constants for
2101
the same as for setFillColor() and setFillShade(). See the constants for
2075
available types (FILL_&lt;type&gt;).
2102
available types (FILL_&lt;type&gt;).
Line 2080... Line 2107...
2080
the same as for setFillColor() and setFillShade(). See the constants for
2107
the same as for setFillColor() and setFillShade(). See the constants for
2081
available types (FILL_&lt;type&gt;).
2108
available types (FILL_&lt;type&gt;).
2082
</translation>
2109
</translation>
2083
    </message>
2110
    </message>
2084
    <message>
2111
    <message>
2085
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="44"/>
2112
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="39"/>
2086
        <source>setFillColor(&quot;color&quot;, [&quot;name&quot;])
2113
        <source>setFillColor(&quot;color&quot;, [&quot;name&quot;])
2087
 
2114
 
2088
Sets the fill color of the object &quot;name&quot; to the color &quot;color&quot;. &quot;color&quot;
2115
Sets the fill color of the object &quot;name&quot; to the color &quot;color&quot;. &quot;color&quot;
2089
is the name of one of the defined colors. If &quot;name&quot; is not given the
2116
is the name of one of the defined colors. If &quot;name&quot; is not given the
2090
currently selected item is used.
2117
currently selected item is used.
Line 2095... Line 2122...
2095
is the name of one of the defined colours. If &quot;name&quot; is not given the
2122
is the name of one of the defined colours. If &quot;name&quot; is not given the
2096
currently selected item is used.
2123
currently selected item is used.
2097
</translation>
2124
</translation>
2098
    </message>
2125
    </message>
2099
    <message>
2126
    <message>
2100
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="54"/>
2127
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="50"/>
2101
        <source>setFillTransparency(transparency, [&quot;name&quot;])
2128
        <source>setFillTransparency(transparency, [&quot;name&quot;])
2102
 
2129
 
2103
Sets the fill transparency of the object &quot;name&quot; to transparency
2130
Sets the fill transparency of the object &quot;name&quot; to transparency
2104
If &quot;name&quot; is not given the currently selected item is used.
2131
If &quot;name&quot; is not given the currently selected item is used.
2105
</source>
2132
</source>
2106
        <translation type="unfinished"></translation>
2133
        <translation type="unfinished"></translation>
2107
    </message>
2134
    </message>
2108
    <message>
2135
    <message>
2109
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="64"/>
2136
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="60"/>
2110
        <source>setFillBlendmode(blendmode, [&quot;name&quot;])
2137
        <source>setFillBlendmode(blendmode, [&quot;name&quot;])
2111
 
2138
 
2112
Sets the fill blendmode of the object &quot;name&quot; to blendmode
2139
Sets the fill blendmode of the object &quot;name&quot; to blendmode
2113
If &quot;name&quot; is not given the currently selected item is used.
2140
If &quot;name&quot; is not given the currently selected item is used.
2114
</source>
2141
</source>
2115
        <translation type="unfinished"></translation>
2142
        <translation type="unfinished"></translation>
2116
    </message>
2143
    </message>
2117
    <message>
2144
    <message>
2118
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="74"/>
2145
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="70"/>
2119
        <source>setLineColor(&quot;color&quot;, [&quot;name&quot;])
2146
        <source>setLineColor(&quot;color&quot;, [&quot;name&quot;])
2120
 
2147
 
2121
Sets the line color of the object &quot;name&quot; to the color &quot;color&quot;. If &quot;name&quot;
2148
Sets the line color of the object &quot;name&quot; to the color &quot;color&quot;. If &quot;name&quot;
2122
is not given the currently selected item is used.
2149
is not given the currently selected item is used.
2123
</source>
2150
</source>
Line 2126... Line 2153...
2126
Sets the line colour of the object &quot;name&quot; to the colour &quot;color&quot;. If &quot;name&quot;
2153
Sets the line colour of the object &quot;name&quot; to the colour &quot;color&quot;. If &quot;name&quot;
2127
is not given the currently selected item is used.
2154
is not given the currently selected item is used.
2128
</translation>
2155
</translation>
2129
    </message>
2156
    </message>
2130
    <message>
2157
    <message>
2131
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="84"/>
2158
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="80"/>
2132
        <source>setLineTransparency(transparency, [&quot;name&quot;])
2159
        <source>setLineTransparency(transparency, [&quot;name&quot;])
2133
 
2160
 
2134
Sets the line transparency of the object &quot;name&quot; to transparency
2161
Sets the line transparency of the object &quot;name&quot; to transparency
2135
If &quot;name&quot; is not given the currently selected item is used.
2162
If &quot;name&quot; is not given the currently selected item is used.
2136
</source>
2163
</source>
2137
        <translation type="unfinished"></translation>
2164
        <translation type="unfinished"></translation>
2138
    </message>
2165
    </message>
2139
    <message>
2166
    <message>
2140
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="94"/>
2167
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="90"/>
2141
        <source>setLineBlendmode(blendmode, [&quot;name&quot;])
2168
        <source>setLineBlendmode(blendmode, [&quot;name&quot;])
2142
 
2169
 
2143
Sets the line blendmode of the object &quot;name&quot; to blendmode
2170
Sets the line blendmode of the object &quot;name&quot; to blendmode
2144
If &quot;name&quot; is not given the currently selected item is used.
2171
If &quot;name&quot; is not given the currently selected item is used.
2145
</source>
2172
</source>
2146
        <translation type="unfinished"></translation>
2173
        <translation type="unfinished"></translation>
2147
    </message>
2174
    </message>
2148
    <message>
2175
    <message>
2149
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="107"/>
2176
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="100"/>
2150
        <source>setLineWidth(width, [&quot;name&quot;])
2177
        <source>setLineWidth(width, [&quot;name&quot;])
2151
 
2178
 
2152
Sets line width of the object &quot;name&quot; to &quot;width&quot;. &quot;width&quot; must be in the
2179
Sets line width of the object &quot;name&quot; to &quot;width&quot;. &quot;width&quot; must be in the
2153
range from 0.0 to 12.0 inclusive, and is measured in points. If &quot;name&quot; is not
2180
range from 0.0 to 12.0 inclusive, and is measured in points. If &quot;name&quot; is not
2154
given the currently selected item is used.
2181
given the currently selected item is used.
Line 2163... Line 2190...
2163
 
2190
 
2164
May raise ValueError if the line width is out of bounds.
2191
May raise ValueError if the line width is out of bounds.
2165
</translation>
2192
</translation>
2166
    </message>
2193
    </message>
2167
    <message>
2194
    <message>
2168
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="121"/>
2195
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="113"/>
2169
        <source>setLineShade(shade, [&quot;name&quot;])
2196
        <source>setLineShade(shade, [&quot;name&quot;])
2170
 
2197
 
2171
Sets the shading of the line color of the object &quot;name&quot; to &quot;shade&quot;.
2198
Sets the shading of the line color of the object &quot;name&quot; to &quot;shade&quot;.
2172
&quot;shade&quot; must be an integer value in the range from 0 (lightest) to 100
2199
&quot;shade&quot; must be an integer value in the range from 0 (lightest) to 100
2173
(full color intensity). If &quot;name&quot; is not given the currently selected item
2200
(full color intensity). If &quot;name&quot; is not given the currently selected item
Line 2184... Line 2211...
2184
 
2211
 
2185
May raise ValueError if the line shade is out of bounds.
2212
May raise ValueError if the line shade is out of bounds.
2186
</translation>
2213
</translation>
2187
    </message>
2214
    </message>
2188
    <message>
2215
    <message>
2189
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="132"/>
2216
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="127"/>
2190
        <source>setLineJoin(join, [&quot;name&quot;])
2217
        <source>setLineJoin(join, [&quot;name&quot;])
2191
 
2218
 
2192
Sets the line join style of the object &quot;name&quot; to the style &quot;join&quot;.
2219
Sets the line join style of the object &quot;name&quot; to the style &quot;join&quot;.
2193
If &quot;name&quot; is not given the currently selected item is used. There are
2220
If &quot;name&quot; is not given the currently selected item is used. There are
2194
predefined constants for join - JOIN_&lt;type&gt;.
2221
predefined constants for join - JOIN_&lt;type&gt;.
Line 2199... Line 2226...
2199
If &quot;name&quot; is not given the currently selected item is used. There are
2226
If &quot;name&quot; is not given the currently selected item is used. There are
2200
predefined constants for join - JOIN_&lt;type&gt;.
2227
predefined constants for join - JOIN_&lt;type&gt;.
2201
</translation>
2228
</translation>
2202
    </message>
2229
    </message>
2203
    <message>
2230
    <message>
2204
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="143"/>
2231
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="138"/>
2205
        <source>setLineEnd(endtype, [&quot;name&quot;])
2232
        <source>setLineEnd(endtype, [&quot;name&quot;])
2206
 
2233
 
2207
Sets the line cap style of the object &quot;name&quot; to the style &quot;cap&quot;.
2234
Sets the line cap style of the object &quot;name&quot; to the style &quot;cap&quot;.
2208
If &quot;name&quot; is not given the currently selected item is used. There are
2235
If &quot;name&quot; is not given the currently selected item is used. There are
2209
predefined constants for &quot;cap&quot; - CAP_&lt;type&gt;.
2236
predefined constants for &quot;cap&quot; - CAP_&lt;type&gt;.
Line 2214... Line 2241...
2214
If &quot;name&quot; is not given the currently selected item is used. There are
2241
If &quot;name&quot; is not given the currently selected item is used. There are
2215
predefined constants for &quot;cap&quot; - CAP_&lt;type&gt;.
2242
predefined constants for &quot;cap&quot; - CAP_&lt;type&gt;.
2216
</translation>
2243
</translation>
2217
    </message>
2244
    </message>
2218
    <message>
2245
    <message>
2219
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="154"/>
2246
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="149"/>
2220
        <source>setLineStyle(style, [&quot;name&quot;])
2247
        <source>setLineStyle(style, [&quot;name&quot;])
2221
 
2248
 
2222
Sets the line style of the object &quot;name&quot; to the style &quot;style&quot;. If &quot;name&quot;
2249
Sets the line style of the object &quot;name&quot; to the style &quot;style&quot;. If &quot;name&quot;
2223
is not given the currently selected item is used. There are predefined
2250
is not given the currently selected item is used. There are predefined
2224
constants for &quot;style&quot; - LINE_&lt;style&gt;.
2251
constants for &quot;style&quot; - LINE_&lt;style&gt;.
Line 2229... Line 2256...
2229
is not given the currently selected item is used. There are predefined
2256
is not given the currently selected item is used. There are predefined
2230
constants for &quot;style&quot; - LINE_&lt;style&gt;.
2257
constants for &quot;style&quot; - LINE_&lt;style&gt;.
2231
</translation>
2258
</translation>
2232
    </message>
2259
    </message>
2233
    <message>
2260
    <message>
2234
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="168"/>
2261
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="160"/>
2235
        <source>setFillShade(shade, [&quot;name&quot;])
2262
        <source>setFillShade(shade, [&quot;name&quot;])
2236
 
2263
 
2237
Sets the shading of the fill color of the object &quot;name&quot; to &quot;shade&quot;.
2264
Sets the shading of the fill color of the object &quot;name&quot; to &quot;shade&quot;.
2238
&quot;shade&quot; must be an integer value in the range from 0 (lightest) to 100
2265
&quot;shade&quot; must be an integer value in the range from 0 (lightest) to 100
2239
(full Color intensity). If &quot;name&quot; is not given the currently selected
2266
(full Color intensity). If &quot;name&quot; is not given the currently selected
Line 2250... Line 2277...
2250
 
2277
 
2251
May raise ValueError if the fill shade is out of bounds.
2278
May raise ValueError if the fill shade is out of bounds.
2252
</translation>
2279
</translation>
2253
    </message>
2280
    </message>
2254
    <message>
2281
    <message>
2255
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="180"/>
2282
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="174"/>
2256
        <source>setCornerRadius(radius, [&quot;name&quot;])
2283
        <source>setCornerRadius(radius, [&quot;name&quot;])
2257
 
2284
 
2258
Sets the corner radius of the object &quot;name&quot;. The radius is expressed
2285
Sets the corner radius of the object &quot;name&quot;. The radius is expressed
2259
in points. If &quot;name&quot; is not given the currently selected item is used.
2286
in points. If &quot;name&quot; is not given the currently selected item is used.
2260
 
2287
 
Line 2267... Line 2294...
2267
 
2294
 
2268
May raise ValueError if the corner radius is negative.
2295
May raise ValueError if the corner radius is negative.
2269
</translation>
2296
</translation>
2270
    </message>
2297
    </message>
2271
    <message>
2298
    <message>
2272
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="192"/>
2299
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="186"/>
2273
        <source>setMultiLine(&quot;namedStyle&quot;, [&quot;name&quot;])
2300
        <source>setMultiLine(&quot;namedStyle&quot;, [&quot;name&quot;])
2274
 
2301
 
2275
Sets the line style of the object &quot;name&quot; to the named style &quot;namedStyle&quot;.
2302
Sets the line style of the object &quot;name&quot; to the named style &quot;namedStyle&quot;.
2276
If &quot;name&quot; is not given the currently selected item is used.
2303
If &quot;name&quot; is not given the currently selected item is used.
2277
 
2304
 
Line 2284... Line 2311...
2284
 
2311
 
2285
May raise NotFoundError if the line style doesn&apos;t exist.
2312
May raise NotFoundError if the line style doesn&apos;t exist.
2286
</translation>
2313
</translation>
2287
    </message>
2314
    </message>
2288
    <message>
2315
    <message>
2289
        <location filename="../../scribus/plugins/scriptplugin/cmdstyle.h" line="43"/>
2316
        <location filename="../../../scribus/plugins/scriptplugin/cmdstyle.h" line="22"/>
2290
        <source>createParagraphStyle(...)
2317
        <source>createParagraphStyle(...)
2291
 
2318
 
2292
Creates a paragraph style. This function takes the following keyword parameters:
2319
Creates a paragraph style. This function takes the following keyword parameters:
2293
 
2320
 
2294
&quot;name&quot; [required] -&gt; specifies the name of the paragraphstyle to create
2321
&quot;name&quot; [required] -&gt; specifies the name of the paragraphstyle to create
Line 2331... Line 2358...
2331
 
2358
 
2332
</source>
2359
</source>
2333
        <translation type="unfinished"></translation>
2360
        <translation type="unfinished"></translation>
2334
    </message>
2361
    </message>
2335
    <message>
2362
    <message>
2336
        <location filename="../../scribus/plugins/scriptplugin/cmdstyle.h" line="80"/>
2363
        <location filename="../../../scribus/plugins/scriptplugin/cmdstyle.h" line="52"/>
2337
        <source>createCharStyle(...)
2364
        <source>createCharStyle(...)
2338
 
2365
 
2339
Creates a character style. This function takes the following keyword parameters:
2366
Creates a character style. This function takes the following keyword parameters:
2340
 
2367
 
2341
&quot;name&quot; [required] -&gt; name of the char style to create
2368
&quot;name&quot; [required] -&gt; name of the char style to create
Line 2392... Line 2419...
2392
 
2419
 
2393
</source>
2420
</source>
2394
        <translation type="unfinished"></translation>
2421
        <translation type="unfinished"></translation>
2395
    </message>
2422
    </message>
2396
    <message>
2423
    <message>
2397
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="23"/>
2424
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="17"/>
2398
        <source>getFontSize([&quot;name&quot;]) -&gt; float
2425
        <source>getFontSize([&quot;name&quot;]) -&gt; float
2399
 
2426
 
2400
Returns the font size in points for the text frame &quot;name&quot;. If this text
2427
Returns the font size in points for the text frame &quot;name&quot;. If this text
2401
frame has some text selected the value assigned to the first character of
2428
frame has some text selected the value assigned to the first character of
2402
the selection is returned.
2429
the selection is returned.
Line 2409... Line 2436...
2409
the selection is returned.
2436
the selection is returned.
2410
If &quot;name&quot; is not given the currently selected item is used.
2437
If &quot;name&quot; is not given the currently selected item is used.
2411
</translation>
2438
</translation>
2412
    </message>
2439
    </message>
2413
    <message>
2440
    <message>
2414
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="35"/>
2441
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="29"/>
2415
        <source>getFont([&quot;name&quot;]) -&gt; string
2442
        <source>getFont([&quot;name&quot;]) -&gt; string
2416
 
2443
 
2417
Returns the font name for the text frame &quot;name&quot;. If this text frame
2444
Returns the font name for the text frame &quot;name&quot;. If this text frame
2418
has some text selected the value assigned to the first character
2445
has some text selected the value assigned to the first character
2419
of the selection is returned. If &quot;name&quot; is not given the currently
2446
of the selection is returned. If &quot;name&quot; is not given the currently
Line 2426... Line 2453...
2426
of the selection is returned. If &quot;name&quot; is not given the currently
2453
of the selection is returned. If &quot;name&quot; is not given the currently
2427
selected item is used.
2454
selected item is used.
2428
</translation>
2455
</translation>
2429
    </message>
2456
    </message>
2430
    <message>
2457
    <message>
2431
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="45"/>
2458
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="41"/>
2432
        <source>getTextLength([&quot;name&quot;]) -&gt; integer
2459
        <source>getTextLength([&quot;name&quot;]) -&gt; integer
2433
 
2460
 
2434
Returns the length of the text in the text frame &quot;name&quot;.
2461
Returns the length of the text in the text frame &quot;name&quot;.
2435
If &quot;name&quot; is not given the currently selected item is used.
2462
If &quot;name&quot; is not given the currently selected item is used.
2436
</source>
2463
</source>
Line 2439... Line 2466...
2439
Returns the length of the text in the text frame &quot;name&quot;.
2466
Returns the length of the text in the text frame &quot;name&quot;.
2440
If &quot;name&quot; is not given the currently selected item is used.
2467
If &quot;name&quot; is not given the currently selected item is used.
2441
</translation>
2468
</translation>
2442
    </message>
2469
    </message>
2443
    <message>
2470
    <message>
2444
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="55"/>
2471
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="51"/>
2445
        <source>getTextLines([&quot;name&quot;]) -&gt; integer
2472
        <source>getTextLines([&quot;name&quot;]) -&gt; integer
2446
 
2473
 
2447
Returns the number of lines of the text in the text frame &quot;name&quot;.
2474
Returns the number of lines of the text in the text frame &quot;name&quot;.
2448
If &quot;name&quot; is not given the currently selected item is used.
2475
If &quot;name&quot; is not given the currently selected item is used.
2449
</source>
2476
</source>
2450
        <translation type="unfinished"></translation>
2477
        <translation type="unfinished"></translation>
2451
    </message>
2478
    </message>
2452
    <message>
2479
    <message>
2453
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="67"/>
2480
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="61"/>
2454
        <source>getText([&quot;name&quot;]) -&gt; string
2481
        <source>getText([&quot;name&quot;]) -&gt; string
2455
 
2482
 
2456
Returns the text of the text frame &quot;name&quot;. If this text frame has some text
2483
Returns the text of the text frame &quot;name&quot;. If this text frame has some text
2457
selected, the selected text is returned. All text in the frame, not just
2484
selected, the selected text is returned. All text in the frame, not just
2458
currently visible text, is returned. If &quot;name&quot; is not given the currently
2485
currently visible text, is returned. If &quot;name&quot; is not given the currently
Line 2465... Line 2492...
2465
currently visible text, is returned. If &quot;name&quot; is not given the currently
2492
currently visible text, is returned. If &quot;name&quot; is not given the currently
2466
selected item is used.
2493
selected item is used.
2467
</translation>
2494
</translation>
2468
    </message>
2495
    </message>
2469
    <message>
2496
    <message>
2470
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="79"/>
2497
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="73"/>
2471
        <source>getAllText([&quot;name&quot;]) -&gt; string
2498
        <source>getAllText([&quot;name&quot;]) -&gt; string
2472
 
2499
 
2473
Returns the text of the text frame &quot;name&quot; and of all text frames which are
2500
Returns the text of the text frame &quot;name&quot; and of all text frames which are
2474
linked with this frame. If this textframe has some text selected, the selected
2501
linked with this frame. If this textframe has some text selected, the selected
2475
text is returned. If &quot;name&quot; is not given the currently selected item is
2502
text is returned. If &quot;name&quot; is not given the currently selected item is
Line 2482... Line 2509...
2482
text is returned. If &quot;name&quot; is not given the currently selected item is
2509
text is returned. If &quot;name&quot; is not given the currently selected item is
2483
used.
2510
used.
2484
</translation>
2511
</translation>
2485
    </message>
2512
    </message>
2486
    <message>
2513
    <message>
2487
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="89"/>
2514
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="85"/>
2488
        <source>getLineSpacing([&quot;name&quot;]) -&gt; float
2515
        <source>getLineSpacing([&quot;name&quot;]) -&gt; float
2489
 
2516
 
2490
Returns the line spacing (&quot;leading&quot;) of the text frame &quot;name&quot; expressed in
2517
Returns the line spacing (&quot;leading&quot;) of the text frame &quot;name&quot; expressed in
2491
points. If &quot;name&quot; is not given the currently selected item is used.
2518
points. If &quot;name&quot; is not given the currently selected item is used.
2492
</source>
2519
</source>
Line 2495... Line 2522...
2495
Returns the line spacing (&quot;leading&quot;) of the text frame &quot;name&quot; expressed in
2522
Returns the line spacing (&quot;leading&quot;) of the text frame &quot;name&quot; expressed in
2496
points. If &quot;name&quot; is not given the currently selected item is used.
2523
points. If &quot;name&quot; is not given the currently selected item is used.
2497
</translation>
2524
</translation>
2498
    </message>
2525
    </message>
2499
    <message>
2526
    <message>
2500
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="100"/>
2527
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="95"/>
2501
        <source>getTextDistances([&quot;name&quot;]) -&gt; tuple
2528
        <source>getTextDistances([&quot;name&quot;]) -&gt; tuple
2502
 
2529
 
2503
Returns the text distances of the text frame &quot;name&quot; expressed in points. The
2530
Returns the text distances of the text frame &quot;name&quot; expressed in points. The
2504
distances are returned as a tuple like (left, right, top, bottom). If &quot;name&quot;
2531
distances are returned as a tuple like (left, right, top, bottom). If &quot;name&quot;
2505
is not given the currently selected item is used.
2532
is not given the currently selected item is used.
2506
</source>
2533
</source>
2507
        <translation type="unfinished"></translation>
2534
        <translation type="unfinished"></translation>
2508
    </message>
2535
    </message>
2509
    <message>
2536
    <message>
2510
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="110"/>
2537
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="106"/>
2511
        <source>getColumnGap([&quot;name&quot;]) -&gt; float
2538
        <source>getColumnGap([&quot;name&quot;]) -&gt; float
2512
 
2539
 
2513
Returns the column gap size of the text frame &quot;name&quot; expressed in points. If
2540
Returns the column gap size of the text frame &quot;name&quot; expressed in points. If
2514
&quot;name&quot; is not given the currently selected item is used.
2541
&quot;name&quot; is not given the currently selected item is used.
2515
</source>
2542
</source>
Line 2518... Line 2545...
2518
Returns the column gap size of the text frame &quot;name&quot; expressed in points. If
2545
Returns the column gap size of the text frame &quot;name&quot; expressed in points. If
2519
&quot;name&quot; is not given the currently selected item is used.
2546
&quot;name&quot; is not given the currently selected item is used.
2520
</translation>
2547
</translation>
2521
    </message>
2548
    </message>
2522
    <message>
2549
    <message>
2523
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="120"/>
2550
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="116"/>
2524
        <source>getColumns([&quot;name&quot;]) -&gt; integer
2551
        <source>getColumns([&quot;name&quot;]) -&gt; integer
2525
 
2552
 
2526
Gets the number of columns of the text frame &quot;name&quot;. If &quot;name&quot; is not
2553
Gets the number of columns of the text frame &quot;name&quot;. If &quot;name&quot; is not
2527
given the currently selected item is used.
2554
given the currently selected item is used.
2528
</source>
2555
</source>
Line 2531... Line 2558...
2531
Gets the number of columns of the text frame &quot;name&quot;. If &quot;name&quot; is not
2558
Gets the number of columns of the text frame &quot;name&quot;. If &quot;name&quot; is not
2532
given the currently selected item is used.
2559
given the currently selected item is used.
2533
</translation>
2560
</translation>
2534
    </message>
2561
    </message>
2535
    <message>
2562
    <message>
2536
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="132"/>
2563
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="126"/>
2537
        <source>setText(&quot;text&quot;, [&quot;name&quot;])
2564
        <source>setText(&quot;text&quot;, [&quot;name&quot;])
2538
 
2565
 
2539
Sets the text of the text frame &quot;name&quot; to the text of the string &quot;text&quot;.
2566
Sets the text of the text frame &quot;name&quot; to the text of the string &quot;text&quot;.
2540
Text must be UTF8 encoded - use e.g. unicode(text, &apos;iso-8859-2&apos;). See the FAQ
2567
Text must be UTF8 encoded - use e.g. unicode(text, &apos;iso-8859-2&apos;). See the FAQ
2541
for more details. If &quot;name&quot; is not given the currently selected item is
2568
for more details. If &quot;name&quot; is not given the currently selected item is
Line 2548... Line 2575...
2548
for more details. If &quot;name&quot; is not given the currently selected item is
2575
for more details. If &quot;name&quot; is not given the currently selected item is
2549
used.
2576
used.
2550
</translation>
2577
</translation>
2551
    </message>
2578
    </message>
2552
    <message>
2579
    <message>
2553
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="146"/>
2580
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="138"/>
2554
        <source>insertText(&quot;text&quot;, pos, [&quot;name&quot;])
2581
        <source>insertText(&quot;text&quot;, pos, [&quot;name&quot;])
2555
 
2582
 
2556
Inserts the text &quot;text&quot; at the position &quot;pos&quot; into the text frame &quot;name&quot;.
2583
Inserts the text &quot;text&quot; at the position &quot;pos&quot; into the text frame &quot;name&quot;.
2557
Text must be UTF encoded (see setText() as reference) The first character has an
2584
Text must be UTF encoded (see setText() as reference) The first character has an
2558
index of 0. Inserting text at position -1 appends it to the frame. If &quot;name&quot; is
2585
index of 0. Inserting text at position -1 appends it to the frame. If &quot;name&quot; is
Line 2561... Line 2588...
2561
May throw IndexError for an insertion out of bounds.
2588
May throw IndexError for an insertion out of bounds.
2562
</source>
2589
</source>
2563
        <translation type="unfinished"></translation>
2590
        <translation type="unfinished"></translation>
2564
    </message>
2591
    </message>
2565
    <message>
2592
    <message>
2566
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="159"/>
2593
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="152"/>
2567
        <source>setFont(&quot;font&quot;, [&quot;name&quot;])
2594
        <source>setFont(&quot;font&quot;, [&quot;name&quot;])
2568
 
2595
 
2569
Sets the font of the text frame &quot;name&quot; to &quot;font&quot;. If there is some text
2596
Sets the font of the text frame &quot;name&quot; to &quot;font&quot;. If there is some text
2570
selected only the selected text is changed.  If &quot;name&quot; is not given the
2597
selected only the selected text is changed.  If &quot;name&quot; is not given the
2571
currently selected item is used.
2598
currently selected item is used.
Line 2580... Line 2607...
2580
 
2607
 
2581
May throw ValueError if the font cannot be found.
2608
May throw ValueError if the font cannot be found.
2582
</translation>
2609
</translation>
2583
    </message>
2610
    </message>
2584
    <message>
2611
    <message>
2585
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="173"/>
2612
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="165"/>
2586
        <source>setFontSize(size, [&quot;name&quot;])
2613
        <source>setFontSize(size, [&quot;name&quot;])
2587
 
2614
 
2588
Sets the font size of the text frame &quot;name&quot; to &quot;size&quot;. &quot;size&quot; is treated
2615
Sets the font size of the text frame &quot;name&quot; to &quot;size&quot;. &quot;size&quot; is treated
2589
as a value in points. If there is some text selected only the selected text is
2616
as a value in points. If there is some text selected only the selected text is
2590
changed. &quot;size&quot; must be in the range 1 to 512. If &quot;name&quot; is not given the
2617
changed. &quot;size&quot; must be in the range 1 to 512. If &quot;name&quot; is not given the
Line 2601... Line 2628...
2601
 
2628
 
2602
May throw ValueError for a font size that&apos;s out of bounds.
2629
May throw ValueError for a font size that&apos;s out of bounds.
2603
</translation>
2630
</translation>
2604
    </message>
2631
    </message>
2605
    <message>
2632
    <message>
2606
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="186"/>
2633
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="179"/>
2607
        <source>setLineSpacing(size, [&quot;name&quot;])
2634
        <source>setLineSpacing(size, [&quot;name&quot;])
2608
 
2635
 
2609
Sets the line spacing (&quot;leading&quot;) of the text frame &quot;name&quot; to &quot;size&quot;.
2636
Sets the line spacing (&quot;leading&quot;) of the text frame &quot;name&quot; to &quot;size&quot;.
2610
&quot;size&quot; is a value in points. If &quot;name&quot; is not given the currently selected
2637
&quot;size&quot; is a value in points. If &quot;name&quot; is not given the currently selected
2611
item is used.
2638
item is used.
Line 2620... Line 2647...
2620
 
2647
 
2621
May throw ValueError if the line spacing is out of bounds.
2648
May throw ValueError if the line spacing is out of bounds.
2622
</translation>
2649
</translation>
2623
    </message>
2650
    </message>
2624
    <message>
2651
    <message>
2625
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="199"/>
2652
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="192"/>
2626
        <source>setTextDistances(left, right, top, bottom, [&quot;name&quot;])
2653
        <source>setTextDistances(left, right, top, bottom, [&quot;name&quot;])
2627
 
2654
 
2628
Sets the text distances of the text frame &quot;name&quot; to the values &quot;left&quot;
2655
Sets the text distances of the text frame &quot;name&quot; to the values &quot;left&quot;
2629
&quot;right&quot;, &quot;top&quot; and &quot;bottom&quot;. If &quot;name&quot; is not given the currently
2656
&quot;right&quot;, &quot;top&quot; and &quot;bottom&quot;. If &quot;name&quot; is not given the currently
2630
selected item is used.
2657
selected item is used.
Line 2632... Line 2659...
2632
May throw ValueError if any of the distances are out of bounds (must be positive).
2659
May throw ValueError if any of the distances are out of bounds (must be positive).
2633
</source>
2660
</source>
2634
        <translation type="unfinished"></translation>
2661
        <translation type="unfinished"></translation>
2635
    </message>
2662
    </message>
2636
    <message>
2663
    <message>
2637
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="211"/>
2664
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="205"/>
2638
        <source>setColumnGap(size, [&quot;name&quot;])
2665
        <source>setColumnGap(size, [&quot;name&quot;])
2639
 
2666
 
2640
Sets the column gap of the text frame &quot;name&quot; to the value &quot;size&quot;. If
2667
Sets the column gap of the text frame &quot;name&quot; to the value &quot;size&quot;. If
2641
&quot;name&quot; is not given the currently selected item is used.
2668
&quot;name&quot; is not given the currently selected item is used.
2642
 
2669
 
Line 2649... Line 2676...
2649
 
2676
 
2650
May throw ValueError if the column gap is out of bounds (must be positive).
2677
May throw ValueError if the column gap is out of bounds (must be positive).
2651
</translation>
2678
</translation>
2652
    </message>
2679
    </message>
2653
    <message>
2680
    <message>
2654
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="223"/>
2681
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="217"/>
2655
        <source>setColumns(nr, [&quot;name&quot;])
2682
        <source>setColumns(nr, [&quot;name&quot;])
2656
 
2683
 
2657
Sets the number of columns of the text frame &quot;name&quot; to the integer &quot;nr&quot;.
2684
Sets the number of columns of the text frame &quot;name&quot; to the integer &quot;nr&quot;.
2658
If &quot;name&quot; is not given the currently selected item is used.
2685
If &quot;name&quot; is not given the currently selected item is used.
2659
 
2686
 
Line 2666... Line 2693...
2666
 
2693
 
2667
May throw ValueError if number of columns is not at least one.
2694
May throw ValueError if number of columns is not at least one.
2668
</translation>
2695
</translation>
2669
    </message>
2696
    </message>
2670
    <message>
2697
    <message>
2671
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="236"/>
2698
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="229"/>
2672
        <source>setTextAlignment(align, [&quot;name&quot;])
2699
        <source>setTextAlignment(align, [&quot;name&quot;])
2673
 
2700
 
2674
Sets the text alignment of the text frame &quot;name&quot; to the specified alignment.
2701
Sets the text alignment of the text frame &quot;name&quot; to the specified alignment.
2675
If &quot;name&quot; is not given the currently selected item is used. &quot;align&quot; should
2702
If &quot;name&quot; is not given the currently selected item is used. &quot;align&quot; should
2676
be one of the ALIGN_ constants defined in this module - see dir(scribus).
2703
be one of the ALIGN_ constants defined in this module - see dir(scribus).
Line 2685... Line 2712...
2685
 
2712
 
2686
May throw ValueError for an invalid alignment constant.
2713
May throw ValueError for an invalid alignment constant.
2687
</translation>
2714
</translation>
2688
    </message>
2715
    </message>
2689
    <message>
2716
    <message>
2690
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="250"/>
2717
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="242"/>
2691
        <source>selectText(start, count, [&quot;name&quot;])
2718
        <source>selectText(start, count, [&quot;name&quot;])
2692
 
2719
 
2693
Selects &quot;count&quot; characters of text in the text frame &quot;name&quot; starting from the
2720
Selects &quot;count&quot; characters of text in the text frame &quot;name&quot; starting from the
2694
character &quot;start&quot;. Character counting starts at 0. If &quot;count&quot; is zero, any
2721
character &quot;start&quot;. Character counting starts at 0. If &quot;count&quot; is zero, any
2695
text selection will be cleared.  If &quot;name&quot; is not given the currently
2722
text selection will be cleared.  If &quot;name&quot; is not given the currently
Line 2706... Line 2733...
2706
 
2733
 
2707
May throw IndexError if the selection is outside the bounds of the text.
2734
May throw IndexError if the selection is outside the bounds of the text.
2708
</translation>
2735
</translation>
2709
    </message>
2736
    </message>
2710
    <message>
2737
    <message>
2711
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="261"/>
2738
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="256"/>
2712
        <source>deleteText([&quot;name&quot;])
2739
        <source>deleteText([&quot;name&quot;])
2713
 
2740
 
2714
Deletes any text in the text frame &quot;name&quot;. If there is some text selected,
2741
Deletes any text in the text frame &quot;name&quot;. If there is some text selected,
2715
only the selected text will be deleted. If &quot;name&quot; is not given the currently
2742
only the selected text will be deleted. If &quot;name&quot; is not given the currently
2716
selected item is used.
2743
selected item is used.
Line 2721... Line 2748...
2721
only the selected text will be deleted. If &quot;name&quot; is not given the currently
2748
only the selected text will be deleted. If &quot;name&quot; is not given the currently
2722
selected item is used.
2749
selected item is used.
2723
</translation>
2750
</translation>
2724
    </message>
2751
    </message>
2725
    <message>
2752
    <message>
2726
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="272"/>
2753
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="267"/>
2727
        <source>setTextColor(&quot;color&quot;, [&quot;name&quot;])
2754
        <source>setTextColor(&quot;color&quot;, [&quot;name&quot;])
2728
 
2755
 
2729
Sets the text color of the text frame &quot;name&quot; to the color &quot;color&quot;. If there
2756
Sets the text color of the text frame &quot;name&quot; to the color &quot;color&quot;. If there
2730
is some text selected only the selected text is changed. If &quot;name&quot; is not
2757
is some text selected only the selected text is changed. If &quot;name&quot; is not
2731
given the currently selected item is used.
2758
given the currently selected item is used.
Line 2736... Line 2763...
2736
is some text selected only the selected text is changed. If &quot;name&quot; is not
2763
is some text selected only the selected text is changed. If &quot;name&quot; is not
2737
given the currently selected item is used.
2764
given the currently selected item is used.
2738
</translation>
2765
</translation>
2739
    </message>
2766
    </message>
2740
    <message>
2767
    <message>
2741
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="282"/>
2768
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="278"/>
2742
        <source>setTextStroke(&quot;color&quot;, [&quot;name&quot;])
2769
        <source>setTextStroke(&quot;color&quot;, [&quot;name&quot;])
2743
 
2770
 
2744
Set &quot;color&quot; of the text stroke. If &quot;name&quot; is not given the currently
2771
Set &quot;color&quot; of the text stroke. If &quot;name&quot; is not given the currently
2745
selected item is used.
2772
selected item is used.
2746
</source>
2773
</source>
Line 2749... Line 2776...
2749
Set &quot;color&quot; of the text stroke. If &quot;name&quot; is not given the currently
2776
Set &quot;color&quot; of the text stroke. If &quot;name&quot; is not given the currently
2750
selected item is used.
2777
selected item is used.
2751
</translation>
2778
</translation>
2752
    </message>
2779
    </message>
2753
    <message>
2780
    <message>
2754
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="315"/>
2781
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="308"/>
2755
        <source>setTextShade(shade, [&quot;name&quot;])
2782
        <source>setTextShade(shade, [&quot;name&quot;])
2756
 
2783
 
2757
Sets the shading of the text color of the object &quot;name&quot; to &quot;shade&quot;. If
2784
Sets the shading of the text color of the object &quot;name&quot; to &quot;shade&quot;. If
2758
there is some text selected only the selected text is changed. &quot;shade&quot; must
2785
there is some text selected only the selected text is changed. &quot;shade&quot; must
2759
be an integer value in the range from 0 (lightest) to 100 (full color
2786
be an integer value in the range from 0 (lightest) to 100 (full color
Line 2768... Line 2795...
2768
intensity). If &quot;name&quot; is not given the currently selected item is
2795
intensity). If &quot;name&quot; is not given the currently selected item is
2769
used.
2796
used.
2770
</translation>
2797
</translation>
2771
    </message>
2798
    </message>
2772
    <message>
2799
    <message>
2773
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="328"/>
2800
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="321"/>
2774
        <source>linkTextFrames(&quot;fromname&quot;, &quot;toname&quot;)
2801
        <source>linkTextFrames(&quot;fromname&quot;, &quot;toname&quot;)
2775
 
2802
 
2776
Link two text frames. The frame named &quot;fromname&quot; is linked to the
2803
Link two text frames. The frame named &quot;fromname&quot; is linked to the
2777
frame named &quot;toname&quot;. The target frame must be an empty text frame
2804
frame named &quot;toname&quot;. The target frame must be an empty text frame
2778
and must not link to or be linked from any other frames already.
2805
and must not link to or be linked from any other frames already.
Line 2787... Line 2814...
2787
 
2814
 
2788
May throw ScribusException if linking rules are violated.
2815
May throw ScribusException if linking rules are violated.
2789
</translation>
2816
</translation>
2790
    </message>
2817
    </message>
2791
    <message>
2818
    <message>
2792
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="345"/>
2819
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="338"/>
2793
        <source>unlinkTextFrames(&quot;name&quot;)
2820
        <source>unlinkTextFrames(&quot;name&quot;)
2794
 
2821
 
2795
Remove the specified (named) object from the text frame flow/linkage. If the
2822
Remove the specified (named) object from the text frame flow/linkage. If the
2796
frame was in the middle of a chain, the previous and next frames will be
2823
frame was in the middle of a chain, the previous and next frames will be
2797
connected, eg &apos;a-&gt;b-&gt;c&apos; becomes &apos;a-&gt;c&apos; when you unlinkTextFrames(b)&apos;
2824
connected, eg &apos;a-&gt;b-&gt;c&apos; becomes &apos;a-&gt;c&apos; when you unlinkTextFrames(b)&apos;
Line 2806... Line 2833...
2806
 
2833
 
2807
May throw ScribusException if linking rules are violated.
2834
May throw ScribusException if linking rules are violated.
2808
</translation>
2835
</translation>
2809
    </message>
2836
    </message>
2810
    <message>
2837
    <message>
2811
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="358"/>
2838
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="355"/>
2812
        <source>traceText([&quot;name&quot;])
2839
        <source>traceText([&quot;name&quot;])
2813
 
2840
 
2814
Convert the text frame &quot;name&quot; to outlines. If &quot;name&quot; is not given the
2841
Convert the text frame &quot;name&quot; to outlines. If &quot;name&quot; is not given the
2815
currently selected item is used.</source>
2842
currently selected item is used.</source>
2816
        <translation type="unfinished">traceText([&quot;name&quot;])
2843
        <translation type="unfinished">traceText([&quot;name&quot;])
2817
 
2844
 
2818
Convert the text frame &quot;name&quot; to outlines. If &quot;name&quot; is not given the
2845
Convert the text frame &quot;name&quot; to outlines. If &quot;name&quot; is not given the
2819
currently selected item is used.</translation>
2846
currently selected item is used.</translation>
2820
    </message>
2847
    </message>
2821
    <message>
2848
    <message>
2822
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="372"/>
2849
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="366"/>
2823
        <source>textOverflows([&quot;name&quot;, nolinks]) -&gt; integer
2850
        <source>textOverflows([&quot;name&quot;, nolinks]) -&gt; integer
2824
 
2851
 
2825
Returns the actual number of overflowing characters in text frame &quot;name&quot;.
2852
Returns the actual number of overflowing characters in text frame &quot;name&quot;.
2826
If is nolinks set to non zero value it takes only one frame - it doesn&apos;t
2853
If is nolinks set to non zero value it takes only one frame - it doesn&apos;t
2827
use text frame linking. Without this parameter it search all linking chain.
2854
use text frame linking. Without this parameter it search all linking chain.
Line 2836... Line 2863...
2836
 
2863
 
2837
May raise WrongFrameTypeError if the target frame is not an text frame
2864
May raise WrongFrameTypeError if the target frame is not an text frame
2838
</translation>
2865
</translation>
2839
    </message>
2866
    </message>
2840
    <message>
2867
    <message>
2841
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="385"/>
2868
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="379"/>
2842
        <source>hyphenateText([&quot;name&quot;]) -&gt; bool
2869
        <source>hyphenateText([&quot;name&quot;]) -&gt; bool
2843
 
2870
 
2844
Does hyphenation on text frame &quot;name&quot;.
2871
Does hyphenation on text frame &quot;name&quot;.
2845
If &quot;name&quot; is not given the currently selected item is used.
2872
If &quot;name&quot; is not given the currently selected item is used.
2846
 
2873
 
2847
May raise WrongFrameTypeError if the target frame is not a text frame
2874
May raise WrongFrameTypeError if the target frame is not a text frame
2848
</source>
2875
</source>
2849
        <translation type="unfinished"></translation>
2876
        <translation type="unfinished"></translation>
2850
    </message>
2877
    </message>
2851
    <message>
2878
    <message>
2852
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="399"/>
2879
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="393"/>
2853
        <source>dehyphenateText([&quot;name&quot;]) -&gt; bool
2880
        <source>dehyphenateText([&quot;name&quot;]) -&gt; bool
2854
 
2881
 
2855
Does dehyphenation on text frame &quot;name&quot;.
2882
Does dehyphenation on text frame &quot;name&quot;.
2856
If &quot;name&quot; is not given the currently selected item is used.
2883
If &quot;name&quot; is not given the currently selected item is used.
2857
 
2884
 
2858
May raise WrongFrameTypeError if the target frame is not a text frame
2885
May raise WrongFrameTypeError if the target frame is not a text frame
2859
</source>
2886
</source>
2860
        <translation type="unfinished"></translation>
2887
        <translation type="unfinished"></translation>
2861
    </message>
2888
    </message>
2862
    <message>
2889
    <message>
2863
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="414"/>
2890
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="408"/>
2864
        <source>setPDFBookmark(&quot;toggle&quot;, [&quot;name&quot;])
2891
        <source>setPDFBookmark(&quot;toggle&quot;, [&quot;name&quot;])
2865
 
2892
 
2866
Sets whether (toggle = 1) the text frame &quot;name&quot; is a bookmark nor not.
2893
Sets whether (toggle = 1) the text frame &quot;name&quot; is a bookmark nor not.
2867
If &quot;name&quot; is not given the currently selected item is used.
2894
If &quot;name&quot; is not given the currently selected item is used.
2868
 
2895
 
2869
May raise WrongFrameTypeError if the target frame is not a text frame
2896
May raise WrongFrameTypeError if the target frame is not a text frame
2870
</source>
2897
</source>
2871
        <translation type="unfinished"></translation>
2898
        <translation type="unfinished"></translation>
2872
    </message>
2899
    </message>
2873
    <message>
2900
    <message>
2874
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="426"/>
2901
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="420"/>
2875
        <source>isPDFBookmark([&quot;name&quot;]) -&gt; bool
2902
        <source>isPDFBookmark([&quot;name&quot;]) -&gt; bool
2876
 
2903
 
2877
Returns true if the text frame &quot;name&quot; is a PDF bookmark.
2904
Returns true if the text frame &quot;name&quot; is a PDF bookmark.
2878
If &quot;name&quot; is not given the currently selected item is used.
2905
If &quot;name&quot; is not given the currently selected item is used.
2879
 
2906
 
Line 2886... Line 2913...
2886
 
2913
 
2887
May raise WrongFrameTypeError if the target frame is not a text frame
2914
May raise WrongFrameTypeError if the target frame is not a text frame
2888
</translation>
2915
</translation>
2889
    </message>
2916
    </message>
2890
    <message>
2917
    <message>
2891
        <location filename="../../scribus/plugins/scriptplugin/guiapp.h" line="21"/>
2918
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="17"/>
2892
        <source>messagebarText(&quot;string&quot;)
2919
        <source>messagebarText(&quot;string&quot;)
2893
 
2920
 
2894
Writes the &quot;string&quot; into the Scribus message bar (status line). The text
2921
Writes the &quot;string&quot; into the Scribus message bar (status line). The text
2895
must be UTF8 encoded or &apos;unicode&apos; string(recommended).
2922
must be UTF8 encoded or &apos;unicode&apos; string(recommended).
2896
</source>
2923
</source>
Line 2899... Line 2926...
2899
Writes the &quot;string&quot; into the Scribus message bar (status line). The text
2926
Writes the &quot;string&quot; into the Scribus message bar (status line). The text
2900
must be UTF8 encoded or &apos;unicode&apos; string(recommended).
2927
must be UTF8 encoded or &apos;unicode&apos; string(recommended).
2901
</translation>
2928
</translation>
2902
    </message>
2929
    </message>
2903
    <message>
2930
    <message>
2904
        <location filename="../../scribus/plugins/scriptplugin/guiapp.h" line="34"/>
2931
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="30"/>
2905
        <source>progressReset()
2932
        <source>progressReset()
2906
 
2933
 
2907
Cleans up the Scribus progress bar previous settings. It is called before the
2934
Cleans up the Scribus progress bar previous settings. It is called before the
2908
new progress bar use. See progressSet.
2935
new progress bar use. See progressSet.
2909
</source>
2936
</source>
Line 2912... Line 2939...
2912
Cleans up the Scribus progress bar previous settings. It is called before the
2939
Cleans up the Scribus progress bar previous settings. It is called before the
2913
new progress bar use. See progressSet.
2940
new progress bar use. See progressSet.
2914
</translation>
2941
</translation>
2915
    </message>
2942
    </message>
2916
    <message>
2943
    <message>
2917
        <location filename="../../scribus/plugins/scriptplugin/guiapp.h" line="47"/>
2944
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="43"/>
2918
        <source>progressTotal(max)
2945
        <source>progressTotal(max)
2919
 
2946
 
2920
Sets the progress bar&apos;s maximum steps value to the specified number.
2947
Sets the progress bar&apos;s maximum steps value to the specified number.
2921
See progressSet.
2948
See progressSet.
2922
</source>
2949
</source>
Line 2925... Line 2952...
2925
Sets the progress bar&apos;s maximum steps value to the specified number.
2952
Sets the progress bar&apos;s maximum steps value to the specified number.
2926
See progressSet.
2953
See progressSet.
2927
</translation>
2954
</translation>
2928
    </message>
2955
    </message>
2929
    <message>
2956
    <message>
2930
        <location filename="../../scribus/plugins/scriptplugin/guiapp.h" line="61"/>
2957
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="52"/>
2931
        <source>progressSet(nr)
2958
        <source>progressSet(nr)
2932
 
2959
 
2933
Set the progress bar position to &quot;nr&quot;, a value relative to the previously set
2960
Set the progress bar position to &quot;nr&quot;, a value relative to the previously set
2934
progressTotal. The progress bar uses the concept of steps; you give it the
2961
progressTotal. The progress bar uses the concept of steps; you give it the
2935
total number of steps and the number of steps completed so far and it will
2962
total number of steps and the number of steps completed so far and it will
Line 2948... Line 2975...
2948
with progressSet(). The progress bar can be rewound to the beginning with
2975
with progressSet(). The progress bar can be rewound to the beginning with
2949
progressReset(). [based on info taken from Trolltech&apos;s Qt docs]
2976
progressReset(). [based on info taken from Trolltech&apos;s Qt docs]
2950
</translation>
2977
</translation>
2951
    </message>
2978
    </message>
2952
    <message>
2979
    <message>
2953
        <location filename="../../scribus/plugins/scriptplugin/guiapp.h" line="69"/>
2980
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="66"/>
2954
        <source>setCursor()
2981
        <source>setCursor()
2955
 
2982
 
2956
[UNSUPPORTED!] This might break things, so steer clear for now.
2983
[UNSUPPORTED!] This might break things, so steer clear for now.
2957
</source>
2984
</source>
2958
        <translation type="unfinished">setCursor()
2985
        <translation type="unfinished">setCursor()
2959
 
2986
 
2960
[UNSUPPORTED!] This might break things, so steer clear for now.
2987
[UNSUPPORTED!] This might break things, so steer clear for now.
2961
</translation>
2988
</translation>
2962
    </message>
2989
    </message>
2963
    <message>
2990
    <message>
2964
        <location filename="../../scribus/plugins/scriptplugin/guiapp.h" line="83"/>
2991
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="78"/>
2965
        <source>docChanged(bool)
2992
        <source>docChanged(bool)
2966
 
2993
 
2967
Enable/disable save icon in the Scribus icon bar and the Save menu item. It&apos;s
2994
Enable/disable save icon in the Scribus icon bar and the Save menu item. It&apos;s
2968
useful to call this procedure when you&apos;re changing the document, because Scribus
2995
useful to call this procedure when you&apos;re changing the document, because Scribus
2969
won&apos;t automatically notice when you change the document using a script.
2996
won&apos;t automatically notice when you change the document using a script.
Line 2974... Line 3001...
2974
useful to call this procedure when you&apos;re changing the document, because Scribus
3001
useful to call this procedure when you&apos;re changing the document, because Scribus
2975
won&apos;t automatically notice when you change the document using a script.
3002
won&apos;t automatically notice when you change the document using a script.
2976
</translation>
3003
</translation>
2977
    </message>
3004
    </message>
2978
    <message>
3005
    <message>
2979
        <location filename="../../scribus/plugins/scriptplugin/guiapp.h" line="95"/>
3006
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="91"/>
2980
        <source>zoomDocument(double)
3007
        <source>zoomDocument(double)
2981
 
3008
 
2982
Zoom the document in main GUI window. Actions have whole number
3009
Zoom the document in main GUI window. Actions have whole number
2983
values like 20.0, 100.0, etc. Zoom to Fit uses -100 as a marker.
3010
values like 20.0, 100.0, etc. Zoom to Fit uses -100 as a marker.
2984
</source>
3011
</source>
Line 2987... Line 3014...
2987
Zoom the document in main GUI window. Actions have whole number
3014
Zoom the document in main GUI window. Actions have whole number
2988
values like 20.0, 100.0, etc. Zoom to Fit uses -100 as a marker.
3015
values like 20.0, 100.0, etc. Zoom to Fit uses -100 as a marker.
2989
</translation>
3016
</translation>
2990
    </message>
3017
    </message>
2991
    <message>
3018
    <message>
2992
        <location filename="../../scribus/plugins/scriptplugin/guiapp.h" line="106"/>
3019
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="103"/>
2993
        <source>scrollDocument(x,y)
3020
        <source>scrollDocument(x,y)
2994
 
3021
 
2995
Scroll the document in main GUI window by x and y.
3022
Scroll the document in main GUI window by x and y.
2996
</source>
3023
</source>
2997
        <translation type="unfinished"></translation>
3024
        <translation type="unfinished"></translation>
2998
    </message>
3025
    </message>
2999
    <message>
3026
    <message>
3000
        <location filename="../../scribus/plugins/scriptplugin/svgimport.h" line="21"/>
3027
        <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="15"/>
3001
        <source>placeSVG(&quot;filename&quot;, x, y)
3028
        <source>placeSVG(&quot;filename&quot;, x, y)
3002
 
3029
 
3003
Places the SVG &quot;filename&quot; onto the current page,
3030
Places the SVG &quot;filename&quot; onto the current page,
3004
x and y specify the coordinate of the topleft corner of the SVG placed on the page
3031
x and y specify the coordinate of the topleft corner of the SVG placed on the page
3005
 
3032
 
3006
If loading was successful, the selection contains the imported SVG
3033
If loading was successful, the selection contains the imported SVG
3007
</source>
3034
</source>
3008
        <translation type="unfinished"></translation>
3035
        <translation type="unfinished"></translation>
3009
    </message>
3036
    </message>
3010
    <message>
3037
    <message>
3011
        <location filename="../../scribus/plugins/scriptplugin/svgimport.h" line="33"/>
3038
        <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="27"/>
3012
        <source>placeEPS(&quot;filename&quot;, x, y)
3039
        <source>placeEPS(&quot;filename&quot;, x, y)
3013
 
3040
 
3014
Places the EPS &quot;filename&quot; onto the current page,
3041
Places the EPS &quot;filename&quot; onto the current page,
3015
x and y specify the coordinate of the topleft corner of the EPS placed on the page
3042
x and y specify the coordinate of the topleft corner of the EPS placed on the page
3016
 
3043
 
3017
If loading was successful, the selection contains the imported EPS
3044
If loading was successful, the selection contains the imported EPS
3018
</source>
3045
</source>
3019
        <translation type="unfinished"></translation>
3046
        <translation type="unfinished"></translation>
3020
    </message>
3047
    </message>
3021
    <message>
3048
    <message>
3022
        <location filename="../../scribus/plugins/scriptplugin/svgimport.h" line="45"/>
3049
        <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="39"/>
3023
        <source>placeSXD(&quot;filename&quot;, x, y)
3050
        <source>placeSXD(&quot;filename&quot;, x, y)
3024
 
3051
 
3025
Places the SXD &quot;filename&quot; onto the current page,
3052
Places the SXD &quot;filename&quot; onto the current page,
3026
x and y specify the coordinate of the topleft corner of the SXD placed on the page
3053
x and y specify the coordinate of the topleft corner of the SXD placed on the page
3027
 
3054
 
3028
If loading was successful, the selection contains the imported SXD
3055
If loading was successful, the selection contains the imported SXD
3029
</source>
3056
</source>
3030
        <translation type="unfinished"></translation>
3057
        <translation type="unfinished"></translation>
3031
    </message>
3058
    </message>
3032
    <message>
3059
    <message>
3033
        <location filename="../../scribus/plugins/scriptplugin/svgimport.h" line="57"/>
3060
        <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="51"/>
3034
        <source>placeODG(&quot;filename&quot;, x, y)
3061
        <source>placeODG(&quot;filename&quot;, x, y)
3035
 
3062
 
3036
Places the ODG &quot;filename&quot; onto the current page,
3063
Places the ODG &quot;filename&quot; onto the current page,
3037
x and y specify the coordinate of the topleft corner of the ODG placed on the page
3064
x and y specify the coordinate of the topleft corner of the ODG placed on the page
3038
 
3065
 
3039
If loading was successful, the selection contains the imported ODG
3066
If loading was successful, the selection contains the imported ODG
3040
</source>
3067
</source>
3041
        <translation type="unfinished"></translation>
3068
        <translation type="unfinished"></translation>
3042
    </message>
3069
    </message>
3043
    <message>
3070
    <message>
3044
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="120"/>
3071
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="113"/>
3045
        <source>isSpotColor(&quot;name&quot;) -&gt; bool
3072
        <source>isSpotColor(&quot;name&quot;) -&gt; bool
3046
 
3073
 
3047
Returns True if the color &quot;name&quot; is a spot color.
3074
Returns True if the color &quot;name&quot; is a spot color.
3048
See also setSpotColor()
3075
See also setSpotColor()
3049
 
3076
 
Line 3051... Line 3078...
3051
May raise ValueError if an invalid color name is specified.
3078
May raise ValueError if an invalid color name is specified.
3052
</source>
3079
</source>
3053
        <translation type="unfinished"></translation>
3080
        <translation type="unfinished"></translation>
3054
    </message>
3081
    </message>
3055
    <message>
3082
    <message>
3056
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="135"/>
3083
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="128"/>
3057
        <source>setSpotColor(&quot;name&quot;, spot)
3084
        <source>setSpotColor(&quot;name&quot;, spot)
3058
 
3085
 
3059
Set the color &quot;name&quot; as a spot color if spot parameter is True.
3086
Set the color &quot;name&quot; as a spot color if spot parameter is True.
3060
See also isSpotColor()
3087
See also isSpotColor()
3061
 
3088
 
Line 3063... Line 3090...
3063
May raise ValueError if an invalid color name is specified.
3090
May raise ValueError if an invalid color name is specified.
3064
</source>
3091
</source>
3065
        <translation type="unfinished"></translation>
3092
        <translation type="unfinished"></translation>
3066
    </message>
3093
    </message>
3067
    <message>
3094
    <message>
3068
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="167"/>
3095
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="159"/>
3069
        <source>scaleImage(x, y [, &quot;name&quot;])
3096
        <source>scaleImage(x, y [, &quot;name&quot;])
3070
 
3097
 
3071
Sets the internal scaling factors of the picture in the image frame &quot;name&quot;.
3098
Sets the internal scaling factors of the picture in the image frame &quot;name&quot;.
3072
If &quot;name&quot; is not given the currently selected item is used. A number of 1
3099
If &quot;name&quot; is not given the currently selected item is used. A number of 1
3073
means 100 %. Internal scaling factors are different from the values shown on 
3100
means 100 %. Internal scaling factors are different from the values shown on 
Line 3076... Line 3103...
3076
May raise WrongFrameTypeError if the target frame is not an image frame
3103
May raise WrongFrameTypeError if the target frame is not an image frame
3077
</source>
3104
</source>
3078
        <translation type="unfinished"></translation>
3105
        <translation type="unfinished"></translation>
3079
    </message>
3106
    </message>
3080
    <message>
3107
    <message>
3081
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="180"/>
3108
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="173"/>
3082
        <source>setImageScale(x, y [, &quot;name&quot;])
3109
        <source>setImageScale(x, y [, &quot;name&quot;])
3083
 
3110
 
3084
Sets the scaling factors of the picture in the image frame &quot;name&quot;.
3111
Sets the scaling factors of the picture in the image frame &quot;name&quot;.
3085
If &quot;name&quot; is not given the currently selected item is used. A number of 1
3112
If &quot;name&quot; is not given the currently selected item is used. A number of 1
3086
means 100 %. Scaling factors are equal to the values shown on properties palette.
3113
means 100 %. Scaling factors are equal to the values shown on properties palette.
Line 3088... Line 3115...
3088
May raise WrongFrameTypeError if the target frame is not an image frame
3115
May raise WrongFrameTypeError if the target frame is not an image frame
3089
</source>
3116
</source>
3090
        <translation type="unfinished"></translation>
3117
        <translation type="unfinished"></translation>
3091
    </message>
3118
    </message>
3092
    <message>
3119
    <message>
3093
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="33"/>
3120
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="28"/>
3094
        <source>setGradientStop(&quot;color&quot;, shade, opacity, ramppoint, [&quot;name&quot;])
3121
        <source>setGradientStop(&quot;color&quot;, shade, opacity, ramppoint, [&quot;name&quot;])
3095
 
3122
 
3096
Set or add a gradient stop to the gradient fill of the object &quot;name&quot; at position ramppoint.
3123
Set or add a gradient stop to the gradient fill of the object &quot;name&quot; at position ramppoint.
3097
Color descriptions are the same as for setFillColor() and setFillShade(). setGradientFill()
3124
Color descriptions are the same as for setFillColor() and setFillShade(). setGradientFill()
3098
must have been called previously for the gradient fill to be visible.
3125
must have been called previously for the gradient fill to be visible.
3099
</source>
3126
</source>
3100
        <translation type="unfinished"></translation>
3127
        <translation type="unfinished"></translation>
3101
    </message>
3128
    </message>
3102
    <message>
3129
    <message>
3103
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="292"/>
3130
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="288"/>
3104
        <source>setTextScalingV(scale, [&quot;name&quot;])
3131
        <source>setTextScalingV(scale, [&quot;name&quot;])
3105
 
3132
 
3106
Sets the vertical character scaling of the object &quot;name&quot; to &quot;scale&quot; in percent.
3133
Sets the vertical character scaling of the object &quot;name&quot; to &quot;scale&quot; in percent.
3107
If &quot;name&quot; is not given the currently selected item is used.
3134
If &quot;name&quot; is not given the currently selected item is used.
3108
</source>
3135
</source>
3109
        <translation type="unfinished"></translation>
3136
        <translation type="unfinished"></translation>
3110
    </message>
3137
    </message>
3111
    <message>
3138
    <message>
3112
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="302"/>
3139
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="298"/>
3113
        <source>setTextScalingH(scale, [&quot;name&quot;])
3140
        <source>setTextScalingH(scale, [&quot;name&quot;])
3114
 
3141
 
3115
Sets the horizontal character scaling of the object &quot;name&quot; to &quot;scale&quot; in percent.
3142
Sets the horizontal character scaling of the object &quot;name&quot; to &quot;scale&quot; in percent.
3116
If &quot;name&quot; is not given the currently selected item is used.
3143
If &quot;name&quot; is not given the currently selected item is used.
3117
</source>
3144
</source>
Line 3119... Line 3146...
3119
    </message>
3146
    </message>
3120
</context>
3147
</context>
3121
<context>
3148
<context>
3122
    <name>@default</name>
3149
    <name>@default</name>
3123
    <message>
3150
    <message>
3124
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="21"/>
-
 
3125
        <source>getColorNames() -&gt; list
3151
        <source>getColorNames() -&gt; list
3126
 
3152
 
3127
Returns a list containing the names of all defined colors in the document.
3153
Returns a list containing the names of all defined colors in the document.
3128
If no document is open, returns a list of the default document colors.
3154
If no document is open, returns a list of the default document colors.
3129
</source>
3155
</source>
Line 3132... Line 3158...
3132
Returns a list containing the names of all defined colours in the document.
3158
Returns a list containing the names of all defined colours in the document.
3133
If no document is open, returns a list of the default document colours.
3159
If no document is open, returns a list of the default document colours.
3134
</translation>
3160
</translation>
3135
    </message>
3161
    </message>
3136
    <message>
3162
    <message>
3137
        <location filename="../../scribus/plugins/scriptplugin/cmddialog.h" line="22"/>
-
 
3138
        <source>newDocDialog() -&gt; bool
3163
        <source>newDocDialog() -&gt; bool
3139
 
3164
 
3140
Displays the &quot;New Document&quot; dialog box. Creates a new document if the user
3165
Displays the &quot;New Document&quot; dialog box. Creates a new document if the user
3141
accepts the settings. Does not create a document if the user presses cancel.
3166
accepts the settings. Does not create a document if the user presses cancel.
3142
Returns true if a new document was created.
3167
Returns true if a new document was created.
Line 3147... Line 3172...
3147
accepts the settings. Does not create a document if the user presses cancel.
3172
accepts the settings. Does not create a document if the user presses cancel.
3148
Returns true if a new document was created.
3173
Returns true if a new document was created.
3149
</translation>
3174
</translation>
3150
    </message>
3175
    </message>
3151
    <message>
3176
    <message>
3152
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="21"/>
-
 
3153
        <source>getFillColor([&quot;name&quot;]) -&gt; string
3177
        <source>getFillColor([&quot;name&quot;]) -&gt; string
3154
 
3178
 
3155
Returns the name of the fill color of the object &quot;name&quot;.
3179
Returns the name of the fill color of the object &quot;name&quot;.
3156
If &quot;name&quot; is not given the currently selected item is used.
3180
If &quot;name&quot; is not given the currently selected item is used.
3157
</source>
3181
</source>
Line 3160... Line 3184...
3160
Returns the name of the fill colour of the object &quot;name&quot;.
3184
Returns the name of the fill colour of the object &quot;name&quot;.
3161
If &quot;name&quot; is not given the currently selected item is used.
3185
If &quot;name&quot; is not given the currently selected item is used.
3162
</translation>
3186
</translation>
3163
    </message>
3187
    </message>
3164
    <message>
3188
    <message>
3165
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="23"/>
-
 
3166
        <source>moveObject(dx, dy [, &quot;name&quot;])
3189
        <source>moveObject(dx, dy [, &quot;name&quot;])
3167
 
3190
 
3168
Moves the object &quot;name&quot; by dx and dy relative to its current position. The
3191
Moves the object &quot;name&quot; by dx and dy relative to its current position. The
3169
distances are expressed in the current measurement unit of the document (see
3192
distances are expressed in the current measurement unit of the document (see
3170
UNIT constants). If &quot;name&quot; is not given the currently selected item is used.
3193
UNIT constants). If &quot;name&quot; is not given the currently selected item is used.
Line 3177... Line 3200...
3177
UNIT constants). If &quot;name&quot; is not given the currently selected item is used.
3200
UNIT constants). If &quot;name&quot; is not given the currently selected item is used.
3178
If the object &quot;name&quot; belongs to a group, the whole group is moved.
3201
If the object &quot;name&quot; belongs to a group, the whole group is moved.
3179
</translation>
3202
</translation>
3180
    </message>
3203
    </message>
3181
    <message>
3204
    <message>
3182
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="24"/>
-
 
3183
        <source>setRedraw(bool)
3205
        <source>setRedraw(bool)
3184
 
3206
 
3185
Disables page redraw when bool = False, otherwise redrawing is enabled.
3207
Disables page redraw when bool = False, otherwise redrawing is enabled.
3186
This change will persist even after the script exits, so make sure to call
3208
This change will persist even after the script exits, so make sure to call
3187
setRedraw(True) in a finally: clause at the top level of your script.
3209
setRedraw(True) in a finally: clause at the top level of your script.
Line 3192... Line 3214...
3192
This change will persist even after the script exits, so make sure to call
3214
This change will persist even after the script exits, so make sure to call
3193
setRedraw(True) in a finally: clause at the top level of your script.
3215
setRedraw(True) in a finally: clause at the top level of your script.
3194
</translation>
3216
</translation>
3195
    </message>
3217
    </message>
3196
    <message>
3218
    <message>
3197
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="26"/>
-
 
3198
        <source>createRect(x, y, width, height, [&quot;name&quot;]) -&gt; string
3219
        <source>createRect(x, y, width, height, [&quot;name&quot;]) -&gt; string
3199
 
3220
 
3200
Creates a new rectangle on the current page and returns its name. The
3221
Creates a new rectangle on the current page and returns its name. The
3201
coordinates are given in the current measurement units of the document
3222
coordinates are given in the current measurement units of the document
3202
(see UNIT constants). &quot;name&quot; should be a unique identifier for the object
3223
(see UNIT constants). &quot;name&quot; should be a unique identifier for the object
Line 3215... Line 3236...
3215
 
3236
 
3216
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
3237
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
3217
</translation>
3238
</translation>
3218
    </message>
3239
    </message>
3219
    <message>
3240
    <message>
3220
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="26"/>
-
 
3221
        <source>newPage(where [,&quot;masterpage&quot;])
3241
        <source>newPage(where [,&quot;masterpage&quot;])
3222
 
3242
 
3223
Creates a new page. If &quot;where&quot; is -1 the new Page is appended to the
3243
Creates a new page. If &quot;where&quot; is -1 the new Page is appended to the
3224
document, otherwise the new page is inserted before &quot;where&quot;. Page numbers are
3244
document, otherwise the new page is inserted before &quot;where&quot;. Page numbers are
3225
counted from 1 upwards, no matter what the displayed first page number of your
3245
counted from 1 upwards, no matter what the displayed first page number of your
Line 3238... Line 3258...
3238
 
3258
 
3239
May raise IndexError if the page number is out of range
3259
May raise IndexError if the page number is out of range
3240
</translation>
3260
</translation>
3241
    </message>
3261
    </message>
3242
    <message>
3262
    <message>
3243
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="22"/>
-
 
3244
        <source>setGradientFill(type, &quot;color1&quot;, shade1, &quot;color2&quot;, shade2, [&quot;name&quot;])
3263
        <source>setGradientFill(type, &quot;color1&quot;, shade1, &quot;color2&quot;, shade2, [&quot;name&quot;])
3245
 
3264
 
3246
Sets the gradient fill of the object &quot;name&quot; to type. Color descriptions are
3265
Sets the gradient fill of the object &quot;name&quot; to type. Color descriptions are
3247
the same as for setFillColor() and setFillShade(). See the constants for
3266
the same as for setFillColor() and setFillShade(). See the constants for
3248
available types (FILL_&lt;type&gt;).
3267
available types (FILL_&lt;type&gt;).
Line 3253... Line 3272...
3253
the same as for setFillColor() and setFillShade(). See the constants for
3272
the same as for setFillColor() and setFillShade(). See the constants for
3254
available types (FILL_&lt;type&gt;).
3273
available types (FILL_&lt;type&gt;).
3255
</translation>
3274
</translation>
3256
    </message>
3275
    </message>
3257
    <message>
3276
    <message>
3258
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="23"/>
-
 
3259
        <source>getFontSize([&quot;name&quot;]) -&gt; float
3277
        <source>getFontSize([&quot;name&quot;]) -&gt; float
3260
 
3278
 
3261
Returns the font size in points for the text frame &quot;name&quot;. If this text
3279
Returns the font size in points for the text frame &quot;name&quot;. If this text
3262
frame has some text selected the value assigned to the first character of
3280
frame has some text selected the value assigned to the first character of
3263
the selection is returned.
3281
the selection is returned.
Line 3270... Line 3288...
3270
the selection is returned.
3288
the selection is returned.
3271
If &quot;name&quot; is not given the currently selected item is used.
3289
If &quot;name&quot; is not given the currently selected item is used.
3272
</translation>
3290
</translation>
3273
    </message>
3291
    </message>
3274
    <message>
3292
    <message>
3275
        <location filename="../../scribus/plugins/scriptplugin/guiapp.h" line="21"/>
-
 
3276
        <source>messagebarText(&quot;string&quot;)
3293
        <source>messagebarText(&quot;string&quot;)
3277
 
3294
 
3278
Writes the &quot;string&quot; into the Scribus message bar (status line). The text
3295
Writes the &quot;string&quot; into the Scribus message bar (status line). The text
3279
must be UTF8 encoded or &apos;unicode&apos; string(recommended).
3296
must be UTF8 encoded or &apos;unicode&apos; string(recommended).
3280
</source>
3297
</source>
Line 3283... Line 3300...
3283
Writes the &quot;string&quot; into the Scribus message bar (status line). The text
3300
Writes the &quot;string&quot; into the Scribus message bar (status line). The text
3284
must be UTF8 encoded or &apos;unicode&apos; string(recommended).
3301
must be UTF8 encoded or &apos;unicode&apos; string(recommended).
3285
</translation>
3302
</translation>
3286
    </message>
3303
    </message>
3287
    <message>
3304
    <message>
3288
        <location filename="" line="136966688"/>
-
 
3289
        <source>importSVG(&quot;string&quot;)
3305
        <source>importSVG(&quot;string&quot;)
3290
 
3306
 
3291
The &quot;string&quot; must be a valid filename for a SVG image. The text
3307
The &quot;string&quot; must be a valid filename for a SVG image. The text
3292
must be UTF8 encoded or &apos;unicode&apos; string(recommended).
3308
must be UTF8 encoded or &apos;unicode&apos; string(recommended).
3293
</source>
3309
</source>
Line 3296... Line 3312...
3296
The &quot;string&quot; must be a valid filename for a SVG image. The text
3312
The &quot;string&quot; must be a valid filename for a SVG image. The text
3297
must be UTF8 encoded or &apos;unicode&apos; string(recommended).
3313
must be UTF8 encoded or &apos;unicode&apos; string(recommended).
3298
</translation>
3314
</translation>
3299
    </message>
3315
    </message>
3300
    <message>
3316
    <message>
3301
        <location filename="" line="136966688"/>
-
 
3302
        <source>newDocument(size, margins, orientation, firstPageNumber,
3317
        <source>newDocument(size, margins, orientation, firstPageNumber,
3303
                        unit, pagesType, firstPageOrder) -&gt; bool
3318
                        unit, pagesType, firstPageOrder) -&gt; bool
3304
 
3319
 
3305
Creates a new document and returns true if successful. The parameters have the
3320
Creates a new document and returns true if successful. The parameters have the
3306
following meaning:
3321
following meaning:
Line 3375... Line 3390...
3375
 
3390
 
3376
May raise ScribusError if is firstPageOrder bigger than allowed by pagesType.
3391
May raise ScribusError if is firstPageOrder bigger than allowed by pagesType.
3377
</translation>
3392
</translation>
3378
    </message>
3393
    </message>
3379
    <message>
3394
    <message>
3380
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="35"/>
-
 
3381
        <source>getColor(&quot;name&quot;) -&gt; tuple
3395
        <source>getColor(&quot;name&quot;) -&gt; tuple
3382
 
3396
 
3383
Returns a tuple (C, M, Y, K) containing the four color components of the
3397
Returns a tuple (C, M, Y, K) containing the four color components of the
3384
color &quot;name&quot; from the current document. If no document is open, returns
3398
color &quot;name&quot; from the current document. If no document is open, returns
3385
the value of the named color from the default document colors.
3399
the value of the named color from the default document colors.
Line 3396... Line 3410...
3396
May raise NotFoundError if the named colour wasn&apos;t found.
3410
May raise NotFoundError if the named colour wasn&apos;t found.
3397
May raise ValueError if an invalid colour name is specified.
3411
May raise ValueError if an invalid colour name is specified.
3398
</translation>
3412
</translation>
3399
    </message>
3413
    </message>
3400
    <message>
3414
    <message>
3401
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="50"/>
-
 
3402
        <source>getColorAsRGB(&quot;name&quot;) -&gt; tuple
3415
        <source>getColorAsRGB(&quot;name&quot;) -&gt; tuple
3403
 
3416
 
3404
Returns a tuple (R,G,B) containing the three color components of the
3417
Returns a tuple (R,G,B) containing the three color components of the
3405
color &quot;name&quot; from the current document, converted to the RGB color
3418
color &quot;name&quot; from the current document, converted to the RGB color
3406
space. If no document is open, returns the value of the named color
3419
space. If no document is open, returns the value of the named color
Line 3419... Line 3432...
3419
May raise NotFoundError if the named colour wasn&apos;t found.
3432
May raise NotFoundError if the named colour wasn&apos;t found.
3420
May raise ValueError if an invalid colour name is specified.
3433
May raise ValueError if an invalid colour name is specified.
3421
</translation>
3434
</translation>
3422
    </message>
3435
    </message>
3423
    <message>
3436
    <message>
3424
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="64"/>
-
 
3425
        <source>changeColor(&quot;name&quot;, c, m, y, k)
3437
        <source>changeColor(&quot;name&quot;, c, m, y, k)
3426
 
3438
 
3427
Changes the color &quot;name&quot; to the specified CMYK value. The color value is
3439
Changes the color &quot;name&quot; to the specified CMYK value. The color value is
3428
defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black.
3440
defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black.
3429
Color components should be in the range from 0 to 255.
3441
Color components should be in the range from 0 to 255.
Line 3440... Line 3452...
3440
May raise NotFoundError if the named colour wasn&apos;t found.
3452
May raise NotFoundError if the named colour wasn&apos;t found.
3441
May raise ValueError if an invalid colour name is specified.
3453
May raise ValueError if an invalid colour name is specified.
3442
</translation>
3454
</translation>
3443
    </message>
3455
    </message>
3444
    <message>
3456
    <message>
3445
        <location filename="" line="136966688"/>
-
 
3446
        <source>defineColor(&quot;name&quot;, c, m, y, k)
3457
        <source>defineColor(&quot;name&quot;, c, m, y, k)
3447
 
3458
 
3448
Defines a new color &quot;name&quot;. The color Value is defined via four components:
3459
Defines a new color &quot;name&quot;. The color Value is defined via four components:
3449
c = Cyan, m = Magenta, y = Yello and k = Black. Color components should be in
3460
c = Cyan, m = Magenta, y = Yello and k = Black. Color components should be in
3450
the range from 0 to 255.
3461
the range from 0 to 255.
Line 3459... Line 3470...
3459
 
3470
 
3460
May raise ValueError if an invalid colour name is specified.
3471
May raise ValueError if an invalid colour name is specified.
3461
</translation>
3472
</translation>
3462
    </message>
3473
    </message>
3463
    <message>
3474
    <message>
3464
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="94"/>
-
 
3465
        <source>deleteColor(&quot;name&quot;, &quot;replace&quot;)
3475
        <source>deleteColor(&quot;name&quot;, &quot;replace&quot;)
3466
 
3476
 
3467
Deletes the color &quot;name&quot;. Every occurence of that color is replaced by the
3477
Deletes the color &quot;name&quot;. Every occurence of that color is replaced by the
3468
color &quot;replace&quot;. If not specified, &quot;replace&quot; defaults to the color
3478
color &quot;replace&quot;. If not specified, &quot;replace&quot; defaults to the color
3469
&quot;None&quot; - transparent.
3479
&quot;None&quot; - transparent.
Line 3486... Line 3496...
3486
May raise NotFoundError if a named colour wasn&apos;t found.
3496
May raise NotFoundError if a named colour wasn&apos;t found.
3487
May raise ValueError if an invalid colour name is specified.
3497
May raise ValueError if an invalid colour name is specified.
3488
</translation>
3498
</translation>
3489
    </message>
3499
    </message>
3490
    <message>
3500
    <message>
3491
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="106"/>
-
 
3492
        <source>replaceColor(&quot;name&quot;, &quot;replace&quot;)
3501
        <source>replaceColor(&quot;name&quot;, &quot;replace&quot;)
3493
 
3502
 
3494
Every occurence of the color &quot;name&quot; is replaced by the color &quot;replace&quot;.
3503
Every occurence of the color &quot;name&quot; is replaced by the color &quot;replace&quot;.
3495
 
3504
 
3496
May raise NotFoundError if a named color wasn&apos;t found.
3505
May raise NotFoundError if a named color wasn&apos;t found.
Line 3503... Line 3512...
3503
May raise NotFoundError if a named colour wasn&apos;t found.
3512
May raise NotFoundError if a named colour wasn&apos;t found.
3504
May raise ValueError if an invalid colour name is specified.
3513
May raise ValueError if an invalid colour name is specified.
3505
</translation>
3514
</translation>
3506
    </message>
3515
    </message>
3507
    <message>
3516
    <message>
3508
        <location filename="../plugins/scriptplugin/cmddialog.h" line="46"/>
-
 
3509
        <source>fileDialog(&quot;caption&quot;, [&quot;filter&quot;, &quot;defaultname&quot;, haspreview, issave, isdir]) -&gt; string with filename
3517
        <source>fileDialog(&quot;caption&quot;, [&quot;filter&quot;, &quot;defaultname&quot;, haspreview, issave, isdir]) -&gt; string with filename
3510
 
3518
 
3511
Shows a File Open dialog box with the caption &quot;caption&quot;. Files are filtered
3519
Shows a File Open dialog box with the caption &quot;caption&quot;. Files are filtered
3512
with the filter string &quot;filter&quot;. A default filename or file path can also
3520
with the filter string &quot;filter&quot;. A default filename or file path can also
3513
supplied, leave this string empty when you don&apos;t want to use it.  A value of
3521
supplied, leave this string empty when you don&apos;t want to use it.  A value of
Line 3544... Line 3552...
3544
Example: fileDialog(&apos;Open input&apos;, &apos;CSV files (*.csv)&apos;)
3552
Example: fileDialog(&apos;Open input&apos;, &apos;CSV files (*.csv)&apos;)
3545
Example: fileDialog(&apos;Save report&apos;, defaultname=&apos;report.txt&apos;, issave=True)
3553
Example: fileDialog(&apos;Save report&apos;, defaultname=&apos;report.txt&apos;, issave=True)
3546
</translation>
3554
</translation>
3547
    </message>
3555
    </message>
3548
    <message>
3556
    <message>
3549
        <location filename="../../scribus/plugins/scriptplugin/cmddialog.h" line="88"/>
-
 
3550
        <source>messageBox(&quot;caption&quot;, &quot;message&quot;,
3557
        <source>messageBox(&quot;caption&quot;, &quot;message&quot;,
3551
    icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT,
3558
    icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT,
3552
    button2=BUTTON_NONE, button3=BUTTON_NONE) -&gt; integer
3559
    button2=BUTTON_NONE, button3=BUTTON_NONE) -&gt; integer
3553
 
3560
 
3554
Displays a message box with the title &quot;caption&quot;, the message &quot;message&quot;, and
3561
Displays a message box with the title &quot;caption&quot;, the message &quot;message&quot;, and
Line 3613... Line 3620...
3613
BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL,
3620
BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL,
3614
ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL.
3621
ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL.
3615
</translation>
3622
</translation>
3616
    </message>
3623
    </message>
3617
    <message>
3624
    <message>
3618
        <location filename="../../scribus/plugins/scriptplugin/cmddialog.h" line="101"/>
-
 
3619
        <source>valueDialog(caption, message [,defaultvalue]) -&gt; string
3625
        <source>valueDialog(caption, message [,defaultvalue]) -&gt; string
3620
 
3626
 
3621
Shows the common &apos;Ask for string&apos; dialog and returns its value as a string
3627
Shows the common &apos;Ask for string&apos; dialog and returns its value as a string
3622
Parameters: window title, text in the window and optional &apos;default&apos; value.
3628
Parameters: window title, text in the window and optional &apos;default&apos; value.
3623
 
3629
 
Line 3630... Line 3636...
3630
 
3636
 
3631
Example: valueDialog(&apos;title&apos;, &apos;text in the window&apos;, &apos;optional&apos;)
3637
Example: valueDialog(&apos;title&apos;, &apos;text in the window&apos;, &apos;optional&apos;)
3632
</translation>
3638
</translation>
3633
    </message>
3639
    </message>
3634
    <message>
3640
    <message>
3635
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="108"/>
-
 
3636
        <source>closeDoc()
3641
        <source>closeDoc()
3637
 
3642
 
3638
Closes the current document without prompting to save.
3643
Closes the current document without prompting to save.
3639
 
3644
 
3640
May throw NoDocOpenError if there is no document to close
3645
May throw NoDocOpenError if there is no document to close
Line 3645... Line 3650...
3645
 
3650
 
3646
May throw NoDocOpenError if there is no document to close
3651
May throw NoDocOpenError if there is no document to close
3647
</translation>
3652
</translation>
3648
    </message>
3653
    </message>
3649
    <message>
3654
    <message>
3650
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="117"/>
-
 
3651
        <source>haveDoc() -&gt; bool
3655
        <source>haveDoc() -&gt; bool
3652
 
3656
 
3653
Returns true if there is a document open.
3657
Returns true if there is a document open.
3654
</source>
3658
</source>
3655
        <translation type="obsolete">haveDoc() -&gt; bool
3659
        <translation type="obsolete">haveDoc() -&gt; bool
3656
 
3660
 
3657
Returns true if there is a document open.
3661
Returns true if there is a document open.
3658
</translation>
3662
</translation>
3659
    </message>
3663
    </message>
3660
    <message>
3664
    <message>
3661
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="128"/>
-
 
3662
        <source>openDoc(&quot;name&quot;)
3665
        <source>openDoc(&quot;name&quot;)
3663
 
3666
 
3664
Opens the document &quot;name&quot;.
3667
Opens the document &quot;name&quot;.
3665
 
3668
 
3666
May raise ScribusError if the document could not be opened.
3669
May raise ScribusError if the document could not be opened.
Line 3671... Line 3674...
3671
 
3674
 
3672
May raise ScribusError if the document could not be opened.
3675
May raise ScribusError if the document could not be opened.
3673
</translation>
3676
</translation>
3674
    </message>
3677
    </message>
3675
    <message>
3678
    <message>
3676
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="141"/>
-
 
3677
        <source>saveDoc()
3679
        <source>saveDoc()
3678
 
3680
 
3679
Saves the current document with its current name, returns true if successful.
3681
Saves the current document with its current name, returns true if successful.
3680
If the document has not already been saved, this may bring up an interactive
3682
If the document has not already been saved, this may bring up an interactive
3681
save file dialog.
3683
save file dialog.
Line 3690... Line 3692...
3690
 
3692
 
3691
If the save fails, there is currently no way to tell.
3693
If the save fails, there is currently no way to tell.
3692
</translation>
3694
</translation>
3693
    </message>
3695
    </message>
3694
    <message>
3696
    <message>
3695
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="152"/>
-
 
3696
        <source>saveDocAs(&quot;name&quot;)
3697
        <source>saveDocAs(&quot;name&quot;)
3697
 
3698
 
3698
Saves the current document under the new name &quot;name&quot; (which may be a full or
3699
Saves the current document under the new name &quot;name&quot; (which may be a full or
3699
relative path).
3700
relative path).
3700
 
3701
 
Line 3707... Line 3708...
3707
 
3708
 
3708
May raise ScribusError if the save fails.
3709
May raise ScribusError if the save fails.
3709
</translation>
3710
</translation>
3710
    </message>
3711
    </message>
3711
    <message>
3712
    <message>
3712
        <location filename="" line="136966688"/>
-
 
3713
        <source>saveDocAs(&quot;author&quot;, &quot;info&quot;, &quot;description&quot;) -&gt; bool
3713
        <source>saveDocAs(&quot;author&quot;, &quot;info&quot;, &quot;description&quot;) -&gt; bool
3714
 
3714
 
3715
Sets the document information. &quot;Author&quot;, &quot;Info&quot;, &quot;Description&quot; are
3715
Sets the document information. &quot;Author&quot;, &quot;Info&quot;, &quot;Description&quot; are
3716
strings.
3716
strings.
3717
</source>
3717
</source>
Line 3720... Line 3720...
3720
Sets the document information. &quot;Author&quot;, &quot;Info&quot;, &quot;Description&quot; are
3720
Sets the document information. &quot;Author&quot;, &quot;Info&quot;, &quot;Description&quot; are
3721
strings.
3721
strings.
3722
</translation>
3722
</translation>
3723
    </message>
3723
    </message>
3724
    <message>
3724
    <message>
3725
        <location filename="" line="136966688"/>
-
 
3726
        <source>setMargins(lr, rr, tr, br)
3725
        <source>setMargins(lr, rr, tr, br)
3727
 
3726
 
3728
Sets the margins of the document, Left(lr), Right(rr), Top(tr) and Bottom(br)
3727
Sets the margins of the document, Left(lr), Right(rr), Top(tr) and Bottom(br)
3729
margins are given in the measurement units of the document - see UNIT_&lt;type&gt;
3728
margins are given in the measurement units of the document - see UNIT_&lt;type&gt;
3730
constants.
3729
constants.
Line 3735... Line 3734...
3735
margins are given in the measurement units of the document - see UNIT_&lt;type&gt;
3734
margins are given in the measurement units of the document - see UNIT_&lt;type&gt;
3736
constants.
3735
constants.
3737
</translation>
3736
</translation>
3738
    </message>
3737
    </message>
3739
    <message>
3738
    <message>
3740
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="185"/>
-
 
3741
        <source>setUnit(type)
3739
        <source>setUnit(type)
3742
 
3740
 
3743
Changes the measurement unit of the document. Possible values for &quot;unit&quot; are
3741
Changes the measurement unit of the document. Possible values for &quot;unit&quot; are
3744
defined as constants UNIT_&lt;type&gt;.
3742
defined as constants UNIT_&lt;type&gt;.
3745
 
3743
 
Line 3752... Line 3750...
3752
 
3750
 
3753
May raise ValueError if an invalid unit is passed.
3751
May raise ValueError if an invalid unit is passed.
3754
</translation>
3752
</translation>
3755
    </message>
3753
    </message>
3756
    <message>
3754
    <message>
3757
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="196"/>
-
 
3758
        <source>getUnit() -&gt; integer (Scribus unit constant)
3755
        <source>getUnit() -&gt; integer (Scribus unit constant)
3759
 
3756
 
3760
Returns the measurement units of the document. The returned value will be one
3757
Returns the measurement units of the document. The returned value will be one
3761
of the UNIT_* constants:
3758
of the UNIT_* constants:
3762
UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.
3759
UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.
Line 3767... Line 3764...
3767
of the UNIT_* constants:
3764
of the UNIT_* constants:
3768
UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.
3765
UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.
3769
</translation>
3766
</translation>
3770
    </message>
3767
    </message>
3771
    <message>
3768
    <message>
3772
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="206"/>
-
 
3773
        <source>loadStylesFromFile(&quot;filename&quot;)
3769
        <source>loadStylesFromFile(&quot;filename&quot;)
3774
 
3770
 
3775
Loads paragraph styles from the Scribus document at &quot;filename&quot; into the
3771
Loads paragraph styles from the Scribus document at &quot;filename&quot; into the
3776
current document.
3772
current document.
3777
</source>
3773
</source>
Line 3780... Line 3776...
3780
Loads paragraph styles from the Scribus document at &quot;filename&quot; into the
3776
Loads paragraph styles from the Scribus document at &quot;filename&quot; into the
3781
current document.
3777
current document.
3782
</translation>
3778
</translation>
3783
    </message>
3779
    </message>
3784
    <message>
3780
    <message>
3785
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="218"/>
-
 
3786
        <source>setDocType(facingPages, firstPageLeft)
3781
        <source>setDocType(facingPages, firstPageLeft)
3787
 
3782
 
3788
Sets the document type. To get facing pages set the first parameter to
3783
Sets the document type. To get facing pages set the first parameter to
3789
FACINGPAGES, to switch facingPages off use NOFACINGPAGES instead.  If you want
3784
FACINGPAGES, to switch facingPages off use NOFACINGPAGES instead.  If you want
3790
to be the first page a left side set the second parameter to FIRSTPAGELEFT, for
3785
to be the first page a left side set the second parameter to FIRSTPAGELEFT, for
Line 3797... Line 3792...
3797
to be the first page a left side set the second parameter to FIRSTPAGELEFT, for
3792
to be the first page a left side set the second parameter to FIRSTPAGELEFT, for
3798
a right page use FIRSTPAGERIGHT.
3793
a right page use FIRSTPAGERIGHT.
3799
</translation>
3794
</translation>
3800
    </message>
3795
    </message>
3801
    <message>
3796
    <message>
3802
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="51"/>
-
 
3803
        <source>getLineColor([&quot;name&quot;]) -&gt; string
3797
        <source>getLineColor([&quot;name&quot;]) -&gt; string
3804
 
3798
 
3805
Returns the name of the line color of the object &quot;name&quot;.
3799
Returns the name of the line color of the object &quot;name&quot;.
3806
If &quot;name&quot; is not given the currently selected item is used.
3800
If &quot;name&quot; is not given the currently selected item is used.
3807
</source>
3801
</source>
Line 3810... Line 3804...
3810
Returns the name of the line colour of the object &quot;name&quot;.
3804
Returns the name of the line colour of the object &quot;name&quot;.
3811
If &quot;name&quot; is not given the currently selected item is used.
3805
If &quot;name&quot; is not given the currently selected item is used.
3812
</translation>
3806
</translation>
3813
    </message>
3807
    </message>
3814
    <message>
3808
    <message>
3815
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="81"/>
-
 
3816
        <source>getLineWidth([&quot;name&quot;]) -&gt; integer
3809
        <source>getLineWidth([&quot;name&quot;]) -&gt; integer
3817
 
3810
 
3818
Returns the line width of the object &quot;name&quot;. If &quot;name&quot;
3811
Returns the line width of the object &quot;name&quot;. If &quot;name&quot;
3819
is not given the currently selected Item is used.
3812
is not given the currently selected Item is used.
3820
</source>
3813
</source>
Line 3823... Line 3816...
3823
Returns the line width of the object &quot;name&quot;. If &quot;name&quot;
3816
Returns the line width of the object &quot;name&quot;. If &quot;name&quot;
3824
is not given the currently selected Item is used.
3817
is not given the currently selected Item is used.
3825
</translation>
3818
</translation>
3826
    </message>
3819
    </message>
3827
    <message>
3820
    <message>
3828
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="91"/>
-
 
3829
        <source>getLineShade([&quot;name&quot;]) -&gt; integer
3821
        <source>getLineShade([&quot;name&quot;]) -&gt; integer
3830
 
3822
 
3831
Returns the shading value of the line color of the object &quot;name&quot;.
3823
Returns the shading value of the line color of the object &quot;name&quot;.
3832
If &quot;name&quot; is not given the currently selected item is used.
3824
If &quot;name&quot; is not given the currently selected item is used.
3833
</source>
3825
</source>
Line 3836... Line 3828...
3836
Returns the shading value of the line colour of the object &quot;name&quot;.
3828
Returns the shading value of the line colour of the object &quot;name&quot;.
3837
If &quot;name&quot; is not given the currently selected item is used.
3829
If &quot;name&quot; is not given the currently selected item is used.
3838
</translation>
3830
</translation>
3839
    </message>
3831
    </message>
3840
    <message>
3832
    <message>
3841
        <location filename="../plugins/scriptplugin/cmdgetprop.h" line="102"/>
-
 
3842
        <source>getLineJoin([&quot;name&quot;]) -&gt; integer (see contants)
3833
        <source>getLineJoin([&quot;name&quot;]) -&gt; integer (see contants)
3843
 
3834
 
3844
Returns the line join style of the object &quot;name&quot;. If &quot;name&quot; is not given
3835
Returns the line join style of the object &quot;name&quot;. If &quot;name&quot; is not given
3845
the currently selected item is used.  The join types are:
3836
the currently selected item is used.  The join types are:
3846
JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND
3837
JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND
Line 3851... Line 3842...
3851
the currently selected item is used.  The join types are:
3842
the currently selected item is used.  The join types are:
3852
JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND
3843
JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND
3853
</translation>
3844
</translation>
3854
    </message>
3845
    </message>
3855
    <message>
3846
    <message>
3856
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="113"/>
-
 
3857
        <source>getLineEnd([&quot;name&quot;]) -&gt; integer (see constants)
3847
        <source>getLineEnd([&quot;name&quot;]) -&gt; integer (see constants)
3858
 
3848
 
3859
Returns the line cap style of the object &quot;name&quot;. If &quot;name&quot; is not given the
3849
Returns the line cap style of the object &quot;name&quot;. If &quot;name&quot; is not given the
3860
currently selected item is used. The cap types are:
3850
currently selected item is used. The cap types are:
3861
CAP_FLAT, CAP_ROUND, CAP_SQUARE
3851
CAP_FLAT, CAP_ROUND, CAP_SQUARE
Line 3866... Line 3856...
3866
currently selected item is used. The cap types are:
3856
currently selected item is used. The cap types are:
3867
CAP_FLAT, CAP_ROUND, CAP_SQUARE
3857
CAP_FLAT, CAP_ROUND, CAP_SQUARE
3868
</translation>
3858
</translation>
3869
    </message>
3859
    </message>
3870
    <message>
3860
    <message>
3871
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="124"/>
-
 
3872
        <source>getLineStyle([&quot;name&quot;]) -&gt; integer (see constants)
3861
        <source>getLineStyle([&quot;name&quot;]) -&gt; integer (see constants)
3873
 
3862
 
3874
Returns the line style of the object &quot;name&quot;. If &quot;name&quot; is not given the
3863
Returns the line style of the object &quot;name&quot;. If &quot;name&quot; is not given the
3875
currently selected item is used. Line style constants are:
3864
currently selected item is used. Line style constants are:
3876
LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
3865
LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
Line 3881... Line 3870...
3881
currently selected item is used. Line style constants are:
3870
currently selected item is used. Line style constants are:
3882
LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
3871
LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
3883
</translation>
3872
</translation>
3884
    </message>
3873
    </message>
3885
    <message>
3874
    <message>
3886
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="134"/>
-
 
3887
        <source>getFillShade([&quot;name&quot;]) -&gt; integer
3875
        <source>getFillShade([&quot;name&quot;]) -&gt; integer
3888
 
3876
 
3889
Returns the shading value of the fill color of the object &quot;name&quot;.
3877
Returns the shading value of the fill color of the object &quot;name&quot;.
3890
If &quot;name&quot; is not given the currently selected item is used.
3878
If &quot;name&quot; is not given the currently selected item is used.
3891
</source>
3879
</source>
Line 3894... Line 3882...
3894
Returns the shading value of the fill colour of the object &quot;name&quot;.
3882
Returns the shading value of the fill colour of the object &quot;name&quot;.
3895
If &quot;name&quot; is not given the currently selected item is used.
3883
If &quot;name&quot; is not given the currently selected item is used.
3896
</translation>
3884
</translation>
3897
    </message>
3885
    </message>
3898
    <message>
3886
    <message>
3899
        <location filename="" line="136966688"/>
-
 
3900
        <source>getCornerRadius([&quot;name&quot;]) -&gt; integer
3887
        <source>getCornerRadius([&quot;name&quot;]) -&gt; integer
3901
 
3888
 
3902
Returns the corner radius of the object &quot;name&quot;. The radius isexpressed in points. If &quot;name&quot; is not given the currentlyselected item is used.
3889
Returns the corner radius of the object &quot;name&quot;. The radius isexpressed in points. If &quot;name&quot; is not given the currentlyselected item is used.
3903
</source>
3890
</source>
3904
        <translation type="obsolete">getCornerRadius([&quot;name&quot;]) -&gt; integer
3891
        <translation type="obsolete">getCornerRadius([&quot;name&quot;]) -&gt; integer
3905
 
3892
 
3906
Returns the corner radius of the object &quot;name&quot;. The radius isexpressed in points. If &quot;name&quot; is not given the currentlyselected item is used.
3893
Returns the corner radius of the object &quot;name&quot;. The radius isexpressed in points. If &quot;name&quot; is not given the currentlyselected item is used.
3907
</translation>
3894
</translation>
3908
    </message>
3895
    </message>
3909
    <message>
3896
    <message>
3910
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="155"/>
-
 
3911
        <source>getImageScale([&quot;name&quot;]) -&gt; (x,y)
3897
        <source>getImageScale([&quot;name&quot;]) -&gt; (x,y)
3912
 
3898
 
3913
Returns a (x, y) tuple containing the scaling values of the image frame
3899
Returns a (x, y) tuple containing the scaling values of the image frame
3914
&quot;name&quot;.  If &quot;name&quot; is not given the currently selected item is used.
3900
&quot;name&quot;.  If &quot;name&quot; is not given the currently selected item is used.
3915
</source>
3901
</source>
Line 3918... Line 3904...
3918
Returns a (x, y) tuple containing the scaling values of the image frame
3904
Returns a (x, y) tuple containing the scaling values of the image frame
3919
&quot;name&quot;.  If &quot;name&quot; is not given the currently selected item is used.
3905
&quot;name&quot;.  If &quot;name&quot; is not given the currently selected item is used.
3920
</translation>
3906
</translation>
3921
    </message>
3907
    </message>
3922
    <message>
3908
    <message>
3923
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="165"/>
-
 
3924
        <source>getImageName([&quot;name&quot;]) -&gt; string
3909
        <source>getImageName([&quot;name&quot;]) -&gt; string
3925
 
3910
 
3926
Returns the filename for the image in the image frame. If &quot;name&quot; is not
3911
Returns the filename for the image in the image frame. If &quot;name&quot; is not
3927
given the currently selected item is used.
3912
given the currently selected item is used.
3928
</source>
3913
</source>
Line 3931... Line 3916...
3931
Returns the filename for the image in the image frame. If &quot;name&quot; is not
3916
Returns the filename for the image in the image frame. If &quot;name&quot; is not
3932
given the currently selected item is used.
3917
given the currently selected item is used.
3933
</translation>
3918
</translation>
3934
    </message>
3919
    </message>
3935
    <message>
3920
    <message>
3936
        <location filename="" line="136966688"/>
-
 
3937
        <source>getPosition([&quot;name&quot;]) -&gt; (x,y)
3921
        <source>getPosition([&quot;name&quot;]) -&gt; (x,y)
3938
 
3922
 
3939
Returns a (x, y) tuple with the position of the object &quot;name&quot;.
3923
Returns a (x, y) tuple with the position of the object &quot;name&quot;.
3940
If &quot;name&quot; is not given the currently selected item is used.The position is expressed in the actual measurement unit of the document
3924
If &quot;name&quot; is not given the currently selected item is used.The position is expressed in the actual measurement unit of the document
3941
- see UNIT_&lt;type&gt; for reference.
3925
- see UNIT_&lt;type&gt; for reference.
Line 3946... Line 3930...
3946
If &quot;name&quot; is not given the currently selected item is used.The position is expressed in the actual measurement unit of the document
3930
If &quot;name&quot; is not given the currently selected item is used.The position is expressed in the actual measurement unit of the document
3947
- see UNIT_&lt;type&gt; for reference.
3931
- see UNIT_&lt;type&gt; for reference.
3948
</translation>
3932
</translation>
3949
    </message>
3933
    </message>
3950
    <message>
3934
    <message>
3951
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="189"/>
-
 
3952
        <source>getSize([&quot;name&quot;]) -&gt; (width,height)
3935
        <source>getSize([&quot;name&quot;]) -&gt; (width,height)
3953
 
3936
 
3954
Returns a (width, height) tuple with the size of the object &quot;name&quot;.
3937
Returns a (width, height) tuple with the size of the object &quot;name&quot;.
3955
If &quot;name&quot; is not given the currently selected item is used. The size is
3938
If &quot;name&quot; is not given the currently selected item is used. The size is
3956
expressed in the current measurement unit of the document - see UNIT_&lt;type&gt;
3939
expressed in the current measurement unit of the document - see UNIT_&lt;type&gt;
Line 3963... Line 3946...
3963
expressed in the current measurement unit of the document - see UNIT_&lt;type&gt;
3946
expressed in the current measurement unit of the document - see UNIT_&lt;type&gt;
3964
for reference.
3947
for reference.
3965
</translation>
3948
</translation>
3966
    </message>
3949
    </message>
3967
    <message>
3950
    <message>
3968
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="200"/>
-
 
3969
        <source>getRotation([&quot;name&quot;]) -&gt; integer
3951
        <source>getRotation([&quot;name&quot;]) -&gt; integer
3970
 
3952
 
3971
Returns the rotation of the object &quot;name&quot;. The value is expressed in degrees,
3953
Returns the rotation of the object &quot;name&quot;. The value is expressed in degrees,
3972
and clockwise is positive. If &quot;name&quot; is not given the currently selected item
3954
and clockwise is positive. If &quot;name&quot; is not given the currently selected item
3973
is used.
3955
is used.
Line 3978... Line 3960...
3978
and clockwise is positive. If &quot;name&quot; is not given the currently selected item
3960
and clockwise is positive. If &quot;name&quot; is not given the currently selected item
3979
is used.
3961
is used.
3980
</translation>
3962
</translation>
3981
    </message>
3963
    </message>
3982
    <message>
3964
    <message>
3983
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="209"/>
-
 
3984
        <source>getAllObjects() -&gt; list
3965
        <source>getAllObjects() -&gt; list
3985
 
3966
 
3986
Returns a list containing the names of all objects on the current page.
3967
Returns a list containing the names of all objects on the current page.
3987
</source>
3968
</source>
3988
        <translation type="obsolete">getAllObjects() -&gt; list
3969
        <translation type="obsolete">getAllObjects() -&gt; list
3989
 
3970
 
3990
Returns a list containing the names of all objects on the current page.
3971
Returns a list containing the names of all objects on the current page.
3991
</translation>
3972
</translation>
3992
    </message>
3973
    </message>
3993
    <message>
3974
    <message>
3994
        <location filename="../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="83"/>
-
 
3995
        <source>getPropertyCType(object, property, includesuper=True)
3975
        <source>getPropertyCType(object, property, includesuper=True)
3996
 
3976
 
3997
Returns the name of the C type of `property&apos; of `object&apos;. See getProperty()
3977
Returns the name of the C type of `property&apos; of `object&apos;. See getProperty()
3998
for details of arguments.
3978
for details of arguments.
3999
 
3979
 
Line 4006... Line 3986...
4006
 
3986
 
4007
If `includesuper&apos; is true, search inherited properties too.
3987
If `includesuper&apos; is true, search inherited properties too.
4008
</translation>
3988
</translation>
4009
    </message>
3989
    </message>
4010
    <message>
3990
    <message>
4011
        <location filename="../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="101"/>
-
 
4012
        <source>getPropertyNames(object, includesuper=True)
3991
        <source>getPropertyNames(object, includesuper=True)
4013
 
3992
 
4014
Return a list of property names supported by `object&apos;.
3993
Return a list of property names supported by `object&apos;.
4015
If `includesuper&apos; is true, return properties supported
3994
If `includesuper&apos; is true, return properties supported
4016
by parent classes as well.
3995
by parent classes as well.
Line 4021... Line 4000...
4021
If `includesuper&apos; is true, return properties supported
4000
If `includesuper&apos; is true, return properties supported
4022
by parent classes as well.
4001
by parent classes as well.
4023
</translation>
4002
</translation>
4024
    </message>
4003
    </message>
4025
    <message>
4004
    <message>
4026
        <location filename="../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="135"/>
-
 
4027
        <source>getProperty(object, property)
4005
        <source>getProperty(object, property)
4028
 
4006
 
4029
Return the value of the property `property&apos; of the passed `object&apos;.
4007
Return the value of the property `property&apos; of the passed `object&apos;.
4030
 
4008
 
4031
The `object&apos; argument may be a string, in which case the named PageItem
4009
The `object&apos; argument may be a string, in which case the named PageItem
Line 4050... Line 4028...
4050
 
4028
 
4051
The return value varies depending on the type of the property.
4029
The return value varies depending on the type of the property.
4052
</translation>
4030
</translation>
4053
    </message>
4031
    </message>
4054
    <message>
4032
    <message>
4055
        <location filename="../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="165"/>
-
 
4056
        <source>setProperty(object, property, value)
4033
        <source>setProperty(object, property, value)
4057
 
4034
 
4058
Set `property&apos; of `object&apos; to `value&apos;. If `value&apos; cannot be converted to a type
4035
Set `property&apos; of `object&apos; to `value&apos;. If `value&apos; cannot be converted to a type
4059
compatible with the type of `property&apos;, an exception is raised. An exception may
4036
compatible with the type of `property&apos;, an exception is raised. An exception may
4060
also be raised if the underlying setter fails.
4037
also be raised if the underlying setter fails.
Line 4069... Line 4046...
4069
 
4046
 
4070
See getProperty() for more information.
4047
See getProperty() for more information.
4071
</translation>
4048
</translation>
4072
    </message>
4049
    </message>
4073
    <message>
4050
    <message>
4074
        <location filename="../plugins/scriptplugin/cmdgetsetprop.h" line="184"/>
-
 
4075
        <source>getChildren(object, ofclass=None, ofname=None, regexpmatch=False, recursive=True)
4051
        <source>getChildren(object, ofclass=None, ofname=None, regexpmatch=False, recursive=True)
4076
 
4052
 
4077
Return a list of children of `object&apos;, possibly restricted to children
4053
Return a list of children of `object&apos;, possibly restricted to children
4078
of class named `ofclass&apos; or children named `ofname&apos;. If `recursive&apos; is true,
4054
of class named `ofclass&apos; or children named `ofname&apos;. If `recursive&apos; is true,
4079
search recursively through children, grandchildren, etc.
4055
search recursively through children, grandchildren, etc.
Line 4088... Line 4064...
4088
 
4064
 
4089
See QObject::children() in the Qt docs for more information.
4065
See QObject::children() in the Qt docs for more information.
4090
</translation>
4066
</translation>
4091
    </message>
4067
    </message>
4092
    <message>
4068
    <message>
4093
        <location filename="../plugins/scriptplugin/cmdgetsetprop.h" line="201"/>
-
 
4094
        <source>getChild(object, childname, ofclass=None, recursive=True)
4069
        <source>getChild(object, childname, ofclass=None, recursive=True)
4095
 
4070
 
4096
Return the first child of `object&apos; named `childname&apos;, possibly restricting
4071
Return the first child of `object&apos; named `childname&apos;, possibly restricting
4097
the search to children of type name `ofclass&apos;. If `recursive&apos; is true,
4072
the search to children of type name `ofclass&apos;. If `recursive&apos; is true,
4098
search recursively through children, grandchildren, etc.
4073
search recursively through children, grandchildren, etc.
Line 4103... Line 4078...
4103
the search to children of type name `ofclass&apos;. If `recursive&apos; is true,
4078
the search to children of type name `ofclass&apos;. If `recursive&apos; is true,
4104
search recursively through children, grandchildren, etc.
4079
search recursively through children, grandchildren, etc.
4105
</translation>
4080
</translation>
4106
    </message>
4081
    </message>
4107
    <message>
4082
    <message>
4108
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="35"/>
-
 
4109
        <source>moveObjectAbs(x, y [, &quot;name&quot;])
4083
        <source>moveObjectAbs(x, y [, &quot;name&quot;])
4110
 
4084
 
4111
Moves the object &quot;name&quot; to a new location. The coordinates are expressed in
4085
Moves the object &quot;name&quot; to a new location. The coordinates are expressed in
4112
the current measurement unit of the document (see UNIT constants).  If &quot;name&quot;
4086
the current measurement unit of the document (see UNIT constants).  If &quot;name&quot;
4113
is not given the currently selected item is used.  If the object &quot;name&quot;
4087
is not given the currently selected item is used.  If the object &quot;name&quot;
Line 4120... Line 4094...
4120
is not given the currently selected item is used.  If the object &quot;name&quot;
4094
is not given the currently selected item is used.  If the object &quot;name&quot;
4121
belongs to a group, the whole group is moved.
4095
belongs to a group, the whole group is moved.
4122
</translation>
4096
</translation>
4123
    </message>
4097
    </message>
4124
    <message>
4098
    <message>
4125
        <location filename="../plugins/scriptplugin/cmdmani.h" line="48"/>
-
 
4126
        <source>rotateObject(rot [, &quot;name&quot;])
4099
        <source>rotateObject(rot [, &quot;name&quot;])
4127
 
4100
 
4128
Rotates the object &quot;name&quot; by &quot;rot&quot; degrees relatively. The object is
4101
Rotates the object &quot;name&quot; by &quot;rot&quot; degrees relatively. The object is
4129
rotated by the vertex that is currently selected as the rotation point - by
4102
rotated by the vertex that is currently selected as the rotation point - by
4130
default, the top left vertext at zero rotation. Positive values mean counter
4103
default, the top left vertext at zero rotation. Positive values mean counter
Line 4139... Line 4112...
4139
clockwise rotation when the default rotation point is used. If &quot;name&quot; is not
4112
clockwise rotation when the default rotation point is used. If &quot;name&quot; is not
4140
given the currently selected item is used.
4113
given the currently selected item is used.
4141
</translation>
4114
</translation>
4142
    </message>
4115
    </message>
4143
    <message>
4116
    <message>
4144
        <location filename="" line="136966688"/>
-
 
4145
        <source>rotateObjectAbs(rot [, &quot;name&quot;])
4117
        <source>rotateObjectAbs(rot [, &quot;name&quot;])
4146
 
4118
 
4147
Sets the rotation of the object &quot;name&quot; to &quot;rot&quot;. Positve values
4119
Sets the rotation of the object &quot;name&quot; to &quot;rot&quot;. Positve values
4148
mean counter clockwise rotation. If &quot;name&quot; is not given the currently
4120
mean counter clockwise rotation. If &quot;name&quot; is not given the currently
4149
selected item is used.
4121
selected item is used.
Line 4154... Line 4126...
4154
mean counter clockwise rotation. If &quot;name&quot; is not given the currently
4126
mean counter clockwise rotation. If &quot;name&quot; is not given the currently
4155
selected item is used.
4127
selected item is used.
4156
</translation>
4128
</translation>
4157
    </message>
4129
    </message>
4158
    <message>
4130
    <message>
4159
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="69"/>
-
 
4160
        <source>sizeObject(width, height [, &quot;name&quot;])
4131
        <source>sizeObject(width, height [, &quot;name&quot;])
4161
 
4132
 
4162
Resizes the object &quot;name&quot; to the given width and height. If &quot;name&quot;
4133
Resizes the object &quot;name&quot; to the given width and height. If &quot;name&quot;
4163
is not given the currently selected item is used.
4134
is not given the currently selected item is used.
4164
</source>
4135
</source>
Line 4167... Line 4138...
4167
Resizes the object &quot;name&quot; to the given width and height. If &quot;name&quot;
4138
Resizes the object &quot;name&quot; to the given width and height. If &quot;name&quot;
4168
is not given the currently selected item is used.
4139
is not given the currently selected item is used.
4169
</translation>
4140
</translation>
4170
    </message>
4141
    </message>
4171
    <message>
4142
    <message>
4172
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="80"/>
-
 
4173
        <source>getSelectedObject([nr]) -&gt; string
4143
        <source>getSelectedObject([nr]) -&gt; string
4174
 
4144
 
4175
Returns the name of the selected object. &quot;nr&quot; if given indicates the number
4145
Returns the name of the selected object. &quot;nr&quot; if given indicates the number
4176
of the selected object, e.g. 0 means the first selected object, 1 means the
4146
of the selected object, e.g. 0 means the first selected object, 1 means the
4177
second selected Object and so on.
4147
second selected Object and so on.
Line 4182... Line 4152...
4182
of the selected object, e.g. 0 means the first selected object, 1 means the
4152
of the selected object, e.g. 0 means the first selected object, 1 means the
4183
second selected Object and so on.
4153
second selected Object and so on.
4184
</translation>
4154
</translation>
4185
    </message>
4155
    </message>
4186
    <message>
4156
    <message>
4187
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="89"/>
-
 
4188
        <source>selectionCount() -&gt; integer
4157
        <source>selectionCount() -&gt; integer
4189
 
4158
 
4190
Returns the number of selected objects.
4159
Returns the number of selected objects.
4191
</source>
4160
</source>
4192
        <translation type="obsolete">selectionCount() -&gt; integer
4161
        <translation type="obsolete">selectionCount() -&gt; integer
4193
 
4162
 
4194
Returns the number of selected objects.
4163
Returns the number of selected objects.
4195
</translation>
4164
</translation>
4196
    </message>
4165
    </message>
4197
    <message>
4166
    <message>
4198
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="98"/>
-
 
4199
        <source>selectObject(&quot;name&quot;)
4167
        <source>selectObject(&quot;name&quot;)
4200
 
4168
 
4201
Selects the object with the given &quot;name&quot;.
4169
Selects the object with the given &quot;name&quot;.
4202
</source>
4170
</source>
4203
        <translation type="obsolete">selectObject(&quot;name&quot;)
4171
        <translation type="obsolete">selectObject(&quot;name&quot;)
4204
 
4172
 
4205
Selects the object with the given &quot;name&quot;.
4173
Selects the object with the given &quot;name&quot;.
4206
</translation>
4174
</translation>
4207
    </message>
4175
    </message>
4208
    <message>
4176
    <message>
4209
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="107"/>
-
 
4210
        <source>deselectAll()
4177
        <source>deselectAll()
4211
 
4178
 
4212
Deselects all objects in the whole document.
4179
Deselects all objects in the whole document.
4213
</source>
4180
</source>
4214
        <translation type="obsolete">deselectAll()
4181
        <translation type="obsolete">deselectAll()
4215
 
4182
 
4216
Deselects all objects in the whole document.
4183
Deselects all objects in the whole document.
4217
</translation>
4184
</translation>
4218
    </message>
4185
    </message>
4219
    <message>
4186
    <message>
4220
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="118"/>
-
 
4221
        <source>groupObjects(list)
4187
        <source>groupObjects(list)
4222
 
4188
 
4223
Groups the objects named in &quot;list&quot; together. &quot;list&quot; must contain the names
4189
Groups the objects named in &quot;list&quot; together. &quot;list&quot; must contain the names
4224
of the objects to be grouped. If &quot;list&quot; is not given the currently selected
4190
of the objects to be grouped. If &quot;list&quot; is not given the currently selected
4225
items are used.
4191
items are used.
Line 4230... Line 4196...
4230
of the objects to be grouped. If &quot;list&quot; is not given the currently selected
4196
of the objects to be grouped. If &quot;list&quot; is not given the currently selected
4231
items are used.
4197
items are used.
4232
</translation>
4198
</translation>
4233
    </message>
4199
    </message>
4234
    <message>
4200
    <message>
4235
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="126"/>
-
 
4236
        <source>unGroupObjects(&quot;name&quot;)
4201
        <source>unGroupObjects(&quot;name&quot;)
4237
 
4202
 
4238
Destructs the group the object &quot;name&quot; belongs to.If &quot;name&quot; is not given the currently selected item is used.</source>
4203
Destructs the group the object &quot;name&quot; belongs to.If &quot;name&quot; is not given the currently selected item is used.</source>
4239
        <translation type="obsolete">unGroupObjects(&quot;name&quot;)
4204
        <translation type="obsolete">unGroupObjects(&quot;name&quot;)
4240
 
4205
 
4241
Destructs the group the object &quot;name&quot; belongs to.If &quot;name&quot; is not given the currently selected item is used.</translation>
4206
Destructs the group the object &quot;name&quot; belongs to.If &quot;name&quot; is not given the currently selected item is used.</translation>
4242
    </message>
4207
    </message>
4243
    <message>
4208
    <message>
4244
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="141"/>
-
 
4245
        <source>scaleGroup(factor [,&quot;name&quot;])
4209
        <source>scaleGroup(factor [,&quot;name&quot;])
4246
 
4210
 
4247
Scales the group the object &quot;name&quot; belongs to. Values greater than 1 enlarge
4211
Scales the group the object &quot;name&quot; belongs to. Values greater than 1 enlarge
4248
the group, values smaller than 1 make the group smaller e.g a value of 0.5
4212
the group, values smaller than 1 make the group smaller e.g a value of 0.5
4249
scales the group to 50 % of its original size, a value of 1.5 scales the group
4213
scales the group to 50 % of its original size, a value of 1.5 scales the group
Line 4262... Line 4226...
4262
 
4226
 
4263
May raise ValueError if an invalid scale factor is passed.
4227
May raise ValueError if an invalid scale factor is passed.
4264
</translation>
4228
</translation>
4265
    </message>
4229
    </message>
4266
    <message>
4230
    <message>
4267
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="153"/>
-
 
4268
        <source>loadImage(&quot;filename&quot; [, &quot;name&quot;])
4231
        <source>loadImage(&quot;filename&quot; [, &quot;name&quot;])
4269
 
4232
 
4270
Loads the picture &quot;picture&quot; into the image frame &quot;name&quot;. If &quot;name&quot; is
4233
Loads the picture &quot;picture&quot; into the image frame &quot;name&quot;. If &quot;name&quot; is
4271
not given the currently selected item is used.
4234
not given the currently selected item is used.
4272
 
4235
 
Line 4279... Line 4242...
4279
 
4242
 
4280
May raise WrongFrameTypeError if the target frame is not an image frame
4243
May raise WrongFrameTypeError if the target frame is not an image frame
4281
</translation>
4244
</translation>
4282
    </message>
4245
    </message>
4283
    <message>
4246
    <message>
4284
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="166"/>
-
 
4285
        <source>scaleImage(x, y [, &quot;name&quot;])
4247
        <source>scaleImage(x, y [, &quot;name&quot;])
4286
 
4248
 
4287
Sets the scaling factors of the picture in the image frame &quot;name&quot;.
4249
Sets the scaling factors of the picture in the image frame &quot;name&quot;.
4288
If &quot;name&quot; is not given the currently selected item is used. A number of 1
4250
If &quot;name&quot; is not given the currently selected item is used. A number of 1
4289
means 100 %.
4251
means 100 %.
Line 4298... Line 4260...
4298
 
4260
 
4299
May raise WrongFrameTypeError if the target frame is not an image frame
4261
May raise WrongFrameTypeError if the target frame is not an image frame
4300
</translation>
4262
</translation>
4301
    </message>
4263
    </message>
4302
    <message>
4264
    <message>
4303
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="177"/>
-
 
4304
        <source>lockObject([&quot;name&quot;]) -&gt; bool
4265
        <source>lockObject([&quot;name&quot;]) -&gt; bool
4305
 
4266
 
4306
Locks the object &quot;name&quot; if it&apos;s unlocked or unlock it if it&apos;s locked.
4267
Locks the object &quot;name&quot; if it&apos;s unlocked or unlock it if it&apos;s locked.
4307
If &quot;name&quot; is not given the currently selected item is used. Returns true
4268
If &quot;name&quot; is not given the currently selected item is used. Returns true
4308
if locked.
4269
if locked.
Line 4313... Line 4274...
4313
If &quot;name&quot; is not given the currently selected item is used. Returns true
4274
If &quot;name&quot; is not given the currently selected item is used. Returns true
4314
if locked.
4275
if locked.
4315
</translation>
4276
</translation>
4316
    </message>
4277
    </message>
4317
    <message>
4278
    <message>
4318
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="187"/>
-
 
4319
        <source>isLocked([&quot;name&quot;]) -&gt; bool
4279
        <source>isLocked([&quot;name&quot;]) -&gt; bool
4320
 
4280
 
4321
Returns true if is the object &quot;name&quot; locked.  If &quot;name&quot; is not given the
4281
Returns true if is the object &quot;name&quot; locked.  If &quot;name&quot; is not given the
4322
currently selected item is used.
4282
currently selected item is used.
4323
</source>
4283
</source>
Line 4326... Line 4286...
4326
Returns true if is the object &quot;name&quot; locked.  If &quot;name&quot; is not given the
4286
Returns true if is the object &quot;name&quot; locked.  If &quot;name&quot; is not given the
4327
currently selected item is used.
4287
currently selected item is used.
4328
</translation>
4288
</translation>
4329
    </message>
4289
    </message>
4330
    <message>
4290
    <message>
4331
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="199"/>
-
 
4332
        <source>setScaleImageToFrame(scaletoframe, proportional=None, name=&lt;selection&gt;)
4291
        <source>setScaleImageToFrame(scaletoframe, proportional=None, name=&lt;selection&gt;)
4333
 
4292
 
4334
Sets the scale to frame on the selected or specified image frame to `scaletoframe&apos;.
4293
Sets the scale to frame on the selected or specified image frame to `scaletoframe&apos;.
4335
If `proportional&apos; is specified, set fixed aspect ratio scaling to `proportional&apos;.
4294
If `proportional&apos; is specified, set fixed aspect ratio scaling to `proportional&apos;.
4336
Both `scaletoframe&apos; and `proportional&apos; are boolean.
4295
Both `scaletoframe&apos; and `proportional&apos; are boolean.
Line 4345... Line 4304...
4345
 
4304
 
4346
May raise WrongFrameTypeError.
4305
May raise WrongFrameTypeError.
4347
</translation>
4306
</translation>
4348
    </message>
4307
    </message>
4349
    <message>
4308
    <message>
4350
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="33"/>
-
 
4351
        <source>getFontNames() -&gt; list
4309
        <source>getFontNames() -&gt; list
4352
 
4310
 
4353
Returns a list with the names of all available fonts.
4311
Returns a list with the names of all available fonts.
4354
</source>
4312
</source>
4355
        <translation type="obsolete">getFontNames() -&gt; list
4313
        <translation type="obsolete">getFontNames() -&gt; list
4356
 
4314
 
4357
Returns a list with the names of all available fonts.
4315
Returns a list with the names of all available fonts.
4358
</translation>
4316
</translation>
4359
    </message>
4317
    </message>
4360
    <message>
4318
    <message>
4361
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="43"/>
-
 
4362
        <source>getXFontNames() -&gt; list of tuples
4319
        <source>getXFontNames() -&gt; list of tuples
4363
 
4320
 
4364
Returns a larger font info. It&apos;s a list of the tuples with:
4321
Returns a larger font info. It&apos;s a list of the tuples with:
4365
[ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ]
4322
[ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ]
4366
</source>
4323
</source>
Line 4369... Line 4326...
4369
Returns a larger font info. It&apos;s a list of the tuples with:
4326
Returns a larger font info. It&apos;s a list of the tuples with:
4370
[ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ]
4327
[ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ]
4371
</translation>
4328
</translation>
4372
    </message>
4329
    </message>
4373
    <message>
4330
    <message>
4374
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="62"/>
-
 
4375
        <source>renderFont(&quot;name&quot;, &quot;filename&quot;, &quot;sample&quot;, size, format=&quot;PPM&quot;) -&gt; bool
4331
        <source>renderFont(&quot;name&quot;, &quot;filename&quot;, &quot;sample&quot;, size, format=&quot;PPM&quot;) -&gt; bool
4376
 
4332
 
4377
Creates an image preview of font &quot;name&quot; with given text &quot;sample&quot; and size.
4333
Creates an image preview of font &quot;name&quot; with given text &quot;sample&quot; and size.
4378
If &quot;filename&quot; is not &quot;&quot;, image is saved into &quot;filename&quot;. Otherwise
4334
If &quot;filename&quot; is not &quot;&quot;, image is saved into &quot;filename&quot;. Otherwise
4379
image data is returned as a string. The optional &quot;format&quot; argument
4335
image data is returned as a string. The optional &quot;format&quot; argument
Line 4394... Line 4350...
4394
May raise NotFoundError if the specified font can&apos;t be found.
4350
May raise NotFoundError if the specified font can&apos;t be found.
4395
May raise ValueError if an empty sample or filename is passed.
4351
May raise ValueError if an empty sample or filename is passed.
4396
</translation>
4352
</translation>
4397
    </message>
4353
    </message>
4398
    <message>
4354
    <message>
4399
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="71"/>
-
 
4400
        <source>getLayers() -&gt; list
4355
        <source>getLayers() -&gt; list
4401
 
4356
 
4402
Returns a list with the names of all defined layers.
4357
Returns a list with the names of all defined layers.
4403
</source>
4358
</source>
4404
        <translation type="obsolete">getLayers() -&gt; list
4359
        <translation type="obsolete">getLayers() -&gt; list
4405
 
4360
 
4406
Returns a list with the names of all defined layers.
4361
Returns a list with the names of all defined layers.
4407
</translation>
4362
</translation>
4408
    </message>
4363
    </message>
4409
    <message>
4364
    <message>
4410
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="83"/>
-
 
4411
        <source>setActiveLayer(&quot;name&quot;)
4365
        <source>setActiveLayer(&quot;name&quot;)
4412
 
4366
 
4413
Sets the active layer to the layer named &quot;name&quot;.
4367
Sets the active layer to the layer named &quot;name&quot;.
4414
 
4368
 
4415
May raise NotFoundError if the layer can&apos;t be found.
4369
May raise NotFoundError if the layer can&apos;t be found.
Line 4422... Line 4376...
4422
May raise NotFoundError if the layer can&apos;t be found.
4376
May raise NotFoundError if the layer can&apos;t be found.
4423
May raise ValueError if the layer name isn&apos;t acceptable.
4377
May raise ValueError if the layer name isn&apos;t acceptable.
4424
</translation>
4378
</translation>
4425
    </message>
4379
    </message>
4426
    <message>
4380
    <message>
4427
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="92"/>
-
 
4428
        <source>getActiveLayer() -&gt; string
4381
        <source>getActiveLayer() -&gt; string
4429
 
4382
 
4430
Returns the name of the current active layer.
4383
Returns the name of the current active layer.
4431
</source>
4384
</source>
4432
        <translation type="obsolete">getActiveLayer() -&gt; string
4385
        <translation type="obsolete">getActiveLayer() -&gt; string
4433
 
4386
 
4434
Returns the name of the current active layer.
4387
Returns the name of the current active layer.
4435
</translation>
4388
</translation>
4436
    </message>
4389
    </message>
4437
    <message>
4390
    <message>
4438
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="105"/>
-
 
4439
        <source>sentToLayer(&quot;layer&quot; [, &quot;name&quot;])
4391
        <source>sentToLayer(&quot;layer&quot; [, &quot;name&quot;])
4440
 
4392
 
4441
Sends the object &quot;name&quot; to the layer &quot;layer&quot;. The layer must exist.
4393
Sends the object &quot;name&quot; to the layer &quot;layer&quot;. The layer must exist.
4442
If &quot;name&quot; is not given the currently selected item is used.
4394
If &quot;name&quot; is not given the currently selected item is used.
4443
 
4395
 
Line 4452... Line 4404...
4452
May raise NotFoundError if the layer can&apos;t be found.
4404
May raise NotFoundError if the layer can&apos;t be found.
4453
May raise ValueError if the layer name isn&apos;t acceptable.
4405
May raise ValueError if the layer name isn&apos;t acceptable.
4454
</translation>
4406
</translation>
4455
    </message>
4407
    </message>
4456
    <message>
4408
    <message>
4457
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="118"/>
-
 
4458
        <source>setLayerVisible(&quot;layer&quot;, visible)
4409
        <source>setLayerVisible(&quot;layer&quot;, visible)
4459
 
4410
 
4460
Sets the layer &quot;layer&quot; to be visible or not. If is the visible set to false
4411
Sets the layer &quot;layer&quot; to be visible or not. If is the visible set to false
4461
the layer is invisible.
4412
the layer is invisible.
4462
 
4413
 
Line 4471... Line 4422...
4471
May raise NotFoundError if the layer can&apos;t be found.
4422
May raise NotFoundError if the layer can&apos;t be found.
4472
May raise ValueError if the layer name isn&apos;t acceptable.
4423
May raise ValueError if the layer name isn&apos;t acceptable.
4473
</translation>
4424
</translation>
4474
    </message>
4425
    </message>
4475
    <message>
4426
    <message>
4476
        <location filename="" line="136966688"/>
-
 
4477
        <source>setLayerPrintable(&quot;layer&quot;, printable)
4427
        <source>setLayerPrintable(&quot;layer&quot;, printable)
4478
 
4428
 
4479
Sets the layer &quot;layer&quot; to be printable or not. If is the printable set to
4429
Sets the layer &quot;layer&quot; to be printable or not. If is the printable set to
4480
false the layer won&apos;t be printed.
4430
false the layer won&apos;t be printed.
4481
 
4431
 
Line 4490... Line 4440...
4490
May raise NotFoundError if the layer can&apos;t be found.
4440
May raise NotFoundError if the layer can&apos;t be found.
4491
May raise ValueError if the layer name isn&apos;t acceptable.
4441
May raise ValueError if the layer name isn&apos;t acceptable.
4492
</translation>
4442
</translation>
4493
    </message>
4443
    </message>
4494
    <message>
4444
    <message>
4495
        <location filename="" line="136966688"/>
-
 
4496
        <source>isLayerPrintable(&quot;layer&quot;) -&gt; bool
4445
        <source>isLayerPrintable(&quot;layer&quot;) -&gt; bool
4497
 
4446
 
4498
Returns whether the layer &quot;layer&quot; is visible or not, a value of True means
4447
Returns whether the layer &quot;layer&quot; is visible or not, a value of True means
4499
that the layer &quot;layer&quot; is visible, a value of False means that the layer
4448
that the layer &quot;layer&quot; is visible, a value of False means that the layer
4500
&quot;layer&quot; is invisible.
4449
&quot;layer&quot; is invisible.
Line 4511... Line 4460...
4511
May raise NotFoundError if the layer can&apos;t be found.
4460
May raise NotFoundError if the layer can&apos;t be found.
4512
May raise ValueError if the layer name isn&apos;t acceptable.
4461
May raise ValueError if the layer name isn&apos;t acceptable.
4513
</translation>
4462
</translation>
4514
    </message>
4463
    </message>
4515
    <message>
4464
    <message>
4516
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="222"/>
-
 
4517
        <source>isLayerPrintable(&quot;layer&quot;) -&gt; bool
4465
        <source>isLayerPrintable(&quot;layer&quot;) -&gt; bool
4518
 
4466
 
4519
Returns whether the layer &quot;layer&quot; is printable or not, a value of True means
4467
Returns whether the layer &quot;layer&quot; is printable or not, a value of True means
4520
that the layer &quot;layer&quot; can be printed, a value of False means that printing
4468
that the layer &quot;layer&quot; can be printed, a value of False means that printing
4521
the layer &quot;layer&quot; is disabled.
4469
the layer &quot;layer&quot; is disabled.
Line 4532... Line 4480...
4532
May raise NotFoundError if the layer can&apos;t be found.
4480
May raise NotFoundError if the layer can&apos;t be found.
4533
May raise ValueError if the layer name isn&apos;t acceptable.
4481
May raise ValueError if the layer name isn&apos;t acceptable.
4534
</translation>
4482
</translation>
4535
    </message>
4483
    </message>
4536
    <message>
4484
    <message>
4537
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="300"/>
-
 
4538
        <source>deleteLayer(&quot;layer&quot;)
4485
        <source>deleteLayer(&quot;layer&quot;)
4539
 
4486
 
4540
Deletes the layer with the name &quot;layer&quot;. Nothing happens if the layer doesn&apos;t
4487
Deletes the layer with the name &quot;layer&quot;. Nothing happens if the layer doesn&apos;t
4541
exists or if it&apos;s the only layer in the document.
4488
exists or if it&apos;s the only layer in the document.
4542
 
4489
 
Line 4551... Line 4498...
4551
May raise NotFoundError if the layer can&apos;t be found.
4498
May raise NotFoundError if the layer can&apos;t be found.
4552
May raise ValueError if the layer name isn&apos;t acceptable.
4499
May raise ValueError if the layer name isn&apos;t acceptable.
4553
</translation>
4500
</translation>
4554
    </message>
4501
    </message>
4555
    <message>
4502
    <message>
4556
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="311"/>
-
 
4557
        <source>createLayer(layer)
4503
        <source>createLayer(layer)
4558
 
4504
 
4559
Creates a new layer with the name &quot;name&quot;.
4505
Creates a new layer with the name &quot;name&quot;.
4560
 
4506
 
4561
May raise ValueError if the layer name isn&apos;t acceptable.
4507
May raise ValueError if the layer name isn&apos;t acceptable.
Line 4566... Line 4512...
4566
 
4512
 
4567
May raise ValueError if the layer name isn&apos;t acceptable.
4513
May raise ValueError if the layer name isn&apos;t acceptable.
4568
</translation>
4514
</translation>
4569
    </message>
4515
    </message>
4570
    <message>
4516
    <message>
4571
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="320"/>
-
 
4572
        <source>getGuiLanguage() -&gt; string
4517
        <source>getGuiLanguage() -&gt; string
4573
 
4518
 
4574
Returns a string with the -lang value.
4519
Returns a string with the -lang value.
4575
</source>
4520
</source>
4576
        <translation type="obsolete">getGuiLanguage() -&gt; string
4521
        <translation type="obsolete">getGuiLanguage() -&gt; string
4577
 
4522
 
4578
Returns a string with the -lang value.
4523
Returns a string with the -lang value.
4579
</translation>
4524
</translation>
4580
    </message>
4525
    </message>
4581
    <message>
4526
    <message>
4582
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="43"/>
-
 
4583
        <source>createEllipse(x, y, width, height, [&quot;name&quot;]) -&gt; string
4527
        <source>createEllipse(x, y, width, height, [&quot;name&quot;]) -&gt; string
4584
 
4528
 
4585
Creates a new ellipse on the current page and returns its name.
4529
Creates a new ellipse on the current page and returns its name.
4586
The coordinates are given in the current measurement units of the document
4530
The coordinates are given in the current measurement units of the document
4587
(see UNIT constants). &quot;name&quot; should be a unique identifier for the object
4531
(see UNIT constants). &quot;name&quot; should be a unique identifier for the object
Line 4600... Line 4544...
4600
 
4544
 
4601
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
4545
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
4602
</translation>
4546
</translation>
4603
    </message>
4547
    </message>
4604
    <message>
4548
    <message>
4605
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="60"/>
-
 
4606
        <source>createImage(x, y, width, height, [&quot;name&quot;]) -&gt; string
4549
        <source>createImage(x, y, width, height, [&quot;name&quot;]) -&gt; string
4607
 
4550
 
4608
Creates a new picture frame on the current page and returns its name. The
4551
Creates a new picture frame on the current page and returns its name. The
4609
coordinates are given in the current measurement units of the document.
4552
coordinates are given in the current measurement units of the document.
4610
&quot;name&quot; should be a unique identifier for the object because you need this
4553
&quot;name&quot; should be a unique identifier for the object because you need this
Line 4623... Line 4566...
4623
 
4566
 
4624
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
4567
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
4625
</translation>
4568
</translation>
4626
    </message>
4569
    </message>
4627
    <message>
4570
    <message>
4628
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="75"/>
-
 
4629
        <source>createText(x, y, width, height, [&quot;name&quot;]) -&gt; string
4571
        <source>createText(x, y, width, height, [&quot;name&quot;]) -&gt; string
4630
 
4572
 
4631
Creates a new text frame on the actual page and returns its name.
4573
Creates a new text frame on the actual page and returns its name.
4632
The coordinates are given in the actual measurement unit of the document (see
4574
The coordinates are given in the actual measurement unit of the document (see
4633
UNIT constants). &quot;name&quot; should be a unique identifier for the object because
4575
UNIT constants). &quot;name&quot; should be a unique identifier for the object because
Line 4646... Line 4588...
4646
 
4588
 
4647
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
4589
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
4648
</translation>
4590
</translation>
4649
    </message>
4591
    </message>
4650
    <message>
4592
    <message>
4651
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="90"/>
-
 
4652
        <source>createLine(x1, y1, x2, y2, [&quot;name&quot;]) -&gt; string
4593
        <source>createLine(x1, y1, x2, y2, [&quot;name&quot;]) -&gt; string
4653
 
4594
 
4654
Creates a new line from the point(x1, y1) to the point(x2, y2) and returns
4595
Creates a new line from the point(x1, y1) to the point(x2, y2) and returns
4655
its name. The coordinates are given in the current measurement unit of the
4596
its name. The coordinates are given in the current measurement unit of the
4656
document (see UNIT constants). &quot;name&quot; should be a unique identifier for the
4597
document (see UNIT constants). &quot;name&quot; should be a unique identifier for the
Line 4669... Line 4610...
4669
 
4610
 
4670
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
4611
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
4671
</translation>
4612
</translation>
4672
    </message>
4613
    </message>
4673
    <message>
4614
    <message>
4674
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="108"/>
-
 
4675
        <source>createPolyLine(list, [&quot;name&quot;]) -&gt; string
4615
        <source>createPolyLine(list, [&quot;name&quot;]) -&gt; string
4676
 
4616
 
4677
Creates a new polyline and returns its name. The points for the polyline are
4617
Creates a new polyline and returns its name. The points for the polyline are
4678
stored in the list &quot;list&quot; in the following order: [x1, y1, x2, y2...xn. yn].
4618
stored in the list &quot;list&quot; in the following order: [x1, y1, x2, y2...xn. yn].
4679
The coordinates are given in the current measurement units of the document (see
4619
The coordinates are given in the current measurement units of the document (see
Line 4698... Line 4638...
4698
May raise ValueError if an insufficient number of points is passed or if
4638
May raise ValueError if an insufficient number of points is passed or if
4699
the number of values passed don&apos;t group into points without leftovers.
4639
the number of values passed don&apos;t group into points without leftovers.
4700
</translation>
4640
</translation>
4701
    </message>
4641
    </message>
4702
    <message>
4642
    <message>
4703
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="128"/>
-
 
4704
        <source>createPolygon(list, [&quot;name&quot;]) -&gt; string
4643
        <source>createPolygon(list, [&quot;name&quot;]) -&gt; string
4705
 
4644
 
4706
Creates a new polygon and returns its name. The points for the polygon are
4645
Creates a new polygon and returns its name. The points for the polygon are
4707
stored in the list &quot;list&quot; in the following order: [x1, y1, x2, y2...xn. yn].
4646
stored in the list &quot;list&quot; in the following order: [x1, y1, x2, y2...xn. yn].
4708
At least three points are required. There is no need to repeat the first point
4647
At least three points are required. There is no need to repeat the first point
Line 4731... Line 4670...
4731
May raise ValueError if an insufficient number of points is passed or if
4670
May raise ValueError if an insufficient number of points is passed or if
4732
the number of values passed don&apos;t group into points without leftovers.
4671
the number of values passed don&apos;t group into points without leftovers.
4733
</translation>
4672
</translation>
4734
    </message>
4673
    </message>
4735
    <message>
4674
    <message>
4736
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="149"/>
-
 
4737
        <source>createBezierLine(list, [&quot;name&quot;]) -&gt; string
4675
        <source>createBezierLine(list, [&quot;name&quot;]) -&gt; string
4738
 
4676
 
4739
Creates a new bezier curve and returns its name. The points for the bezier
4677
Creates a new bezier curve and returns its name. The points for the bezier
4740
curve are stored in the list &quot;list&quot; in the following order:
4678
curve are stored in the list &quot;list&quot; in the following order:
4741
[x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn]
4679
[x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn]
Line 4766... Line 4704...
4766
May raise ValueError if an insufficient number of points is passed or if
4704
May raise ValueError if an insufficient number of points is passed or if
4767
the number of values passed don&apos;t group into points without leftovers.
4705
the number of values passed don&apos;t group into points without leftovers.
4768
</translation>
4706
</translation>
4769
    </message>
4707
    </message>
4770
    <message>
4708
    <message>
4771
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="165"/>
-
 
4772
        <source>createPathText(x, y, &quot;textbox&quot;, &quot;beziercurve&quot;, [&quot;name&quot;]) -&gt; string
4709
        <source>createPathText(x, y, &quot;textbox&quot;, &quot;beziercurve&quot;, [&quot;name&quot;]) -&gt; string
4773
 
4710
 
4774
Creates a new pathText by merging the two objects &quot;textbox&quot; and
4711
Creates a new pathText by merging the two objects &quot;textbox&quot; and
4775
&quot;beziercurve&quot; and returns its name. The coordinates are given in the current
4712
&quot;beziercurve&quot; and returns its name. The coordinates are given in the current
4776
measurement unit of the document (see UNIT constants). &quot;name&quot; should be a
4713
measurement unit of the document (see UNIT constants). &quot;name&quot; should be a
Line 4791... Line 4728...
4791
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
4728
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
4792
May raise NotFoundError if one or both of the named base object don&apos;t exist.
4729
May raise NotFoundError if one or both of the named base object don&apos;t exist.
4793
</translation>
4730
</translation>
4794
    </message>
4731
    </message>
4795
    <message>
4732
    <message>
4796
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="177"/>
-
 
4797
        <source>deleteObject([&quot;name&quot;])
4733
        <source>deleteObject([&quot;name&quot;])
4798
 
4734
 
4799
Deletes the item with the name &quot;name&quot;. If &quot;name&quot; is not given the currently
4735
Deletes the item with the name &quot;name&quot;. If &quot;name&quot; is not given the currently
4800
selected item is deleted.
4736
selected item is deleted.
4801
</source>
4737
</source>
Line 4804... Line 4740...
4804
Deletes the item with the name &quot;name&quot;. If &quot;name&quot; is not given the currently
4740
Deletes the item with the name &quot;name&quot;. If &quot;name&quot; is not given the currently
4805
selected item is deleted.
4741
selected item is deleted.
4806
</translation>
4742
</translation>
4807
    </message>
4743
    </message>
4808
    <message>
4744
    <message>
4809
        <location filename="" line="136966688"/>
-
 
4810
        <source>textFlowsAroundFrame(&quot;name&quot; [, state])
4745
        <source>textFlowsAroundFrame(&quot;name&quot; [, state])
4811
 
4746
 
4812
Enables/disables &quot;Text Flows Around Frame&quot; feature for object &quot;name&quot;.
4747
Enables/disables &quot;Text Flows Around Frame&quot; feature for object &quot;name&quot;.
4813
Called with parameters string name and optional boolean &quot;state&quot;. If &quot;state&quot;
4748
Called with parameters string name and optional boolean &quot;state&quot;. If &quot;state&quot;
4814
is not passed, text flow is toggled.
4749
is not passed, text flow is toggled.
Line 4819... Line 4754...
4819
Called with parameters string name and optional boolean &quot;state&quot;. If &quot;state&quot;
4754
Called with parameters string name and optional boolean &quot;state&quot;. If &quot;state&quot;
4820
is not passed, text flow is toggled.
4755
is not passed, text flow is toggled.
4821
</translation>
4756
</translation>
4822
    </message>
4757
    </message>
4823
    <message>
4758
    <message>
4824
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="211"/>
-
 
4825
        <source>objectExists([&quot;name&quot;]) -&gt; bool
4759
        <source>objectExists([&quot;name&quot;]) -&gt; bool
4826
 
4760
 
4827
Test if an object with specified name really exists in the document.
4761
Test if an object with specified name really exists in the document.
4828
The optional parameter is the object name. When no object name is given,
4762
The optional parameter is the object name. When no object name is given,
4829
returns True if there is something selected.
4763
returns True if there is something selected.
Line 4834... Line 4768...
4834
The optional parameter is the object name. When no object name is given,
4768
The optional parameter is the object name. When no object name is given,
4835
returns True if there is something selected.
4769
returns True if there is something selected.
4836
</translation>
4770
</translation>
4837
    </message>
4771
    </message>
4838
    <message>
4772
    <message>
4839
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="227"/>
-
 
4840
        <source>setStyle(&quot;style&quot; [, &quot;name&quot;])
4773
        <source>setStyle(&quot;style&quot; [, &quot;name&quot;])
4841
 
4774
 
4842
Apply the named &quot;style&quot; to the object named &quot;name&quot;. If is no object name
4775
Apply the named &quot;style&quot; to the object named &quot;name&quot;. If is no object name
4843
given, it&apos;s applied on the selected object.
4776
given, it&apos;s applied on the selected object.
4844
</source>
4777
</source>
Line 4847... Line 4780...
4847
Apply the named &quot;style&quot; to the object named &quot;name&quot;. If is no object name
4780
Apply the named &quot;style&quot; to the object named &quot;name&quot;. If is no object name
4848
given, it&apos;s applied on the selected object.
4781
given, it&apos;s applied on the selected object.
4849
</translation>
4782
</translation>
4850
    </message>
4783
    </message>
4851
    <message>
4784
    <message>
4852
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="240"/>
-
 
4853
        <source>getAllStyles() -&gt; list
4785
        <source>getAllStyles() -&gt; list
4854
 
4786
 
4855
Return a list of the names of all paragraph styles in the current document.
4787
Return a list of the names of all paragraph styles in the current document.
4856
</source>
4788
</source>
4857
        <translation type="obsolete">getAllStyles() -&gt; list
4789
        <translation type="obsolete">getAllStyles() -&gt; list
4858
 
4790
 
4859
Return a list of the names of all paragraph styles in the current document.
4791
Return a list of the names of all paragraph styles in the current document.
4860
</translation>
4792
</translation>
4861
    </message>
4793
    </message>
4862
    <message>
4794
    <message>
4863
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="36"/>
-
 
4864
        <source>currentPage() -&gt; integer
4795
        <source>currentPage() -&gt; integer
4865
 
4796
 
4866
Returns the number of the current working page. Page numbers are counted from 1
4797
Returns the number of the current working page. Page numbers are counted from 1
4867
upwards, no matter what the displayed first page number of your document is.
4798
upwards, no matter what the displayed first page number of your document is.
4868
</source>
4799
</source>
Line 4871... Line 4802...
4871
Returns the number of the current working page. Page numbers are counted from 1
4802
Returns the number of the current working page. Page numbers are counted from 1
4872
upwards, no matter what the displayed first page number of your document is.
4803
upwards, no matter what the displayed first page number of your document is.
4873
</translation>
4804
</translation>
4874
    </message>
4805
    </message>
4875
    <message>
4806
    <message>
4876
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="45"/>
-
 
4877
        <source>redrawAll()
4807
        <source>redrawAll()
4878
 
4808
 
4879
Redraws all pages.
4809
Redraws all pages.
4880
</source>
4810
</source>
4881
        <translation type="obsolete">redrawAll()
4811
        <translation type="obsolete">redrawAll()
4882
 
4812
 
4883
Redraws all pages.
4813
Redraws all pages.
4884
</translation>
4814
</translation>
4885
    </message>
4815
    </message>
4886
    <message>
4816
    <message>
4887
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="65"/>
-
 
4888
        <source>savePageAsEPS(&quot;name&quot;)
4817
        <source>savePageAsEPS(&quot;name&quot;)
4889
 
4818
 
4890
Saves the current page as an EPS to the file &quot;name&quot;.
4819
Saves the current page as an EPS to the file &quot;name&quot;.
4891
 
4820
 
4892
May raise ScribusError if the save failed.
4821
May raise ScribusError if the save failed.
Line 4897... Line 4826...
4897
 
4826
 
4898
May raise ScribusError if the save failed.
4827
May raise ScribusError if the save failed.
4899
</translation>
4828
</translation>
4900
    </message>
4829
    </message>
4901
    <message>
4830
    <message>
4902
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="78"/>
-
 
4903
        <source>deletePage(nr)
4831
        <source>deletePage(nr)
4904
 
4832
 
4905
Deletes the given page. Does nothing if the document contains only one page.
4833
Deletes the given page. Does nothing if the document contains only one page.
4906
Page numbers are counted from 1 upwards, no matter what the displayed first
4834
Page numbers are counted from 1 upwards, no matter what the displayed first
4907
page number is.
4835
page number is.
Line 4916... Line 4844...
4916
 
4844
 
4917
May raise IndexError if the page number is out of range
4845
May raise IndexError if the page number is out of range
4918
</translation>
4846
</translation>
4919
    </message>
4847
    </message>
4920
    <message>
4848
    <message>
4921
        <location filename="../plugins/scriptplugin/cmdpage.h" line="91"/>
-
 
4922
        <source>gotoPage(nr)
4849
        <source>gotoPage(nr)
4923
 
4850
 
4924
Moves to the page &quot;nr&quot; (that is, makes the current page &quot;nr&quot;). Note that
4851
Moves to the page &quot;nr&quot; (that is, makes the current page &quot;nr&quot;). Note that
4925
gotoPage doesn&apos;t (curently) change the page the user&apos;s view is displaying, it
4852
gotoPage doesn&apos;t (curently) change the page the user&apos;s view is displaying, it
4926
just sets the page that script commands will operates on.
4853
just sets the page that script commands will operates on.
Line 4935... Line 4862...
4935
 
4862
 
4936
May raise IndexError if the page number is out of range.
4863
May raise IndexError if the page number is out of range.
4937
</translation>
4864
</translation>
4938
    </message>
4865
    </message>
4939
    <message>
4866
    <message>
4940
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="100"/>
-
 
4941
        <source>pageCount() -&gt; integer
4867
        <source>pageCount() -&gt; integer
4942
 
4868
 
4943
Returns the number of pages in the document.
4869
Returns the number of pages in the document.
4944
</source>
4870
</source>
4945
        <translation type="obsolete">pageCount() -&gt; integer
4871
        <translation type="obsolete">pageCount() -&gt; integer
4946
 
4872
 
4947
Returns the number of pages in the document.
4873
Returns the number of pages in the document.
4948
</translation>
4874
</translation>
4949
    </message>
4875
    </message>
4950
    <message>
4876
    <message>
4951
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="110"/>
-
 
4952
        <source>getHGuides() -&gt; list
4877
        <source>getHGuides() -&gt; list
4953
 
4878
 
4954
Returns a list containing positions of the horizontal guides. Values are in the
4879
Returns a list containing positions of the horizontal guides. Values are in the
4955
document&apos;s current units - see UNIT_&lt;type&gt; constants.
4880
document&apos;s current units - see UNIT_&lt;type&gt; constants.
4956
</source>
4881
</source>
Line 4959... Line 4884...
4959
Returns a list containing positions of the horizontal guides. Values are in the
4884
Returns a list containing positions of the horizontal guides. Values are in the
4960
document&apos;s current units - see UNIT_&lt;type&gt; constants.
4885
document&apos;s current units - see UNIT_&lt;type&gt; constants.
4961
</translation>
4886
</translation>
4962
    </message>
4887
    </message>
4963
    <message>
4888
    <message>
4964
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="123"/>
-
 
4965
        <source>setHGuides(list)
4889
        <source>setHGuides(list)
4966
 
4890
 
4967
Sets horizontal guides. Input parameter must be a list of guide positions
4891
Sets horizontal guides. Input parameter must be a list of guide positions
4968
measured in the current document units - see UNIT_&lt;type&gt; constants.
4892
measured in the current document units - see UNIT_&lt;type&gt; constants.
4969
 
4893
 
Line 4978... Line 4902...
4978
Example: setHGuides(getHGuides() + [200.0, 210.0] # add new guides without any lost
4902
Example: setHGuides(getHGuides() + [200.0, 210.0] # add new guides without any lost
4979
         setHGuides([90,250]) # replace current guides entirely
4903
         setHGuides([90,250]) # replace current guides entirely
4980
</translation>
4904
</translation>
4981
    </message>
4905
    </message>
4982
    <message>
4906
    <message>
4983
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="132"/>
-
 
4984
        <source>getVGuides()
4907
        <source>getVGuides()
4985
 
4908
 
4986
See getHGuides.
4909
See getHGuides.
4987
</source>
4910
</source>
4988
        <translation type="obsolete">getVGuides()
4911
        <translation type="obsolete">getVGuides()
4989
 
4912
 
4990
See getHGuides.
4913
See getHGuides.
4991
</translation>
4914
</translation>
4992
    </message>
4915
    </message>
4993
    <message>
4916
    <message>
4994
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="141"/>
-
 
4995
        <source>setVGuides()
4917
        <source>setVGuides()
4996
 
4918
 
4997
See setHGuides.
4919
See setHGuides.
4998
</source>
4920
</source>
4999
        <translation type="obsolete">setVGuides()
4921
        <translation type="obsolete">setVGuides()
5000
 
4922
 
5001
See setHGuides.
4923
See setHGuides.
5002
</translation>
4924
</translation>
5003
    </message>
4925
    </message>
5004
    <message>
4926
    <message>
5005
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="151"/>
-
 
5006
        <source>getPageSize() -&gt; tuple
4927
        <source>getPageSize() -&gt; tuple
5007
 
4928
 
5008
Returns a tuple with page dimensions measured in the document&apos;s current units.
4929
Returns a tuple with page dimensions measured in the document&apos;s current units.
5009
See UNIT_&lt;type&gt; constants and getPageMargins()
4930
See UNIT_&lt;type&gt; constants and getPageMargins()
5010
</source>
4931
</source>
Line 5013... Line 4934...
5013
Returns a tuple with page dimensions measured in the document&apos;s current units.
4934
Returns a tuple with page dimensions measured in the document&apos;s current units.
5014
See UNIT_&lt;type&gt; constants and getPageMargins()
4935
See UNIT_&lt;type&gt; constants and getPageMargins()
5015
</translation>
4936
</translation>
5016
    </message>
4937
    </message>
5017
    <message>
4938
    <message>
5018
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="167"/>
-
 
5019
        <source>getPageItems() -&gt; list
4939
        <source>getPageItems() -&gt; list
5020
 
4940
 
5021
Returns a list of tuples with items on the current page. The tuple is:
4941
Returns a list of tuples with items on the current page. The tuple is:
5022
(name, objectType, order) E.g. [(&apos;Text1&apos;, 4, 0), (&apos;Image1&apos;, 2, 1)]
4942
(name, objectType, order) E.g. [(&apos;Text1&apos;, 4, 0), (&apos;Image1&apos;, 2, 1)]
5023
means that object named &apos;Text1&apos; is a text frame (type 4) and is the first at
4943
means that object named &apos;Text1&apos; is a text frame (type 4) and is the first at
Line 5030... Line 4950...
5030
means that object named &apos;Text1&apos; is a text frame (type 4) and is the first at
4950
means that object named &apos;Text1&apos; is a text frame (type 4) and is the first at
5031
the page...
4951
the page...
5032
</translation>
4952
</translation>
5033
    </message>
4953
    </message>
5034
    <message>
4954
    <message>
5035
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="181"/>
-
 
5036
        <source>getPageMargins()
4955
        <source>getPageMargins()
5037
 
4956
 
5038
Returns the page margins as a (top, left, right, bottom) tuple in the current
4957
Returns the page margins as a (top, left, right, bottom) tuple in the current
5039
units. See UNIT_&lt;type&gt; constants and getPageSize().
4958
units. See UNIT_&lt;type&gt; constants and getPageSize().
5040
</source>
4959
</source>
Line 5043... Line 4962...
5043
Returns the page margins as a (top, left, right, bottom) tuple in the current
4962
Returns the page margins as a (top, left, right, bottom) tuple in the current
5044
units. See UNIT_&lt;type&gt; constants and getPageSize().
4963
units. See UNIT_&lt;type&gt; constants and getPageSize().
5045
</translation>
4964
</translation>
5046
    </message>
4965
    </message>
5047
    <message>
4966
    <message>
5048
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="33"/>
-
 
5049
        <source>setFillColor(&quot;color&quot;, [&quot;name&quot;])
4967
        <source>setFillColor(&quot;color&quot;, [&quot;name&quot;])
5050
 
4968
 
5051
Sets the fill color of the object &quot;name&quot; to the color &quot;color&quot;. &quot;color&quot;
4969
Sets the fill color of the object &quot;name&quot; to the color &quot;color&quot;. &quot;color&quot;
5052
is the name of one of the defined colors. If &quot;name&quot; is not given the
4970
is the name of one of the defined colors. If &quot;name&quot; is not given the
5053
currently selected item is used.
4971
currently selected item is used.
Line 5058... Line 4976...
5058
is the name of one of the defined colours. If &quot;name&quot; is not given the
4976
is the name of one of the defined colours. If &quot;name&quot; is not given the
5059
currently selected item is used.
4977
currently selected item is used.
5060
</translation>
4978
</translation>
5061
    </message>
4979
    </message>
5062
    <message>
4980
    <message>
5063
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="63"/>
-
 
5064
        <source>setLineColor(&quot;color&quot;, [&quot;name&quot;])
4981
        <source>setLineColor(&quot;color&quot;, [&quot;name&quot;])
5065
 
4982
 
5066
Sets the line color of the object &quot;name&quot; to the color &quot;color&quot;. If &quot;name&quot;
4983
Sets the line color of the object &quot;name&quot; to the color &quot;color&quot;. If &quot;name&quot;
5067