Subversion Repositories Scribus

Rev

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