Subversion Repositories Scribus

Rev

Rev 12612 | Rev 12937 | 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>
12918 cbradney 1040
        <translation type="unfinished">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>
12281 cbradney 1050
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="177"/>
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>
12281 cbradney 1065
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="187"/>
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>
12281 cbradney 1077
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="199"/>
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>
12281 cbradney 1847
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="33"/>
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>
12918 cbradney 1857
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="43"/>
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>
1866
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="53"/>
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>
12281 cbradney 1875
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="63"/>
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>
12918 cbradney 1884
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="73"/>
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>
1893
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="83"/>
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>
12281 cbradney 1902
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="96"/>
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>
12281 cbradney 1914
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="110"/>
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>
12281 cbradney 1927
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="121"/>
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>
12281 cbradney 1937
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="132"/>
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>
12281 cbradney 1947
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="143"/>
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>
12281 cbradney 1957
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="157"/>
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>
12281 cbradney 1970
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="169"/>
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>
12281 cbradney 1981
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="181"/>
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>
12612 cbradney 2353
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="295"/>
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>
12612 cbradney 2365
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="308"/>
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>
12612 cbradney 2377
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="325"/>
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>
12612 cbradney 2389
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="338"/>
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>
12612 cbradney 2397
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="352"/>
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>
12918 cbradney 2409
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="365"/>
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>
2420
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="379"/>
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>
2431
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="394"/>
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>
12612 cbradney 2442
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="406"/>
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>
12918 cbradney 2610
</context>
2611
<context>
2612
    <name>@default</name>
6261 cbradney 2613
    <message>
12918 cbradney 2614
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="21"/>
2615
        <source>getColorNames() -&gt; list
6261 cbradney 2616
 
12918 cbradney 2617
Returns a list containing the names of all defined colors in the document.
2618
If no document is open, returns a list of the default document colors.
2619
</source>
2620
        <translation type="obsolete">getColorNames() -&gt; liste
6261 cbradney 2621
 
12918 cbradney 2622
Crée la liste des noms de toutes les couleurs définie dans le document.
2623
S&apos;il n&apos;y a aucun document ouvert, la liste est composée des couleurs présentes par défaut.</translation>
2624
    </message>
2625
    <message>
2626
        <location filename="../../scribus/plugins/scriptplugin/cmddialog.h" line="22"/>
2627
        <source>newDocDialog() -&gt; bool
2628
 
2629
Displays the &quot;New Document&quot; dialog box. Creates a new document if the user
2630
accepts the settings. Does not create a document if the user presses cancel.
2631
Returns true if a new document was created.
6261 cbradney 2632
</source>
12918 cbradney 2633
        <translation type="obsolete">newDocDialog() -&gt; booléen
2634
 
2635
Affiche la boîte de dialogue &quot;Nouveau document&quot;. Crée un nouveau document si
2636
l&apos;utilisateur valide les réglages. Ne crée pas de document si l&apos;utilisateur clique sur
2637
&quot;Annuler&quot;. Retourne vrai si un nouveau document est créé.</translation>
6261 cbradney 2638
    </message>
2639
    <message>
12918 cbradney 2640
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="21"/>
2641
        <source>getFillColor([&quot;name&quot;]) -&gt; string
6261 cbradney 2642
 
12918 cbradney 2643
Returns the name of the fill color of the object &quot;name&quot;.
2644
If &quot;name&quot; is not given the currently selected item is used.
2645
</source>
2646
        <translation type="obsolete">getFillColor([&quot;nom&quot;]) -&gt; chaîne
6261 cbradney 2647
 
12918 cbradney 2648
Retourne le nom de la couleur de remplissage de l&apos;objet &quot;nom&quot;.
2649
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.</translation>
2650
    </message>
2651
    <message>
2652
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="23"/>
2653
        <source>moveObject(dx, dy [, &quot;name&quot;])
2654
 
2655
Moves the object &quot;name&quot; by dx and dy relative to its current position. The
2656
distances are expressed in the current measurement unit of the document (see
2657
UNIT constants). If &quot;name&quot; is not given the currently selected item is used.
2658
If the object &quot;name&quot; belongs to a group, the whole group is moved.
6261 cbradney 2659
</source>
12918 cbradney 2660
        <translation type="obsolete">moveObject(dx, dy [, &quot;nom&quot;])
2661
 
2662
Déplace l&apos;objet &quot;nom&quot; de dx et dy relativement à sa position courante. Les
2663
distances sont exprimées dans l&apos;unité courante de mesure du document (voir
2664
constantes d&apos;UNITÉS). Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.
2665
Si l&apos;objet &quot;nom&quot; appartient à un groupe, le groupe entier est déplacé.</translation>
6261 cbradney 2666
    </message>
2667
    <message>
12918 cbradney 2668
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="24"/>
2669
        <source>setRedraw(bool)
6261 cbradney 2670
 
12918 cbradney 2671
Disables page redraw when bool = False, otherwise redrawing is enabled.
2672
This change will persist even after the script exits, so make sure to call
2673
setRedraw(True) in a finally: clause at the top level of your script.
2674
</source>
2675
        <translation type="obsolete">setRedraw(booléen)
6261 cbradney 2676
 
12918 cbradney 2677
Désactive le rafraîchissement de l&apos;affichage si le booléen est faux, sinon le
2678
rafraîchissement est actif. Ce changement persiste même après la fin du
2679
script, donc veillez à appeler setRedraw(True) dans une clause finally: au
2680
début de votre script.
2681
</translation>
2682
    </message>
2683
    <message>
2684
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="26"/>
2685
        <source>createRect(x, y, width, height, [&quot;name&quot;]) -&gt; string
2686
 
2687
Creates a new rectangle on the current page and returns its name. The
2688
coordinates are given in the current measurement units of the document
2689
(see UNIT constants). &quot;name&quot; should be a unique identifier for the object
2690
because you need this name to reference that object in future. If &quot;name&quot;
2691
is not given Scribus will create one for you.
2692
 
2693
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
6261 cbradney 2694
</source>
12918 cbradney 2695
        <translation type="obsolete">createRect(x, y, largeur, hauteur, [&quot;nom&quot;]) -&gt; chaîne
2696
 
2697
Crée un rectangle sur la page courante et retourne son nom. Les coordonnées
2698
sont exprimées dans l&apos;unité courante de mesure du document (voir constantes
2699
d&apos;UNITÉS). &quot;nom&quot; doit être un identifiant unique pour l&apos;objet car il sert de référence
2700
pour l&apos;objet. Si &quot;nom&quot; est omis, Scribus en attribuera un pour vous.
2701
 
2702
Peut lever une erreur NameExistsError si &quot;nom&quot; existe déjà.</translation>
6261 cbradney 2703
    </message>
2704
    <message>
12918 cbradney 2705
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="26"/>
2706
        <source>newPage(where [,&quot;masterpage&quot;])
