Subversion Repositories Scribus

Rev

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

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