Subversion Repositories Scribus

Rev

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