6261 cbradney 2707
 
12918 cbradney 2708
Creates a new page. If &quot;where&quot; is -1 the new Page is appended to the
2709
document, otherwise the new page is inserted before &quot;where&quot;. Page numbers are
2710
counted from 1 upwards, no matter what the displayed first page number of your
2711
document is. The optional parameter &quot;masterpage&quot; specifies the name of the
2712
master page for the new page.
6261 cbradney 2713
 
12918 cbradney 2714
May raise IndexError if the page number is out of range
6261 cbradney 2715
</source>
12918 cbradney 2716
        <translation type="obsolete">newPage(emplacement [,&quot;gabarit&quot;])
2717
 
2718
Crée une nouvelle page. Si &quot;emplacement&quot; vaut -1, la page est ajoutée à la fin
2719
du document; dans le cas contraire, elle est insérée avant la page &quot;emplacement&quot;.
2720
Les numéros de pages débutent à 1, indépendamment de la première page
2721
affichée du document. Le paramètre optionnel &quot;gabarit&quot; permet d&apos;affecter un gabarit
2722
à la nouvelle page.
2723
 
2724
Peut lever une erreur IndexError si &quot;emplacement&quot; est hors plage</translation>
6261 cbradney 2725
    </message>
2726
    <message>
12918 cbradney 2727
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="22"/>
2728
        <source>setGradientFill(type, &quot;color1&quot;, shade1, &quot;color2&quot;, shade2, [&quot;name&quot;])
6261 cbradney 2729
 
12918 cbradney 2730
Sets the gradient fill of the object &quot;name&quot; to type. Color descriptions are
2731
the same as for setFillColor() and setFillShade(). See the constants for
2732
available types (FILL_&lt;type&gt;).
2733
</source>
2734
        <translation type="obsolete">setGradientFill(type, &quot;couleur1&quot;, teinte1, &quot;couleur2&quot;, teinte2, [&quot;nom&quot;])
6261 cbradney 2735
 
12918 cbradney 2736
Définit le type de gradient de l&apos;objet &quot;nom&quot;. Les descriptions de couleurs sont
2737
les mêmes que pour setFillColor() et setFillShade(). Référez-vous aux constantes
2738
pour connaîtres les types de gradient (FILL_&lt;type&gt;).
2739
</translation>
2740
    </message>
2741
    <message>
2742
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="23"/>
2743
        <source>getFontSize([&quot;name&quot;]) -&gt; float
2744
 
2745
Returns the font size in points for the text frame &quot;name&quot;. If this text
2746
frame has some text selected the value assigned to the first character of
2747
the selection is returned.
2748
If &quot;name&quot; is not given the currently selected item is used.
6261 cbradney 2749
</source>
12918 cbradney 2750
        <translation type="obsolete">getFontSize([&quot;nom&quot;]) -&gt; flottant
2751
 
2752
Retourne la taille de la police en points pour le cadre de texte &quot;nom&quot;. Si une
2753
partie du texte du cadre est sélectionné, la valeur retournée est celle du
2754
premier caractère de la sélection.
2755
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.</translation>
6261 cbradney 2756
    </message>
2757
    <message>
12918 cbradney 2758
        <location filename="../../scribus/plugins/scriptplugin/guiapp.h" line="21"/>
2759
        <source>messagebarText(&quot;string&quot;)
6261 cbradney 2760
 
12918 cbradney 2761
Writes the &quot;string&quot; into the Scribus message bar (status line). The text
2762
must be UTF8 encoded or &apos;unicode&apos; string(recommended).
6261 cbradney 2763
</source>
12918 cbradney 2764
        <translation type="obsolete">messagebarText(&quot;chaîne&quot;)
2765
 
2766
Ecrit la &quot;chaîne&quot; dans la barre de messages de Scribus (ligne de statut).
2767
Le texte doit être encodé en UTF8 ou une chaîne &apos;unicode&apos; (recommendé).</translation>
6261 cbradney 2768
    </message>
2769
    <message>
12918 cbradney 2770
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="55"/>
2771
        <source>newDocument(size, margins, orientation, firstPageNumber,
2772
                        unit, pagesType, firstPageOrder, numPages) -&gt; bool
6261 cbradney 2773
 
12918 cbradney 2774
Creates a new document and returns true if successful. The parameters have the
2775
following meaning:
2776
 
2777
size = A tuple (width, height) describing the size of the document. You can
2778
use predefined constants named PAPER_&lt;paper_type&gt; e.g. PAPER_A4 etc.
2779
 
2780
margins = A tuple (left, right, top, bottom) describing the document
2781
margins
2782
 
2783
orientation = the page orientation - constants PORTRAIT, LANDSCAPE
2784
 
2785
firstPageNumer = is the number of the first page in the document used for
2786
pagenumbering. While you&apos;ll usually want 1, it&apos;s useful to have higher
2787
numbers if you&apos;re creating a document in several parts.
2788
 
2789
unit: this value sets the measurement units used by the document. Use a
2790
predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
2791
UNIT_PICAS, UNIT_POINTS.
2792
 
2793
pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page,
2794
PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and
2795
PAGE_4 is 4-fold.
2796
 
2797
firstPageOrder = What is position of first page in the document.
2798
Indexed from 0 (0 = first).
2799
 
2800
numPage = Number of pages to be created.
2801
 
2802
The values for width, height and the margins are expressed in the given unit
2803
for the document. PAPER_* constants are expressed in points. If your document
2804
is not in points, make sure to account for this.
2805
 
2806
example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS,
2807
PAGE_4, 3, 1)
2808
 
2809
May raise ScribusError if is firstPageOrder bigger than allowed by pagesType.
6261 cbradney 2810
</source>
12918 cbradney 2811
        <translation type="obsolete">newDocument(taille, marges, orientation, numeroPremièrePage,
2812
                       unité, typePages, positionPremièrePage) -&gt; booléen
9300 jghali 2813
 
12918 cbradney 2814
Crée un nouveau document et retourne vrai en cas de succès. Les divers paramètres
2815
ont la signification suivante :
2816
 
2817
taille : un tuple (hauteur, largeur) décrivant la taille du document. Il est possible
2818
d&apos;utiliser des constantes prédéfinies nommées PAPER_&lt;paper_type&gt; (PAPER_A4...)
2819
 
2820
marges : un tuple (gauche, droite, haut, bas) décrivant les marges du
2821
nouveau document
2822
 
2823
orientation : l&apos;orientation de la page - constantes PORTRAIT, LANDSCAPE
2824
 
2825
numeroPremièrePage : numéro de la première page du document, utilisé
2826
pour la numérotation des pages. La plupart du temps, ce sera 1, mais
2827
d&apos;autres valeurs peuvent se révéler utiles pour des documents découpés
2828
en plusieurs parties.
2829
 
2830
unité : définit l&apos;unité de mesure utilisée dans ce document. Utiliser l&apos;une des
2831
constantes prédéfinies pour cela : UNIT_INCHES, UNIT_MILLIMETERS,
2832
UNIT_PICAS, UNIT_POINTS.
2833
typePages : une des constantes prédéfinies PAGE_n. PAGE_1 pour des pages
2834
simples, PAGE_2 pour des pages en regard, PAGE_3 pour 3 volets et
2835
PAGE_4 pour 4 volets.
2836
 
2837
positionPremièrePage : position de la première page dans le document.
2838
Démarre à 0 (0 = première page).
2839
 
2840
nombrePages : nombre de pages à créer.
2841
 
2842
Les valeurs de hauteur, largeur et de marges sont exprimées dans l&apos;unité
2843
fournie pour le document. PAPER_* sont des constantes exprimées en points;
2844
donc si l&apos;unité de votre document n&apos;est pas le point, il faut en tenir compte.
2845
 
2846
exemple: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS,(new line)
2847
PAGE_4, 3, 1)
2848
 
2849
Lève une erreur ScribusError si positionPremièrePage est plus grand que ce qui
2850
est admissible par typePages.
9300 jghali 2851
</translation>
6261 cbradney 2852
    </message>
2853
    <message>
12918 cbradney 2854
        <location filename="../../scribus/plugins/scriptplugin/svgimport.h" line="21"/>
2855
        <source>placeSVG(&quot;filename&quot;, x, y)
6434 cbradney 2856
 
12918 cbradney 2857
Places the SVG &quot;filename&quot; onto the current page,
2858
x and y specify the coordinate of the topleft corner of the SVG placed on the page
2859
 
2860
If loading was successful, the selection contains the imported SVG
6434 cbradney 2861
</source>
12918 cbradney 2862
        <translation type="obsolete">placeSVG(&quot;fichier&quot;, x,y)
9300 jghali 2863
 
12918 cbradney 2864
Positionne le fichier SVG &quot;fichier&quot; sur la page courante,
2865
avec x et y étant les coordonnées de placement du point en haut à gauche du SVG
2866
 
2867
Si le chargement est réussi, la sélection contient le SVG importé
2868
</translation>
6434 cbradney 2869
    </message>
2870
    <message>
12918 cbradney 2871
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="35"/>
2872
        <source>getColor(&quot;name&quot;) -&gt; tuple
6434 cbradney 2873
 
12918 cbradney 2874
Returns a tuple (C, M, Y, K) containing the four color components of the
2875
color &quot;name&quot; from the current document. If no document is open, returns
2876
the value of the named color from the default document colors.
2877
 
2878
May raise NotFoundError if the named color wasn&apos;t found.
2879
May raise ValueError if an invalid color name is specified.
6434 cbradney 2880
</source>
12918 cbradney 2881
        <translation type="obsolete">getColor(&quot;nom&quot;) -&gt; tuple
9300 jghali 2882
 
12918 cbradney 2883
Retourne un tuple (C,M,J,N) contenant les quatre composantes de couleurs de
2884
la couleur &quot;nom&quot; du document courant. Si aucun document n&apos;est ouvert,
2885
retourne la valeur de la couleur &quot;nom&quot; des couleurs par défaut.
2886
 
2887
Lève une erreur NotFoundError si la couleur n&apos;est pas trouvée.
2888
Lève une erreur ValueError si le nom de couleur est invalide.</translation>
6434 cbradney 2889
    </message>
2890
    <message>
12918 cbradney 2891
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="50"/>
2892
        <source>getColorAsRGB(&quot;name&quot;) -&gt; tuple
6434 cbradney 2893
 
12918 cbradney 2894
Returns a tuple (R,G,B) containing the three color components of the
2895
color &quot;name&quot; from the current document, converted to the RGB color
2896
space. If no document is open, returns the value of the named color
2897
from the default document colors.
2898
 
2899
May raise NotFoundError if the named color wasn&apos;t found.
2900
May raise ValueError if an invalid color name is specified.
6434 cbradney 2901
</source>
12918 cbradney 2902
        <translation type="obsolete">getColorAsRGB(&quot;nom&quot;) -&gt; tuple
2903
 
2904
Retourne un tuple (R,V,B) contenant les trois composantes de couleurs de
2905
la couleur &quot;nom&quot; du document courant, convertie dans l&apos;espace RVB. Si
2906
aucun document n&apos;est ouvert,retourne la valeur de la couleur &quot;nom&quot; des
2907
couleurs par défaut.
2908
 
2909
Lève une erreur NotFoundError si la couleur n&apos;est pas trouvée.
2910
Lève une erreur ValueError si le nom de couleur est invalide.</translation>
6434 cbradney 2911
    </message>
7508 cbradney 2912
    <message>
12918 cbradney 2913
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="64"/>
2914
        <source>changeColor(&quot;name&quot;, c, m, y, k)
7508 cbradney 2915
 
12918 cbradney 2916
Changes the color &quot;name&quot; to the specified CMYK value. The color value is
2917
defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black.
2918
Color components should be in the range from 0 to 255.
7508 cbradney 2919
 
12918 cbradney 2920
May raise NotFoundError if the named color wasn&apos;t found.
7508 cbradney 2921
May raise ValueError if an invalid color name is specified.
2922
</source>
12918 cbradney 2923
        <translation type="obsolete">changeColor(&quot;nom&quot;, c, m, j, k)
2924
 
2925
Change les valeurs c,m,j et n de la couleur &quot;nom&quot;. La couleur est définie par
2926
les quatres composantes c = Cyan, m = Magenta, j = Jaune, N = Noir.
2927
Chaque composante a une valeur comprise entre 0 et 255.
2928
 
2929
Lève une erreur NotFoundError si la couleur n&apos;est pas trouvée.
2930
Lève une erreur ValueError si le nom de couleur est invalide.</translation>
7508 cbradney 2931
    </message>
2932
    <message>
12918 cbradney 2933
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="94"/>
2934
        <source>deleteColor(&quot;name&quot;, &quot;replace&quot;)
7508 cbradney 2935
 
12918 cbradney 2936
Deletes the color &quot;name&quot;. Every occurence of that color is replaced by the
2937
color &quot;replace&quot;. If not specified, &quot;replace&quot; defaults to the color
2938
&quot;None&quot; - transparent.
2939
 
2940
deleteColor works on the default document colors if there is no document open.
2941
In that case, &quot;replace&quot;, if specified, has no effect.
2942
 
2943
May raise NotFoundError if a named color wasn&apos;t found.
2944
May raise ValueError if an invalid color name is specified.
7508 cbradney 2945
</source>
12918 cbradney 2946
        <translation type="obsolete">deleteColor(&quot;nom&quot;, &quot;subsitution&quot;)
2947
 
2948
Supprime la couleur &quot;nom&quot;. Chaque occurrence de la couleur est remplacée
2949
par la couleur &quot;substitution&quot;. Si cette dernière n&apos;est pas spécifiée, la couleur
2950
de remplacement sera &quot;None&quot;, c&apos;est à dire transparent.
2951
 
2952
La fonction deleteColor travaille sur les couleurs par défaut si aucun document
2953
n&apos;est ouvert. Dans ce cas, &quot;substitution&quot; n&apos;a aucun effet.
2954
 
2955
Lève une erreur NotFoundError si la couleur n&apos;est pas trouvée.
2956
Lève une erreur ValueError si le nom de couleur est invalide.</translation>
7508 cbradney 2957
    </message>
2958
    <message>
12918 cbradney 2959
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="106"/>
2960
        <source>replaceColor(&quot;name&quot;, &quot;replace&quot;)
7508 cbradney 2961
 
12918 cbradney 2962
Every occurence of the color &quot;name&quot; is replaced by the color &quot;replace&quot;.
2963
 
2964
May raise NotFoundError if a named color wasn&apos;t found.
2965
May raise ValueError if an invalid color name is specified.
7508 cbradney 2966
</source>
12918 cbradney 2967
        <translation type="obsolete">replaceColor(&quot;nom&quot;, &quot;substitution&quot;)
2968
 
2969
Remplace chaque occurrence de la couleur &quot;nom&quot; par la couleur &quot;substitution&quot;.
2970
 
2971
Lève une erreur NotFoundError si la couleur n&apos;est pas trouvée.
2972
Lève une erreur ValueError si le nom de couleur est invalide.</translation>
7508 cbradney 2973
    </message>
2974
    <message>
12918 cbradney 2975
        <location filename="../../scribus/plugins/scriptplugin/cmddialog.h" line="111"/>
2976
        <source>newStyleDialog() -&gt; string
7508 cbradney 2977
 
12918 cbradney 2978
Shows &apos;Create new paragraph style&apos; dialog. Function returns real
2979
style name or None when user cancels the dialog.
7508 cbradney 2980
</source>
12918 cbradney 2981
        <translation type="obsolete">newStyleDialog() -&gt; chaîne
2982
 
2983
Affiche le dialogue de création d&apos;un nouveau style de paragraphe.
2984
Retourne le nom du nouveau style ou None si l&apos;utilisateur annule.
2985
</translation>
7508 cbradney 2986
    </message>
2987
    <message>
12918 cbradney 2988
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="96"/>
2989
        <source>newDoc(size, margins, orientation, firstPageNumber,
2990
                   unit, facingPages, firstSideLeft) -&gt; bool
7508 cbradney 2991
 
12918 cbradney 2992
WARNING: Obsolete procedure! Use newDocument instead.
7508 cbradney 2993
 
12918 cbradney 2994
Creates a new document and returns true if successful. The parameters have the
2995
following meaning:
2996
 
2997
    size = A tuple (width, height) describing the size of the document. You can
2998
    use predefined constants named PAPER_&lt;paper_type&gt; e.g. PAPER_A4 etc.
2999
 
3000
    margins = A tuple (left, right, top, bottom) describing the document
3001
    margins
3002
 
3003
    orientation = the page orientation - constants PORTRAIT, LANDSCAPE
3004
 
3005
    firstPageNumer = is the number of the first page in the document used for
3006
    pagenumbering. While you&apos;ll usually want 1, it&apos;s useful to have higher
3007
    numbers if you&apos;re creating a document in several parts.
3008
 
3009
    unit: this value sets the measurement units used by the document. Use a
3010
    predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
3011
    UNIT_PICAS, UNIT_POINTS.
3012
 
3013
    facingPages = FACINGPAGES, NOFACINGPAGES
3014
 
3015
    firstSideLeft = FIRSTPAGELEFT, FIRSTPAGERIGHT
3016
 
3017
The values for width, height and the margins are expressed in the given unit
3018
for the document. PAPER_* constants are expressed in points. If your document
3019
is not in points, make sure to account for this.
3020
 
3021
example: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS,
3022
                FACINGPAGES, FIRSTPAGERIGHT)
7508 cbradney 3023
</source>
12918 cbradney 3024
        <translation type="obsolete">newDoc(taille, marges, orientation, numeroPremierePage,
3025
                   unité, pagesRegard, firstSideLeft) -&gt; booléen
3026
 
3027
ATTENTION : FONCTION OBSOLETE, utiliser newDocument à la place !
3028
 
3029
Creates a new document and returns true if successful. The parameters have the
3030
following meaning:
3031
 
3032
    size = A tuple (width, height) describing the size of the document. You can
3033
    use predefined constants named PAPER_&lt;paper_type&gt; e.g. PAPER_A4 etc.
3034
 
3035
    margins = A tuple (left, right, top, bottom) describing the document
3036
    margins
3037
 
3038
    orientation = the page orientation - constants PORTRAIT, LANDSCAPE
3039
 
3040
    firstPageNumer = is the number of the first page in the document used for
3041
    pagenumbering. While you&apos;ll usually want 1, it&apos;s useful to have higher
3042
    numbers if you&apos;re creating a document in several parts.
3043
 
3044
    unit: this value sets the measurement units used by the document. Use a
3045
    predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
3046
    UNIT_PICAS, UNIT_POINTS.
3047
 
3048
    facingPages = FACINGPAGES, NOFACINGPAGES
3049
 
3050
    firstSideLeft = FIRSTPAGELEFT, FIRSTPAGERIGHT
3051
 
3052
The values for width, height and the margins are expressed in the given unit
3053
for the document. PAPER_* constants are expressed in points. If your document
3054
is not in points, make sure to account for this.
3055
 
3056
example: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS,
3057
                FACINGPAGES, FIRSTPAGERIGHT)
3058
</translation>
7508 cbradney 3059
    </message>
3060
    <message>
12918 cbradney 3061
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="108"/>
3062
        <source>closeDoc()
7508 cbradney 3063
 
12918 cbradney 3064
Closes the current document without prompting to save.
7508 cbradney 3065
 
12918 cbradney 3066
May throw NoDocOpenError if there is no document to close
7508 cbradney 3067
</source>
12918 cbradney 3068
        <translation type="obsolete">closeDoc()
3069
 
3070
Ferme le document en cours sans demande de confirmation de sauvegarde.
3071
 
3072
Lève l&apos;erreur NoDocOpenError s&apos;il n&apos;y a pas de document à fermer
3073
</translation>
7508 cbradney 3074
    </message>
3075
    <message>
12918 cbradney 3076
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="117"/>
3077
        <source>haveDoc() -&gt; bool
7508 cbradney 3078
 
12918 cbradney 3079
Returns true if there is a document open.
3080
</source>
3081
        <translation type="obsolete">haveDoc() -&gt; booléen
7508 cbradney 3082
 
12918 cbradney 3083
Retourne vrai si un document est ouvert.</translation>
3084
    </message>
3085
    <message>
3086
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="128"/>
3087
        <source>openDoc(&quot;name&quot;)
3088
 
3089
Opens the document &quot;name&quot;.
3090
 
3091
May raise ScribusError if the document could not be opened.
7508 cbradney 3092
</source>
12918 cbradney 3093
        <translation type="obsolete">openDoc(&quot;nom&quot;)
3094
 
3095
Ouvre le document &quot;nom&quot;.
3096
 
3097
Lève l&apos;erreur ScribusError si le document ne peut pas être ouvert.
3098
</translation>
7508 cbradney 3099
    </message>
9005 cbradney 3100
    <message>
12918 cbradney 3101
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="141"/>
3102
        <source>saveDoc()
9005 cbradney 3103
 
12918 cbradney 3104
Saves the current document with its current name, returns true if successful.
3105
If the document has not already been saved, this may bring up an interactive
3106
save file dialog.
9005 cbradney 3107
 
12918 cbradney 3108
If the save fails, there is currently no way to tell.
9005 cbradney 3109
</source>
12918 cbradney 3110
        <translation type="obsolete">saveDoc()
3111
 
3112
Enregistre le document courant avec son nom actuel et retourne vrai en cas de succès.
3113
Si le document n&apos;a pas encore été sauvegardé, le dialogue d&apos;enregistrement de fichiers
3114
sera ouvert.
3115
 
3116
Il n&apos;y a actuellement pas de moyen de savoir si l&apos;enregistrement échoue.</translation>
9005 cbradney 3117
    </message>
3118
    <message>
12918 cbradney 3119
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="152"/>
3120
        <source>saveDocAs(&quot;name&quot;)
9005 cbradney 3121
 
12918 cbradney 3122
Saves the current document under the new name &quot;name&quot; (which may be a full or
3123
relative path).
9005 cbradney 3124
 
12918 cbradney 3125
May raise ScribusError if the save fails.
9005 cbradney 3126
</source>
12918 cbradney 3127
        <translation type="obsolete">saveDocAs(&quot;nom&quot;)
3128
 
3129
Enregistre le document courant sous le nom &quot;nom&quot; (qui peut contenir un chemin
3130
complet ou relatif).
3131
 
3132
Lève l&apos;erreur ScribusError si l&apos;enregistrement échoue.</translation>
9005 cbradney 3133
    </message>
3134
    <message>
12918 cbradney 3135
        <location filename="" line="136953768"/>
3136
        <source>setMargins(lr, rr, tr, br)
9005 cbradney 3137
 
12918 cbradney 3138
Sets the margins of the document, Left(lr), Right(rr), Top(tr) and Bottom(br)
3139
margins are given in the measurement units of the document - see UNIT_&lt;type&gt;
3140
constants.
3141
</source>
3142
        <translation type="obsolete">setMargins(gr, dr, hr, br)
9005 cbradney 3143
 
12918 cbradney 3144
Définit les marges du document, gauche (gr), droite (dr), haut (hr) et bas (br)
3145
Les marges utilisent l&apos;unité de mesure du document, voir les constantes
3146
UNIT_&lt;type&gt;.
3147
</translation>
3148
    </message>
3149
    <message>
3150
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="185"/>
3151
        <source>setUnit(type)
3152
 
3153
Changes the measurement unit of the document. Possible values for &quot;unit&quot; are
3154
defined as constants UNIT_&lt;type&gt;.
3155
 
3156
May raise ValueError if an invalid unit is passed.
9005 cbradney 3157
</source>
12918 cbradney 3158
        <translation type="obsolete">setUnit(type)
3159
 
3160
Change l&apos;unité de mesure du document. Les valeurs possibles pour l&apos;unité sont
3161
définies par les constantes UNIT_&lt;type&gt;.
3162
 
3163
Lève une erreur ValueError si une unité invalide est fournie.
3164
</translation>
9005 cbradney 3165
    </message>
3166
    <message>
12918 cbradney 3167
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="196"/>
3168
        <source>getUnit() -&gt; integer (Scribus unit constant)
9005 cbradney 3169
 
12918 cbradney 3170
Returns the measurement units of the document. The returned value will be one
3171
of the UNIT_* constants:
3172
UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.
3173
</source>
3174
        <translation type="obsolete">getUnit() -&gt; entier (constante Scribus)
9005 cbradney 3175
 
12918 cbradney 3176
Retourne l&apos;unité de mesure du document. La valeur retournée sera l&apos;une des
3177
constantes UNIT_* :
3178
UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.</translation>
3179
    </message>
3180
    <message>
3181
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="206"/>
3182
        <source>loadStylesFromFile(&quot;filename&quot;)
3183
 
3184
Loads paragraph styles from the Scribus document at &quot;filename&quot; into the
3185
current document.
9005 cbradney 3186
</source>
12918 cbradney 3187
        <translation type="obsolete">loadStylesFromFile(&quot;fichier&quot;)
3188
 
3189
Charge les styles de paragraphe depuis le document Scribus nommé &quot;fichier&quot;.
3190
</translation>
9005 cbradney 3191
    </message>
3192
    <message>
12918 cbradney 3193
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="226"/>
3194
        <source>closeMasterPage()
9005 cbradney 3195
 
12918 cbradney 3196
Closes the currently active master page, if any, and returns editing
3197
to normal. Begin editing with editMasterPage().
9005 cbradney 3198
</source>
12918 cbradney 3199
        <translation type="obsolete">closeMasterPage()
3200
 
3201
Ferme le gabarit actuellement actif, s&apos;il y en a un, et retourne au mode d&apos;édition
3202
normal. L&apos;édition d&apos;un gabarit débute par editMasterPage().</translation>
9005 cbradney 3203
    </message>
3204
    <message>
12918 cbradney 3205
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="233"/>
3206
        <source>masterPageNames()
9005 cbradney 3207
 
12918 cbradney 3208
Returns a list of the names of all master pages in the document.
9005 cbradney 3209
</source>
12918 cbradney 3210
        <translation type="obsolete">masterPageNames()
3211
 
3212
Retourne une liste contenant les noms des gabarits existant dans le document.</translation>
9005 cbradney 3213
    </message>
3214
    <message>
12918 cbradney 3215
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="241"/>
3216
        <source>editMasterPage(pageName)
9005 cbradney 3217
 
12918 cbradney 3218
Enables master page editing and opens the named master page
3219
for editing. Finish editing with closeMasterPage().
9005 cbradney 3220
</source>
12918 cbradney 3221
        <translation type="obsolete">editMasterPage(nomGabarit)
3222
 
3223
Active l&apos;édition du gabarit nommé &quot;nomGabarit&quot;. L&apos;édition du gabarit se
3224
termine par closeMasterPage().</translation>
9005 cbradney 3225
    </message>
3226
    <message>
12918 cbradney 3227
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="249"/>
3228
        <source>createMasterPage(pageName)
9005 cbradney 3229
 
12918 cbradney 3230
Creates a new master page named pageName and opens it for
3231
editing.
3232
</source>
3233
        <translation type="obsolete">createMasterPage(nomGabarit)
3234
 
3235
Crée un nouveau gabarit nommé nomGabarit et l&apos;ouvre pour édition.</translation>
3236
    </message>
3237
    <message>
3238
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="256"/>
3239
        <source>deleteMasterPage(pageName)
3240
 
3241
Delete the named master page.
3242
</source>
3243
        <translation type="obsolete">deleteMasterPage(nomGabarit)
3244
 
3245
Supprime le gabarit nommé nomGabarit.</translation>
3246
    </message>
3247
    <message>
3248
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="51"/>
3249
        <source>getLineColor([&quot;name&quot;]) -&gt; string
3250
 
3251
Returns the name of the line color of the object &quot;name&quot;.
9005 cbradney 3252
If &quot;name&quot; is not given the currently selected item is used.
3253
</source>
12918 cbradney 3254
        <translation type="obsolete">getLineColor([&quot;nom&quot;&quot;]) -&gt; chaîne
3255
 
3256
Retourne le nom de la couleur de filet de l&apos;objet &quot;nom&quot;.
3257
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.</translation>
9005 cbradney 3258
    </message>
3259
    <message>
12918 cbradney 3260
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="81"/>
3261
        <source>getLineWidth([&quot;name&quot;]) -&gt; integer
9005 cbradney 3262
 
12918 cbradney 3263
Returns the line width of the object &quot;name&quot;. If &quot;name&quot;
3264
is not given the currently selected Item is used.
3265
</source>
3266
        <translation type="obsolete">getLineWidth([&quot;nom&quot;]) -&gt; entier
9005 cbradney 3267
 
12918 cbradney 3268
Retourne l&apos;épaisseur de filet de l&apos;objet &quot;nom&quot;.
3269
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.</translation>
3270
    </message>
3271
    <message>
3272
        <location filename="../plugins/scriptplugin/cmdgetprop.h" line="102"/>
3273
        <source>getLineJoin([&quot;name&quot;]) -&gt; integer (see contants)
3274
 
3275
Returns the line join style of the object &quot;name&quot;. If &quot;name&quot; is not given
3276
the currently selected item is used.  The join types are:
3277
JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND
9005 cbradney 3278
</source>
12918 cbradney 3279
        <translation type="obsolete">getLineJoin([&quot;nom&quot;]) -&gt; entier (voir constantes)
9300 jghali 3280
 
12918 cbradney 3281
Retourne le type d&apos;angle des filets de l&apos;objet &quot;nom&quot;. Si &quot;nom&quot; est omis,
3282
l&apos;objet actuellement sélectionné est utilisé.  Les types d&apos;angles sont :
3283
JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND</translation>
3284
    </message>
3285
    <message>
3286
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="113"/>
3287
        <source>getLineEnd([&quot;name&quot;]) -&gt; integer (see constants)
9300 jghali 3288
 
12918 cbradney 3289
Returns the line cap style of the object &quot;name&quot;. If &quot;name&quot; is not given the
3290
currently selected item is used. The cap types are:
3291
CAP_FLAT, CAP_ROUND, CAP_SQUARE
3292
</source>
3293
        <translation type="obsolete">getLineEnd([&quot;nom&quot;]) -&gt; entier (voir constantes)
3294
 
3295
Retourne le type de terminaison des filets de l&apos;objet &quot;nom&quot;. Si &quot;nom&quot; est omis,
3296
l&apos;objet actuellement sélectionné est utilisé.  Les types de terminaisons sont :
3297
CAP_FLAT, CAP_ROUND, CAP_SQUARE</translation>
3298
    </message>
3299
    <message>
3300
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="124"/>
3301
        <source>getLineStyle([&quot;name&quot;]) -&gt; integer (see constants)
3302
 
3303
Returns the line style of the object &quot;name&quot;. If &quot;name&quot; is not given the
3304
currently selected item is used. Line style constants are:
3305
LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
3306
</source>
3307
        <translation type="obsolete">getLineStyle([&quot;nom&quot;]) -&gt; entier (voir constantes)
3308
 
3309
Retourne le type de filet des filets de l&apos;objet &quot;nom&quot;. Si &quot;nom&quot; est omis,
3310
l&apos;objet actuellement sélectionné est utilisé.  Les types de filets sont :
3311
LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
9300 jghali 3312
</translation>
9005 cbradney 3313
    </message>
3314
    <message>
12918 cbradney 3315
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="155"/>
3316
        <source>getImageScale([&quot;name&quot;]) -&gt; (x,y)
9005 cbradney 3317
 
12918 cbradney 3318
Returns a (x, y) tuple containing the scaling values of the image frame
3319
&quot;name&quot;.  If &quot;name&quot; is not given the currently selected item is used.
3320
</source>
3321
        <translation type="obsolete">getImageScale([&quot;nom&quot;]) -&gt; (x,y)
9005 cbradney 3322
 
12918 cbradney 3323
Retourne un tuple (x,y) contenant les valeurs d&apos;échelle du cadre d&apos;image &quot;nom&quot;.
3324
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.</translation>
3325
    </message>
3326
    <message>
3327
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="165"/>
3328
        <source>getImageName([&quot;name&quot;]) -&gt; string
3329
 
3330
Returns the filename for the image in the image frame. If &quot;name&quot; is not
3331
given the currently selected item is used.
9005 cbradney 3332
</source>
12918 cbradney 3333
        <translation type="obsolete">getImageName([&quot;nom&quot;]) -&gt; chaîne
9300 jghali 3334
 
12918 cbradney 3335
Retourne le nom de fichier de l&apos;image présente dans le cadre d&apos;image &quot;nom&quot;.
3336
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.
9300 jghali 3337
</translation>
9005 cbradney 3338
    </message>
3339
    <message>
12918 cbradney 3340
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="189"/>
3341
        <source>getSize([&quot;name&quot;]) -&gt; (width,height)
9005 cbradney 3342
 
12918 cbradney 3343
Returns a (width, height) tuple with the size of the object &quot;name&quot;.
3344
If &quot;name&quot; is not given the currently selected item is used. The size is
3345
expressed in the current measurement unit of the document - see UNIT_&lt;type&gt;
3346
for reference.
3347
</source>
3348
        <translation type="obsolete">getSize([&quot;nom&quot;]) -&gt; (hauteur,largeur)
9005 cbradney 3349
 
12918 cbradney 3350
Retourne un tuple (hauteur,largeur) contenant la taille de l&apos;objet &quot;nom&quot;.
3351
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé. La taille est
3352
exprimée dans l&apos;unité de mesure actuelle du document
3353
- voir UNIT_&lt;type&gt; à titre de référence.</translation>
3354
    </message>
3355
    <message>
3356
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="200"/>
3357
        <source>getRotation([&quot;name&quot;]) -&gt; integer
3358
 
3359
Returns the rotation of the object &quot;name&quot;. The value is expressed in degrees,
3360
and clockwise is positive. If &quot;name&quot; is not given the currently selected item
3361
is used.
9005 cbradney 3362
</source>
12918 cbradney 3363
        <translation type="obsolete">getRotation([&quot;nom&quot;]) -&gt; entier
9300 jghali 3364
 
12918 cbradney 3365
Retourne l&apos;angle de rotation de l&apos;objet &quot;nom&quot;. La valeur est exprimée en degrés et est
3366
positive pour une rotation dans le sens des aiguilles d&apos;une montre. Si &quot;nom&quot; est omis,
3367
l&apos;objet actuellement sélectionné est utilisé.</translation>
3368
    </message>
3369
    <message>
3370
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="209"/>
3371
        <source>getAllObjects() -&gt; list
9300 jghali 3372
 
12918 cbradney 3373
Returns a list containing the names of all objects on the current page.
3374
</source>
3375
        <translation type="obsolete">getAllObjects() -&gt; liste
3376
 
3377
Retourne une liste contenant les noms de tous les objets sur la page courante.</translation>
9005 cbradney 3378
    </message>
3379
    <message>
12918 cbradney 3380
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="35"/>
3381
        <source>moveObjectAbs(x, y [, &quot;name&quot;])
3382
 
3383
Moves the object &quot;name&quot; to a new location. The coordinates are expressed in
3384
the current measurement unit of the document (see UNIT constants).  If &quot;name&quot;
3385
is not given the currently selected item is used.  If the object &quot;name&quot;
3386
belongs to a group, the whole group is moved.
3387
</source>
3388
        <translation type="obsolete">moveObjectAbs(x, y [, &quot;nom&quot;])
3389
 
3390
Déplace l&apos;objet &quot;nom&quot; vers la nouvelle position. Les coordonnées sont à fournir dans l&apos;unité
3391
de mesure actuelle du document (voir constantes UNIT).  Si &quot;nom&quot; est omis, l&apos;objet
3392
actuellement sélectionné est utilisé.  Si l&apos;objet &quot;nom&quot; appartient à un groupe, le groupe
3393
entier est déplacé. </translation>
9005 cbradney 3394
    </message>
9729 cbradney 3395
    <message>
12918 cbradney 3396
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="69"/>
3397
        <source>sizeObject(width, height [, &quot;name&quot;])
10166 cbradney 3398
 
12918 cbradney 3399
Resizes the object &quot;name&quot; to the given width and height. If &quot;name&quot;
3400
is not given the currently selected item is used.
10166 cbradney 3401
</source>
12918 cbradney 3402
        <translation type="obsolete">sizeObject(hauteur, largeur [, &quot;nom&quot;])
3403
 
3404
Redimensionne l&apos;objet &quot;nom&quot; en lui attribuant &quot;hauteur&quot; et &quot;largeur&quot;.
3405
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.</translation>
10166 cbradney 3406
    </message>
3407
    <message>
12918 cbradney 3408
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="80"/>
3409
        <source>getSelectedObject([nr]) -&gt; string
9729 cbradney 3410
 
12918 cbradney 3411
Returns the name of the selected object. &quot;nr&quot; if given indicates the number
3412
of the selected object, e.g. 0 means the first selected object, 1 means the
3413
second selected Object and so on.
3414
</source>
3415
        <translation type="obsolete">getSelectedObject([nr]) -&gt; chaîne
9729 cbradney 3416
 
12918 cbradney 3417
Retourne le nom de l&apos;objet sélectionné. Si &quot;nr&quot; est fourni, il indique l&apos;objet
3418
sélectionné : 0 indique le premier objet sélectionné, 1 le second objet
3419
sélectionné et ainsi de suite.</translation>
3420
    </message>
3421
    <message>
3422
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="89"/>
3423
        <source>selectionCount() -&gt; integer
9729 cbradney 3424
 
12918 cbradney 3425
Returns the number of selected objects.
3426
</source>
3427
        <translation type="obsolete">selectionCount() -&gt; entier
9729 cbradney 3428
 
12918 cbradney 3429
Retourne le nombre d&apos;objets sélectionnés.</translation>
3430
    </message>
3431
    <message>
3432
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="98"/>
3433
        <source>selectObject(&quot;name&quot;)
3434
 
3435
Selects the object with the given &quot;name&quot;.
9729 cbradney 3436
</source>
12918 cbradney 3437
        <translation type="obsolete">selectObject(&quot;nom&quot;)
3438
 
3439
Sélectionne l&apos;objet nommé &quot;nom&quot;.</translation>
9729 cbradney 3440
    </message>
10842 cbradney 3441
    <message>
12918 cbradney 3442
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="107"/>
3443
        <source>deselectAll()
10842 cbradney 3444
 
12918 cbradney 3445
Deselects all objects in the whole document.
10842 cbradney 3446
</source>
12918 cbradney 3447
        <translation type="obsolete">deselectAll()
3448
 
3449
Désélectionne tous les objets dans le document entier.</translation>
10842 cbradney 3450
    </message>
3451
    <message>
12918 cbradney 3452
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="118"/>
3453
        <source>groupObjects(list)
10842 cbradney 3454
 
12918 cbradney 3455
Groups the objects named in &quot;list&quot; together. &quot;list&quot; must contain the names
3456
of the objects to be grouped. If &quot;list&quot; is not given the currently selected
3457
items are used.
10842 cbradney 3458
</source>
12918 cbradney 3459
        <translation type="obsolete">groupObjects(liste)
3460
 
3461
Groupe les objets dont le nom est fourni dans &quot;liste&quot;. &quot;liste&quot; doit contenir le
3462
nom des objets à grouper. Si &quot;liste&quot; est omis, les objets actuellement
3463
sélectionnés sont utilisés.</translation>
10842 cbradney 3464
    </message>
3465
    <message>
12918 cbradney 3466
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="126"/>
3467
        <source>unGroupObjects(&quot;name&quot;)
10842 cbradney 3468
 
12918 cbradney 3469
Destructs the group the object &quot;name&quot; belongs to.If &quot;name&quot; is not given the currently selected item is used.</source>
3470
        <translation type="obsolete">unGroupObjects(&quot;nom&quot;)
10842 cbradney 3471
 
12918 cbradney 3472
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>
3473
    </message>
3474
    <message>
3475
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="141"/>
3476
        <source>scaleGroup(factor [,&quot;name&quot;])
3477
 
3478
Scales the group the object &quot;name&quot; belongs to. Values greater than 1 enlarge
3479
the group, values smaller than 1 make the group smaller e.g a value of 0.5
3480
scales the group to 50 % of its original size, a value of 1.5 scales the group
3481
to 150 % of its original size.  The value for &quot;factor&quot; must be greater than
3482
0. If &quot;name&quot; is not given the currently selected item is used.
3483
 
3484
May raise ValueError if an invalid scale factor is passed.
10842 cbradney 3485
</source>
12918 cbradney 3486
        <translation type="obsolete">scaleGroup(facteur [,&quot;nom&quot;])
3487
 
3488
Modifie l&apos;échelle du groupe auquel l&apos;objet &quot;nom&quot; appartient. Les facteurs supérieurs
3489
à 1 agrandissent le groupe, et les valeurs inférieures à 1 le réduisent; une valeur de
3490
0.5 redimensionne le groupe à 50% de sa taille d&apos;origine, et une valeur de 1.5 le
3491
redimensionne à 150% de sa taille d&apos;origine.  &quot;facteur&quot; doit être supérieur à 0.
3492
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.
3493
 
3494
Lève l&apos;erreur ValueError si un facteur invalide est fourni.</translation>
10842 cbradney 3495
    </message>
3496
    <message>
12918 cbradney 3497
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="153"/>
3498
        <source>loadImage(&quot;filename&quot; [, &quot;name&quot;])
10842 cbradney 3499
 
12918 cbradney 3500
Loads the picture &quot;picture&quot; into the image frame &quot;name&quot;. If &quot;name&quot; is
3501
not given the currently selected item is used.
10842 cbradney 3502
 
12918 cbradney 3503
May raise WrongFrameTypeError if the target frame is not an image frame
10842 cbradney 3504
</source>
12918 cbradney 3505
        <translation type="obsolete">loadImage(&quot;fichier&quot; [, &quot;nom&quot;])
3506
 
3507
Charge l&apos;image &quot;fichier&quot; dans le cadre d&apos;image &quot;nom&quot;.  Si &quot;nom&quot; est omis,
3508
l&apos;objet actuellement sélectionné est utilisé.
3509
 
3510
Lève l&apos;erreur WrongFrameTypeError si l&apos;objet n&apos;est pas un cadre d&apos;image
3511
</translation>
10842 cbradney 3512
    </message>
11652 cbradney 3513
    <message>
12918 cbradney 3514
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="166"/>
3515
        <source>scaleImage(x, y [, &quot;name&quot;])
11652 cbradney 3516
 
12918 cbradney 3517
Sets the scaling factors of the picture in the image frame &quot;name&quot;.
3518
If &quot;name&quot; is not given the currently selected item is used. A number of 1
3519
means 100 %.
3520
 
3521
May raise WrongFrameTypeError if the target frame is not an image frame
11652 cbradney 3522
</source>
12918 cbradney 3523
        <translation type="obsolete">scaleImage(x, y [, &quot;nom&quot;])
3524
 
3525
Définit la mise à l&apos;échelle de l&apos;image présente dans le cadre &quot;nom&quot;.
3526
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé. Une valeur de 1
3527
signifie 100%
3528
 
3529
Lève l&apos;erreur WrongFrameTypeError si l&apos;objet n&apos;est pas un cadre d&apos;image
3530
</translation>
11652 cbradney 3531
    </message>
3532
    <message>
12918 cbradney 3533
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="177"/>
3534
        <source>lockObject([&quot;name&quot;]) -&gt; bool
11652 cbradney 3535
 
12918 cbradney 3536
Locks the object &quot;name&quot; if it&apos;s unlocked or unlock it if it&apos;s locked.
3537
If &quot;name&quot; is not given the currently selected item is used. Returns true
3538
if locked.
11652 cbradney 3539
</source>
12918 cbradney 3540
        <translation type="obsolete">lockObject([&quot;nom]) -&gt; booléen
3541
 
3542
Verrouille l&apos;objet &quot;nom&quot; s&apos;il est déverouillé, ou le déverouille s&apos;il est verrouillé.
3543
Si &quot;nom&quot; est omis, l&apos;objet actuellement sélectionné est utilisé.
3544
Retourne vrai si l&apos;objet est verrouillé.
3545
</translation>
11652 cbradney 3546
    </message>
3547
    <message>
12918 cbradney 3548
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="187"/>
3549
        <source>isLocked([&quot;name&quot;]) -&gt; bool
11652 cbradney 3550
 
12918 cbradney 3551
Returns true if is the object &quot;name&quot; locked.  If &quot;name&quot; is not given the
3552
currently selected item is used.
11652 cbradney 3553
</source>
12918 cbradney 3554
        <translation type="obsolete">isLocked([&quot;nom&quot;]) -&gt; booléen
3555
 
3556
Retourne vrai si l&apos;objet &quot;nom&quot; est verrouillé. Si &quot;nom&quot; est omis, l&apos;objet
3557
actuellement sélectionné est utilisé. </translation>
11652 cbradney 3558
    </message>
3559
    <message>
12918 cbradney 3560
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="199"/>
3561
        <source>setScaleImageToFrame(scaletoframe, proportional=None, name=&lt;selection&gt;)
11652 cbradney 3562
 
12918 cbradney 3563
Sets the scale to frame on the selected or specified image frame to `scaletoframe&apos;.
3564
If `proportional&apos; is specified, set fixed aspect ratio scaling to `proportional&apos;.
3565
Both `scaletoframe&apos; and `proportional&apos; are boolean.
11652 cbradney 3566
 
12918 cbradney 3567
May raise WrongFrameTypeError.
3568
</source>
3569
        <translation type="obsolete">setScaleImageToFrame(dimensionscadre, proportionnel=None, nom=&lt;selection&gt;)
11652 cbradney 3570
 
12918 cbradney 3571
Permet de mettre l&apos;image aux dimensions du cadre si &quot;dimensionscadre&quot; est vrai.
3572
Si &quot;proportionnel&quot; est vrai, le ratio d&apos;aspect de l&apos;image est conservé.
3573
&quot;dimensionscadre&quot; et &quot;proportionnel&quot; sont des booléens.
11652 cbradney 3574
 
12918 cbradney 3575
Peut lever l&apos;erreur WrongFrameTypeError.</translation>
3576
    </message>
3577
    <message>
3578
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="33"/>
3579
        <source>getFontNames() -&gt; list
11652 cbradney 3580
 
12918 cbradney 3581
Returns a list with the names of all available fonts.
3582
</source>
3583
        <translation type="obsolete">getFontNames() -&gt; liste
11652 cbradney 3584
 
12918 cbradney 3585
Retourne une liste contenant les noms de toutes les polices disponibles.
3586
</translation>