Subversion Repositories Scribus

Rev

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

Rev 12612 Rev 12918
Line 1... Line 1...
1
<?xml version="1.0" encoding="utf-8"?>
1
<?xml version="1.0" encoding="utf-8"?>
2
<!DOCTYPE TS><TS version="1.1">
2
<!DOCTYPE TS><TS version="1.1">
3
<context>
3
<context>
4
    <name>@default</name>
4
    <name></name>
5
    <message>
5
    <message>
-
 
6
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="21"/>
-
 
7
        <source>getColorNames() -&gt; list
-
 
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>
-
 
12
        <translation type="unfinished">getColorNames() -&gt; llista
-
 
13
 
-
 
14
Retorna una llista que conté els noms dels colors definits en el document.
-
 
15
Si no hi ha cap document obert, retorna una llista amb els colors per defecte.
-
 
16
</translation>
-
 
17
    </message>
-
 
18
    <message>
-
 
19
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="35"/>
-
 
20
        <source>getColor(&quot;name&quot;) -&gt; tuple
-
 
21
 
-
 
22
Returns a tuple (C, M, Y, K) containing the four color components of the
-
 
23
color &quot;name&quot; from the current document. If no document is open, returns
-
 
24
the value of the named color from the default document colors.
-
 
25
 
-
 
26
May raise NotFoundError if the named color wasn&apos;t found.
-
 
27
May raise ValueError if an invalid color name is specified.
-
 
28
</source>
-
 
29
        <translation type="unfinished">getColor(&quot;nom&quot;) -&gt; tupla
-
 
30
 
-
 
31
Retorna una tupla (C, M, Y, K) que conté els quatre components de color
-
 
32
de &quot;nom&quot; del document actual. Si no hi ha cap document obert, torna
-
 
33
el valor del color anomenat dels colors per defecte.
-
 
34
 
-
 
35
Pot produir un NotFoundError si no es troba el color.
-
 
36
Pot produir ValueError si s&apos;especifica un color invàl·lid.
-
 
37
</translation>
-
 
38
    </message>
-
 
39
    <message>
-
 
40
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="50"/>
-
 
41
        <source>getColorAsRGB(&quot;name&quot;) -&gt; tuple
-
 
42
 
-
 
43
Returns a tuple (R,G,B) containing the three color components of the
-
 
44
color &quot;name&quot; from the current document, converted to the RGB color
-
 
45
space. If no document is open, returns the value of the named color
-
 
46
from the default document colors.
-
 
47
 
-
 
48
May raise NotFoundError if the named color wasn&apos;t found.
-
 
49
May raise ValueError if an invalid color name is specified.
-
 
50
</source>
-
 
51
        <translation type="unfinished">getColorAsRGB(&quot;nom&quot;) -&gt; tupla
-
 
52
 
-
 
53
Retorna una tupla (R,G,B) que conté els tres components de color del
-
 
54
color &quot;nom&quot; que està en el document actual, convertit en un color RGB.
-
 
55
Si no hi ha cap document obert, retorna el valor del nom del color que
-
 
56
hi hagi en els colors per defecte.
-
 
57
 
-
 
58
Pot generar NotFoundError si la capa no es pot trobar.
-
 
59
Pot generar ValueError si el nom de la capa no és acceptable.</translation>
-
 
60
    </message>
-
 
61
    <message>
-
 
62
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="64"/>
-
 
63
        <source>changeColor(&quot;name&quot;, c, m, y, k)
-
 
64
 
-
 
65
Changes the color &quot;name&quot; to the specified CMYK value. The color value is
-
 
66
defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black.
-
 
67
Color components should be in the range from 0 to 255.
-
 
68
 
-
 
69
May raise NotFoundError if the named color wasn&apos;t found.
-
 
70
May raise ValueError if an invalid color name is specified.
-
 
71
</source>
-
 
72
        <translation type="unfinished">changeColor(&quot;nom&quot;, c, m, y, k)
-
 
73
 
-
 
74
Canvia el color &quot;nom&quot; a els valors CMYK. El valor del color està 
-
 
75
definit via els quatre components c=Cian, m=Magenta, y=Groc i k=Negre
-
 
76
Els colors del component han d&apos;estar dins del rang 0 a 255.
-
 
77
 
-
 
78
Pot produir un NotFoundError si no es troba el color.
-
 
79
Pot produir ValueError si s&apos;especifica un color erròni.</translation>
-
 
80
    </message>
-
 
81
    <message>
-
 
82
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="77"/>
-
 
83
        <source>defineColor(&quot;name&quot;, c, m, y, k)
-
 
84
 
-
 
85
Defines a new color &quot;name&quot;. The color Value is defined via four components:
-
 
86
c = Cyan, m = Magenta, y = Yellow and k = Black. Color components should be in
-
 
87
the range from 0 to 255.
-
 
88
 
-
 
89
May raise ValueError if an invalid color name is specified.
-
 
90
</source>
-
 
91
        <translation type="unfinished">defineColor(&quot;nom&quot;, c, m, y, k)
-
 
92
 
-
 
93
Defineix un nou color &quot;nom&quot;. El valor del color està definit amb els quatre components:
-
 
94
c=cian, m=Magenta, y=Groc i k=Negre. Els components de color han d&apos;estar dins
-
 
95
del rang que va des de 0 a 255.
-
 
96
 
-
 
97
Pot provocar un ValueError si s&apos;especifica un color invàlid.
-
 
98
</translation>
-
 
99
    </message>
-
 
100
    <message>
-
 
101
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="94"/>
-
 
102
        <source>deleteColor(&quot;name&quot;, &quot;replace&quot;)
-
 
103
 
-
 
104
Deletes the color &quot;name&quot;. Every occurence of that color is replaced by the
-
 
105
color &quot;replace&quot;. If not specified, &quot;replace&quot; defaults to the color
-
 
106
&quot;None&quot; - transparent.
-
 
107
 
-
 
108
deleteColor works on the default document colors if there is no document open.
-
 
109
In that case, &quot;replace&quot;, if specified, has no effect.
-
 
110
 
-
 
111
May raise NotFoundError if a named color wasn&apos;t found.
-
 
112
May raise ValueError if an invalid color name is specified.
-
 
113
</source>
-
 
114
        <translation type="unfinished">deleteColor(&quot;nom&quot;, &quot;canvi&quot;)
-
 
115
 
-
 
116
Esborra el color &quot;nom&quot;. Cada ocurrència d&apos;aquest color es canvia pel 
-
 
117
color &quot;canvi&quot;. Si no s&apos;especifica, &quot;canvi&quot; es canvia pel color &quot;cap&quot;
-
 
118
- transparent.
-
 
119
 
-
 
120
deleteColor treballa en els colors per defecte del document  si no n&apos;hi
-
 
121
ha cap d&apos;obert, encara que s&apos;especifiqui, no fa res.
-
 
122
 
-
 
123
Pot generar NotFoundError si no existeix el color.
-
 
124
Pot generar ValueError si s&apos;especifica un color invàlid.
-
 
125
</translation>
-
 
126
    </message>
-
 
127
    <message>
-
 
128
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="106"/>
-
 
129
        <source>replaceColor(&quot;name&quot;, &quot;replace&quot;)
-
 
130
 
-
 
131
Every occurence of the color &quot;name&quot; is replaced by the color &quot;replace&quot;.
-
 
132
 
-
 
133
May raise NotFoundError if a named color wasn&apos;t found.
-
 
134
May raise ValueError if an invalid color name is specified.
-
 
135
</source>
-
 
136
        <translation type="unfinished">replaceColor(&quot;nom&quot;, &quot;canvi&quot;)
-
 
137
 
-
 
138
Cada ocurrència del color &quot;name&quot; es canvia pel color &quot;canvi&quot;.
-
 
139
 
-
 
140
Pot generar un NotFoundError si no existeix el color.
-
 
141
Pot generar un ValueError si el color especificat és invalid.
-
 
142
</translation>
-
 
143
    </message>
-
 
144
    <message>
-
 
145
        <location filename="../../scribus/plugins/scriptplugin/cmddialog.h" line="22"/>
-
 
146
        <source>newDocDialog() -&gt; bool
-
 
147
 
-
 
148
Displays the &quot;New Document&quot; dialog box. Creates a new document if the user
-
 
149
accepts the settings. Does not create a document if the user presses cancel.
-
 
150
Returns true if a new document was created.
-
 
151
</source>
-
 
152
        <translation type="unfinished">newDocDialog() -&gt; bool
-
 
153
 
-
 
154
Mostra el diàleg &quot;Nou Document&quot;. Crea un nou document si l&apos;usuari accepta 
-
 
155
els paràmetres. No en fa cap en cas de que hagi triat cancel·lar. 
-
 
156
Retorna cert si s&apos;ha creat un nou document.
-
 
157
</translation>
-
 
158
    </message>
-
 
159
    <message>
-
 
160
        <location filename="../../scribus/plugins/scriptplugin/cmddialog.h" line="46"/>
-
 
161
        <source>fileDialog(&quot;caption&quot;, [&quot;filter&quot;, &quot;defaultname&quot;, haspreview, issave, isdir]) -&gt; string with filename
-
 
162
 
-
 
163
Shows a File Open dialog box with the caption &quot;caption&quot;. Files are filtered
-
 
164
with the filter string &quot;filter&quot;. A default filename or file path can also
-
 
165
supplied, leave this string empty when you don&apos;t want to use it.  A value of
-
 
166
True for haspreview enables a small preview widget in the FileSelect box.  When
-
 
167
the issave parameter is set to True the dialog acts like a &quot;Save As&quot; dialog
-
 
168
otherwise it acts like a &quot;File Open Dialog&quot;. When the isdir parameter is True
-
 
169
the dialog shows and returns only directories. The default for all of the
-
 
170
optional parameters is False.
-
 
171
 
-
 
172
The filter, if specified, takes the form &apos;comment (*.type *.type2 ...)&apos;.
-
 
173
For example &apos;Images (*.png *.xpm *.jpg)&apos;.
-
 
174
 
-
 
175
Refer to the Qt-Documentation for QFileDialog for details on filters.
-
 
176
 
-
 
177
Example: fileDialog(&apos;Open input&apos;, &apos;CSV files (*.csv)&apos;)
-
 
178
Example: fileDialog(&apos;Save report&apos;, defaultname=&apos;report.txt&apos;, issave=True)
-
 
179
</source>
-
 
180
        <translation type="unfinished"></translation>
-
 
181
    </message>
-
 
182
    <message>
-
 
183
        <location filename="../../scribus/plugins/scriptplugin/cmddialog.h" line="88"/>
-
 
184
        <source>messageBox(&quot;caption&quot;, &quot;message&quot;,
-
 
185
    icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT,
-
 
186
    button2=BUTTON_NONE, button3=BUTTON_NONE) -&gt; integer
-
 
187
 
-
 
188
Displays a message box with the title &quot;caption&quot;, the message &quot;message&quot;, and
-
 
189
an icon &quot;icon&quot; and up to 3 buttons. By default no icon is used and a single
-
 
190
button, OK, is displayed. Only the caption and message arguments are required,
-
 
191
though setting an icon and appropriate button(s) is strongly
-
 
192
recommended. The message text may contain simple HTML-like markup.
-
 
193
 
-
 
194
Returns the number of the button the user pressed. Button numbers start
-
 
195
at 1.
-
 
196
 
-
 
197
For the icon and the button parameters there are predefined constants available
-
 
198
with the same names as in the Qt Documentation. These are the BUTTON_* and
-
 
199
ICON_* constants defined in the module. There are also two extra constants that
-
 
200
can be binary-ORed with button constants:
-
 
201
    BUTTONOPT_DEFAULT   Pressing enter presses this button.
-
 
202
    BUTTONOPT_ESCAPE    Pressing escape presses this button.
-
 
203
 
-
 
204
Usage examples:
-
 
205
result = messageBox(&apos;Script failed&apos;,
-
 
206
                    &apos;This script only works when you have a text frame selected.&apos;,
-
 
207
                    ICON_ERROR)
-
 
208
result = messageBox(&apos;Monkeys!&apos;, &apos;Something went ook! &lt;i&gt;Was it a monkey?&lt;/i&gt;&apos;,
-
 
209
                    ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT,
-
 
210
                    BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE)
-
 
211
 
-
 
212
Defined button and icon constants:
-
 
213
BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO,
-
 
214
BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL,
-
 
215
ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL.
-
 
216
</source>
-
 
217
        <translation type="unfinished">messageBox(&quot;caption&quot;, &quot;missatge&quot;,
-
 
218
    icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT,
-
 
219
    button2=BUTTON_NONE, button3=BUTTON_NONE) -&gt; integer
-
 
220
 
-
 
221
Mostra un diàleg amb el títol de finestra &quot;caption&quot;, el missatge &quot;missatge&quot;, i 
-
 
222
una icona &quot;icon&quot; amb fins a 3 botons. Per defecte no es fa servir cap icona i
-
 
223
només un sol botó, OK. Només calen els textos de &quot;caption&quot; i de &quot;missatge&quot;,
-
 
224
per tant afegir una icona i els botons apropiats és molt 
-
 
225
recomanat. El missatge de text pot contenir tags HTML.
-
 
226
 
-
 
227
Retorna el número del botó que l&apos;usuari a premit. El número de botos comença
-
 
228
a 1.
-
 
229
 
-
 
230
Per la icona i pels paràmetres dels botons hi ha diverses constants predeterminades
-
 
231
amb els mateixos noms que a la documentació de Qt. Són constants BUTTON_* i
-
 
232
ICON_* definides al mòdul. També hi ha constants extres a les que poden fer
-
 
233
un OR binari amb constants de botó:
-
 
234
    BUTTONOPT_DEFAULT   Prement enter tria aquest botó.
-
 
235
    BUTTONOPT_ESCAPE    Prement escape tria aquest botó.
-
 
236
 
-
 
237
Exemples d&apos;ús:
-
 
238
result = messageBox(&apos;Script failed&apos;,
-
 
239
messageBox(&quot;caption&quot;, &quot;message&quot;,(new line)
-
 
240
(sp)(sp)(sp)(sp)icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT,(new line)
-
 
241
(sp)(sp)(sp)(sp)button2=BUTTON_NONE, button3=BUTTON_NONE) -&gt; integer(new line)
-
 
242
(new line)
-
 
243
Displays a message box with the title &quot;caption&quot;, the message &quot;message&quot;, and(new line)
-
 
244
an icon &quot;icon&quot; and up to 3 buttons. By default no icon is used and a single(new line)
-
 
245
button, OK, is displayed. Only the caption and message arguments are required,(new line)
-
 
246
though setting an icon and appropriate button(s) is strongly(new line)
-
 
247
recommended. The message text may contain simple HTML-like markup.(new line)
-
 
248
(new line)
-
 
249
Returns the number of the button the user pressed. Button numbers start(new line)
-
 
250
at 1.(new line)
-
 
251
(new line)
-
 
252
For the icon and the button parameters there are predefined constants available(new line)
-
 
253
with the same names as in the Qt Documentation. These are the BUTTON_* and(new line)
-
 
254
ICON_* constants defined in the module. There are also two extra constants that(new line)
-
 
255
can be binary-ORed with button constants:(new line)
-
 
256
(sp)(sp)(sp)(sp)BUTTONOPT_DEFAULT(sp)(sp)(sp)Pressing enter presses this button.(new line)
-
 
257
(sp)(sp)(sp)(sp)BUTTONOPT_ESCAPE(sp)(sp)(sp)(sp)Pressing escape presses this button.(new line)
-
 
258
(new line)
-
 
259
Usage examples:(new line)
-
 
260
result = messageBox(&apos;Script failed&apos;,(new line)
-
 
261
                    &apos;This script only works when you have a text frame selected.&apos;,
-
 
262
                    ICON_ERROR)
-
 
263
result = messageBox(&apos;Monkeys!&apos;, &apos;Something went ook! &lt;i&gt;Was it a monkey?&lt;/i&gt;&apos;,
-
 
264
                    ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT,
-
 
265
                    BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE)
-
 
266
 
-
 
267
Les constants de botó són: 
-
 
268
BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO,
-
 
269
BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL,
-
 
270
ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL.
-
 
271
</translation>
-
 
272
    </message>
-
 
273
    <message>
-
 
274
        <location filename="../../scribus/plugins/scriptplugin/cmddialog.h" line="101"/>
-
 
275
        <source>valueDialog(caption, message [,defaultvalue]) -&gt; string
-
 
276
 
-
 
277
Shows the common &apos;Ask for string&apos; dialog and returns its value as a string
-
 
278
Parameters: window title, text in the window and optional &apos;default&apos; value.
-
 
279
 
-
 
280
Example: valueDialog(&apos;title&apos;, &apos;text in the window&apos;, &apos;optional&apos;)
-
 
281
</source>
-
 
282
        <translation type="unfinished">valueDialog(caption, missatge, [,valorperdefecte]) -&gt; string
-
 
283
 
-
 
284
Mostra el diàleg comú &quot;Demana per cadena&quot; i retorna el seu valor.
-
 
285
Paràmetres: títol de finestra, text en la finestra i un valor per defecte opcional.
-
 
286
 
-
 
287
Exemple: valueDialog(&apos;titol&apos;, &apos;text en la finestra&apos;, &apos;opcional&apos;)
-
 
288
</translation>
-
 
289
    </message>
-
 
290
    <message>
-
 
291
        <location filename="../../scribus/plugins/scriptplugin/cmddialog.h" line="111"/>
-
 
292
        <source>newStyleDialog() -&gt; string
-
 
293
 
-
 
294
Shows &apos;Create new paragraph style&apos; dialog. Function returns real
-
 
295
style name or None when user cancels the dialog.
-
 
296
</source>
-
 
297
        <translation type="unfinished">newStyleDialog() -&gt; cadena de text
-
 
298
 
-
 
299
Mostra el quadre de diàleg &quot;Crear nou estil de paràgraf&apos;. Retorna el nom
-
 
300
real de l&apos;esti o res quan l&apos;usuari cancel·la el quadre de diàleg.</translation>
-
 
301
    </message>
-
 
302
    <message>
-
 
303
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="55"/>
-
 
304
        <source>newDocument(size, margins, orientation, firstPageNumber,
-
 
305
                        unit, pagesType, firstPageOrder, numPages) -&gt; bool
-
 
306
 
-
 
307
Creates a new document and returns true if successful. The parameters have the
-
 
308
following meaning:
-
 
309
 
-
 
310
size = A tuple (width, height) describing the size of the document. You can
-
 
311
use predefined constants named PAPER_&lt;paper_type&gt; e.g. PAPER_A4 etc.
-
 
312
 
-
 
313
margins = A tuple (left, right, top, bottom) describing the document
-
 
314
margins
-
 
315
 
-
 
316
orientation = the page orientation - constants PORTRAIT, LANDSCAPE
-
 
317
 
-
 
318
firstPageNumer = is the number of the first page in the document used for
-
 
319
pagenumbering. While you&apos;ll usually want 1, it&apos;s useful to have higher
-
 
320
numbers if you&apos;re creating a document in several parts.
-
 
321
 
-
 
322
unit: this value sets the measurement units used by the document. Use a
-
 
323
predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
-
 
324
UNIT_PICAS, UNIT_POINTS.
-
 
325
 
-
 
326
pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page,
-
 
327
PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and
-
 
328
PAGE_4 is 4-fold.
-
 
329
 
-
 
330
firstPageOrder = What is position of first page in the document.
-
 
331
Indexed from 0 (0 = first).
-
 
332
 
-
 
333
numPage = Number of pages to be created.
-
 
334
 
-
 
335
The values for width, height and the margins are expressed in the given unit
-
 
336
for the document. PAPER_* constants are expressed in points. If your document
-
 
337
is not in points, make sure to account for this.
-
 
338
 
-
 
339
example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS,
-
 
340
PAGE_4, 3, 1)
-
 
341
 
-
 
342
May raise ScribusError if is firstPageOrder bigger than allowed by pagesType.
-
 
343
</source>
-
 
344
        <translation type="unfinished"></translation>
-
 
345
    </message>
-
 
346
    <message>
-
 
347
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="96"/>
-
 
348
        <source>newDoc(size, margins, orientation, firstPageNumber,
-
 
349
                   unit, facingPages, firstSideLeft) -&gt; bool
-
 
350
 
-
 
351
WARNING: Obsolete procedure! Use newDocument instead.
-
 
352
 
-
 
353
Creates a new document and returns true if successful. The parameters have the
-
 
354
following meaning:
-
 
355
 
-
 
356
    size = A tuple (width, height) describing the size of the document. You can
-
 
357
    use predefined constants named PAPER_&lt;paper_type&gt; e.g. PAPER_A4 etc.
-
 
358
 
-
 
359
    margins = A tuple (left, right, top, bottom) describing the document
-
 
360
    margins
-
 
361
 
-
 
362
    orientation = the page orientation - constants PORTRAIT, LANDSCAPE
-
 
363
 
-
 
364
    firstPageNumer = is the number of the first page in the document used for
-
 
365
    pagenumbering. While you&apos;ll usually want 1, it&apos;s useful to have higher
-
 
366
    numbers if you&apos;re creating a document in several parts.
-
 
367
 
-
 
368
    unit: this value sets the measurement units used by the document. Use a
-
 
369
    predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
-
 
370
    UNIT_PICAS, UNIT_POINTS.
-
 
371
 
-
 
372
    facingPages = FACINGPAGES, NOFACINGPAGES
-
 
373
 
-
 
374
    firstSideLeft = FIRSTPAGELEFT, FIRSTPAGERIGHT
-
 
375
 
-
 
376
The values for width, height and the margins are expressed in the given unit
-
 
377
for the document. PAPER_* constants are expressed in points. If your document
-
 
378
is not in points, make sure to account for this.
-
 
379
 
-
 
380
example: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS,
-
 
381
                FACINGPAGES, FIRSTPAGERIGHT)
-
 
382
</source>
-
 
383
        <translation type="unfinished">newDoc(mida, marges, orientació, primerNúmeroPàgina,
-
 
384
                   unitats, PaginesAcarades, primeraPaginaEsquerra) -&gt; bool
-
 
385
 
-
 
386
AVIS: Procediment obsolet! Feu servir NewDocument.
-
 
387
 
-
 
388
Crea un nou document i retorna cert si tot ha anat bé. Els paràmetres tenen el 
-
 
389
següent significat:
-
 
390
 
-
 
391
    mida = Una parella (amplada, alçada) que descriu la mida del document. Pots
-
 
392
    fer servir constants predefinides com PAPER_&lt;tipus de paper&gt; ex. PAPER_A4 etc.
-
 
393
 
-
 
394
    marges = Una agrupació (esquerra, dreta, dalt, baix) que descriu els marges
-
 
395
    del document.
-
 
396
 
-
 
397
    orientació = la orientació de la pàgina - constants PORTRAIT, LANDSCAPE
-
 
398
 
-
 
399
    PrimerNúmeroPàgina = és el número de la primera pàgina en el document que farem
-
 
400
    servir per numerar les pàgines. Encara que normalment es farà servir 1, a vegades
-
 
401
    es útil poder posar números més grans si es creen documents en parts.
-
 
402
 
-
 
403
    unitats : aquest valor estableix les unitats que el document farà servir. Cal usar una 
-
 
404
    constant predefinida, pot ser una de: UNIT_INCHES, UNIT_MILLIMETERS, 
-
 
405
    UNIT_PICAS, UNIT_POINTS.
-
 
406
 
-
 
407
    PàginesAcarades = FACINPAGES, NOFACINPAGES
-
 
408
 
-
 
409
    PrimeraPàginaEsquerra = FIRSTPAGELEFT, FIRSTPAGERIGHT
-
 
410
 
-
 
411
Els valors per l&apos;amplada, l&apos;alçada i els marges està expressada en les unitats donades
-
 
412
pel document. Les constants PAPER_* estan expressades en punts. Si el nostre document
-
 
413
no està en punts, cal tenir-ho en compte.
-
 
414
 
-
 
415
exemple: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS,
-
 
416
                 FACINGPAGES, FIRSTPAGERIGHT)
-
 
417
</translation>
-
 
418
    </message>
-
 
419
    <message>
-
 
420
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="108"/>
-
 
421
        <source>closeDoc()
-
 
422
 
-
 
423
Closes the current document without prompting to save.
-
 
424
 
-
 
425
May throw NoDocOpenError if there is no document to close
-
 
426
</source>
-
 
427
        <translation type="unfinished">closeDoc()
-
 
428
 
-
 
429
Tanca el document actual sense preguntar per desar.
-
 
430
 
-
 
431
Pot generar un NoDocOpenError si no hi ha cap document per tancar
-
 
432
</translation>
-
 
433
    </message>
-
 
434
    <message>
-
 
435
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="117"/>
-
 
436
        <source>haveDoc() -&gt; bool
-
 
437
 
-
 
438
Returns true if there is a document open.
-
 
439
</source>
-
 
440
        <translation type="unfinished">haveDoc() -&gt; bool
-
 
441
 
-
 
442
Retorna cert si hi ha un document obert.
-
 
443
</translation>
-
 
444
    </message>
-
 
445
    <message>
-
 
446
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="128"/>
-
 
447
        <source>openDoc(&quot;name&quot;)
-
 
448
 
-
 
449
Opens the document &quot;name&quot;.
-
 
450
 
-
 
451
May raise ScribusError if the document could not be opened.
-
 
452
</source>
-
 
453
        <translation type="unfinished">openDoc(&quot;nom&quot;)
-
 
454
 
-
 
455
Obre el document &quot;nom&quot;.
-
 
456
 
-
 
457
Pot generar ScribusError si el document no es pot obrir.</translation>
-
 
458
    </message>
-
 
459
    <message>
-
 
460
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="141"/>
-
 
461
        <source>saveDoc()
-
 
462
 
-
 
463
Saves the current document with its current name, returns true if successful.
-
 
464
If the document has not already been saved, this may bring up an interactive
-
 
465
save file dialog.
-
 
466
 
-
 
467
If the save fails, there is currently no way to tell.
-
 
468
</source>
-
 
469
        <translation type="unfinished">saveDoc()
-
 
470
 
-
 
471
Desa el document actual amb el seu nom actual, retorna cert si ha funcionat.
-
 
472
Si el document no ha estat gravat previament, ens sortirà un diàleg interactiu
-
 
473
per guardar.
-
 
474
 
-
 
475
Si no es pot desar, no hi ha cap forma de saber-ho.
-
 
476
</translation>
-
 
477
    </message>
-
 
478
    <message>
-
 
479
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="152"/>
-
 
480
        <source>saveDocAs(&quot;name&quot;)
-
 
481
 
-
 
482
Saves the current document under the new name &quot;name&quot; (which may be a full or
-
 
483
relative path).
-
 
484
 
-
 
485
May raise ScribusError if the save fails.
-
 
486
</source>
-
 
487
        <translation type="unfinished">saveDocAs(&quot;nom&quot;)
-
 
488
 
-
 
489
Desa el document actual sota el nou nom &quot;nom&quot; (que pot ser amb camí absolut
-
 
490
o camí relatiu).
-
 
491
 
-
 
492
Pot generar un ScribusError si falla el desat.
-
 
493
</translation>
-
 
494
    </message>
-
 
495
    <message>
-
 
496
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="162"/>
-
 
497
        <source>setInfo(&quot;author&quot;, &quot;info&quot;, &quot;description&quot;) -&gt; bool
-
 
498
 
-
 
499
Sets the document information. &quot;Author&quot;, &quot;Info&quot;, &quot;Description&quot; are
-
 
500
strings.
-
 
501
</source>
-
 
502
        <translation type="unfinished"></translation>
-
 
503
    </message>
-
 
504
    <message>
-
 
505
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="173"/>
-
 
506
        <source>setMargins(lr, rr, tr, br)
-
 
507
 
-
 
508
Sets the margins of the document, Qt::DockLeft(lr), Qt::DockRight(rr), Qt::DockTop(tr) and Qt::DockBottom(br)
-
 
509
margins are given in the measurement units of the document - see UNIT_&lt;type&gt;
-
 
510
constants.
-
 
511
</source>
-
 
512
        <translation type="unfinished"></translation>
-
 
513
    </message>
-
 
514
    <message>
-
 
515
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="185"/>
-
 
516
        <source>setUnit(type)
-
 
517
 
-
 
518
Changes the measurement unit of the document. Possible values for &quot;unit&quot; are
-
 
519
defined as constants UNIT_&lt;type&gt;.
-
 
520
 
-
 
521
May raise ValueError if an invalid unit is passed.
-
 
522
</source>
-
 
523
        <translation type="unfinished">setUnit(unitats)
-
 
524
 
-
 
525
Canvia les unitats de mesura del document. Possible valors de les unitats estan
-
 
526
definides com a constants UNIT_&lt;tipus&gt;.
-
 
527
</translation>
-
 
528
    </message>
-
 
529
    <message>
-
 
530
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="196"/>
-
 
531
        <source>getUnit() -&gt; integer (Scribus unit constant)
-
 
532
 
-
 
533
Returns the measurement units of the document. The returned value will be one
-
 
534
of the UNIT_* constants:
-
 
535
UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.
-
 
536
</source>
-
 
537
        <translation type="unfinished">getUnit() -&gt; integer (unitats de constants Scribus)
-
 
538
 
-
 
539
Retorna les unitats des mesura del document. El valor retornat serà una de 
-
 
540
les constants UNIT_*: 
-
 
541
UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.
-
 
542
</translation>
-
 
543
    </message>
-
 
544
    <message>
-
 
545
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="206"/>
-
 
546
        <source>loadStylesFromFile(&quot;filename&quot;)
-
 
547
 
-
 
548
Loads paragraph styles from the Scribus document at &quot;filename&quot; into the
-
 
549
current document.
-
 
550
</source>
-
 
551
        <translation type="unfinished">loadStylesFromFile(&quot;nomfitxer&quot;)
-
 
552
 
-
 
553
Carregar els estils de paràgraf des d&apos;un document Scribus especificat a &quot;nomfitxer&quot; 
-
 
554
en el document actual.
-
 
555
</translation>
-
 
556
    </message>
-
 
557
    <message>
-
 
558
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="218"/>
-
 
559
        <source>setDocType(facingPages, firstPageLeft)
-
 
560
 
-
 
561
Sets the document type. To get facing pages set the first parameter to
-
 
562
FACINGPAGES, to switch facingPages off use NOFACINGPAGES instead.  If you want
-
 
563
to be the first page a left side set the second parameter to FIRSTPAGELEFT, for
-
 
564
a right page use FIRSTPAGERIGHT.
-
 
565
</source>
-
 
566
        <translation type="unfinished">setDocType(facingPages, firstPageLeft)
-
 
567
 
-
 
568
Estableix el tipus de document. Per tenir pàgines acarades cal establir primer
-
 
569
paràmetre a FACINPAGES, i per no tenir-ne NOFACINPAGES.  Si vols que la primera 
-
 
570
pàgina sigui a l&apos;esquerra cal posar al segon paràmetre FIRSTPAGELEFT, i perquè 
-
 
571
sigui la dreta FIRSTPAGERIGHT.
-
 
572
</translation>
-
 
573
    </message>
-
 
574
    <message>
-
 
575
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="226"/>
-
 
576
        <source>closeMasterPage()
-
 
577
 
-
 
578
Closes the currently active master page, if any, and returns editing
-
 
579
to normal. Begin editing with editMasterPage().
-
 
580
</source>
-
 
581
        <translation type="unfinished">closeMasterPage()
-
 
582
 
-
 
583
Tanca la pàgina mestra activa. Si n&apos;hi ha alguna, i retorna la edició
-
 
584
a normal. Sempre comença per editMasterPage().
-
 
585
</translation>
-
 
586
    </message>
-
 
587
    <message>
-
 
588
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="233"/>
-
 
589
        <source>masterPageNames()
-
 
590
 
-
 
591
Returns a list of the names of all master pages in the document.
-
 
592
</source>
-
 
593
        <translation type="unfinished">masterPageNames()
-
 
594
 
-
 
595
Retorna una llista de noms de totes les pàgines mestres del document.
-
 
596
</translation>
-
 
597
    </message>
-
 
598
    <message>
-
 
599
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="241"/>
-
 
600
        <source>editMasterPage(pageName)
-
 
601
 
-
 
602
Enables master page editing and opens the named master page
-
 
603
for editing. Finish editing with closeMasterPage().
-
 
604
</source>
-
 
605
        <translation type="unfinished">editMasterPage(NomPagina)
-
 
606
 
-
 
607
Activa la edició de la pàgina mestra i la obre per edició. 
-
 
608
Acaba sempre amb closeMasterPage().
-
 
609
</translation>
-
 
610
    </message>
-
 
611
    <message>
-
 
612
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="249"/>
-
 
613
        <source>createMasterPage(pageName)
-
 
614
 
-
 
615
Creates a new master page named pageName and opens it for
-
 
616
editing.
-
 
617
</source>
-
 
618
        <translation type="unfinished">createMasterPage(NomPagina)
-
 
619
 
-
 
620
Crea una nova pàgina mestra amb el nom especificat i la obre
-
 
621
per edició.
-
 
622
</translation>
-
 
623
    </message>
-
 
624
    <message>
-
 
625
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="256"/>
-
 
626
        <source>deleteMasterPage(pageName)
-
 
627
 
-
 
628
Delete the named master page.
-
 
629
</source>
-
 
630
        <translation type="unfinished">deleteMasterPage(NomPagina)
-
 
631
 
-
 
632
Esborra la pàgina mestra.
-
 
633
</translation>
-
 
634
    </message>
-
 
635
    <message>
-
 
636
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="21"/>
-
 
637
        <source>getFillColor([&quot;name&quot;]) -&gt; string
-
 
638
 
-
 
639
Returns the name of the fill color of the object &quot;name&quot;.
-
 
640
If &quot;name&quot; is not given the currently selected item is used.
-
 
641
</source>
-
 
642
        <translation type="unfinished">getFillColor([&quot;nom&quot;]) -&gt; string
-
 
643
 
-
 
644
Retorna el nom del color de l&apos;objecte &quot;nom&quot;.
-
 
645
Si no es dóna cap &quot;nom&quot;, es fa servir l&apos;ítem sel·leccionat.
-
 
646
</translation>
-
 
647
    </message>
-
 
648
    <message>
-
 
649
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="31"/>
-
 
650
        <source>getFillTransparency([&quot;name&quot;]) -&gt; float
-
 
651
 
-
 
652
Returns the fill transparency of the object &quot;name&quot;. If &quot;name&quot;
-
 
653
is not given the currently selected Item is used.
-
 
654
</source>
-
 
655
        <translation type="unfinished"></translation>
-
 
656
    </message>
-
 
657
    <message>
-
 
658
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="41"/>
-
 
659
        <source>getFillBlendmode([&quot;name&quot;]) -&gt; integer
-
 
660
 
-
 
661
Returns the fill blendmode of the object &quot;name&quot;. If &quot;name&quot;
-
 
662
is not given the currently selected Item is used.
-
 
663
</source>
-
 
664
        <translation type="unfinished"></translation>
-
 
665
    </message>
-
 
666
    <message>
-
 
667
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="51"/>
-
 
668
        <source>getLineColor([&quot;name&quot;]) -&gt; string
-
 
669
 
-
 
670
Returns the name of the line color of the object &quot;name&quot;.
-
 
671
If &quot;name&quot; is not given the currently selected item is used.
-
 
672
</source>
-
 
673
        <translation type="unfinished">getLineColor([&quot;nom&quot;]) -&gt; string
-
 
674
 
-
 
675
Retorna el nom del color de línia de l&apos;objecte &quot;nom&quot;.
-
 
676
Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.
-
 
677
</translation>
-
 
678
    </message>
-
 
679
    <message>
-
 
680
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="61"/>
-
 
681
        <source>getLineTransparency([&quot;name&quot;]) -&gt; float
-
 
682
 
-
 
683
Returns the line transparency of the object &quot;name&quot;. If &quot;name&quot;
-
 
684
is not given the currently selected Item is used.
-
 
685
</source>
-
 
686
        <translation type="unfinished"></translation>
-
 
687
    </message>
-
 
688
    <message>
-
 
689
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="71"/>
-
 
690
        <source>getLineBlendmode([&quot;name&quot;]) -&gt; integer
-
 
691
 
-
 
692
Returns the line blendmode of the object &quot;name&quot;. If &quot;name&quot;
-
 
693
is not given the currently selected Item is used.
-
 
694
</source>
-
 
695
        <translation type="unfinished"></translation>
-
 
696
    </message>
-
 
697
    <message>
-
 
698
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="81"/>
-
 
699
        <source>getLineWidth([&quot;name&quot;]) -&gt; integer
-
 
700
 
-
 
701
Returns the line width of the object &quot;name&quot;. If &quot;name&quot;
-
 
702
is not given the currently selected Item is used.
-
 
703
</source>
-
 
704
        <translation type="unfinished">getLineWidth([&quot;nom&quot;]) -&gt; integer
-
 
705
 
-
 
706
Retorna l&apos;amplada de la línia de l&apos;objecte &quot;nom&quot;. Si no 
-
 
707
especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.
-
 
708
</translation>
-
 
709
    </message>
-
 
710
    <message>
-
 
711
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="91"/>
-
 
712
        <source>getLineShade([&quot;name&quot;]) -&gt; integer
-
 
713
 
-
 
714
Returns the shading value of the line color of the object &quot;name&quot;.
-
 
715
If &quot;name&quot; is not given the currently selected item is used.
-
 
716
</source>
-
 
717
        <translation type="unfinished">getLineShade([&quot;nom&quot;]) -&gt; integer
-
 
718
 
-
 
719
Retorna el valor de la intensitat del color de la línia de l&apos;objecte &quot;nom&quot;.
-
 
720
Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.
-
 
721
</translation>
-
 
722
    </message>
-
 
723
    <message>
-
 
724
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="102"/>
-
 
725
        <source>getLineJoin([&quot;name&quot;]) -&gt; integer (see constants)
-
 
726
 
-
 
727
Returns the line join style of the object &quot;name&quot;. If &quot;name&quot; is not given
-
 
728
the currently selected item is used.  The join types are:
-
 
729
JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND
-
 
730
</source>
-
 
731
        <translation type="unfinished"></translation>
-
 
732
    </message>
-
 
733
    <message>
-
 
734
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="113"/>
-
 
735
        <source>getLineEnd([&quot;name&quot;]) -&gt; integer (see constants)
-
 
736
 
-
 
737
Returns the line cap style of the object &quot;name&quot;. If &quot;name&quot; is not given the
-
 
738
currently selected item is used. The cap types are:
-
 
739
CAP_FLAT, CAP_ROUND, CAP_SQUARE
-
 
740
</source>
-
 
741
        <translation type="unfinished">getLineEnd([&quot;nom&quot;]) -&gt; integer (mirar constants)
-
 
742
 
-
 
743
Retorna el tap de línia de l&apos;objecte &quot;nom&quot;. Si no especifiquem &quot;nom&quot; es fa 
-
 
744
servir l&apos;ítem seleccionat. Els tipus de tap són:
-
 
745
CAP_FLAT, CAP_ROUND, CAP_SQUARE
-
 
746
</translation>
-
 
747
    </message>
-
 
748
    <message>
-
 
749
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="124"/>
-
 
750
        <source>getLineStyle([&quot;name&quot;]) -&gt; integer (see constants)
-
 
751
 
-
 
752
Returns the line style of the object &quot;name&quot;. If &quot;name&quot; is not given the
-
 
753
currently selected item is used. Line style constants are:
-
 
754
LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
-
 
755
</source>
-
 
756
        <translation type="unfinished">getLineStyle([&quot;nom&quot;]) -&gt; integer (mirar constants)
-
 
757
 
-
 
758
Retorna l&apos;estil de línia de l&apos;objecte &quot;nom&quot;. Si no especifiquem &quot;nom&quot; es 
-
 
759
fa servir l&apos;ítem seleccionat.. Les constants de línia són:
-
 
760
LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
-
 
761
</translation>
-
 
762
    </message>
-
 
763
    <message>
-
 
764
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="134"/>
-
 
765
        <source>getFillShade([&quot;name&quot;]) -&gt; integer
-
 
766
 
-
 
767
Returns the shading value of the fill color of the object &quot;name&quot;.
-
 
768
If &quot;name&quot; is not given the currently selected item is used.
-
 
769
</source>
-
 
770
        <translation type="unfinished">getFillShade([&quot;nom&quot;]) -&gt; integer
-
 
771
 
-
 
772
Retorna el valor de la intensitat del color d&apos;emplenament de l&apos;objecte &quot;nom&quot;.
-
 
773
Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.
-
 
774
</translation>
-
 
775
    </message>
-
 
776
    <message>
-
 
777
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="145"/>
-
 
778
        <source>getCornerRadius([&quot;name&quot;]) -&gt; integer
-
 
779
 
-
 
780
Returns the corner radius of the object &quot;name&quot;. The radius is
-
 
781
expressed in points. If &quot;name&quot; is not given the currently
-
 
782
selected item is used.
-
 
783
</source>
-
 
784
        <translation type="unfinished">getCornerRadius([&quot;nom&quot;]) -&gt; integer
-
 
785
 
-
 
786
Retorna el radi d&apos;arrodoniment de l&apos;objecte &quot;nom&quot;. El radi està
-
 
787
expressat en punts. Si no especifiquem &quot;nom&quot; es fa servir 
-
 
788
l&apos;ítem seleccionat.
-
 
789
</translation>
-
 
790
    </message>
-
 
791
    <message>
-
 
792
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="155"/>
-
 
793
        <source>getImageScale([&quot;name&quot;]) -&gt; (x,y)
-
 
794
 
-
 
795
Returns a (x, y) tuple containing the scaling values of the image frame
-
 
796
&quot;name&quot;.  If &quot;name&quot; is not given the currently selected item is used.
-
 
797
</source>
-
 
798
        <translation type="unfinished">getImageScale([&quot;name&quot;]) -&gt; (x,y)
-
 
799
 
-
 
800
Retorna una parella (x,y) contenint els valors d&apos;escalat de la imatge
-
 
801
&quot;nom&quot;.  Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.
-
 
802
</translation>
-
 
803
    </message>
-
 
804
    <message>
-
 
805
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="165"/>
-
 
806
        <source>getImageName([&quot;name&quot;]) -&gt; string
-
 
807
 
-
 
808
Returns the filename for the image in the image frame. If &quot;name&quot; is not
-
 
809
given the currently selected item is used.
-
 
810
</source>
-
 
811
        <translation type="unfinished">getImageName([&quot;nom&quot;]) -&gt; string
-
 
812
 
-
 
813
Retorna el nom del fitxer de la imatge que tenim. Si no especifiquem &quot;nom&quot;
-
 
814
 es fa servir l&apos;ítem seleccionat.</translation>
-
 
815
    </message>
-
 
816
    <message>
-
 
817
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="177"/>
-
 
818
        <source>getPosition([&quot;name&quot;]) -&gt; (x,y)
-
 
819
 
-
 
820
Returns a (x, y) tuple with the position of the object &quot;name&quot;.
-
 
821
If &quot;name&quot; is not given the currently selected item is used.
-
 
822
The position is expressed in the actual measurement unit of the document
-
 
823
- see UNIT_&lt;type&gt; for reference.
-
 
824
</source>
-
 
825
        <translation type="unfinished">getPosition([&quot;nom&quot;]) -&gt; (x,y)
-
 
826
 
-
 
827
Retorna una parella (x,y) amb la posició de l&apos;objecte &quot;nom&quot;.
-
 
828
Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.
-
 
829
La posició està expressada en les unitats de mesura del document
-
 
830
- mireu UNIT_&lt;tipus&gt; per referència.
-
 
831
</translation>
-
 
832
    </message>
-
 
833
    <message>
-
 
834
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="189"/>
-
 
835
        <source>getSize([&quot;name&quot;]) -&gt; (width,height)
-
 
836
 
-
 
837
Returns a (width, height) tuple with the size of the object &quot;name&quot;.
-
 
838
If &quot;name&quot; is not given the currently selected item is used. The size is
-
 
839
expressed in the current measurement unit of the document - see UNIT_&lt;type&gt;
-
 
840
for reference.
-
 
841
</source>
-
 
842
        <translation type="unfinished">getSize([&quot;nom&quot;]) -&gt; (amplada,alçada)
-
 
843
 
-
 
844
Retorna un parell (amplada, alçada) amb la mida de l&apos;objecte &quot;nom&quot;.
-
 
845
Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat. La mida està
-
 
846
expressada en les unitats de mesura del document - mireu UNIT_&lt;tipus&gt;
-
 
847
per referència.</translation>
-
 
848
    </message>
-
 
849
    <message>
-
 
850
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="200"/>
-
 
851
        <source>getRotation([&quot;name&quot;]) -&gt; integer
-
 
852
 
-
 
853
Returns the rotation of the object &quot;name&quot;. The value is expressed in degrees,
-
 
854
and clockwise is positive. If &quot;name&quot; is not given the currently selected item
-
 
855
is used.
-
 
856
</source>
-
 
857
        <translation type="unfinished">getRotation([&quot;name&quot;]) -&gt; integer
-
 
858
 
-
 
859
Retorna la rotació de l&apos;objecte &quot;nom&quot;. El valor està expressat en graus, 
-
 
860
en sentit horari és positiu. Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem 
-
 
861
seleccionat.
-
 
862
</translation>
-
 
863
    </message>
-
 
864
    <message>
-
 
865
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="209"/>
-
 
866
        <source>getAllObjects() -&gt; list
-
 
867
 
-
 
868
Returns a list containing the names of all objects on the current page.
-
 
869
</source>
-
 
870
        <translation type="unfinished">getAllObjects() -&gt; list
-
 
871
 
-
 
872
Retorna una llista que conté els noms de tots els objectes de la pàgina actual.
-
 
873
</translation>
-
 
874
    </message>
-
 
875
    <message>
-
 
876
        <location filename="../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="83"/>
-
 
877
        <source>getPropertyCType(object, property, includesuper=True)
-
 
878
 
-
 
879
Returns the name of the C type of `property&apos; of `object&apos;. See getProperty()
-
 
880
for details of arguments.
-
 
881
 
-
 
882
If `includesuper&apos; is true, search inherited properties too.
-
 
883
</source>
-
 
884
        <translation type="unfinished">getPropertyCType(objecte, propietat, includesuper=True)
-
 
885
 
-
 
886
Retorna el nom del tipus C de la propietat &apos;propietat&apos; de l&apos;objecte. Mira getProperty()
-
 
887
per més detalls sobre els arguments.
-
 
888
 
-
 
889
Si `includesuper&apos; és cert, busca també en les propietats heretades.</translation>
-
 
890
    </message>
-
 
891
    <message>
-
 
892
        <location filename="../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="101"/>
-
 
893
        <source>getPropertyNames(object, includesuper=True)
-
 
894
 
-
 
895
Return a list of property names supported by `object&apos;.
-
 
896
If `includesuper&apos; is true, return properties supported
-
 
897
by parent classes as well.
-
 
898
</source>
-
 
899
        <translation type="unfinished">getPropertyNames(objecte, includesuper=True)
-
 
900
 
-
 
901
Retorna la llista de propietats de l&apos;objecte &apos;objecte&apos;.
-
 
902
Si `includesuper&apos; és cert, també retorna les  propietats 
-
 
903
heretades de les classes pare.</translation>
-
 
904
    </message>
-
 
905
    <message>
-
 
906
        <location filename="../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="135"/>
-
 
907
        <source>getProperty(object, property)
-
 
908
 
-
 
909
Return the value of the property `property&apos; of the passed `object&apos;.
-
 
910
 
-
 
911
The `object&apos; argument may be a string, in which case the named PageItem
-
 
912
is searched for. It may also be a PyCObject, which may point to any
-
 
913
C++ QObject instance.
-
 
914
 
-
 
915
The `property&apos; argument must be a string, and is the name of the property
-
 
916
to look up on `object&apos;.
-
 
917
 
-
 
918
The return value varies depending on the type of the property.
-
 
919
</source>
-
 
920
        <translation type="unfinished">getProperty(objecte, propietat)
-
 
921
 
-
 
922
Retorna el valor de la propietat especificada de l&apos;objecte &apos;objecte&apos;.
-
 
923
 
-
 
924
L&apos;argument &apos;objecte&apos; pot ser una cadena de caràcters, i en aquest cas es busca 
-
 
925
els PageItem.  També pot ser un objecte PyCObject, que pot apuntar a qualsevol
-
 
926
instància del QObjecte de C++. 
-
 
927
 
-
 
928
L&apos;argument &apos;propietat&apos; ha de ser una cadena de caràcters, i és el nom de la propietat
-
 
929
que buscarem en l&apos;&apos;objecte&apos;.
-
 
930
 
-
 
931
Els valors de retorn varien en funció del tipus de la propietat.</translation>
-
 
932
    </message>
-
 
933
    <message>
-
 
934
        <location filename="../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="165"/>
-
 
935
        <source>setProperty(object, property, value)
-
 
936
 
-
 
937
Set `property&apos; of `object&apos; to `value&apos;. If `value&apos; cannot be converted to a type
-
 
938
compatible with the type of `property&apos;, an exception is raised. An exception may
-
 
939
also be raised if the underlying setter fails.
-
 
940
 
-
 
941
See getProperty() for more information.
-
 
942
</source>
-
 
943
        <translation type="unfinished">setProperty(objecte, propietat, valor)
-
 
944
 
-
 
945
Posa el valor &apos;valor&apos; a la &apos;propietat&apos; de l&apos;&apos;objecte&apos;. Si &apos;valor&apos; no es pot convertir al tipus
-
 
946
compatible amb la &apos;propietat&apos;, es generarà una excepció. També es pot generar una
-
 
947
excepció si falla l&apos;assignació.
-
 
948
 
-
 
949
Mira getProperty() per obtenir més informació.</translation>
-
 
950
    </message>
-
 
951
    <message>
-
 
952
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="23"/>
-
 
953
        <source>moveObject(dx, dy [, &quot;name&quot;])
-
 
954
 
-
 
955
Moves the object &quot;name&quot; by dx and dy relative to its current position. The
-
 
956
distances are expressed in the current measurement unit of the document (see
-
 
957
UNIT constants). If &quot;name&quot; is not given the currently selected item is used.
-
 
958
If the object &quot;name&quot; belongs to a group, the whole group is moved.
-
 
959
</source>
-
 
960
        <translation type="unfinished">moveObject(dx, dy [,&quot;nom&quot;])
-
 
961
 
-
 
962
Mou l&apos;objecte &quot;nom&quot; una distància dx i dx respecte la posició actual. Les
-
 
963
distàncies estan expressades en les unitats actuals del document (mireu
-
 
964
unitats). Si no es dóna cap &quot;nom&quot;, es fa servir l&apos;ítem sel·leccionat.
-
 
965
Si l&apos;objecte &quot;nom&quot; pertany a un grup, es mou tot el grup.
-
 
966
</translation>
-
 
967
    </message>
-
 
968
    <message>
-
 
969
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="35"/>
-
 
970
        <source>moveObjectAbs(x, y [, &quot;name&quot;])
-
 
971
 
-
 
972
Moves the object &quot;name&quot; to a new location. The coordinates are expressed in
-
 
973
the current measurement unit of the document (see UNIT constants).  If &quot;name&quot;
-
 
974
is not given the currently selected item is used.  If the object &quot;name&quot;
-
 
975
belongs to a group, the whole group is moved.
-
 
976
</source>
-
 
977
        <translation type="unfinished">moveObjectAbs(x, y [, &quot;nom&quot;])
-
 
978
 
-
 
979
Mou l&apos;objecte &quot;nom&quot; a una nova posició. Les coordenades estan expressades en
-
 
980
les unitats de mesura del document (veure constants UNIT).  Si no especifiquem &quot;nom&quot; 
-
 
981
es fa servir l&apos;ítem seleccionat.  Si l&apos;objecte &quot;nom&quot; pertany a un grup,
-
 
982
es mou tot el grup.
-
 
983
</translation>
-
 
984
    </message>
-
 
985
    <message>
-
 
986
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="48"/>
-
 
987
        <source>rotateObject(rot [, &quot;name&quot;])
-
 
988
 
-
 
989
Rotates the object &quot;name&quot; by &quot;rot&quot; degrees relatively. The object is
-
 
990
rotated by the vertex that is currently selected as the rotation point - by
-
 
991
default, the top left vertex at zero rotation. Positive values mean counter
-
 
992
clockwise rotation when the default rotation point is used. If &quot;name&quot; is not
-
 
993
given the currently selected item is used.
-
 
994
</source>
-
 
995
        <translation type="unfinished"></translation>
-
 
996
    </message>
-
 
997
    <message>
-
 
998
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="59"/>
-
 
999
        <source>rotateObjectAbs(rot [, &quot;name&quot;])
-
 
1000
 
-
 
1001
Sets the rotation of the object &quot;name&quot; to &quot;rot&quot;. Positive values
-
 
1002
mean counter clockwise rotation. If &quot;name&quot; is not given the currently
-
 
1003
selected item is used.
-
 
1004
</source>
-
 
1005
        <translation type="unfinished">rotateObjectAbs(rot [,&quot;nom&quot;])
-
 
1006
 
-
 
1007
Estableix la rotació de l&apos;objecte &quot;nom&quot; a &quot;rot&quot;. Els valors positius
-
 
1008
signifiquen rotació horaria. Si no especifiquem &quot;nom&quot; es fa servir 
-
 
1009
l&apos;ítem seleccionat.
-
 
1010
</translation>
-
 
1011
    </message>
-
 
1012
    <message>
-
 
1013
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="69"/>
-
 
1014
        <source>sizeObject(width, height [, &quot;name&quot;])
-
 
1015
 
-
 
1016
Resizes the object &quot;name&quot; to the given width and height. If &quot;name&quot;
-
 
1017
is not given the currently selected item is used.
-
 
1018
</source>
-
 
1019
        <translation type="unfinished">sizeObject(amplada, alçada [, &quot;nom&quot;])
-
 
1020
 
-
 
1021
Canvia la mida de l&apos;objecte &quot;nom&quot; a la mida especificada. Si no 
-
 
1022
especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.
-
 
1023
</translation>
-
 
1024
    </message>
-
 
1025
    <message>
-
 
1026
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="80"/>
-
 
1027
        <source>getSelectedObject([nr]) -&gt; string
-
 
1028
 
-
 
1029
Returns the name of the selected object. &quot;nr&quot; if given indicates the number
-
 
1030
of the selected object, e.g. 0 means the first selected object, 1 means the
-
 
1031
second selected Object and so on.
-
 
1032
</source>
-
 
1033
        <translation type="unfinished">getSelectedObject([nr]) -&gt; string
-
 
1034
 
-
 
1035
Retorna el nom de l&apos;objecte seleccionat. &quot;nr&quot; si es dóna especifica el número
-
 
1036
de l&apos;objecte seleccionat, ex. 0 significa el primer objecte seleccionat, 1 el 
-
 
1037
segon i així.
-
 
1038
</translation>
-
 
1039
    </message>
-
 
1040
    <message>
-
 
1041
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="89"/>
-
 
1042
        <source>selectionCount() -&gt; integer
-
 
1043
 
-
 
1044
Returns the number of selected objects.
-
 
1045
</source>
-
 
1046
        <translation type="unfinished">seleccionCount() -&gt; integer
-
 
1047
 
-
 
1048
Retorna el número d&apos;objectes seleccionats.
-
 
1049
</translation>
-
 
1050
    </message>
-
 
1051
    <message>
-
 
1052
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="98"/>
-
 
1053
        <source>selectObject(&quot;name&quot;)
-
 
1054
 
-
 
1055
Selects the object with the given &quot;name&quot;.
-
 
1056
</source>
-
 
1057
        <translation type="unfinished">selectObject(&quot;nom&quot;)
-
 
1058
 
-
 
1059
Selecciona l&apos;objecte amb el nom &quot;nom&quot;.
-
 
1060
</translation>
-
 
1061
    </message>
-
 
1062
    <message>
-
 
1063
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="107"/>
-
 
1064
        <source>deselectAll()
-
 
1065
 
-
 
1066
Deselects all objects in the whole document.
-
 
1067
</source>
-
 
1068
        <translation type="unfinished">deselectAll()
-
 
1069
 
-
 
1070
Deselecciona tots els objectes de tot el document.
-
 
1071
</translation>
-
 
1072
    </message>
-
 
1073
    <message>
-
 
1074
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="118"/>
-
 
1075
        <source>groupObjects(list)
-
 
1076
 
-
 
1077
Groups the objects named in &quot;list&quot; together. &quot;list&quot; must contain the names
-
 
1078
of the objects to be grouped. If &quot;list&quot; is not given the currently selected
-
 
1079
items are used.
-
 
1080
</source>
-
 
1081
        <translation type="unfinished">groupObjects(llista)
-
 
1082
 
-
 
1083
Agrupa els objectes que especifiquem a la llista &quot;llista&quot;. La llista ha de contenir
-
 
1084
els noms dels objectes a agrupar. Si no s&apos;especifica llista es fan servir els 
-
 
1085
objectes que estiguin seleccionats.
-
 
1086
</translation>
-
 
1087
    </message>
-
 
1088
    <message>
-
 
1089
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="126"/>
-
 
1090
        <source>unGroupObjects(&quot;name&quot;)
-
 
1091
 
-
 
1092
Destructs the group the object &quot;name&quot; belongs to.If &quot;name&quot; is not given the currently selected item is used.</source>
-
 
1093
        <translation type="unfinished">unGroupObjects(&quot;nom&quot;)
-
 
1094
 
-
 
1095
Destrueix el grup al qual pertany l&apos;objecte &quot;nom&quot;. Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.</translation>
-
 
1096
    </message>
-
 
1097
    <message>
-
 
1098
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="141"/>
-
 
1099
        <source>scaleGroup(factor [,&quot;name&quot;])
-
 
1100
 
-
 
1101
Scales the group the object &quot;name&quot; belongs to. Values greater than 1 enlarge
-
 
1102
the group, values smaller than 1 make the group smaller e.g a value of 0.5
-
 
1103
scales the group to 50 % of its original size, a value of 1.5 scales the group
-
 
1104
to 150 % of its original size.  The value for &quot;factor&quot; must be greater than
-
 
1105
0. If &quot;name&quot; is not given the currently selected item is used.
-
 
1106
 
-
 
1107
May raise ValueError if an invalid scale factor is passed.
-
 
1108
</source>
-
 
1109
        <translation type="unfinished">scaleGroup(factor [,&quot;nom&quot;])
-
 
1110
 
-
 
1111
Escala el grup al qual pertany l&apos;objecte &quot;nom&quot;. Valors més grans que 1 incrementen
-
 
1112
el grup, i valors més petits que 1 decrementen el grup. ex. Un valor de 0.5 escala 
-
 
1113
el grup al 50% del valor original, un valor de 1.5 escala el grup a un 
-
 
1114
150% del valor original.  El valor de &quot;factor&quot; ha de ser més gran que 
-
 
1115
0. Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.
-
 
1116
 
-
 
1117
Pot provocar un ValueError si s&apos;especifica un factor invàlid.
-
 
1118
</translation>
-
 
1119
    </message>
-
 
1120
    <message>
-
 
1121
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="153"/>
-
 
1122
        <source>loadImage(&quot;filename&quot; [, &quot;name&quot;])
-
 
1123
 
-
 
1124
Loads the picture &quot;picture&quot; into the image frame &quot;name&quot;. If &quot;name&quot; is
-
 
1125
not given the currently selected item is used.
-
 
1126
 
-
 
1127
May raise WrongFrameTypeError if the target frame is not an image frame
-
 
1128
</source>
-
 
1129
        <translation type="unfinished">loadImage(&quot;nomFitxer&quot;, [,&quot;nom&quot;])
-
 
1130
 
-
 
1131
Carrega la imatge &quot;nomFitxer&quot; en el marc d&apos;imatge &quot;nom&quot;. Si no especifiquem 
-
 
1132
&quot;nom&quot; es fa servir l&apos;ítem seleccionat.
-
 
1133
 
-
 
1134
Pot provocar WrongFrameTypeError si el marc no és d&apos;imatge
-
 
1135
</translation>
-
 
1136
    </message>
-
 
1137
    <message>
-
 
1138
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="166"/>
-
 
1139
        <source>scaleImage(x, y [, &quot;name&quot;])
-
 
1140
 
-
 
1141
Sets the scaling factors of the picture in the image frame &quot;name&quot;.
-
 
1142
If &quot;name&quot; is not given the currently selected item is used. A number of 1
-
 
1143
means 100 %.
-
 
1144
 
-
 
1145
May raise WrongFrameTypeError if the target frame is not an image frame
-
 
1146
</source>
-
 
1147
        <translation type="unfinished">scaleImage(x, y [, &quot;nom&quot;])
-
 
1148
 
-
 
1149
Estableix els factors d&apos;escalat de la imatge del marc d&apos;imatge &quot;nom&quot;.
-
 
1150
Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat. Un valor de 1
-
 
1151
significa 100 %.
-
 
1152
 
-
 
1153
Pot provocar WrongFrameTypeError si el marc no és d&apos;imatge
-
 
1154
</translation>
-
 
1155
    </message>
-
 
1156
    <message>
-
 
1157
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="177"/>
-
 
1158
        <source>lockObject([&quot;name&quot;]) -&gt; bool
-
 
1159
 
-
 
1160
Locks the object &quot;name&quot; if it&apos;s unlocked or unlock it if it&apos;s locked.
-
 
1161
If &quot;name&quot; is not given the currently selected item is used. Returns true
-
 
1162
if locked.
-
 
1163
</source>
-
 
1164
        <translation type="unfinished">lockObject([&quot;nom&quot;]) -&gt; bool
-
 
1165
 
-
 
1166
Bloqueja l&apos;objecte &quot;nom&quot; si està desbloquejat o el desbloqueja si està bloquejat.
-
 
1167
Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat. Retorna cert
-
 
1168
si bloqueja.
-
 
1169
</translation>
-
 
1170
    </message>
-
 
1171
    <message>
-
 
1172
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="187"/>
-
 
1173
        <source>isLocked([&quot;name&quot;]) -&gt; bool
-
 
1174
 
-
 
1175
Returns true if is the object &quot;name&quot; locked.  If &quot;name&quot; is not given the
-
 
1176
currently selected item is used.
-
 
1177
</source>
-
 
1178
        <translation type="unfinished">isLocked([&quot;nom&quot;]) -&gt; bool
-
 
1179
 
-
 
1180
Retorna cert si l&apos;objecte &quot;nom&quot; està bloquejat.  Si no especifiquem &quot;nom&quot; es 
-
 
1181
fa servir l&apos;ítem seleccionat.
-
 
1182
</translation>
-
 
1183
    </message>
-
 
1184
    <message>
-
 
1185
        <location filename="../../scribus/plugins/scriptplugin/cmdmani.h" line="199"/>
-
 
1186
        <source>setScaleImageToFrame(scaletoframe, proportional=None, name=&lt;selection&gt;)
-
 
1187
 
-
 
1188
Sets the scale to frame on the selected or specified image frame to `scaletoframe&apos;.
-
 
1189
If `proportional&apos; is specified, set fixed aspect ratio scaling to `proportional&apos;.
-
 
1190
Both `scaletoframe&apos; and `proportional&apos; are boolean.
-
 
1191
 
-
 
1192
May raise WrongFrameTypeError.
-
 
1193
</source>
-
 
1194
        <translation type="unfinished">setScaleImageToFrame(escalaamarc, proporcional=None, nom=&lt;selection&gt;)
-
 
1195
 
-
 
1196
Estableix la escala del marc especificat o seleccionat a &apos;escalaamarc&apos;.
-
 
1197
Si hi posem valor a &apos;proporcional&apos;, estableix l&apos;aspecte de representació a &apos;proporcional&apos;.
-
 
1198
Ambdós &apos;escalaamarc&apos; i &apos;proporcional&apos; són booleans.
-
 
1199
 
-
 
1200
Pot provocar WrongFrameTypeError.
-
 
1201
</translation>
-
 
1202
    </message>
-
 
1203
    <message>
-
 
1204
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="24"/>
-
 
1205
        <source>setRedraw(bool)
-
 
1206
 
-
 
1207
Disables page redraw when bool = False, otherwise redrawing is enabled.
-
 
1208
This change will persist even after the script exits, so make sure to call
-
 
1209
setRedraw(True) in a finally: clause at the top level of your script.
-
 
1210
</source>
-
 
1211
        <translation type="unfinished">setRedraw(bool)
-
 
1212
 
-
 
1213
Desactiva el repintat de la pàgina quan bool=fals, altrament està activat.
-
 
1214
Aquest canvi continuarà fins i tot quan acabi l&apos;execució de la seqüència, per tant cal estar 
-
 
1215
segur d&apos;acabar amb setRedraw(True): clausula a nivell alt de la teva seqüència.
-
 
1216
</translation>
-
 
1217
    </message>
-
 
1218
    <message>
-
 
1219
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="33"/>
-
 
1220
        <source>getFontNames() -&gt; list
-
 
1221
 
-
 
1222
Returns a list with the names of all available fonts.
-
 
1223
</source>
-
 
1224
        <translation type="unfinished">getFontNames() -&gt; llista
-
 
1225
 
-
 
1226
Retorna una llista amb els noms de totes les fonts.
-
 
1227
</translation>
-
 
1228
    </message>
-
 
1229
    <message>
-
 
1230
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="43"/>
-
 
1231
        <source>getXFontNames() -&gt; list of tuples
-
 
1232
 
-
 
1233
Returns a larger font info. It&apos;s a list of the tuples with:
-
 
1234
[ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ]
-
 
1235
</source>
-
 
1236
        <translation type="unfinished">getXFontNames() -&gt; llista de tuples
-
 
1237
 
-
 
1238
Retorna molta informació de font. És una llista de tuples amb:
-
 
1239
[ (Nom Scribus, Familia, Nom Real, subconjunt (1|0), embed PS (1|0), fitxer de font), (...), ...]
-
 
1240
</translation>
-
 
1241
    </message>
-
 
1242
    <message>
-
 
1243
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="62"/>
-
 
1244
        <source>renderFont(&quot;name&quot;, &quot;filename&quot;, &quot;sample&quot;, size, format=&quot;PPM&quot;) -&gt; bool
-
 
1245
 
-
 
1246
Creates an image preview of font &quot;name&quot; with given text &quot;sample&quot; and size.
-
 
1247
If &quot;filename&quot; is not &quot;&quot;, image is saved into &quot;filename&quot;. Otherwise
-
 
1248
image data is returned as a string. The optional &quot;format&quot; argument
-
 
1249
specifies the image format to generate, and supports any format allowed
-
 
1250
by QPixmap.save(). Common formats are PPM, JPEG, PNG and XPM.
-
 
1251
 
-
 
1252
May raise NotFoundError if the specified font can&apos;t be found.
-
 
1253
May raise ValueError if an empty sample or filename is passed.
-
 
1254
</source>
-
 
1255
        <translation type="unfinished">renderFont(&quot;nom&quot;, &quot;fitxer&quot;, &quot;mostra&quot;, size, format=&quot;PPM&quot;) -&gt; bool
-
 
1256
 
-
 
1257
Crea una vista prèvia de la font &quot;nom&quot; amb el text &quot;mostra&quot; a la mida especificada.
-
 
1258
Si el nom no és &quot;&quot;,  la imatge es guarda a &quot;nom&quot;. I si no ho és es retornen les 
-
 
1259
dades de la imatge com una cadena. L&apos;argument opcional &quot;format&quot;
-
 
1260
especifica el format de la imatge a generar, i suporta tots els formats permesos
-
 
1261
per QPixmap.save(). Els formats més comuns són PPM, JPEG, PNG and XPM.
-
 
1262
 
-
 
1263
Pot generar NotFoundError si la capa no es pot trobar.
-
 
1264
Pot generar ValueError si el nom de la capa no és acceptable.
-
 
1265
</translation>
-
 
1266
    </message>
-
 
1267
    <message>
-
 
1268
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="71"/>
-
 
1269
        <source>getLayers() -&gt; list
-
 
1270
 
-
 
1271
Returns a list with the names of all defined layers.
-
 
1272
</source>
-
 
1273
        <translation type="unfinished">getLayers() -&gt; llista
-
 
1274
 
-
 
1275
Retorna una llista amb els noms de totes les capes.
-
 
1276
</translation>
-
 
1277
    </message>
-
 
1278
    <message>
-
 
1279
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="83"/>
-
 
1280
        <source>setActiveLayer(&quot;name&quot;)
-
 
1281
 
-
 
1282
Sets the active layer to the layer named &quot;name&quot;.
-
 
1283
 
-
 
1284
May raise NotFoundError if the layer can&apos;t be found.
-
 
1285
May raise ValueError if the layer name isn&apos;t acceptable.
-
 
1286
</source>
-
 
1287
        <translation type="unfinished">setActiveLayer(&quot;nom&quot;)
-
 
1288
 
-
 
1289
Canvia la capa activa a una capa anomenada &quot;nom&quot;.
-
 
1290
 
-
 
1291
Pot generar NotFoundError si la capa no es pot trobar.
-
 
1292
Pot generar ValueError si la capa nom no és acceptable.
-
 
1293
</translation>
-
 
1294
    </message>
-
 
1295
    <message>
-
 
1296
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="92"/>
-
 
1297
        <source>getActiveLayer() -&gt; string
-
 
1298
 
-
 
1299
Returns the name of the current active layer.
-
 
1300
</source>
-
 
1301
        <translation type="unfinished">getActiveLayer() -&gt; string
-
 
1302
 
-
 
1303
Retorna el nom de la capa activa.
-
 
1304
</translation>
-
 
1305
    </message>
-
 
1306
    <message>
-
 
1307
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="105"/>
-
 
1308
        <source>sentToLayer(&quot;layer&quot; [, &quot;name&quot;])
-
 
1309
 
-
 
1310
Sends the object &quot;name&quot; to the layer &quot;layer&quot;. The layer must exist.
-
 
1311
If &quot;name&quot; is not given the currently selected item is used.
-
 
1312
 
-
 
1313
May raise NotFoundError if the layer can&apos;t be found.
-
 
1314
May raise ValueError if the layer name isn&apos;t acceptable.
-
 
1315
</source>
-
 
1316
        <translation type="unfinished">sendToLayer(&quot;capa&quot; [, &quot;nom&quot;])
-
 
1317
 
-
 
1318
Envia l&apos;objecte &quot;nom&quot; a la capa &quot;capa&quot;. La capa ha d&apos;existir.
-
 
1319
Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.
-
 
1320
 
-
 
1321
Pot provocar NotFoundError si la capa no es pot trobar.
-
 
1322
Pot provocar ValueError si el nom no és acceptable.
-
 
1323
 
-
 
1324
 
-
 
1325
</translation>
-
 
1326
    </message>
-
 
1327
    <message>
-
 
1328
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="118"/>
-
 
1329
        <source>setLayerVisible(&quot;layer&quot;, visible)
-
 
1330
 
-
 
1331
Sets the layer &quot;layer&quot; to be visible or not. If is the visible set to false
-
 
1332
the layer is invisible.
-
 
1333
 
-
 
1334
May raise NotFoundError if the layer can&apos;t be found.
-
 
1335
May raise ValueError if the layer name isn&apos;t acceptable.
-
 
1336
</source>
-
 
1337
        <translation type="unfinished">setLayerVisible(&quot;capa&quot;, visible)
-
 
1338
 
-
 
1339
Estableix la capa especificada a visible o no. Si visible està false
-
 
1340
la capa és invisible.
-
 
1341
 
-
 
1342
Pot generar NotFoundError si la capa no es pot trobar.
-
 
1343
Pot generar ValueError si el nom de capa no és acceptable.
-
 
1344
</translation>
-
 
1345
    </message>
-
 
1346
    <message>
-
 
1347
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="131"/>
-
 
1348
        <source>setLayerPrintable(&quot;layer&quot;, printable)
-
 
1349
 
-
 
1350
Sets the layer &quot;layer&quot; to be printable or not. If is the
-
 
1351
printable set to false the layer won&apos;t be printed.
-
 
1352
 
-
 
1353
May raise NotFoundError if the layer can&apos;t be found.
-
 
1354
May raise ValueError if the layer name isn&apos;t acceptable.
-
 
1355
</source>
-
 
1356
        <translation type="unfinished"></translation>
-
 
1357
    </message>
-
 
1358
    <message>
-
 
1359
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="144"/>
-
 
1360
        <source>setLayerLocked(&quot;layer&quot;, locked)
-
 
1361
 
-
 
1362
Sets the layer &quot;layer&quot; to be locked or not. If locked is set to
-
 
1363
true the layer will be locked.
-
 
1364
 
-
 
1365
May raise NotFoundError if the layer can&apos;t be found.
-
 
1366
May raise ValueError if the layer name isn&apos;t acceptable.
-
 
1367
</source>
-
 
1368
        <translation type="unfinished"></translation>
-
 
1369
    </message>
-
 
1370
    <message>
-
 
1371
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="157"/>
-
 
1372
        <source>setLayerOutlined(&quot;layer&quot;, outline)
-
 
1373
 
-
 
1374
Sets the layer &quot;layer&quot; to be locked or not. If outline is set to
-
 
1375
true the layer will be displayed outlined.
-
 
1376
 
-
 
1377
May raise NotFoundError if the layer can&apos;t be found.
-
 
1378
May raise ValueError if the layer name isn&apos;t acceptable.
-
 
1379
</source>
-
 
1380
        <translation type="unfinished"></translation>
-
 
1381
    </message>
-
 
1382
    <message>
-
 
1383
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="170"/>
-
 
1384
        <source>setLayerFlow(&quot;layer&quot;, flow)
-
 
1385
 
-
 
1386
Sets the layers &quot;layer&quot;  flowcontrol to flow. If flow is set to
-
 
1387
true text in layers above this one will flow around objects on this layer.
-
 
1388
 
-
 
1389
May raise NotFoundError if the layer can&apos;t be found.
-
 
1390
May raise ValueError if the layer name isn&apos;t acceptable.
-
 
1391
</source>
-
 
1392
        <translation type="unfinished"></translation>
-
 
1393
    </message>
-
 
1394
    <message>
-
 
1395
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="182"/>
-
 
1396
        <source>setLayerBlendmode(&quot;layer&quot;, blend)
-
 
1397
 
-
 
1398
Sets the layers &quot;layer&quot;  blendmode to blend.
-
 
1399
 
-
 
1400
May raise NotFoundError if the layer can&apos;t be found.
-
 
1401
May raise ValueError if the layer name isn&apos;t acceptable.
-
 
1402
</source>
-
 
1403
        <translation type="unfinished"></translation>
-
 
1404
    </message>
-
 
1405
    <message>
-
 
1406
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="194"/>
-
 
1407
        <source>setLayerTransparency(&quot;layer&quot;, trans)
-
 
1408
 
-
 
1409
Sets the layers &quot;layer&quot;  transparency to trans.
-
 
1410
 
-
 
1411
May raise NotFoundError if the layer can&apos;t be found.
-
 
1412
May raise ValueError if the layer name isn&apos;t acceptable.
-
 
1413
</source>
-
 
1414
        <translation type="unfinished"></translation>
-
 
1415
    </message>
-
 
1416
    <message>
-
 
1417
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="208"/>
-
 
1418
        <source>isLayerVisible(&quot;layer&quot;) -&gt; bool
-
 
1419
 
-
 
1420
Returns whether the layer &quot;layer&quot; is visible or not, a value of True means
-
 
1421
that the layer &quot;layer&quot; is visible, a value of False means that the layer
-
 
1422
&quot;layer&quot; is invisible.
-
 
1423
 
-
 
1424
May raise NotFoundError if the layer can&apos;t be found.
-
 
1425
May raise ValueError if the layer name isn&apos;t acceptable.
-
 
1426
</source>
-
 
1427
        <translation type="unfinished"></translation>
-
 
1428
    </message>
-
 
1429
    <message>
-
 
1430
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="222"/>
-
 
1431
        <source>isLayerPrintable(&quot;layer&quot;) -&gt; bool
-
 
1432
 
-
 
1433
Returns whether the layer &quot;layer&quot; is printable or not, a value of True means
-
 
1434
that the layer &quot;layer&quot; can be printed, a value of False means that printing
-
 
1435
the layer &quot;layer&quot; is disabled.
-
 
1436
 
-
 
1437
May raise NotFoundError if the layer can&apos;t be found.
-
 
1438
May raise ValueError if the layer name isn&apos;t acceptable.
-
 
1439
</source>
-
 
1440
        <translation type="unfinished">isLayerPrintable(&quot;capa&quot;) -&gt;bool
-
 
1441
 
-
 
1442
Retorna si la capa &quot;capa&quot; és visible o no, un valor de cert significa
-
 
1443
que la capa &quot;capa&quot; està activada, un valor de fals significa que la capa
-
 
1444
&quot;capa&quot; està desactivada.
-
 
1445
 
-
 
1446
Pot generar NotFoundError si la capa no es pot trobar.
-
 
1447
Pot generar ValueError si el nom de la capa no és acceptable.
-
 
1448
</translation>
-
 
1449
    </message>
-
 
1450
    <message>
-
 
1451
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="236"/>
-
 
1452
        <source>isLayerLocked(&quot;layer&quot;) -&gt; bool
-
 
1453
 
-
 
1454
Returns whether the layer &quot;layer&quot; is locked or not, a value of True means
-
 
1455
that the layer &quot;layer&quot; is editable, a value of False means that the layer
-
 
1456
&quot;layer&quot; is locked.
-
 
1457
 
-
 
1458
May raise NotFoundError if the layer can&apos;t be found.
-
 
1459
May raise ValueError if the layer name isn&apos;t acceptable.
-
 
1460
</source>
-
 
1461
        <translation type="unfinished"></translation>
-
 
1462
    </message>
-
 
1463
    <message>
-
 
1464
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="250"/>
-
 
1465
        <source>isLayerOutlined(&quot;layer&quot;) -&gt; bool
-
 
1466
 
-
 
1467
Returns whether the layer &quot;layer&quot; is outlined or not, a value of True means
-
 
1468
that the layer &quot;layer&quot; is outlined, a value of False means that the layer
-
 
1469
&quot;layer&quot; is normal.
-
 
1470
 
-
 
1471
May raise NotFoundError if the layer can&apos;t be found.
-
 
1472
May raise ValueError if the layer name isn&apos;t acceptable.
-
 
1473
</source>
-
 
1474
        <translation type="unfinished"></translation>
-
 
1475
    </message>
-
 
1476
    <message>
-
 
1477
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="263"/>
-
 
1478
        <source>isLayerFlow(&quot;layer&quot;) -&gt; bool
-
 
1479
 
-
 
1480
Returns whether text flows around objects on layer &quot;layer&quot;, a value of True means
-
 
1481
that text flows around, a value of False means that the text does not flow around.
-
 
1482
 
-
 
1483
May raise NotFoundError if the layer can&apos;t be found.
-
 
1484
May raise ValueError if the layer name isn&apos;t acceptable.
-
 
1485
</source>
-
 
1486
        <translation type="unfinished"></translation>
-
 
1487
    </message>
-
 
1488
    <message>
-
 
1489
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="275"/>
-
 
1490
        <source>getLayerBlendmode(&quot;layer&quot;) -&gt; int
-
 
1491
 
-
 
1492
Returns the &quot;layer&quot; layer blendmode,
-
 
1493
 
-
 
1494
May raise NotFoundError if the layer can&apos;t be found.
-
 
1495
May raise ValueError if the layer name isn&apos;t acceptable.
-
 
1496
</source>
-
 
1497
        <translation type="unfinished"></translation>
-
 
1498
    </message>
-
 
1499
    <message>
-
 
1500
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="287"/>
-
 
1501
        <source>getLayerTransparency(&quot;layer&quot;) -&gt; float
-
 
1502
 
-
 
1503
Returns the &quot;layer&quot; layer transparency,
-
 
1504
 
-
 
1505
May raise NotFoundError if the layer can&apos;t be found.
-
 
1506
May raise ValueError if the layer name isn&apos;t acceptable.
-
 
1507
</source>
-
 
1508
        <translation type="unfinished"></translation>
-
 
1509
    </message>
-
 
1510
    <message>
-
 
1511
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="300"/>
-
 
1512
        <source>deleteLayer(&quot;layer&quot;)
-
 
1513
 
-
 
1514
Deletes the layer with the name &quot;layer&quot;. Nothing happens if the layer doesn&apos;t
-
 
1515
exists or if it&apos;s the only layer in the document.
-
 
1516
 
-
 
1517
May raise NotFoundError if the layer can&apos;t be found.
-
 
1518
May raise ValueError if the layer name isn&apos;t acceptable.
-
 
1519
</source>
-
 
1520
        <translation type="unfinished">deleteLayer(&quot;capa&quot;)
-
 
1521
 
-
 
1522
Esborra la capa amb el nom &quot;capa&quot;. Si la capa no existeix o és la única del 
-
 
1523
document no passa res.
-
 
1524
 
-
 
1525
Pot generar NotFoundError si la capa no es pot trobar.
-
 
1526
Pot generar ValueError si el nom de capa no és acceptable.
-
 
1527
</translation>
-
 
1528
    </message>
-
 
1529
    <message>
-
 
1530
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="311"/>
-
 
1531
        <source>createLayer(layer)
-
 
1532
 
-
 
1533
Creates a new layer with the name &quot;name&quot;.
-
 
1534
 
-
 
1535
May raise ValueError if the layer name isn&apos;t acceptable.
-
 
1536
</source>
-
 
1537
        <translation type="unfinished">createLayer(capa)
-
 
1538
 
-
 
1539
Crea una nova capa amb el nom &quot;capa&quot;.
-
 
1540
 
-
 
1541
Pot generar ValueError si el nom de capa no és acceptable.
-
 
1542
</translation>
-
 
1543
    </message>
-
 
1544
    <message>
-
 
1545
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="320"/>
-
 
1546
        <source>getGuiLanguage() -&gt; string
-
 
1547
 
-
 
1548
Returns a string with the -lang value.
-
 
1549
</source>
-
 
1550
        <translation type="unfinished">getGuiLanguage() -&gt; string
-
 
1551
 
-
 
1552
Retorna una cadena amb el valor de -lang.
-
 
1553
</translation>
-
 
1554
    </message>
-
 
1555
    <message>
-
 
1556
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="329"/>
-
 
1557
        <source>moveSelectionToFront()
-
 
1558
 
-
 
1559
Moves current selection to front.
-
 
1560
</source>
-
 
1561
        <translation type="unfinished"></translation>
-
 
1562
    </message>
-
 
1563
    <message>
-
 
1564
        <location filename="../../scribus/plugins/scriptplugin/cmdmisc.h" line="338"/>
-
 
1565
        <source>moveSelectionToFront()
-
 
1566
 
-
 
1567
Moves current selection to back.
-
 
1568
</source>
-
 
1569
        <translation type="unfinished"></translation>
-
 
1570
    </message>
-
 
1571
    <message>
-
 
1572
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="26"/>
-
 
1573
        <source>createRect(x, y, width, height, [&quot;name&quot;]) -&gt; string
-
 
1574
 
-
 
1575
Creates a new rectangle on the current page and returns its name. The
-
 
1576
coordinates are given in the current measurement units of the document
-
 
1577
(see UNIT constants). &quot;name&quot; should be a unique identifier for the object
-
 
1578
because you need this name to reference that object in future. If &quot;name&quot;
-
 
1579
is not given Scribus will create one for you.
-
 
1580
 
-
 
1581
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
-
 
1582
</source>
-
 
1583
        <translation type="unfinished">createRect(x,y,amplada, alçada, [&quot;name&quot;]) -&gt; string
-
 
1584
 
-
 
1585
Crea un nou rectangle en la pàgina actual i retorna el seu nom. Les 
-
 
1586
coordenades donades estaran en les unitats per defecte del document 
-
 
1587
(mireu unitats). &quot;nom&quot; ha de ser un identificador únic per l&apos;objecte 
-
 
1588
ja que necessites aquest nom per fer referència a l&apos;objecte en el futur. Si no
-
 
1589
es dóna &quot;nom&quot; Scribus en crearà un per nosaltres.
-
 
1590
 
-
 
1591
Es generar un NameExistsError si passem un nom que ja existeix.
-
 
1592
</translation>
-
 
1593
    </message>
-
 
1594
    <message>
-
 
1595
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="43"/>
-
 
1596
        <source>createEllipse(x, y, width, height, [&quot;name&quot;]) -&gt; string
-
 
1597
 
-
 
1598
Creates a new ellipse on the current page and returns its name.
-
 
1599
The coordinates are given in the current measurement units of the document
-
 
1600
(see UNIT constants). &quot;name&quot; should be a unique identifier for the object
-
 
1601
because you need this name for further referencing of that object. If &quot;name&quot;
-
 
1602
is not given Scribus will create one for you.
-
 
1603
 
-
 
1604
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
-
 
1605
</source>
-
 
1606
        <translation type="unfinished">createEllipse(x, y, amplada, alçada, [&quot;nom&quot;]) -&gt; string
-
 
1607
 
-
 
1608
Crea una nova elipse en la pàgina actual i en retorna el nom.
-
 
1609
Les coordenades estan especificades amb les unitats de mesura del document
-
 
1610
(mireu constants UNIT). &quot;nom&quot; ha de ser un identificador únic per l&apos;objecte
-
 
1611
ja que necessitem aquest nom per referències futures. Si &quot;nom&quot; no s&apos;especifica
-
 
1612
Scribus en crearà un per nosaltres.
-
 
1613
 
-
 
1614
Pot generar un NameExistsError si especifiquem un nom que ja es fa servir.
-
 
1615
</translation>
-
 
1616
    </message>
-
 
1617
    <message>
-
 
1618
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="60"/>
-
 
1619
        <source>createImage(x, y, width, height, [&quot;name&quot;]) -&gt; string
-
 
1620
 
-
 
1621
Creates a new picture frame on the current page and returns its name. The
-
 
1622
coordinates are given in the current measurement units of the document.
-
 
1623
&quot;name&quot; should be a unique identifier for the object because you need this
-
 
1624
name for further access to that object. If &quot;name&quot; is not given Scribus will
-
 
1625
create one for you.
-
 
1626
 
-
 
1627
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
-
 
1628
</source>
-
 
1629
        <translation type="unfinished">createImage(x, y, amplada, alçada, [&quot;nom&quot;]) -&gt; string
-
 
1630
 
-
 
1631
Crea un nou marc d&apos;imatge en la pàgina actual i en retorna el nom.
-
 
1632
Les coordenades estan especificades amb les unitats de mesura del document
-
 
1633
(mireu constants UNIT). &quot;nom&quot; ha de ser un identificador únic per l&apos;objecte
-
 
1634
ja que necessitem aquest nom per referències futures. Si &quot;nom&quot; no s&apos;especifica
-
 
1635
Scribus en crearà un per nosaltres.
-
 
1636
 
-
 
1637
Pot generar un NameExistsError si especifiquem un nom que ja es fa servir.
-
 
1638
</translation>
-
 
1639
    </message>
-
 
1640
    <message>
-
 
1641
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="75"/>
-
 
1642
        <source>createText(x, y, width, height, [&quot;name&quot;]) -&gt; string
-
 
1643
 
-
 
1644
Creates a new text frame on the actual page and returns its name.
-
 
1645
The coordinates are given in the actual measurement unit of the document (see
-
 
1646
UNIT constants). &quot;name&quot; should be a unique identifier for the object because
-
 
1647
you need this name for further referencing of that object. If &quot;name&quot; is not
-
 
1648
given Scribus will create one for you.
-
 
1649
 
-
 
1650
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
-
 
1651
</source>
-
 
1652
        <translation type="unfinished">createText(x, y, amplada, alçada, [&quot;nom&quot;]) -&gt; string
-
 
1653
 
-
 
1654
Crea un nou quadre de text en la pàgina actual i en retorna el nom.
-
 
1655
Les coordenades estan especificades amb les unitats de mesura del document
-
 
1656
(mireu constants UNIT). &quot;nom&quot; ha de ser un identificador únic per l&apos;objecte
-
 
1657
ja que necessitem aquest nom per referències futures. Si &quot;nom&quot; no s&apos;especifica
-
 
1658
Scribus en crearà un per nosaltres.
-
 
1659
 
-
 
1660
Pot generar un NameExistsError si especifiquem un nom que ja es fa servir.
-
 
1661
</translation>
-
 
1662
    </message>
-
 
1663
    <message>
-
 
1664
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="90"/>
-
 
1665
        <source>createLine(x1, y1, x2, y2, [&quot;name&quot;]) -&gt; string
-
 
1666
 
-
 
1667
Creates a new line from the point(x1, y1) to the point(x2, y2) and returns
-
 
1668
its name. The coordinates are given in the current measurement unit of the
-
 
1669
document (see UNIT constants). &quot;name&quot; should be a unique identifier for the
-
 
1670
object because you need this name for further access to that object. If
-
 
1671
&quot;name&quot; is not given Scribus will create one for you.
-
 
1672
 
-
 
1673
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
-
 
1674
</source>
-
 
1675
        <translation type="unfinished">createLine(x1, y1, x2, y2, [&quot;nom&quot;]) -&gt; string
-
 
1676
 
-
 
1677
Crea una nova línia des del punt (x1,y1) al punt (x2,y2) i en retorna el 
-
 
1678
nom. Les coordenades estan especificades amb les unitats de mesura del 
-
 
1679
document (mireu constants UNIT). &quot;nom&quot; ha de ser un identificador únic 
-
 
1680
per l&apos;objecte ja que necessitem aquest nom per referències futures. Si 
-
 
1681
&quot;nom&quot; no s&apos;especifica Scribus en crearà un per nosaltres.
-
 
1682
 
-
 
1683
Pot generar un NameExistsError si especifiquem un nom que ja es fa servir.
-
 
1684
</translation>
-
 
1685
    </message>
-
 
1686
    <message>
-
 
1687
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="108"/>
-
 
1688
        <source>createPolyLine(list, [&quot;name&quot;]) -&gt; string
-
 
1689
 
-
 
1690
Creates a new polyline and returns its name. The points for the polyline are
-
 
1691
stored in the list &quot;list&quot; in the following order: [x1, y1, x2, y2...xn. yn].
-
 
1692
The coordinates are given in the current measurement units of the document (see
-
 
1693
UNIT constants). &quot;name&quot; should be a unique identifier for the object because
-
 
1694
you need this name for further access to that object. If &quot;name&quot; is not given
-
 
1695
Scribus will create one for you.
-
 
1696
 
-
 
1697
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
-
 
1698
May raise ValueError if an insufficient number of points is passed or if
-
 
1699
the number of values passed don&apos;t group into points without leftovers.
-
 
1700
</source>
-
 
1701
        <translation type="unfinished">createPolyLine(llista, [&quot;nom&quot;]) -&gt; string
-
 
1702
 
-
 
1703
Crea un nou conjunt de línies i en retorna el nom. Els punts de cada línia estan
-
 
1704
guardats en la llista &quot;llista&quot; en l&apos;ordre [x1, y1, x2, y2, .., xn, yn].
-
 
1705
Les coordenades estan especificades amb les unitats de mesura del document
-
 
1706
(mireu constants UNIT). &quot;nom&quot; ha de ser un identificador únic per l&apos;objecte
-
 
1707
ja que necessitem aquest nom per referències futures. Si &quot;nom&quot; no s&apos;especifica
-
 
1708
Scribus en crearà un per nosaltres.
-
 
1709
 
-
 
1710
Pot generar un NameExistsError si especifiquem un nom que ja es fa servir.
-
 
1711
Pot generar un ValueError si es passa un número de punts insuficient o si el
-
 
1712
número de valors passat no agrupa bé els punts.
-
 
1713
</translation>
-
 
1714
    </message>
-
 
1715
    <message>
-
 
1716
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="128"/>
-
 
1717
        <source>createPolygon(list, [&quot;name&quot;]) -&gt; string
-
 
1718
 
-
 
1719
Creates a new polygon and returns its name. The points for the polygon are
-
 
1720
stored in the list &quot;list&quot; in the following order: [x1, y1, x2, y2...xn. yn].
-
 
1721
At least three points are required. There is no need to repeat the first point
-
 
1722
to close the polygon. The polygon is automatically closed by connecting the
-
 
1723
first and the last point.  The coordinates are given in the current measurement
-
 
1724
units of the document (see UNIT constants).  &quot;name&quot; should be a unique
-
 
1725
identifier for the object because you need this name for further access to that
-
 
1726
object. If &quot;name&quot; is not given Scribus will create one for you.
-
 
1727
 
-
 
1728
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
-
 
1729
May raise ValueError if an insufficient number of points is passed or if
-
 
1730
the number of values passed don&apos;t group into points without leftovers.
-
 
1731
</source>
-
 
1732
        <translation type="unfinished">createPolygon(llista, [&quot;nom&quot;]) -&gt; string
-
 
1733
 
-
 
1734
Crea un nou polígon i en retorna el nom. Els punts pel polígon estan 
-
 
1735
guardats en la llista &quot;llista&quot; en el següent ordre: [x1, y1, x2, y2, ...xn, yn].
-
 
1736
Almenys calen tres punts. No cal repetir el primer punt per 
-
 
1737
tancar el polígon. El polígon es tancarà automàticament connectant el 
-
 
1738
primer punt i el darrer.  Les coordenades estan especificades amb les unitats 
-
 
1739
de mesura del document (mireu constants UNIT).  &quot;nom&quot; ha de ser un identificador 
-
 
1740
únic per l&apos;objecte ja que necessitem aquest nom per referències futures. 
-
 
1741
Si &quot;nom&quot; no s&apos;especifica Scribus en crearà un per nosaltres.
-
 
1742
 
-
 
1743
Pot generar un NameExistsError si especifiquem un nom que ja es fa servir.
-
 
1744
Pot generar un ValueError si es passa un número de punts insuficient o si el
-
 
1745
número de valors passat no agrupa bé els punts.
-
 
1746
</translation>
-
 
1747
    </message>
-
 
1748
    <message>
-
 
1749
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="149"/>
-
 
1750
        <source>createBezierLine(list, [&quot;name&quot;]) -&gt; string
-
 
1751
 
-
 
1752
Creates a new bezier curve and returns its name. The points for the bezier
-
 
1753
curve are stored in the list &quot;list&quot; in the following order:
-
 
1754
[x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn]
-
 
1755
In the points list, x and y mean the x and y coordinates of the point and kx
-
 
1756
and ky meaning the control point for the curve.  The coordinates are given in
-
 
1757
the current measurement units of the document (see UNIT constants). &quot;name&quot;
-
 
1758
should be a unique identifier for the object because you need this name for
-
 
1759
further access to that object. If &quot;name&quot; is not given Scribus will create one
-
 
1760
for you.
-
 
1761
 
-
 
1762
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
-
 
1763
May raise ValueError if an insufficient number of points is passed or if
-
 
1764
the number of values passed don&apos;t group into points without leftovers.
-
 
1765
</source>
-
 
1766
        <translation type="unfinished">createBezierLine(llista, [&quot;nom&quot;]) -&gt; string
-
 
1767
 
-
 
1768
Crea una corba bezier i en retorna el nom. Els punts per la corba bezier es
-
 
1769
guarden en la llista &quot;llista&quot; en el següent ordre:  
-
 
1770
[x1, y1, kx1, ky1, x2, y2, kx2, ky2, ...xn, yn, kxn, kyn].
-
 
1771
En els punts x i y són els valors de x i de y del punt, mentre que kx 
-
 
1772
i ky són els punts de control de la corba.  Les coordenades es dónen en
-
 
1773
les unitats de mesura del document (mireu constants UNIT).  &quot;nom&quot; 
-
 
1774
ha de ser un identificador únic per l&apos;objecte ja que necessitem aquest nom 
-
 
1775
per referències futures. Si &quot;nom&quot; no s&apos;especifica Scribus en crearà un per 
-
 
1776
nosaltres.
-
 
1777
 
-
 
1778
Pot generar un NameExistsError si especifiquem un nom que ja es fa servir.
-
 
1779
Pot generar un ValueError si es passa un número de punts insuficient o si el
-
 
1780
número de valors passat no agrupa bé els punts.
-
 
1781
</translation>
-
 
1782
    </message>
-
 
1783
    <message>
-
 
1784
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="165"/>
-
 
1785
        <source>createPathText(x, y, &quot;textbox&quot;, &quot;beziercurve&quot;, [&quot;name&quot;]) -&gt; string
-
 
1786
 
-
 
1787
Creates a new pathText by merging the two objects &quot;textbox&quot; and
-
 
1788
&quot;beziercurve&quot; and returns its name. The coordinates are given in the current
-
 
1789
measurement unit of the document (see UNIT constants). &quot;name&quot; should be a
-
 
1790
unique identifier for the object because you need this name for further access
-
 
1791
to that object. If &quot;name&quot; is not given Scribus will create one for you.
-
 
1792
 
-
 
1793
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
-
 
1794
May raise NotFoundError if one or both of the named base object don&apos;t exist.
-
 
1795
</source>
-
 
1796
        <translation type="unfinished">createPathText(x, y, &quot;textbox&quot;, &quot;beziercurve&quot;, [&quot;nom&quot;]) -&gt; string
-
 
1797
 
-
 
1798
Crea una nou camí de text barrejant els dos objectes &quot;textbox&quot; i 
-
 
1799
&quot;beziercurve&quot; i en retorna el nom. Les coordenades estan especificades 
-
 
1800
amb les unitats de mesura del document (mireu constants UNIT). &quot;nom&quot; ha de 
-
 
1801
ser un identificador únic per l&apos;objecte ja que necessitem aquest nom per referències 
-
 
1802
futures. Si &quot;nom&quot; no s&apos;especifica Scribus en crearà un per nosaltres.
-
 
1803
 
-
 
1804
Pot generar un NameExistsError si especifiquem un nom que ja es fa servir.
-
 
1805
Pot generar un NotFoundError si un dels dos objectes no existeix.
-
 
1806
</translation>
-
 
1807
    </message>
-
 
1808
    <message>
-
 
1809
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="177"/>
-
 
1810
        <source>deleteObject([&quot;name&quot;])
-
 
1811
 
-
 
1812
Deletes the item with the name &quot;name&quot;. If &quot;name&quot; is not given the currently
-
 
1813
selected item is deleted.
-
 
1814
</source>
-
 
1815
        <translation type="unfinished">deleteObject([&quot;nom&quot;])
-
 
1816
 
-
 
1817
Esborra l&apos;ítem amb el nom &quot;nom&quot;. Si no especifiquem &quot;nom&quot; l&apos;ítem 
-
 
1818
seleccionat és el que s&apos;esborra.
-
 
1819
</translation>
-
 
1820
    </message>
-
 
1821
    <message>
-
 
1822
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="193"/>
-
 
1823
        <source>textFlowMode(&quot;name&quot; [, state])
-
 
1824
 
-
 
1825
Enables/disables &quot;Text Flows Around Frame&quot; feature for object &quot;name&quot;.
-
 
1826
Called with parameters string name and optional int &quot;state&quot; (0 &lt;= state &lt;= 3).
-
 
1827
Setting &quot;state&quot; to 0 will disable text flow.
-
 
1828
Setting &quot;state&quot; to 1 will make text flow around object frame.
-
 
1829
Setting &quot;state&quot; to 2 will make text flow around bounding box.
-
 
1830
Setting &quot;state&quot; to 3 will make text flow around contour line.
-
 
1831
If &quot;state&quot; is not passed, text flow is toggled.
-
 
1832
</source>
-
 
1833
        <translation type="unfinished"></translation>
-
 
1834
    </message>
-
 
1835
    <message>
-
 
1836
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="211"/>
-
 
1837
        <source>objectExists([&quot;name&quot;]) -&gt; bool
-
 
1838
 
-
 
1839
Test if an object with specified name really exists in the document.
-
 
1840
The optional parameter is the object name. When no object name is given,
-
 
1841
returns True if there is something selected.
-
 
1842
</source>
-
 
1843
        <translation type="unfinished">objectExists([&quot;nom&quot;]) -&gt; bool
-
 
1844
 
-
 
1845
Prova si un objecte amb el nom especificat existeix en el document.
-
 
1846
El paràmetre opcional és el nom de l&apos;objecte. Quan no especifiquem cap
-
 
1847
nom retorna cert si hi ha res seleccionat.</translation>
-
 
1848
    </message>
-
 
1849
    <message>
-
 
1850
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="227"/>
-
 
1851
        <source>setStyle(&quot;style&quot; [, &quot;name&quot;])
-
 
1852
 
-
 
1853
Apply the named &quot;style&quot; to the object named &quot;name&quot;. If is no object name
-
 
1854
given, it&apos;s applied on the selected object.
-
 
1855
</source>
-
 
1856
        <translation type="unfinished">setStyle(&quot;estil&quot; [, &quot;nom&quot;])
-
 
1857
 
-
 
1858
Aplica l&apos;estil especificat a &quot;estil&quot; a l&apos;objecte &quot;nom&quot;. Si no especifiquem el nom
-
 
1859
s&apos;aplica a l&apos;ítem seleccionat.</translation>
-
 
1860
    </message>
-
 
1861
    <message>
-
 
1862
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="240"/>
-
 
1863
        <source>getAllStyles() -&gt; list
-
 
1864
 
-
 
1865
Return a list of the names of all paragraph styles in the current document.
-
 
1866
</source>
-
 
1867
        <translation type="unfinished">getAllStyles() -&gt; llista
-
 
1868
 
-
 
1869
Retorna una llista amb els noms dels estils de paràgraf del document actual.
-
 
1870
</translation>
-
 
1871
    </message>
-
 
1872
    <message>
-
 
1873
        <location filename="../../scribus/plugins/scriptplugin/cmdobj.h" line="252"/>
-
 
1874
        <source>duplicateObject([&quot;name&quot;]) -&gt; string
-
 
1875
 
-
 
1876
creates a Duplicate of the selected Object (or Selection Group).
-
 
1877
</source>
-
 
1878
        <translation type="unfinished"></translation>
-
 
1879
    </message>
-
 
1880
    <message>
-
 
1881
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="26"/>
-
 
1882
        <source>newPage(where [,&quot;masterpage&quot;])
-
 
1883
 
-
 
1884
Creates a new page. If &quot;where&quot; is -1 the new Page is appended to the
-
 
1885
document, otherwise the new page is inserted before &quot;where&quot;. Page numbers are
-
 
1886
counted from 1 upwards, no matter what the displayed first page number of your
-
 
1887
document is. The optional parameter &quot;masterpage&quot; specifies the name of the
-
 
1888
master page for the new page.
-
 
1889
 
-
 
1890
May raise IndexError if the page number is out of range
-
 
1891
</source>
-
 
1892
        <translation type="unfinished">newPage(on [,&quot;paginamestra&quot;])
-
 
1893
 
-
 
1894
Crea una nova pàgina. Si &quot;on&quot; és -1 la nova pàgina s&apos;afegeix al final del document, 
-
 
1895
altrament la nova pàgina s&apos;afegeix allà on diu &apos;on&apos;. Els números de pàgina es compten
-
 
1896
des de 1 endavan, independentment del número que s&apos;hagi posat a cada pàgina en la
-
 
1897
creació del document.  El paràmetre opcional &quot;paginamestra&quot; especifica el nom de la
-
 
1898
pàgina mestra a aplicar a la nova pàgina.
-
 
1899
 
-
 
1900
Pot generar un error IndexError si la pàgina està fora de rang</translation>
-
 
1901
    </message>
-
 
1902
    <message>
-
 
1903
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="36"/>
-
 
1904
        <source>currentPage() -&gt; integer
-
 
1905
 
-
 
1906
Returns the number of the current working page. Page numbers are counted from 1
-
 
1907
upwards, no matter what the displayed first page number of your document is.
-
 
1908
</source>
-
 
1909
        <translation type="unfinished">currentPage() -&gt; integer
-
 
1910
 
-
 
1911
Retorna el número de pàgina actual. Els números de pàgina comencen per 1
-
 
1912
i van endavant, no importa de quina forma fem numerar les pàgines.
-
 
1913
</translation>
-
 
1914
    </message>
-
 
1915
    <message>
-
 
1916
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="45"/>
-
 
1917
        <source>redrawAll()
-
 
1918
 
-
 
1919
Redraws all pages.
-
 
1920
</source>
-
 
1921
        <translation type="unfinished">redrawAll()
-
 
1922
 
-
 
1923
Repinta totes les pàgines.
-
 
1924
</translation>
-
 
1925
    </message>
-
 
1926
    <message>
-
 
1927
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="54"/>
-
 
1928
        <source>getPageType() -&gt; integer
-
 
1929
 
-
 
1930
Returns the type of the Page, 0 means left Page, 1 is a middle Page and 2 is a right Page
-
 
1931
</source>
-
 
1932
        <translation type="unfinished"></translation>
-
 
1933
    </message>
-
 
1934
    <message>
-
 
1935
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="65"/>
-
 
1936
        <source>savePageAsEPS(&quot;name&quot;)
-
 
1937
 
-
 
1938
Saves the current page as an EPS to the file &quot;name&quot;.
-
 
1939
 
-
 
1940
May raise ScribusError if the save failed.
-
 
1941
</source>
-
 
1942
        <translation type="unfinished">savePageAsEPS(&quot;nom&quot;)
-
 
1943
 
-
 
1944
Desa la pàgina actual com un fitxer EPS amb el nom &quot;nom&quot;.
-
 
1945
 
-
 
1946
Pot generar un  ScribusError si el desat falla.</translation>
-
 
1947
    </message>
-
 
1948
    <message>
-
 
1949
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="78"/>
-
 
1950
        <source>deletePage(nr)
-
 
1951
 
-
 
1952
Deletes the given page. Does nothing if the document contains only one page.
-
 
1953
Page numbers are counted from 1 upwards, no matter what the displayed first
-
 
1954
page number is.
-
 
1955
 
-
 
1956
May raise IndexError if the page number is out of range
-
 
1957
</source>
-
 
1958
        <translation type="unfinished">deletePage(nr)
-
 
1959
 
-
 
1960
Esborra la pàgina especificada. No fa res si el document només conté una pàgina.
-
 
1961
Els números de pàgina estan comptats des de 1, no importa la forma en que 
-
 
1962
mostrem els números de pàgina.
-
 
1963
 
-
 
1964
Pot generar un IndexError si el número de pàgina està fora de rang
-
 
1965
</translation>
-
 
1966
    </message>
-
 
1967
    <message>
-
 
1968
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="91"/>
-
 
1969
        <source>gotoPage(nr)
-
 
1970
 
-
 
1971
Moves to the page &quot;nr&quot; (that is, makes the current page &quot;nr&quot;). Note that
-
 
1972
gotoPage doesn&apos;t (currently) change the page the user&apos;s view is displaying, it
-
 
1973
just sets the page that script commands will operates on.
-
 
1974
 
-
 
1975
May raise IndexError if the page number is out of range.
-
 
1976
</source>
-
 
1977
        <translation type="unfinished"></translation>
-
 
1978
    </message>
-
 
1979
    <message>
-
 
1980
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="100"/>
-
 
1981
        <source>pageCount() -&gt; integer
-
 
1982
 
-
 
1983
Returns the number of pages in the document.
-
 
1984
</source>
-
 
1985
        <translation type="unfinished">pageCount() -&gt; integer
-
 
1986
 
-
 
1987
Retorna el número de pàgines del document.
-
 
1988
</translation>
-
 
1989
    </message>
-
 
1990
    <message>
-
 
1991
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="110"/>
-
 
1992
        <source>getHGuides() -&gt; list
-
 
1993
 
-
 
1994
Returns a list containing positions of the horizontal guides. Values are in the
-
 
1995
document&apos;s current units - see UNIT_&lt;type&gt; constants.
-
 
1996
</source>
-
 
1997
        <translation type="unfinished">getHGuides() -&gt; llista
-
 
1998
 
-
 
1999
Retorna una llista que conté posicions de les guies horitzontals. Els valors estan
-
 
2000
en les unitats del document - mireu les constants UNIT_&lt;tipus&gt;.
-
 
2001
</translation>
-
 
2002
    </message>
-
 
2003
    <message>
-
 
2004
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="123"/>
-
 
2005
        <source>setHGuides(list)
-
 
2006
 
-
 
2007
Sets horizontal guides. Input parameter must be a list of guide positions
-
 
2008
measured in the current document units - see UNIT_&lt;type&gt; constants.
-
 
2009
 
-
 
2010
Example: setHGuides(getHGuides() + [200.0, 210.0] # add new guides without any lost
-
 
2011
         setHGuides([90,250]) # replace current guides entirely
-
 
2012
</source>
-
 
2013
        <translation type="unfinished">setHGuides(llista)
-
 
2014
 
-
 
2015
Estableix les guies horitzontals. La entrada ha de ser una llista de posicions 
-
 
2016
mesurades en les unitats del document - mireu les constants UNIT_&lt;tipus&gt;.
-
 
2017
 
-
 
2018
Exemple setHGuides(getHGuides() + [200.0, 210.0] # afegeix noves guies sense perdre
-
 
2019
                setHGuides([90,250]) # canvia les guies actuals completament
-
 
2020
</translation>
-
 
2021
    </message>
-
 
2022
    <message>
-
 
2023
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="132"/>
-
 
2024
        <source>getVGuides()
-
 
2025
 
-
 
2026
See getHGuides.
-
 
2027
</source>
-
 
2028
        <translation type="unfinished">getVGuides()
-
 
2029
 
-
 
2030
Mireu getHGuides.
-
 
2031
</translation>
-
 
2032
    </message>
-
 
2033
    <message>
-
 
2034
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="141"/>
-
 
2035
        <source>setVGuides()
-
 
2036
 
-
 
2037
See setHGuides.
-
 
2038
</source>
-
 
2039
        <translation type="unfinished">setVGuides()
-
 
2040
 
-
 
2041
Mireu setHGuides.
-
 
2042
</translation>
-
 
2043
    </message>
-
 
2044
    <message>
-
 
2045
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="151"/>
-
 
2046
        <source>getPageSize() -&gt; tuple
-
 
2047
 
-
 
2048
Returns a tuple with page dimensions measured in the document&apos;s current units.
-
 
2049
See UNIT_&lt;type&gt; constants and getPageMargins()
-
 
2050
</source>
-
 
2051
        <translation type="unfinished">getPageSize() -&gt; tupla
-
 
2052
 
-
 
2053
Retorna una tupla amb les mides de la pàgina mesurades amb les unitats del document.
-
 
2054
Mireu les constants UNIT_&lt;tipus&gt;  i getPageMargins()
-
 
2055
</translation>
-
 
2056
    </message>
-
 
2057
    <message>
-
 
2058
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="167"/>
-
 
2059
        <source>getPageItems() -&gt; list
-
 
2060
 
-
 
2061
Returns a list of tuples with items on the current page. The tuple is:
-
 
2062
(name, objectType, order) E.g. [(&apos;Text1&apos;, 4, 0), (&apos;Image1&apos;, 2, 1)]
-
 
2063
means that object named &apos;Text1&apos; is a text frame (type 4) and is the first at
-
 
2064
the page...
-
 
2065
</source>
-
 
2066
        <translation type="unfinished">getPageItems() -&gt; llista
-
 
2067
 
-
 
2068
Retorna una llista de tuples amb els ítems de la pàgina actual. La tupla és:
-
 
2069
(nom, Tipusd&apos;Objecte, ordre) Ex. [ (&apos;Text1&apos;, 4, 0), (&apos;Image1&apos;, 2, 1)]
-
 
2070
significa que l&apos;objecte &apos;Text1&apos; és un marc de text (tipus 4) i és el primer de
-
 
2071
la pàgina ...
-
 
2072
</translation>
-
 
2073
    </message>
-
 
2074
    <message>
-
 
2075
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="181"/>
-
 
2076
        <source>getPageMargins()
-
 
2077
 
-
 
2078
Returns the page margins as a (top, left, right, bottom) tuple in the current
-
 
2079
units. See UNIT_&lt;type&gt; constants and getPageSize().
-
 
2080
</source>
-
 
2081
        <translation type="unfinished">getPageMargins()
-
 
2082
 
-
 
2083
Retorna els marges de pàgina com una tupla (dalt, esquerra, dreta, baix) en 
-
 
2084
les unitats. Mireu les constants UNIT_&lt;tipus&gt;  i getPageSize().
-
 
2085
</translation>
-
 
2086
    </message>
-
 
2087
    <message>
-
 
2088
        <location filename="../../scribus/plugins/scriptplugin/cmdpage.h" line="198"/>
-
 
2089
        <source>importPage(&quot;fromDoc&quot;, (pageList), [create, imortwhere, importwherePage])
-
 
2090
 
-
 
2091
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.
-
 
2092
fromDoc: string; the filename of the document to import pages from
-
 
2093
pageList: tuple with page numbers of pages to import
-
 
2094
create: number; 0 to replace existing pages, 1 (default) to insert new pages
-
 
2095
importWhere: number; the page number (of the current document) at which import the pages
-
 
2096
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
-
 
2097
</source>
-
 
2098
        <translation type="unfinished"></translation>
-
 
2099
    </message>
-
 
2100
    <message>
-
 
2101
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="22"/>
-
 
2102
        <source>setGradientFill(type, &quot;color1&quot;, shade1, &quot;color2&quot;, shade2, [&quot;name&quot;])
-
 
2103
 
-
 
2104
Sets the gradient fill of the object &quot;name&quot; to type. Color descriptions are
-
 
2105
the same as for setFillColor() and setFillShade(). See the constants for
-
 
2106
available types (FILL_&lt;type&gt;).
-
 
2107
</source>
-
 
2108
        <translation type="unfinished">setGradientFill(tipus, &quot;color1&quot;, intensitat1, &quot;color2&quot;, intensitat2, [&quot;nom&quot;])
-
 
2109
 
-
 
2110
Estableix el gradient d&apos;emplenat de l&apos;objecte &quot;nom&quot; a tipus. Les descripcions de colors
-
 
2111
són les mateixes que per setFillColor() i setFillShade(). Mireu les constants pels
-
 
2112
tipus disponibles (FILL_&lt;tipus&gt;).
-
 
2113
</translation>
-
 
2114
    </message>
-
 
2115
    <message>
-
 
2116
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="33"/>
-
 
2117
        <source>setFillColor(&quot;color&quot;, [&quot;name&quot;])
-
 
2118
 
-
 
2119
Sets the fill color of the object &quot;name&quot; to the color &quot;color&quot;. &quot;color&quot;
-
 
2120
is the name of one of the defined colors. If &quot;name&quot; is not given the
-
 
2121
currently selected item is used.
-
 
2122
</source>
-
 
2123
        <translation type="unfinished">setFillColor(&quot;color&quot;, [&quot;nom&quot;])
-
 
2124
 
-
 
2125
Estableix el color d&apos;ompliment de l&apos;objecte &quot;nom&quot; al color &quot;color&quot;. 
-
 
2126
&quot;color&quot; és el nom d&apos;un dels colors definits. Si no especifiquem &quot;nom&quot; 
-
 
2127
es fa servir l&apos;ítem seleccionat.
-
 
2128
</translation>
-
 
2129
    </message>
-
 
2130
    <message>
-
 
2131
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="43"/>
-
 
2132
        <source>setFillTransparency(transparency, [&quot;name&quot;])
-
 
2133
 
-
 
2134
Sets the fill transparency of the object &quot;name&quot; to transparency
-
 
2135
If &quot;name&quot; is not given the currently selected item is used.
-
 
2136
</source>
-
 
2137
        <translation type="unfinished"></translation>
-
 
2138
    </message>
-
 
2139
    <message>
-
 
2140
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="53"/>
-
 
2141
        <source>setFillBlendmode(blendmode, [&quot;name&quot;])
-
 
2142
 
-
 
2143
Sets the fill blendmode of the object &quot;name&quot; to blendmode
-
 
2144
If &quot;name&quot; is not given the currently selected item is used.
-
 
2145
</source>
-
 
2146
        <translation type="unfinished"></translation>
-
 
2147
    </message>
-
 
2148
    <message>
-
 
2149
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="63"/>
-
 
2150
        <source>setLineColor(&quot;color&quot;, [&quot;name&quot;])
-
 
2151
 
-
 
2152
Sets the line color of the object &quot;name&quot; to the color &quot;color&quot;. If &quot;name&quot;
-
 
2153
is not given the currently selected item is used.
-
 
2154
</source>
-
 
2155
        <translation type="unfinished">setLineColor(&quot;color&quot;, [&quot;nom&quot;])
-
 
2156
 
-
 
2157
Estableix el color de la línia de l&apos;objecte &quot;nom&quot; al color &quot;color&quot;. Si no 
-
 
2158
especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.
-
 
2159
</translation>
-
 
2160
    </message>
-
 
2161
    <message>
-
 
2162
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="73"/>
-
 
2163
        <source>setLineTransparency(transparency, [&quot;name&quot;])
-
 
2164
 
-
 
2165
Sets the line transparency of the object &quot;name&quot; to transparency
-
 
2166
If &quot;name&quot; is not given the currently selected item is used.
-
 
2167
</source>
-
 
2168
        <translation type="unfinished"></translation>
-
 
2169
    </message>
-
 
2170
    <message>
-
 
2171
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="83"/>
-
 
2172
        <source>setLineBlendmode(blendmode, [&quot;name&quot;])
-
 
2173
 
-
 
2174
Sets the line blendmode of the object &quot;name&quot; to blendmode
-
 
2175
If &quot;name&quot; is not given the currently selected item is used.
-
 
2176
</source>
-
 
2177
        <translation type="unfinished"></translation>
-
 
2178
    </message>
-
 
2179
    <message>
-
 
2180
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="96"/>
-
 
2181
        <source>setLineWidth(width, [&quot;name&quot;])
-
 
2182
 
-
 
2183
Sets line width of the object &quot;name&quot; to &quot;width&quot;. &quot;width&quot; must be in the
-
 
2184
range from 0.0 to 12.0 inclusive, and is measured in points. If &quot;name&quot; is not
-
 
2185
given the currently selected item is used.
-
 
2186
 
-
 
2187
May raise ValueError if the line width is out of bounds.
-
 
2188
</source>
-
 
2189
        <translation type="unfinished">setLineWidth(amplada, [&quot;nom&quot;])
-
 
2190
 
-
 
2191
Estableix l&apos;amplada de línia de l&apos;objecte &quot;nom&quot; a &quot;amplada&quot;. &quot;amplada&quot; ha d&apos;estar
-
 
2192
dins d&apos;un rang  entre 0.0 a 12.0, i està mesurat en punts. Si no especifiquem &quot;nom&quot; 
-
 
2193
es fa servir l&apos;ítem seleccionat.
-
 
2194
 
-
 
2195
Pot generar un ValueError si l&apos;ample de línia és erròni.
-
 
2196
</translation>
-
 
2197
    </message>
-
 
2198
    <message>
-
 
2199
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="110"/>
-
 
2200
        <source>setLineShade(shade, [&quot;name&quot;])
-
 
2201
 
-
 
2202
Sets the shading of the line color of the object &quot;name&quot; to &quot;shade&quot;.
-
 
2203
&quot;shade&quot; must be an integer value in the range from 0 (lightest) to 100
-
 
2204
(full color intensity). If &quot;name&quot; is not given the currently selected item
-
 
2205
is used.
-
 
2206
 
-
 
2207
May raise ValueError if the line shade is out of bounds.
-
 
2208
</source>
-
 
2209
        <translation type="unfinished">setLineShade(intensitat, [&quot;nom&quot;])
-
 
2210
 
-
 
2211
Estableix la intensitat del color de la línea de contorn de l&apos;objecte &quot;nom&quot;
-
 
2212
a &quot;intensitat&quot;.&quot;intensitat&quot; ha de ser un valor enter entre 0 (més clar) i 100 
-
 
2213
(intensitat total). Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem 
-
 
2214
seleccionat.
-
 
2215
 
-
 
2216
Pot generar un ValueError si &quot;intensitat&quot; està fora de marges.
-
 
2217
</translation>
-
 
2218
    </message>
-
 
2219
    <message>
-
 
2220
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="121"/>
-
 
2221
        <source>setLineJoin(join, [&quot;name&quot;])
-
 
2222
 
-
 
2223
Sets the line join style of the object &quot;name&quot; to the style &quot;join&quot;.
-
 
2224
If &quot;name&quot; is not given the currently selected item is used. There are
-
 
2225
predefined constants for join - JOIN_&lt;type&gt;.
-
 
2226
</source>
-
 
2227
        <translation type="unfinished">setLineJoin(Unio, [&quot;nom&quot;])
-
 
2228
 
-
 
2229
Estableix l&apos;estil d&apos;unió de l&apos;objecte &quot;nom&quot; a l&apos;estil &quot;join&quot;.
-
 
2230
Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat. Hi ha
-
 
2231
constants predefinides d&apos;unions - JOIN_&lt;tipus&gt;.
-
 
2232
</translation>
-
 
2233
    </message>
-
 
2234
    <message>
-
 
2235
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="132"/>
-
 
2236
        <source>setLineEnd(endtype, [&quot;name&quot;])
-
 
2237
 
-
 
2238
Sets the line cap style of the object &quot;name&quot; to the style &quot;cap&quot;.
-
 
2239
If &quot;name&quot; is not given the currently selected item is used. There are
-
 
2240
predefined constants for &quot;cap&quot; - CAP_&lt;type&gt;.
-
 
2241
</source>
-
 
2242
        <translation type="unfinished">setLsetLineEnd(Final, [&quot;nom&quot;])
-
 
2243
 
-
 
2244
Estableix l&apos;estil de tancament de l&apos;objecte &quot;nom&quot; a l&apos;estil &quot;final&quot;.
-
 
2245
Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat. Hi ha
-
 
2246
constants predefinides de tancaments - CAP_&lt;tipus&gt;.
-
 
2247
</translation>
-
 
2248
    </message>
-
 
2249
    <message>
-
 
2250
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="143"/>
-
 
2251
        <source>setLineStyle(style, [&quot;name&quot;])
-
 
2252
 
-
 
2253
Sets the line style of the object &quot;name&quot; to the style &quot;style&quot;. If &quot;name&quot;
-
 
2254
is not given the currently selected item is used. There are predefined
-
 
2255
constants for &quot;style&quot; - LINE_&lt;style&gt;.
-
 
2256
</source>
-
 
2257
        <translation type="unfinished">setLsetLineStyle(estil, [&quot;nom&quot;])
-
 
2258
 
-
 
2259
Estableix l&apos;estil de línia de l&apos;objecte &quot;nom&quot; a l&apos;estil &quot;estil&quot;.
-
 
2260
Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat. Hi ha
-
 
2261
constants predefinides d&apos;estils de línia - LINE_&lt;tipus&gt;.
-
 
2262
</translation>
-
 
2263
    </message>
-
 
2264
    <message>
-
 
2265
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="157"/>
-
 
2266
        <source>setFillShade(shade, [&quot;name&quot;])
-
 
2267
 
-
 
2268
Sets the shading of the fill color of the object &quot;name&quot; to &quot;shade&quot;.
-
 
2269
&quot;shade&quot; must be an integer value in the range from 0 (lightest) to 100
-
 
2270
(full Color intensity). If &quot;name&quot; is not given the currently selected
-
 
2271
Item is used.
-
 
2272
 
-
 
2273
May raise ValueError if the fill shade is out of bounds.
-
 
2274
</source>
-
 
2275
        <translation type="unfinished">setLineShade(intensitat, [&quot;nom&quot;])
-
 
2276
 
-
 
2277
Estableix la intensitat del color d&apos;ompliment de l&apos;objecte &quot;nom&quot; a &quot;intensitat&quot;
-
 
2278
&quot;intensitat&quot; ha de ser un valor enter entre 0 (més clar) i 100 
-
 
2279
(intensitat total). Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem 
-
 
2280
seleccionat.
-
 
2281
 
-
 
2282
Pot generar un ValueError si la intensitat està fora de marges.
-
 
2283
</translation>
-
 
2284
    </message>
-
 
2285
    <message>
-
 
2286
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="169"/>
-
 
2287
        <source>setCornerRadius(radius, [&quot;name&quot;])
-
 
2288
 
-
 
2289
Sets the corner radius of the object &quot;name&quot;. The radius is expressed
-
 
2290
in points. If &quot;name&quot; is not given the currently selected item is used.
-
 
2291
 
-
 
2292
May raise ValueError if the corner radius is negative.
-
 
2293
</source>
-
 
2294
        <translation type="unfinished">setCornerRadius(radi, [&quot;nom&quot;])
-
 
2295
 
-
 
2296
Estableix el radi d&apos;arrodoniment de l&apos;objecte &quot;nom&quot;. El radi està expressat
-
 
2297
en punts. Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.
-
 
2298
 
-
 
2299
Pot generar un ValueError si el radi és negatiu.
-
 
2300
</translation>
-
 
2301
    </message>
-
 
2302
    <message>
-
 
2303
        <location filename="../../scribus/plugins/scriptplugin/cmdsetprop.h" line="181"/>
-
 
2304
        <source>setMultiLine(&quot;namedStyle&quot;, [&quot;name&quot;])
-
 
2305
 
-
 
2306
Sets the line style of the object &quot;name&quot; to the named style &quot;namedStyle&quot;.
-
 
2307
If &quot;name&quot; is not given the currently selected item is used.
-
 
2308
 
-
 
2309
May raise NotFoundError if the line style doesn&apos;t exist.
-
 
2310
</source>
-
 
2311
        <translation type="unfinished">setMultiLine(&quot;nomEstil&quot;, [&quot;nom&quot;])
-
 
2312
 
-
 
2313
Estableix l&apos;estil de línia de l&apos;objecte &quot;nom&quot; a &quot;nomEstil&quot;.
-
 
2314
Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.
-
 
2315
 
-
 
2316
Pot generar un NotFoundError si l&apos;estil de línia no existeix.
-
 
2317
</translation>
-
 
2318
    </message>
-
 
2319
    <message>
-
 
2320
        <location filename="../../scribus/plugins/scriptplugin/cmdstyle.h" line="43"/>
-
 
2321
        <source>createParagraphStyle(...)
-
 
2322
 
-
 
2323
Creates a paragraph style. This function takes the following keyword parameters:
-
 
2324
 
-
 
2325
&quot;name&quot; [required] -&gt; specifies the name of the paragraphstyle to create
-
 
2326
 
-
 
2327
linespacingmode [optional] -&gt; specifies the linespacing mode; possible modes are:
-
 
2328
 
-
 
2329
fixed linespacing:          0
-
 
2330
 
-
 
2331
automatic linespacing:      1
-
 
2332
 
-
 
2333
baseline grid linespacing:  2
-
 
2334
 
-
 
2335
linespacing [optional] -&gt; specifies the linespacing if using fixed linespacing
-
 
2336
 
-
 
2337
alignment [optional] -&gt; specifies the alignment of the paragraph
-
 
2338
 
-
 
2339
-&gt; left:     0
-
 
2340
 
-
 
2341
-&gt; center:   1
-
 
2342
 
-
 
2343
-&gt; right:    2
-
 
2344
 
-
 
2345
-&gt; justify:  3
-
 
2346
 
-
 
2347
-&gt; extend:   4
-
 
2348
 
-
 
2349
leftmargin [optional], rightmargin [optional] -&gt; specify the margin
-
 
2350
 
-
 
2351
gapbefore [optional], gapafter [optional] -&gt; specify the gaps to the heading and following paragraphs
-
 
2352
 
-
 
2353
firstindent [optional] -&gt; the indent of the first line
-
 
2354
 
-
 
2355
hasdropcap [optional] -&gt; specifies if there are caps (1 = yes, 0 = no)
-
 
2356
 
-
 
2357
dropcaplines [optional] -&gt; height (in lines) of the caps if used
-
 
2358
 
-
 
2359
dropcapoffset [optional] -&gt; offset of the caps if used
-
 
2360
 
-
 
2361
&quot;charstyle&quot; [optional] -&gt; char style to use
-
 
2362
 
-
 
2363
</source>
-
 
2364
        <translation type="unfinished"></translation>
-
 
2365
    </message>
-
 
2366
    <message>
-
 
2367
        <location filename="../../scribus/plugins/scriptplugin/cmdstyle.h" line="80"/>
-
 
2368
        <source>createCharStyle(...)
-
 
2369
 
-
 
2370
Creates a character style. This function takes the following keyword parameters:
-
 
2371
 
-
 
2372
&quot;name&quot; [required] -&gt; name of the char style to create
-
 
2373
 
-
 
2374
&quot;font&quot; [optional] -&gt; name of the font to use
-
 
2375
 
-
 
2376
fontsize [optional] -&gt; font size to set (double)
-
 
2377
 
-
 
2378
&quot;features&quot; [optional] -&gt; nearer typographic details can be defined by a string that might contain the following phrases comma-seperated (without spaces!):
-
 
2379
 
-
 
2380
-&gt; inherit
-
 
2381
 
-
 
2382
-&gt; bold
-
 
2383
 
-
 
2384
-&gt; italic
-
 
2385
 
-
 
2386
-&gt; underline
-
 
2387
 
-
 
2388
-&gt; underlinewords
-
 
2389
 
-
 
2390
-&gt; strike
-
 
2391
 
-
 
2392
-&gt; superscript
-
 
2393
 
-
 
2394
-&gt; subscript
-
 
2395
 
-
 
2396
-&gt; outline
-
 
2397
 
-
 
2398
-&gt; shadowed
-
 
2399
 
-
 
2400
-&gt; allcaps
-
 
2401
 
-
 
2402
-&gt; smallcaps
-
 
2403
 
-
 
2404
&quot;fillcolor&quot; [optional], &quot;fillshade&quot; [optional] -&gt; specify fill options
-
 
2405
 
-
 
2406
&quot;strokecolor&quot; [optional], &quot;strokeshade&quot; [optional] -&gt; specify stroke options
-
 
2407
 
-
 
2408
baselineoffset [optional] -&gt; offset of the baseline
-
 
2409
 
-
 
2410
shadowxoffset [optional], shadowyoffset [optional] -&gt; offset of the shadow if used
-
 
2411
 
-
 
2412
outlinewidth [optional] -&gt; width of the outline if used
-
 
2413
 
-
 
2414
underlineoffset [optional], underlinewidth [optional] -&gt; underline options if used
-
 
2415
 
-
 
2416
strikethruoffset [optional], strikethruwidth [optional] -&gt; strikethru options if used
-
 
2417
 
-
 
2418
scaleh [optional], scalev [optional] -&gt; scale of the chars
-
 
2419
 
-
 
2420
tracking [optional] -&gt; tracking of the text
-
 
2421
 
-
 
2422
&quot;language&quot; [optional] -&gt; language code
-
 
2423
 
-
 
2424
</source>
-
 
2425
        <translation type="unfinished"></translation>
-
 
2426
    </message>
-
 
2427
    <message>
6
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="23"/>
2428
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="23"/>
7
        <source>getFontSize([&quot;name&quot;]) -&gt; float
2429
        <source>getFontSize([&quot;name&quot;]) -&gt; float
8
 
2430
 
9
Returns the font size in points for the text frame &quot;name&quot;. If this text
2431
Returns the font size in points for the text frame &quot;name&quot;. If this text
10
frame has some text selected the value assigned to the first character of
2432
frame has some text selected the value assigned to the first character of
Line 18... Line 2440...
18
de la selecció.
2440
de la selecció.
19
Si no es passa &quot;nom&quot;  es fa servir l&apos;ítem actualment seleccionat.
2441
Si no es passa &quot;nom&quot;  es fa servir l&apos;ítem actualment seleccionat.
20
</translation>
2442
</translation>
21
    </message>
2443
    </message>
22
    <message>
2444
    <message>
-
 
2445
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="35"/>
-
 
2446
        <source>getFont([&quot;name&quot;]) -&gt; string
-
 
2447
 
-
 
2448
Returns the font name for the text frame &quot;name&quot;. If this text frame
-
 
2449
has some text selected the value assigned to the first character
-
 
2450
of the selection is returned. If &quot;name&quot; is not given the currently
-
 
2451
selected item is used.
-
 
2452
</source>
-
 
2453
        <translation type="unfinished">getFont([&quot;nom]) -&gt; string
-
 
2454
 
-
 
2455
Retorna el nom de la font del quadre de text &quot;nom&quot;. Si aquest quadre
-
 
2456
de text té algun text seleccionat es retorna el valor assignat al primer
-
 
2457
caràcter de la selecció. Si no especifiquem &quot;nom&quot;  es fa servir l&apos;ítem
-
 
2458
seleccionat.
-
 
2459
</translation>
-
 
2460
    </message>
-
 
2461
    <message>
-
 
2462
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="45"/>
-
 
2463
        <source>getTextLength([&quot;name&quot;]) -&gt; integer
-
 
2464
 
-
 
2465
Returns the length of the text in the text frame &quot;name&quot;.
-
 
2466
If &quot;name&quot; is not given the currently selected item is used.
-
 
2467
</source>
-
 
2468
        <translation type="unfinished">getFillColor([&quot;nom&quot;]) -&gt; string
-
 
2469
 
-
 
2470
Retorna el nom del color de l&apos;objecte &quot;nom&quot;.
-
 
2471
Si no es dóna cap &quot;nom&quot;, es fa servir l&apos;ítem sel·leccionat.
-
 
2472
getTextLength([&quot;nom&quot;]) -&gt; integer
-
 
2473
 
-
 
2474
Retorna la llargada del text del quadre de text &quot;nom&quot;.
-
 
2475
Si no es dóna cap &quot;nom&quot;, es fa servir l&apos;ítem sel.leccionat.
-
 
2476
</translation>
-
 
2477
    </message>
-
 
2478
    <message>
-
 
2479
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="55"/>
-
 
2480
        <source>getTextLines([&quot;name&quot;]) -&gt; integer
-
 
2481
 
-
 
2482
Returns the number of lines of the text in the text frame &quot;name&quot;.
-
 
2483
If &quot;name&quot; is not given the currently selected item is used.
-
 
2484
</source>
-
 
2485
        <translation type="unfinished"></translation>
-
 
2486
    </message>
-
 
2487
    <message>
-
 
2488
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="67"/>
-
 
2489
        <source>getText([&quot;name&quot;]) -&gt; string
-
 
2490
 
-
 
2491
Returns the text of the text frame &quot;name&quot;. If this text frame has some text
-
 
2492
selected, the selected text is returned. All text in the frame, not just
-
 
2493
currently visible text, is returned. If &quot;name&quot; is not given the currently
-
 
2494
selected item is used.
-
 
2495
</source>
-
 
2496
        <translation type="unfinished">getText([&quot;nom&quot;]) -&gt; string
-
 
2497
 
-
 
2498
Retorna el text del quadre de text &quot;nom&quot;. Si el quadre de text té algun 
-
 
2499
text seleccionat, es torna el text seleccionat. Es torna tot el text, 
-
 
2500
no només el text visible. Si no es dóna cap &quot;nom&quot;, es fa servir 
-
 
2501
l&apos;ítem sel·leccionat.
-
 
2502
</translation>
-
 
2503
    </message>
-
 
2504
    <message>
-
 
2505
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="79"/>
-
 
2506
        <source>getAllText([&quot;name&quot;]) -&gt; string
-
 
2507
 
-
 
2508
Returns the text of the text frame &quot;name&quot; and of all text frames which are
-
 
2509
linked with this frame. If this textframe has some text selected, the selected
-
 
2510
text is returned. If &quot;name&quot; is not given the currently selected item is
-
 
2511
used.
-
 
2512
</source>
-
 
2513
        <translation type="unfinished">getAllText([&quot;nom&quot;]) -&gt; string
-
 
2514
 
-
 
2515
Retorna el text del quadre de text &quot;nom&quot; i de tots els quadres de text que estan
-
 
2516
enllaçats amb aquest. Si el quadre de text té algun text seleccionat, es retorna 
-
 
2517
el text seleccionat. Si no es dóna cap &quot;nom&quot;, es fa servir l&apos;ítem 
-
 
2518
sel·leccionat.
-
 
2519
</translation>
-
 
2520
    </message>
-
 
2521
    <message>
-
 
2522
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="89"/>
-
 
2523
        <source>getLineSpacing([&quot;name&quot;]) -&gt; float
-
 
2524
 
-
 
2525
Returns the line spacing (&quot;leading&quot;) of the text frame &quot;name&quot; expressed in
-
 
2526
points. If &quot;name&quot; is not given the currently selected item is used.
-
 
2527
</source>
-
 
2528
        <translation type="unfinished">getLineSpacing([&quot;nom&quot;]) -&gt; float
-
 
2529
 
-
 
2530
Retorna l&apos;espaiat entre línies del quadre de text &quot;nom&quot; expressat en
-
 
2531
punts. Si no es dóna cap &quot;nom&quot;, es fa servir l&apos;ítem sel·leccionat.
-
 
2532
</translation>
-
 
2533
    </message>
-
 
2534
    <message>
-
 
2535
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="100"/>
-
 
2536
        <source>getTextDistances([&quot;name&quot;]) -&gt; tuple
-
 
2537
 
-
 
2538
Returns the text distances of the text frame &quot;name&quot; expressed in points. The
-
 
2539
distances are returned as a tuple like (left, right, top, bottom). If &quot;name&quot;
-
 
2540
is not given the currently selected item is used.
-
 
2541
</source>
-
 
2542
        <translation type="unfinished"></translation>
-
 
2543
    </message>
-
 
2544
    <message>
-
 
2545
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="110"/>
-
 
2546
        <source>getColumnGap([&quot;name&quot;]) -&gt; float
-
 
2547
 
-
 
2548
Returns the column gap size of the text frame &quot;name&quot; expressed in points. If
-
 
2549
&quot;name&quot; is not given the currently selected item is used.
-
 
2550
</source>
-
 
2551
        <translation type="unfinished">getColumnGap([&quot;nom&quot;]) -&gt; float
-
 
2552
 
-
 
2553
Retorna l&apos;espai entre columnes del quadre de text &quot;nom&quot; expressat en punts. Si
-
 
2554
no es dóna cap &quot;nom&quot;, es fa servir l&apos;ítem sel·leccionat.
-
 
2555
</translation>
-
 
2556
    </message>
-
 
2557
    <message>
-
 
2558
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="120"/>
-
 
2559
        <source>getColumns([&quot;name&quot;]) -&gt; integer
-
 
2560
 
-
 
2561
Gets the number of columns of the text frame &quot;name&quot;. If &quot;name&quot; is not
-
 
2562
given the currently selected item is used.
-
 
2563
</source>
-
 
2564
        <translation type="unfinished">getColumns([&quot;nom&quot;]) -&gt; integer
-
 
2565
 
-
 
2566
Dóna el número de columnes del quadre de text &quot;nom&quot;. Si no es dóna 
-
 
2567
cap &quot;nom&quot;, es fa servir l&apos;ítem sel·leccionat.
-
 
2568
</translation>
-
 
2569
    </message>
-
 
2570
    <message>
-
 
2571
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="132"/>
-
 
2572
        <source>setText(&quot;text&quot;, [&quot;name&quot;])
-
 
2573
 
-
 
2574
Sets the text of the text frame &quot;name&quot; to the text of the string &quot;text&quot;.
-
 
2575
Text must be UTF8 encoded - use e.g. unicode(text, &apos;iso-8859-2&apos;). See the FAQ
-
 
2576
for more details. If &quot;name&quot; is not given the currently selected item is
-
 
2577
used.
-
 
2578
</source>
-
 
2579
        <translation type="unfinished">setText(&quot;text&quot;,[&quot;nom&quot;])
-
 
2580
 
-
 
2581
Posa al quadre de text &quot;name&quot; el text contingut a la cadena &quot;text&quot;. 
-
 
2582
El text ha de ser codificat UTF8 - feu servir unicode(text, &apos;iso-8859-2&apos;). Mireu el 
-
 
2583
FAQ per més detalls. Si no es dóna cap &quot;nom&quot;, es fa servir l&apos;ítem 
-
 
2584
sel·leccionat.
-
 
2585
</translation>
-
 
2586
    </message>
-
 
2587
    <message>
-
 
2588
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="146"/>
-
 
2589
        <source>insertText(&quot;text&quot;, pos, [&quot;name&quot;])
-
 
2590
 
-
 
2591
Inserts the text &quot;text&quot; at the position &quot;pos&quot; into the text frame &quot;name&quot;.
-
 
2592
Text must be UTF encoded (see setText() as reference) The first character has an
-
 
2593
index of 0. Inserting text at position -1 appends it to the frame. If &quot;name&quot; is
-
 
2594
not given the currently selected Item is used.
-
 
2595
 
-
 
2596
May throw IndexError for an insertion out of bounds.
-
 
2597
</source>
-
 
2598
        <translation type="unfinished"></translation>
-
 
2599
    </message>
-
 
2600
    <message>
-
 
2601
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="159"/>
-
 
2602
        <source>setFont(&quot;font&quot;, [&quot;name&quot;])
-
 
2603
 
-
 
2604
Sets the font of the text frame &quot;name&quot; to &quot;font&quot;. If there is some text
-
 
2605
selected only the selected text is changed.  If &quot;name&quot; is not given the
-
 
2606
currently selected item is used.
-
 
2607
 
-
 
2608
May throw ValueError if the font cannot be found.
-
 
2609
</source>
-
 
2610
        <translation type="unfinished">setFont(&quot;font&quot;,[&quot;nom])
-
 
2611
 
-
 
2612
Passa el quadre de text &quot;nom&quot; al tipus de lletra &quot;font&quot;. Si hi ha alguna
-
 
2613
part de text seleccionada només canvia aquesta.   Si no especifiquem &quot;nom&quot;  
-
 
2614
es fa servir l&apos;ítem seleccionat.
-
 
2615
 
-
 
2616
Pot generar ValueError si la font no es pot trobar.
-
 
2617
</translation>
-
 
2618
    </message>
-
 
2619
    <message>
-
 
2620
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="173"/>
-
 
2621
        <source>setFontSize(size, [&quot;name&quot;])
-
 
2622
 
-
 
2623
Sets the font size of the text frame &quot;name&quot; to &quot;size&quot;. &quot;size&quot; is treated
-
 
2624
as a value in points. If there is some text selected only the selected text is
-
 
2625
changed. &quot;size&quot; must be in the range 1 to 512. If &quot;name&quot; is not given the
-
 
2626
currently selected item is used.
-
 
2627
 
-
 
2628
May throw ValueError for a font size that&apos;s out of bounds.
-
 
2629
</source>
-
 
2630
        <translation type="unfinished">setFontSize(mida, [&quot;nom&quot;])
-
 
2631
 
-
 
2632
Estableix la mida de la font del quadre de text &quot;nom&quot; a &quot;mida&quot;. &quot;mida&quot;
-
 
2633
ha de ser en punts. Si hi ha text seleccionat només es canvia 
-
 
2634
aquest. &quot;mida&quot; ha de ser un valor entre 1 i 512. Si no especifiquem 
-
 
2635
&quot;nom&quot;  es fa servir l&apos;ítem seleccionat.
-
 
2636
 
-
 
2637
Pot provocar ValueError per mides fora de rang.
-
 
2638
</translation>
-
 
2639
    </message>
-
 
2640
    <message>
-
 
2641
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="186"/>
-
 
2642
        <source>setLineSpacing(size, [&quot;name&quot;])
-
 
2643
 
-
 
2644
Sets the line spacing (&quot;leading&quot;) of the text frame &quot;name&quot; to &quot;size&quot;.
-
 
2645
&quot;size&quot; is a value in points. If &quot;name&quot; is not given the currently selected
-
 
2646
item is used.
-
 
2647
 
-
 
2648
May throw ValueError if the line spacing is out of bounds.
-
 
2649
</source>
-
 
2650
        <translation type="unfinished">setLineSpacing(mida,[&quot;nom&quot;])
-
 
2651
 
-
 
2652
Estableix l&apos;espaiat de línia del quadre de text &quot;nom&quot; a &quot;mida&quot;.
-
 
2653
&quot;mida&quot; està en punts. Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem 
-
 
2654
seleccionat.
-
 
2655
 
-
 
2656
Pot provocar ValueError si l&apos;espaiat està fora de marges.</translation>
-
 
2657
    </message>
-
 
2658
    <message>
-
 
2659
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="199"/>
-
 
2660
        <source>setTextDistances(left, right, top, bottom, [&quot;name&quot;])
-
 
2661
 
-
 
2662
Sets the text distances of the text frame &quot;name&quot; to the values &quot;left&quot;
-
 
2663
&quot;right&quot;, &quot;top&quot; and &quot;bottom&quot;. If &quot;name&quot; is not given the currently
-
 
2664
selected item is used.
-
 
2665
 
-
 
2666
May throw ValueError if any of the distances are out of bounds (must be positive).
-
 
2667
</source>
-
 
2668
        <translation type="unfinished"></translation>
-
 
2669
    </message>
-
 
2670
    <message>
-
 
2671
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="211"/>
-
 
2672
        <source>setColumnGap(size, [&quot;name&quot;])
-
 
2673
 
-
 
2674
Sets the column gap of the text frame &quot;name&quot; to the value &quot;size&quot;. If
-
 
2675
&quot;name&quot; is not given the currently selected item is used.
-
 
2676
 
-
 
2677
May throw ValueError if the column gap is out of bounds (must be positive).
-
 
2678
</source>
-
 
2679
        <translation type="unfinished">setColumnGap(mida,[&quot;nom&quot;])
-
 
2680
 
-
 
2681
Estableix l&apos;espai entre columnes del quadre de text &quot;nom&quot; a &quot;mida&quot;. Si 
-
 
2682
no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.
-
 
2683
 
-
 
2684
Pot provocar ValueError si el valor està fora de rang (ha de ser positiu).
-
 
2685
</translation>
-
 
2686
    </message>
-
 
2687
    <message>
-
 
2688
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="223"/>
-
 
2689
        <source>setColumns(nr, [&quot;name&quot;])
-
 
2690
 
-
 
2691
Sets the number of columns of the text frame &quot;name&quot; to the integer &quot;nr&quot;.
-
 
2692
If &quot;name&quot; is not given the currently selected item is used.
-
 
2693
 
-
 
2694
May throw ValueError if number of columns is not at least one.
-
 
2695
</source>
-
 
2696
        <translation type="unfinished">setColumns(nr, [&quot;nom&quot;])
-
 
2697
 
-
 
2698
Estableix que el quadre de text &quot;nom&quot; tindrà &quot;nr&quot; columnes.
-
 
2699
Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.
-
 
2700
 
-
 
2701
Pot provocar ValueError si el número de columnes no és almenys una.
-
 
2702
</translation>
-
 
2703
    </message>
-
 
2704
    <message>
-
 
2705
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="236"/>
-
 
2706
        <source>setTextAlignment(align, [&quot;name&quot;])
-
 
2707
 
-
 
2708
Sets the text alignment of the text frame &quot;name&quot; to the specified alignment.
-
 
2709
If &quot;name&quot; is not given the currently selected item is used. &quot;align&quot; should
-
 
2710
be one of the ALIGN_ constants defined in this module - see dir(scribus).
-
 
2711
 
-
 
2712
May throw ValueError for an invalid alignment constant.
-
 
2713
</source>
-
 
2714
        <translation type="unfinished">setTextAlignment(alineacio, [&quot;nom&quot;])
-
 
2715
 
-
 
2716
Estableix l&apos;alineació del quadre de text &quot;nom&quot; a la especificada.
-
 
2717
Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat. &quot;alineació&quot; ha de ser
-
 
2718
una de les constants ALIGN_ definides en aquest mòdul - Mireu dir(scribus).
-
 
2719
 
-
 
2720
Pot provocar ValueError si posem una constant invàl·lida.
-
 
2721
</translation>
-
 
2722
    </message>
-
 
2723
    <message>
-
 
2724
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="250"/>
-
 
2725
        <source>selectText(start, count, [&quot;name&quot;])
-
 
2726
 
-
 
2727
Selects &quot;count&quot; characters of text in the text frame &quot;name&quot; starting from the
-
 
2728
character &quot;start&quot;. Character counting starts at 0. If &quot;count&quot; is zero, any
-
 
2729
text selection will be cleared.  If &quot;name&quot; is not given the currently
-
 
2730
selected item is used.
-
 
2731
 
-
 
2732
May throw IndexError if the selection is outside the bounds of the text.
-
 
2733
</source>
-
 
2734
        <translation type="unfinished">selectText(inici, número, [&quot;name&quot;])
-
 
2735
 
-
 
2736
Seleccióna &quot;número&quot; caràcters del quadre de text &quot;nom&quot; començant pel
-
 
2737
caràcter &quot;inici&quot;. Els caràcters comencen per 0. Si &quot;número&quot; és zero, es 
-
 
2738
deselecciona tot el que hi pogués haver seleccionat.  Si no especifiquem 
-
 
2739
&quot;nom&quot;  es fa servir l&apos;ítem seleccionat.
-
 
2740
 
-
 
2741
Pot provocar un IndexError si la selecció és massa gran pel text.
-
 
2742
</translation>
-
 
2743
    </message>
-
 
2744
    <message>
-
 
2745
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="261"/>
-
 
2746
        <source>deleteText([&quot;name&quot;])
-
 
2747
 
-
 
2748
Deletes any text in the text frame &quot;name&quot;. If there is some text selected,
-
 
2749
only the selected text will be deleted. If &quot;name&quot; is not given the currently
-
 
2750
selected item is used.
-
 
2751
</source>
-
 
2752
        <translation type="unfinished">deleteText([&quot;nom&quot;])
-
 
2753
 
-
 
2754
Esborra qualsevol text del quadre de text &quot;nom&quot;. Si hi ha algun text 
-
 
2755
seleccionat només s&apos;esborra la selecció. Si no especifiquem &quot;nom&quot;  
-
 
2756
es fa servir l&apos;ítem seleccionat.
-
 
2757
</translation>
-
 
2758
    </message>
-
 
2759
    <message>
-
 
2760
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="272"/>
-
 
2761
        <source>setTextColor(&quot;color&quot;, [&quot;name&quot;])
-
 
2762
 
-
 
2763
Sets the text color of the text frame &quot;name&quot; to the color &quot;color&quot;. If there
-
 
2764
is some text selected only the selected text is changed. If &quot;name&quot; is not
-
 
2765
given the currently selected item is used.
-
 
2766
</source>
-
 
2767
        <translation type="unfinished">setTextColor(&quot;color&quot;, [&quot;nom&quot;])
-
 
2768
 
-
 
2769
Posa el text del quadre de text &quot;nom&quot; al color &quot;color&quot;. Si hi ha algun
-
 
2770
text seleccionat només es canvia el text seleccionat. Si no 
-
 
2771
especifiquem &quot;nom&quot;  es fa servir l&apos;ítem seleccionat.
-
 
2772
</translation>
-
 
2773
    </message>
-
 
2774
    <message>
-
 
2775
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="282"/>
-
 
2776
        <source>setTextStroke(&quot;color&quot;, [&quot;name&quot;])
-
 
2777
 
-
 
2778
Set &quot;color&quot; of the text stroke. If &quot;name&quot; is not given the currently
-
 
2779
selected item is used.
-
 
2780
</source>
-
 
2781
        <translation type="unfinished">setTextStroke(&quot;color&quot;, [&quot;nom&quot;])
-
 
2782
 
-
 
2783
Posa el &quot;color&quot; a les línies de contorn. Si no especifiquem &quot;nom&quot;  
-
 
2784
es fa servir l&apos;ítem seleccionat.
-
 
2785
</translation>
-
 
2786
    </message>
-
 
2787
    <message>
-
 
2788
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="295"/>
-
 
2789
        <source>setTextShade(shade, [&quot;name&quot;])
-
 
2790
 
-
 
2791
Sets the shading of the text color of the object &quot;name&quot; to &quot;shade&quot;. If
-
 
2792
there is some text selected only the selected text is changed. &quot;shade&quot; must
-
 
2793
be an integer value in the range from 0 (lightest) to 100 (full color
-
 
2794
intensity). If &quot;name&quot; is not given the currently selected item is
-
 
2795
used.
-
 
2796
</source>
-
 
2797
        <translation type="unfinished">setTextShade(intensitat, [&quot;nom&quot;])
-
 
2798
 
-
 
2799
Posa la intensitat del color del text &quot;nom&quot; a &quot;intensitat&quot;. Si hi ha algun
-
 
2800
text seleccionat només es canvia aquest. &quot;intensitat&quot; ha de ser
-
 
2801
un valor enter que va des de 0 (clarejat) a 100 (intensitat de 
-
 
2802
color).Si no especifiquem &quot;nom&quot;  es fa servir l&apos;ítem 
-
 
2803
seleccionat.
-
 
2804
</translation>
-
 
2805
    </message>
-
 
2806
    <message>
-
 
2807
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="308"/>
-
 
2808
        <source>linkTextFrames(&quot;fromname&quot;, &quot;toname&quot;)
-
 
2809
 
-
 
2810
Link two text frames. The frame named &quot;fromname&quot; is linked to the
-
 
2811
frame named &quot;toname&quot;. The target frame must be an empty text frame
-
 
2812
and must not link to or be linked from any other frames already.
-
 
2813
 
-
 
2814
May throw ScribusException if linking rules are violated.
-
 
2815
</source>
-
 
2816
        <translation type="unfinished">linkTextFrames(&quot;desdenom&quot;,&quot;anom&quot;)
-
 
2817
 
-
 
2818
Enllaça dos quadres de text. El quadre de text &quot;desdenom&quot; és enllaçat a
-
 
2819
el quadre de text &quot;anom&quot;. El quadre de text de destí ha de ser buit
-
 
2820
i no es pot enllaçar o ser enllaçat per cap altre quadre de text.
-
 
2821
 
-
 
2822
Podem tenir ScribusException si es violen les normes d&apos;enllaçat.
-
 
2823
</translation>
-
 
2824
    </message>
-
 
2825
    <message>
-
 
2826
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="325"/>
-
 
2827
        <source>unlinkTextFrames(&quot;name&quot;)
-
 
2828
 
-
 
2829
Remove the specified (named) object from the text frame flow/linkage. If the
-
 
2830
frame was in the middle of a chain, the previous and next frames will be
-
 
2831
connected, eg &apos;a-&gt;b-&gt;c&apos; becomes &apos;a-&gt;c&apos; when you unlinkTextFrames(b)&apos;
-
 
2832
 
-
 
2833
May throw ScribusException if linking rules are violated.
-
 
2834
</source>
-
 
2835
        <translation type="unfinished">unlinkTextFrames(&quot;nom&quot;)
-
 
2836
 
-
 
2837
Elimina l&apos;objecte especificat del camí de quadre de text. Si el quadre
-
 
2838
de text estava al mig d&apos;una cadena, els anteriors i els següents seran
-
 
2839
connectats, ex. &apos;a-&gt;b-&gt;c&apos; esdevé &apos;a-&gt;c&apos; quan fem unlinkTextFrames(b)&apos;
-
 
2840
 
-
 
2841
Podem tenir ScribusException si violem les normes.
-
 
2842
</translation>
-
 
2843
    </message>
-
 
2844
    <message>
-
 
2845
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="338"/>
-
 
2846
        <source>traceText([&quot;name&quot;])
-
 
2847
 
-
 
2848
Convert the text frame &quot;name&quot; to outlines. If &quot;name&quot; is not given the
-
 
2849
currently selected item is used.</source>
-
 
2850
        <translation type="unfinished">traceText([&quot;nom&quot;])
-
 
2851
 
-
 
2852
Convertim el quadre de text &quot;nom&quot; a esquema. Si no especifiquem 
-
 
2853
&quot;nom&quot; es fa servir l&apos;ítem seleccionat.</translation>
-
 
2854
    </message>
-
 
2855
    <message>
-
 
2856
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="352"/>
-
 
2857
        <source>textOverflows([&quot;name&quot;, nolinks]) -&gt; integer
-
 
2858
 
-
 
2859
Returns the actual number of overflowing characters in text frame &quot;name&quot;.
-
 
2860
If is nolinks set to non zero value it takes only one frame - it doesn&apos;t
-
 
2861
use text frame linking. Without this parameter it search all linking chain.
-
 
2862
 
-
 
2863
May raise WrongFrameTypeError if the target frame is not an text frame
-
 
2864
</source>
-
 
2865
        <translation type="unfinished">textOverflows([&quot;nom&quot;, nolinks]) -&gt; integer
-
 
2866
 
-
 
2867
Retorna el número actual de caràcters que sobreeixen del marc de text &quot;nom&quot;.
-
 
2868
Si &apos;nolinks&apos; val zero només mira un marc - no segueix els enllaços de
-
 
2869
text. Sense aquest paràmetre busca per tots els marcs que estiguin enllaçats.
-
 
2870
 
-
 
2871
Pot generar un WrongFrameTypeError si el marc de destí no és un marc de text
-
 
2872
</translation>
-
 
2873
    </message>
-
 
2874
    <message>
-
 
2875
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="365"/>
-
 
2876
        <source>hyphenateText([&quot;name&quot;]) -&gt; bool
-
 
2877
 
-
 
2878
Does hyphenation on text frame &quot;name&quot;.
-
 
2879
If &quot;name&quot; is not given the currently selected item is used.
-
 
2880
 
-
 
2881
May raise WrongFrameTypeError if the target frame is not a text frame
-
 
2882
</source>
-
 
2883
        <translation type="unfinished"></translation>
-
 
2884
    </message>
-
 
2885
    <message>
-
 
2886
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="379"/>
-
 
2887
        <source>dehyphenateText([&quot;name&quot;]) -&gt; bool
-
 
2888
 
-
 
2889
Does dehyphenation on text frame &quot;name&quot;.
-
 
2890
If &quot;name&quot; is not given the currently selected item is used.
-
 
2891
 
-
 
2892
May raise WrongFrameTypeError if the target frame is not a text frame
-
 
2893
</source>
-
 
2894
        <translation type="unfinished"></translation>
-
 
2895
    </message>
-
 
2896
    <message>
-
 
2897
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="394"/>
-
 
2898
        <source>setPDFBookmark(&quot;toggle&quot;, [&quot;name&quot;])
-
 
2899
 
-
 
2900
Sets whether (toggle = 1) the text frame &quot;name&quot; is a bookmark nor not.
-
 
2901
If &quot;name&quot; is not given the currently selected item is used.
-
 
2902
 
-
 
2903
May raise WrongFrameTypeError if the target frame is not a text frame
-
 
2904
</source>
-
 
2905
        <translation type="unfinished"></translation>
-
 
2906
    </message>
-
 
2907
    <message>
-
 
2908
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="406"/>
-
 
2909
        <source>isPDFBookmark([&quot;name&quot;]) -&gt; bool
-
 
2910
 
-
 
2911
Returns true if the text frame &quot;name&quot; is a PDF bookmark.
-
 
2912
If &quot;name&quot; is not given the currently selected item is used.
-
 
2913
 
-
 
2914
May raise WrongFrameTypeError if the target frame is not a text frame
-
 
2915
</source>
-
 
2916
        <translation type="unfinished">isPDFBookmark([&quot;nom&quot;]) -&gt; bool
-
 
2917
 
-
 
2918
Retorna cert si el &quot;nom&quot; del marc de text és un punt PDF.
-
 
2919
Si no s&apos;especifica &quot;nom&quot; es fa servir l&apos;element actual.
-
 
2920
 
-
 
2921
Pot generar un WrongFrameTypeError si el marc de destí no és de text</translation>
-
 
2922
    </message>
-
 
2923
    <message>
-
 
2924
        <location filename="../../scribus/plugins/scriptplugin/guiapp.h" line="21"/>
-
 
2925
        <source>messagebarText(&quot;string&quot;)
-
 
2926
 
-
 
2927
Writes the &quot;string&quot; into the Scribus message bar (status line). The text
-
 
2928
must be UTF8 encoded or &apos;unicode&apos; string(recommended).
-
 
2929
</source>
-
 
2930
        <translation type="unfinished">messagebarText(&quot;string&quot;)
-
 
2931
 
-
 
2932
Escriu la cadena &quot;string&quot; en la barra d&apos;estat de l&apos;Scribus. El text
-
 
2933
ha de ser codificat en UTF8 o una cadena &apos;unicode&apos; (recomanat).
-
 
2934
</translation>
-
 
2935
    </message>
-
 
2936
    <message>
-
 
2937
        <location filename="../../scribus/plugins/scriptplugin/guiapp.h" line="34"/>
-
 
2938
        <source>progressReset()
-
 
2939
 
-
 
2940
Cleans up the Scribus progress bar previous settings. It is called before the
-
 
2941
new progress bar use. See progressSet.
-
 
2942
</source>
-
 
2943
        <translation type="unfinished">progressReset()
-
 
2944
 
-
 
2945
Buida la barra de progrés de l&apos;Scribus. Es fa servir abans de fer servir
-
 
2946
una nova barra de progrés. Mireu ProgressSet.
-
 
2947
</translation>
-
 
2948
    </message>
-
 
2949
    <message>
-
 
2950
        <location filename="../../scribus/plugins/scriptplugin/guiapp.h" line="47"/>
-
 
2951
        <source>progressTotal(max)
-
 
2952
 
-
 
2953
Sets the progress bar&apos;s maximum steps value to the specified number.
-
 
2954
See progressSet.
-
 
2955
</source>
-
 
2956
        <translation type="unfinished">progressTotal(max)
-
 
2957
 
-
 
2958
Estableix el màxim número de salts d&apos;una barra de progrés al número.
-
 
2959
Mireu progressSet.
-
 
2960
</translation>
-
 
2961
    </message>
-
 
2962
    <message>
-
 
2963
        <location filename="../../scribus/plugins/scriptplugin/guiapp.h" line="61"/>
-
 
2964
        <source>progressSet(nr)
-
 
2965
 
-
 
2966
Set the progress bar position to &quot;nr&quot;, a value relative to the previously set
-
 
2967
progressTotal. The progress bar uses the concept of steps; you give it the
-
 
2968
total number of steps and the number of steps completed so far and it will
-
 
2969
display the percentage of steps that have been completed. You can specify the
-
 
2970
total number of steps with progressTotal(). The current number of steps is set
-
 
2971
with progressSet(). The progress bar can be rewound to the beginning with
-
 
2972
progressReset(). [based on info taken from Trolltech&apos;s Qt docs]
-
 
2973
</source>
-
 
2974
        <translation type="unfinished">progressSet(nr)
-
 
2975
 
-
 
2976
Estableix la posició de la barra de progrés a &quot;nr&quot;, un valor relatiu al de 
-
 
2977
progressTotal. La barra de progrés fa servir el concepte de passes; pits donar 
-
 
2978
el número total de passes i el número total de passes fetes i es mostrarà
-
 
2979
el percentatge de passes que s&apos;han completat. Pots especificar el número total 
-
 
2980
de passes amb progressTotal(). El número actual de passes es passa amb 
-
 
2981
progressSet(). La barra de progrés pot tornar-se al principi amb progressReset(). 
-
 
2982
[basat en la informació passada la documentació de QT de TrollTech]
-
 
2983
</translation>
-
 
2984
    </message>
-
 
2985
    <message>
-
 
2986
        <location filename="../../scribus/plugins/scriptplugin/guiapp.h" line="69"/>
-
 
2987
        <source>setCursor()
-
 
2988
 
-
 
2989
[UNSUPPORTED!] This might break things, so steer clear for now.
-
 
2990
</source>
-
 
2991
        <translation type="unfinished">setCursor()
-
 
2992
 
-
 
2993
[NO SUPORTAT!] Això farà anar malament, per tant no l&apos;utilitzeu per ara.
-
 
2994
</translation>
-
 
2995
    </message>
-
 
2996
    <message>
-
 
2997
        <location filename="../../scribus/plugins/scriptplugin/guiapp.h" line="83"/>
-
 
2998
        <source>docChanged(bool)
-
 
2999
 
-
 
3000
Enable/disable save icon in the Scribus icon bar and the Save menu item. It&apos;s
-
 
3001
useful to call this procedure when you&apos;re changing the document, because Scribus
-
 
3002
won&apos;t automatically notice when you change the document using a script.
-
 
3003
</source>
-
 
3004
        <translation type="unfinished">docChanged(bool)
-
 
3005
 
-
 
3006
Activa/desactiva la icona de desar en la barra d&apos;icones i el menu de l&apos;Scribus. És 
-
 
3007
útil cridar aquest procediment quan estas canviant el document amb una
-
 
3008
seqüència, perquè Scribus no se n&apos;adonarà automàticament dels canvis.
-
 
3009
</translation>
-
 
3010
    </message>
-
 
3011
    <message>
-
 
3012
        <location filename="../../scribus/plugins/scriptplugin/guiapp.h" line="95"/>
-
 
3013
        <source>zoomDocument(double)
-
 
3014
 
-
 
3015
Zoom the document in main GUI window. Actions have whole number
-
 
3016
values like 20.0, 100.0, etc. Zoom to Fit uses -100 as a marker.
-
 
3017
</source>
-
 
3018
        <translation type="unfinished">zoomDocument(double)
-
 
3019
 
-
 
3020
Aplia la visualització del document en la finestra principal. Les accions han de
-
 
3021
tenir un número com 20.0, 100.0, etc.. Ampliar a la mida de la finestra és -100.
-
 
3022
</translation>
-
 
3023
    </message>
-
 
3024
    <message>
-
 
3025
        <location filename="../../scribus/plugins/scriptplugin/guiapp.h" line="106"/>
-
 
3026
        <source>scrollDocument(x,y)
-
 
3027
 
-
 
3028
Scroll the document in main GUI window by x and y.
-
 
3029
</source>
-
 
3030
        <translation type="unfinished"></translation>
-
 
3031
    </message>
-
 
3032
    <message>
-
 
3033
        <location filename="../../scribus/plugins/scriptplugin/svgimport.h" line="21"/>
-
 
3034
        <source>placeSVG(&quot;filename&quot;, x, y)
-
 
3035
 
-
 
3036
Places the SVG &quot;filename&quot; onto the current page,
-
 
3037
x and y specify the coordinate of the topleft corner of the SVG placed on the page
-
 
3038
 
-
 
3039
If loading was successful, the selection contains the imported SVG
-
 
3040
</source>
-
 
3041
        <translation type="unfinished"></translation>
-
 
3042
    </message>
-
 
3043
    <message>
-
 
3044
        <location filename="../../scribus/plugins/scriptplugin/svgimport.h" line="33"/>
-
 
3045
        <source>placeEPS(&quot;filename&quot;, x, y)
-
 
3046
 
-
 
3047
Places the EPS &quot;filename&quot; onto the current page,
-
 
3048
x and y specify the coordinate of the topleft corner of the EPS placed on the page
-
 
3049
 
-
 
3050
If loading was successful, the selection contains the imported EPS
-
 
3051
</source>
-
 
3052
        <translation type="unfinished"></translation>
-
 
3053
    </message>
-
 
3054
    <message>
-
 
3055
        <location filename="../../scribus/plugins/scriptplugin/svgimport.h" line="45"/>
-
 
3056
        <source>placeSXD(&quot;filename&quot;, x, y)
-
 
3057
 
-
 
3058
Places the SXD &quot;filename&quot; onto the current page,
-
 
3059
x and y specify the coordinate of the topleft corner of the SXD placed on the page
-
 
3060
 
-
 
3061
If loading was successful, the selection contains the imported SXD
-
 
3062
</source>
-
 
3063
        <translation type="unfinished"></translation>
-
 
3064
    </message>
-
 
3065
    <message>
-
 
3066
        <location filename="../../scribus/plugins/scriptplugin/svgimport.h" line="57"/>
-
 
3067
        <source>placeODG(&quot;filename&quot;, x, y)
-
 
3068
 
-
 
3069
Places the ODG &quot;filename&quot; onto the current page,
-
 
3070
x and y specify the coordinate of the topleft corner of the ODG placed on the page
-
 
3071
 
-
 
3072
If loading was successful, the selection contains the imported ODG
-
 
3073
</source>
-
 
3074
        <translation type="unfinished"></translation>
-
 
3075
    </message>
-
 
3076
</context>
-
 
3077
<context>
-
 
3078
    <name>@default</name>
-
 
3079
    <message>
-
 
3080
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="23"/>
-
 
3081
        <source>getFontSize([&quot;name&quot;]) -&gt; float
-
 
3082
 
-
 
3083
Returns the font size in points for the text frame &quot;name&quot;. If this text
-
 
3084
frame has some text selected the value assigned to the first character of
-
 
3085
the selection is returned.
-
 
3086
If &quot;name&quot; is not given the currently selected item is used.
-
 
3087
</source>
-
 
3088
        <translation type="obsolete">getFontSize([&quot;nom&quot;]) -&gt; float
-
 
3089
 
-
 
3090
Retorna la mida del tipus de lletra en punts del quadre de text &quot;nom&quot;. Si 
-
 
3091
aquest quadre de text té algun text seleccionat es torna el primer caràcter 
-
 
3092
de la selecció.
-
 
3093
Si no es passa &quot;nom&quot;  es fa servir l&apos;ítem actualment seleccionat.
-
 
3094
</translation>
-
 
3095
    </message>
-
 
3096
    <message>
23
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="21"/>
3097
        <location filename="../../scribus/plugins/scriptplugin/cmdcolor.h" line="21"/>
24
        <source>getColorNames() -&gt; list
3098
        <source>getColorNames() -&gt; list
25
 
3099
 
26
Returns a list containing the names of all defined colors in the document.
3100
Returns a list containing the names of all defined colors in the document.
27
If no document is open, returns a list of the default document colors.
3101
If no document is open, returns a list of the default document colors.
28
</source>
3102
</source>
29
        <translation type="unfinished">getColorNames() -&gt; llista
3103
        <translation type="obsolete">getColorNames() -&gt; llista
30
 
3104
 
31
Retorna una llista que conté els noms dels colors definits en el document.
3105
Retorna una llista que conté els noms dels colors definits en el document.
32
Si no hi ha cap document obert, retorna una llista amb els colors per defecte.
3106
Si no hi ha cap document obert, retorna una llista amb els colors per defecte.
33
</translation>
3107
</translation>
34
    </message>
3108
    </message>
Line 38... Line 3112...
38
 
3112
 
39
Displays the &quot;New Document&quot; dialog box. Creates a new document if the user
3113
Displays the &quot;New Document&quot; dialog box. Creates a new document if the user
40
accepts the settings. Does not create a document if the user presses cancel.
3114
accepts the settings. Does not create a document if the user presses cancel.
41
Returns true if a new document was created.
3115
Returns true if a new document was created.
42
</source>
3116
</source>
43
        <translation type="unfinished">newDocDialog() -&gt; bool
3117
        <translation type="obsolete">newDocDialog() -&gt; bool
44
 
3118
 
45
Mostra el diàleg &quot;Nou Document&quot;. Crea un nou document si l&apos;usuari accepta 
3119
Mostra el diàleg &quot;Nou Document&quot;. Crea un nou document si l&apos;usuari accepta 
46
els paràmetres. No en fa cap en cas de que hagi triat cancel·lar. 
3120
els paràmetres. No en fa cap en cas de que hagi triat cancel·lar. 
47
Retorna cert si s&apos;ha creat un nou document.
3121
Retorna cert si s&apos;ha creat un nou document.
48
</translation>
3122
</translation>
Line 52... Line 3126...
52
        <source>getFillColor([&quot;name&quot;]) -&gt; string
3126
        <source>getFillColor([&quot;name&quot;]) -&gt; string
53
 
3127
 
54
Returns the name of the fill color of the object &quot;name&quot;.
3128
Returns the name of the fill color of the object &quot;name&quot;.
55
If &quot;name&quot; is not given the currently selected item is used.
3129
If &quot;name&quot; is not given the currently selected item is used.
56
</source>
3130
</source>
57
        <translation type="unfinished">getFillColor([&quot;nom&quot;]) -&gt; string
3131
        <translation type="obsolete">getFillColor([&quot;nom&quot;]) -&gt; string
58
 
3132
 
59
Retorna el nom del color de l&apos;objecte &quot;nom&quot;.
3133
Retorna el nom del color de l&apos;objecte &quot;nom&quot;.
60
Si no es dóna cap &quot;nom&quot;, es fa servir l&apos;ítem sel·leccionat.
3134
Si no es dóna cap &quot;nom&quot;, es fa servir l&apos;ítem sel·leccionat.
61
</translation>
3135
</translation>
62
    </message>
3136
    </message>
Line 67... Line 3141...
67
Moves the object &quot;name&quot; by dx and dy relative to its current position. The
3141
Moves the object &quot;name&quot; by dx and dy relative to its current position. The
68
distances are expressed in the current measurement unit of the document (see
3142
distances are expressed in the current measurement unit of the document (see
69
UNIT constants). If &quot;name&quot; is not given the currently selected item is used.
3143
UNIT constants). If &quot;name&quot; is not given the currently selected item is used.
70
If the object &quot;name&quot; belongs to a group, the whole group is moved.
3144
If the object &quot;name&quot; belongs to a group, the whole group is moved.
71
</source>
3145
</source>
72
        <translation type="unfinished">moveObject(dx, dy [,&quot;nom&quot;])
3146
        <translation type="obsolete">moveObject(dx, dy [,&quot;nom&quot;])
73
 
3147
 
74
Mou l&apos;objecte &quot;nom&quot; una distància dx i dx respecte la posició actual. Les
3148
Mou l&apos;objecte &quot;nom&quot; una distància dx i dx respecte la posició actual. Les
75
distàncies estan expressades en les unitats actuals del document (mireu
3149
distàncies estan expressades en les unitats actuals del document (mireu
76
unitats). Si no es dóna cap &quot;nom&quot;, es fa servir l&apos;ítem sel·leccionat.
3150
unitats). Si no es dóna cap &quot;nom&quot;, es fa servir l&apos;ítem sel·leccionat.
77
Si l&apos;objecte &quot;nom&quot; pertany a un grup, es mou tot el grup.
3151
Si l&apos;objecte &quot;nom&quot; pertany a un grup, es mou tot el grup.
Line 83... Line 3157...
83
 
3157
 
84
Disables page redraw when bool = False, otherwise redrawing is enabled.
3158
Disables page redraw when bool = False, otherwise redrawing is enabled.
85
This change will persist even after the script exits, so make sure to call
3159
This change will persist even after the script exits, so make sure to call
86
setRedraw(True) in a finally: clause at the top level of your script.
3160
setRedraw(True) in a finally: clause at the top level of your script.
87
</source>
3161
</source>
88
        <translation type="unfinished">setRedraw(bool)
3162
        <translation type="obsolete">setRedraw(bool)
89
 
3163
 
90
Desactiva el repintat de la pàgina quan bool=fals, altrament està activat.
3164
Desactiva el repintat de la pàgina quan bool=fals, altrament està activat.
91
Aquest canvi continuarà fins i tot quan acabi l&apos;execució de la seqüència, per tant cal estar 
3165
Aquest canvi continuarà fins i tot quan acabi l&apos;execució de la seqüència, per tant cal estar 
92
segur d&apos;acabar amb setRedraw(True): clausula a nivell alt de la teva seqüència.
3166
segur d&apos;acabar amb setRedraw(True): clausula a nivell alt de la teva seqüència.
93
</translation>
3167
</translation>
Line 102... Line 3176...
102
because you need this name to reference that object in future. If &quot;name&quot;
3176
because you need this name to reference that object in future. If &quot;name&quot;
103
is not given Scribus will create one for you.
3177
is not given Scribus will create one for you.
104
 
3178
 
105
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
3179
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
106
</source>
3180
</source>
107
        <translation type="unfinished">createRect(x,y,amplada, alçada, [&quot;name&quot;]) -&gt; string
3181
        <translation type="obsolete">createRect(x,y,amplada, alçada, [&quot;name&quot;]) -&gt; string
108
 
3182
 
109
Crea un nou rectangle en la pàgina actual i retorna el seu nom. Les 
3183
Crea un nou rectangle en la pàgina actual i retorna el seu nom. Les 
110
coordenades donades estaran en les unitats per defecte del document 
3184
coordenades donades estaran en les unitats per defecte del document 
111
(mireu unitats). &quot;nom&quot; ha de ser un identificador únic per l&apos;objecte 
3185
(mireu unitats). &quot;nom&quot; ha de ser un identificador únic per l&apos;objecte 
112
ja que necessites aquest nom per fer referència a l&apos;objecte en el futur. Si no
3186
ja que necessites aquest nom per fer referència a l&apos;objecte en el futur. Si no
Line 144... Line 3218...
144
 
3218
 
145
Sets the gradient fill of the object &quot;name&quot; to type. Color descriptions are
3219
Sets the gradient fill of the object &quot;name&quot; to type. Color descriptions are
146
the same as for setFillColor() and setFillShade(). See the constants for
3220
the same as for setFillColor() and setFillShade(). See the constants for
147
available types (FILL_&lt;type&gt;).
3221
available types (FILL_&lt;type&gt;).
148
</source>
3222
</source>
149
        <translation type="unfinished">setGradientFill(tipus, &quot;color1&quot;, intensitat1, &quot;color2&quot;, intensitat2, [&quot;nom&quot;])
3223
        <translation type="obsolete">setGradientFill(tipus, &quot;color1&quot;, intensitat1, &quot;color2&quot;, intensitat2, [&quot;nom&quot;])
150
 
3224
 
151
Estableix el gradient d&apos;emplenat de l&apos;objecte &quot;nom&quot; a tipus. Les descripcions de colors
3225
Estableix el gradient d&apos;emplenat de l&apos;objecte &quot;nom&quot; a tipus. Les descripcions de colors
152
són les mateixes que per setFillColor() i setFillShade(). Mireu les constants pels
3226
són les mateixes que per setFillColor() i setFillShade(). Mireu les constants pels
153
tipus disponibles (FILL_&lt;tipus&gt;).
3227
tipus disponibles (FILL_&lt;tipus&gt;).
154
</translation>
3228
</translation>
Line 158... Line 3232...
158
        <source>messagebarText(&quot;string&quot;)
3232
        <source>messagebarText(&quot;string&quot;)
159
 
3233
 
160
Writes the &quot;string&quot; into the Scribus message bar (status line). The text
3234
Writes the &quot;string&quot; into the Scribus message bar (status line). The text
161
must be UTF8 encoded or &apos;unicode&apos; string(recommended).
3235
must be UTF8 encoded or &apos;unicode&apos; string(recommended).
162
</source>
3236
</source>
163
        <translation type="unfinished">messagebarText(&quot;string&quot;)
3237
        <translation type="obsolete">messagebarText(&quot;string&quot;)
164
 
3238
 
165
Escriu la cadena &quot;string&quot; en la barra d&apos;estat de l&apos;Scribus. El text
3239
Escriu la cadena &quot;string&quot; en la barra d&apos;estat de l&apos;Scribus. El text
166
ha de ser codificat en UTF8 o una cadena &apos;unicode&apos; (recomanat).
3240
ha de ser codificat en UTF8 o una cadena &apos;unicode&apos; (recomanat).
167
</translation>
3241
</translation>
168
    </message>
3242
    </message>
Line 343... Line 3417...
343
document is. The optional parameter &quot;masterpage&quot; specifies the name of the
3417
document is. The optional parameter &quot;masterpage&quot; specifies the name of the
344
master page for the new page.
3418
master page for the new page.
345
 
3419
 
346
May raise IndexError if the page number is out of range
3420
May raise IndexError if the page number is out of range
347
</source>
3421
</source>
348
        <translation type="unfinished">newPage(on [,&quot;paginamestra&quot;])
3422
        <translation type="obsolete">newPage(on [,&quot;paginamestra&quot;])
349
 
3423
 
350
Crea una nova pàgina. Si &quot;on&quot; és -1 la nova pàgina s&apos;afegeix al final del document, 
3424
Crea una nova pàgina. Si &quot;on&quot; és -1 la nova pàgina s&apos;afegeix al final del document, 
351
altrament la nova pàgina s&apos;afegeix allà on diu &apos;on&apos;. Els números de pàgina es compten
3425
altrament la nova pàgina s&apos;afegeix allà on diu &apos;on&apos;. Els números de pàgina es compten
352
des de 1 endavan, independentment del número que s&apos;hagi posat a cada pàgina en la
3426
des de 1 endavan, independentment del número que s&apos;hagi posat a cada pàgina en la
353
creació del document.  El paràmetre opcional &quot;paginamestra&quot; especifica el nom de la
3427
creació del document.  El paràmetre opcional &quot;paginamestra&quot; especifica el nom de la
Line 453... Line 3527...
453
Returns the font name for the text frame &quot;name&quot;. If this text frame
3527
Returns the font name for the text frame &quot;name&quot;. If this text frame
454
has some text selected the value assigned to the first character
3528
has some text selected the value assigned to the first character
455
of the selection is returned. If &quot;name&quot; is not given the currently
3529
of the selection is returned. If &quot;name&quot; is not given the currently
456
selected item is used.
3530
selected item is used.
457
</source>
3531
</source>
458
        <translation>getFont([&quot;nom]) -&gt; string
3532
        <translation type="obsolete">getFont([&quot;nom]) -&gt; string
459
 
3533
 
460
Retorna el nom de la font del quadre de text &quot;nom&quot;. Si aquest quadre
3534
Retorna el nom de la font del quadre de text &quot;nom&quot;. Si aquest quadre
461
de text té algun text seleccionat es retorna el valor assignat al primer
3535
de text té algun text seleccionat es retorna el valor assignat al primer
462
caràcter de la selecció. Si no especifiquem &quot;nom&quot;  es fa servir l&apos;ítem
3536
caràcter de la selecció. Si no especifiquem &quot;nom&quot;  es fa servir l&apos;ítem
463
seleccionat.
3537
seleccionat.
Line 468... Line 3542...
468
        <source>getTextLength([&quot;name&quot;]) -&gt; integer
3542
        <source>getTextLength([&quot;name&quot;]) -&gt; integer
469
 
3543
 
470
Returns the length of the text in the text frame &quot;name&quot;.
3544
Returns the length of the text in the text frame &quot;name&quot;.
471
If &quot;name&quot; is not given the currently selected item is used.
3545
If &quot;name&quot; is not given the currently selected item is used.
472
</source>
3546
</source>
473
        <translation>getFillColor([&quot;nom&quot;]) -&gt; string
3547
        <translation type="obsolete">getFillColor([&quot;nom&quot;]) -&gt; string
474
 
3548
 
475
Retorna el nom del color de l&apos;objecte &quot;nom&quot;.
3549
Retorna el nom del color de l&apos;objecte &quot;nom&quot;.
476
Si no es dóna cap &quot;nom&quot;, es fa servir l&apos;ítem sel·leccionat.
3550
Si no es dóna cap &quot;nom&quot;, es fa servir l&apos;ítem sel·leccionat.
477
getTextLength([&quot;nom&quot;]) -&gt; integer
3551
getTextLength([&quot;nom&quot;]) -&gt; integer
478
 
3552
 
Line 487... Line 3561...
487
Returns the text of the text frame &quot;name&quot;. If this text frame has some text
3561
Returns the text of the text frame &quot;name&quot;. If this text frame has some text
488
selected, the selected text is returned. All text in the frame, not just
3562
selected, the selected text is returned. All text in the frame, not just
489
currently visible text, is returned. If &quot;name&quot; is not given the currently
3563
currently visible text, is returned. If &quot;name&quot; is not given the currently
490
selected item is used.
3564
selected item is used.
491
</source>
3565
</source>
492
        <translation>getText([&quot;nom&quot;]) -&gt; string
3566
        <translation type="obsolete">getText([&quot;nom&quot;]) -&gt; string
493
 
3567
 
494
Retorna el text del quadre de text &quot;nom&quot;. Si el quadre de text té algun 
3568
Retorna el text del quadre de text &quot;nom&quot;. Si el quadre de text té algun 
495
text seleccionat, es torna el text seleccionat. Es torna tot el text, 
3569
text seleccionat, es torna el text seleccionat. Es torna tot el text, 
496
no només el text visible. Si no es dóna cap &quot;nom&quot;, es fa servir 
3570
no només el text visible. Si no es dóna cap &quot;nom&quot;, es fa servir 
497
l&apos;ítem sel·leccionat.
3571
l&apos;ítem sel·leccionat.
Line 504... Line 3578...
504
Returns the text of the text frame &quot;name&quot; and of all text frames which are
3578
Returns the text of the text frame &quot;name&quot; and of all text frames which are
505
linked with this frame. If this textframe has some text selected, the selected
3579
linked with this frame. If this textframe has some text selected, the selected
506
text is returned. If &quot;name&quot; is not given the currently selected item is
3580
text is returned. If &quot;name&quot; is not given the currently selected item is
507
used.
3581
used.
508
</source>
3582
</source>
509
        <translation>getAllText([&quot;nom&quot;]) -&gt; string
3583
        <translation type="obsolete">getAllText([&quot;nom&quot;]) -&gt; string
510
 
3584
 
511
Retorna el text del quadre de text &quot;nom&quot; i de tots els quadres de text que estan
3585
Retorna el text del quadre de text &quot;nom&quot; i de tots els quadres de text que estan
512
enllaçats amb aquest. Si el quadre de text té algun text seleccionat, es retorna 
3586
enllaçats amb aquest. Si el quadre de text té algun text seleccionat, es retorna 
513
el text seleccionat. Si no es dóna cap &quot;nom&quot;, es fa servir l&apos;ítem 
3587
el text seleccionat. Si no es dóna cap &quot;nom&quot;, es fa servir l&apos;ítem 
514
sel·leccionat.
3588
sel·leccionat.
Line 519... Line 3593...
519
        <source>getLineSpacing([&quot;name&quot;]) -&gt; float
3593
        <source>getLineSpacing([&quot;name&quot;]) -&gt; float
520
 
3594
 
521
Returns the line spacing (&quot;leading&quot;) of the text frame &quot;name&quot; expressed in
3595
Returns the line spacing (&quot;leading&quot;) of the text frame &quot;name&quot; expressed in
522
points. If &quot;name&quot; is not given the currently selected item is used.
3596
points. If &quot;name&quot; is not given the currently selected item is used.
523
</source>
3597
</source>
524
        <translation>getLineSpacing([&quot;nom&quot;]) -&gt; float
3598
        <translation type="obsolete">getLineSpacing([&quot;nom&quot;]) -&gt; float
525
 
3599
 
526
Retorna l&apos;espaiat entre línies del quadre de text &quot;nom&quot; expressat en
3600
Retorna l&apos;espaiat entre línies del quadre de text &quot;nom&quot; expressat en
527
punts. Si no es dóna cap &quot;nom&quot;, es fa servir l&apos;ítem sel·leccionat.
3601
punts. Si no es dóna cap &quot;nom&quot;, es fa servir l&apos;ítem sel·leccionat.
528
</translation>
3602
</translation>
529
    </message>
3603
    </message>
Line 532... Line 3606...
532
        <source>getColumnGap([&quot;name&quot;]) -&gt; float
3606
        <source>getColumnGap([&quot;name&quot;]) -&gt; float
533
 
3607
 
534
Returns the column gap size of the text frame &quot;name&quot; expressed in points. If
3608
Returns the column gap size of the text frame &quot;name&quot; expressed in points. If
535
&quot;name&quot; is not given the currently selected item is used.
3609
&quot;name&quot; is not given the currently selected item is used.
536
</source>
3610
</source>
537
        <translation>getColumnGap([&quot;nom&quot;]) -&gt; float
3611
        <translation type="obsolete">getColumnGap([&quot;nom&quot;]) -&gt; float
538
 
3612
 
539
Retorna l&apos;espai entre columnes del quadre de text &quot;nom&quot; expressat en punts. Si
3613
Retorna l&apos;espai entre columnes del quadre de text &quot;nom&quot; expressat en punts. Si
540
no es dóna cap &quot;nom&quot;, es fa servir l&apos;ítem sel·leccionat.
3614
no es dóna cap &quot;nom&quot;, es fa servir l&apos;ítem sel·leccionat.
541
</translation>
3615
</translation>
542
    </message>
3616
    </message>
Line 545... Line 3619...
545
        <source>getColumns([&quot;name&quot;]) -&gt; integer
3619
        <source>getColumns([&quot;name&quot;]) -&gt; integer
546
 
3620
 
547
Gets the number of columns of the text frame &quot;name&quot;. If &quot;name&quot; is not
3621
Gets the number of columns of the text frame &quot;name&quot;. If &quot;name&quot; is not
548
given the currently selected item is used.
3622
given the currently selected item is used.
549
</source>
3623
</source>
550
        <translation>getColumns([&quot;nom&quot;]) -&gt; integer
3624
        <translation type="obsolete">getColumns([&quot;nom&quot;]) -&gt; integer
551
 
3625
 
552
Dóna el número de columnes del quadre de text &quot;nom&quot;. Si no es dóna 
3626
Dóna el número de columnes del quadre de text &quot;nom&quot;. Si no es dóna 
553
cap &quot;nom&quot;, es fa servir l&apos;ítem sel·leccionat.
3627
cap &quot;nom&quot;, es fa servir l&apos;ítem sel·leccionat.
554
</translation>
3628
</translation>
555
    </message>
3629
    </message>
Line 560... Line 3634...
560
Sets the text of the text frame &quot;name&quot; to the text of the string &quot;text&quot;.
3634
Sets the text of the text frame &quot;name&quot; to the text of the string &quot;text&quot;.
561
Text must be UTF8 encoded - use e.g. unicode(text, &apos;iso-8859-2&apos;). See the FAQ
3635
Text must be UTF8 encoded - use e.g. unicode(text, &apos;iso-8859-2&apos;). See the FAQ
562
for more details. If &quot;name&quot; is not given the currently selected item is
3636
for more details. If &quot;name&quot; is not given the currently selected item is
563
used.
3637
used.
564
</source>
3638
</source>
565
        <translation>setText(&quot;text&quot;,[&quot;nom&quot;])
3639
        <translation type="obsolete">setText(&quot;text&quot;,[&quot;nom&quot;])
566
 
3640
 
567
Posa al quadre de text &quot;name&quot; el text contingut a la cadena &quot;text&quot;. 
3641
Posa al quadre de text &quot;name&quot; el text contingut a la cadena &quot;text&quot;. 
568
El text ha de ser codificat UTF8 - feu servir unicode(text, &apos;iso-8859-2&apos;). Mireu el 
3642
El text ha de ser codificat UTF8 - feu servir unicode(text, &apos;iso-8859-2&apos;). Mireu el 
569
FAQ per més detalls. Si no es dóna cap &quot;nom&quot;, es fa servir l&apos;ítem 
3643
FAQ per més detalls. Si no es dóna cap &quot;nom&quot;, es fa servir l&apos;ítem 
570
sel·leccionat.
3644
sel·leccionat.
Line 598... Line 3672...
598
selected only the selected text is changed.  If &quot;name&quot; is not given the
3672
selected only the selected text is changed.  If &quot;name&quot; is not given the
599
currently selected item is used.
3673
currently selected item is used.
600
 
3674
 
601
May throw ValueError if the font cannot be found.
3675
May throw ValueError if the font cannot be found.
602
</source>
3676
</source>
603
        <translation>setFont(&quot;font&quot;,[&quot;nom])
3677
        <translation type="obsolete">setFont(&quot;font&quot;,[&quot;nom])
604
 
3678
 
605
Passa el quadre de text &quot;nom&quot; al tipus de lletra &quot;font&quot;. Si hi ha alguna
3679
Passa el quadre de text &quot;nom&quot; al tipus de lletra &quot;font&quot;. Si hi ha alguna
606
part de text seleccionada només canvia aquesta.   Si no especifiquem &quot;nom&quot;  
3680
part de text seleccionada només canvia aquesta.   Si no especifiquem &quot;nom&quot;  
607
es fa servir l&apos;ítem seleccionat.
3681
es fa servir l&apos;ítem seleccionat.
608
 
3682
 
Line 618... Line 3692...
618
changed. &quot;size&quot; must be in the range 1 to 512. If &quot;name&quot; is not given the
3692
changed. &quot;size&quot; must be in the range 1 to 512. If &quot;name&quot; is not given the
619
currently selected item is used.
3693
currently selected item is used.
620
 
3694
 
621
May throw ValueError for a font size that&apos;s out of bounds.
3695
May throw ValueError for a font size that&apos;s out of bounds.
622
</source>
3696
</source>
623
        <translation>setFontSize(mida, [&quot;nom&quot;])
3697
        <translation type="obsolete">setFontSize(mida, [&quot;nom&quot;])
624
 
3698
 
625
Estableix la mida de la font del quadre de text &quot;nom&quot; a &quot;mida&quot;. &quot;mida&quot;
3699
Estableix la mida de la font del quadre de text &quot;nom&quot; a &quot;mida&quot;. &quot;mida&quot;
626
ha de ser en punts. Si hi ha text seleccionat només es canvia 
3700
ha de ser en punts. Si hi ha text seleccionat només es canvia 
627
aquest. &quot;mida&quot; ha de ser un valor entre 1 i 512. Si no especifiquem 
3701
aquest. &quot;mida&quot; ha de ser un valor entre 1 i 512. Si no especifiquem 
628
&quot;nom&quot;  es fa servir l&apos;ítem seleccionat.
3702
&quot;nom&quot;  es fa servir l&apos;ítem seleccionat.
Line 638... Line 3712...
638
&quot;size&quot; is a value in points. If &quot;name&quot; is not given the currently selected
3712
&quot;size&quot; is a value in points. If &quot;name&quot; is not given the currently selected
639
item is used.
3713
item is used.
640
 
3714
 
641
May throw ValueError if the line spacing is out of bounds.
3715
May throw ValueError if the line spacing is out of bounds.
642
</source>
3716
</source>
643
        <translation>setLineSpacing(mida,[&quot;nom&quot;])
3717
        <translation type="obsolete">setLineSpacing(mida,[&quot;nom&quot;])
644
 
3718
 
645
Estableix l&apos;espaiat de línia del quadre de text &quot;nom&quot; a &quot;mida&quot;.
3719
Estableix l&apos;espaiat de línia del quadre de text &quot;nom&quot; a &quot;mida&quot;.
646
&quot;mida&quot; està en punts. Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem 
3720
&quot;mida&quot; està en punts. Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem 
647
seleccionat.
3721
seleccionat.
648
 
3722
 
Line 655... Line 3729...
655
Sets the column gap of the text frame &quot;name&quot; to the value &quot;size&quot;. If
3729
Sets the column gap of the text frame &quot;name&quot; to the value &quot;size&quot;. If
656
&quot;name&quot; is not given the currently selected item is used.
3730
&quot;name&quot; is not given the currently selected item is used.
657
 
3731
 
658
May throw ValueError if the column gap is out of bounds (must be positive).
3732
May throw ValueError if the column gap is out of bounds (must be positive).
659
</source>
3733
</source>
660
        <translation>setColumnGap(mida,[&quot;nom&quot;])
3734
        <translation type="obsolete">setColumnGap(mida,[&quot;nom&quot;])
661
 
3735
 
662
Estableix l&apos;espai entre columnes del quadre de text &quot;nom&quot; a &quot;mida&quot;. Si 
3736
Estableix l&apos;espai entre columnes del quadre de text &quot;nom&quot; a &quot;mida&quot;. Si 
663
no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.
3737
no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.
664
 
3738
 
665
Pot provocar ValueError si el valor està fora de rang (ha de ser positiu).
3739
Pot provocar ValueError si el valor està fora de rang (ha de ser positiu).
Line 672... Line 3746...
672
Sets the number of columns of the text frame &quot;name&quot; to the integer &quot;nr&quot;.
3746
Sets the number of columns of the text frame &quot;name&quot; to the integer &quot;nr&quot;.
673
If &quot;name&quot; is not given the currently selected item is used.
3747
If &quot;name&quot; is not given the currently selected item is used.
674
 
3748
 
675
May throw ValueError if number of columns is not at least one.
3749
May throw ValueError if number of columns is not at least one.
676
</source>
3750
</source>
677
        <translation>setColumns(nr, [&quot;nom&quot;])
3751
        <translation type="obsolete">setColumns(nr, [&quot;nom&quot;])
678
 
3752
 
679
Estableix que el quadre de text &quot;nom&quot; tindrà &quot;nr&quot; columnes.
3753
Estableix que el quadre de text &quot;nom&quot; tindrà &quot;nr&quot; columnes.
680
Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.
3754
Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.
681
 
3755
 
682
Pot provocar ValueError si el número de columnes no és almenys una.
3756
Pot provocar ValueError si el número de columnes no és almenys una.
Line 690... Line 3764...
690
If &quot;name&quot; is not given the currently selected item is used. &quot;align&quot; should
3764
If &quot;name&quot; is not given the currently selected item is used. &quot;align&quot; should
691
be one of the ALIGN_ constants defined in this module - see dir(scribus).
3765
be one of the ALIGN_ constants defined in this module - see dir(scribus).
692
 
3766
 
693
May throw ValueError for an invalid alignment constant.
3767
May throw ValueError for an invalid alignment constant.
694
</source>
3768
</source>
695
        <translation>setTextAlignment(alineacio, [&quot;nom&quot;])
3769
        <translation type="obsolete">setTextAlignment(alineacio, [&quot;nom&quot;])
696
 
3770
 
697
Estableix l&apos;alineació del quadre de text &quot;nom&quot; a la especificada.
3771
Estableix l&apos;alineació del quadre de text &quot;nom&quot; a la especificada.
698
Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat. &quot;alineació&quot; ha de ser
3772
Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat. &quot;alineació&quot; ha de ser
699
una de les constants ALIGN_ definides en aquest mòdul - Mireu dir(scribus).
3773
una de les constants ALIGN_ definides en aquest mòdul - Mireu dir(scribus).
700
 
3774
 
Line 710... Line 3784...
710
text selection will be cleared.  If &quot;name&quot; is not given the currently
3784
text selection will be cleared.  If &quot;name&quot; is not given the currently
711
selected item is used.
3785
selected item is used.
712
 
3786
 
713
May throw IndexError if the selection is outside the bounds of the text.
3787
May throw IndexError if the selection is outside the bounds of the text.
714
</source>
3788
</source>
715
        <translation>selectText(inici, número, [&quot;name&quot;])
3789
        <translation type="obsolete">selectText(inici, número, [&quot;name&quot;])
716
 
3790
 
717
Seleccióna &quot;número&quot; caràcters del quadre de text &quot;nom&quot; començant pel
3791
Seleccióna &quot;número&quot; caràcters del quadre de text &quot;nom&quot; començant pel
718
caràcter &quot;inici&quot;. Els caràcters comencen per 0. Si &quot;número&quot; és zero, es 
3792
caràcter &quot;inici&quot;. Els caràcters comencen per 0. Si &quot;número&quot; és zero, es 
719
deselecciona tot el que hi pogués haver seleccionat.  Si no especifiquem 
3793
deselecciona tot el que hi pogués haver seleccionat.  Si no especifiquem 
720
&quot;nom&quot;  es fa servir l&apos;ítem seleccionat.
3794
&quot;nom&quot;  es fa servir l&apos;ítem seleccionat.
Line 728... Line 3802...
728
 
3802
 
729
Deletes any text in the text frame &quot;name&quot;. If there is some text selected,
3803
Deletes any text in the text frame &quot;name&quot;. If there is some text selected,
730
only the selected text will be deleted. If &quot;name&quot; is not given the currently
3804
only the selected text will be deleted. If &quot;name&quot; is not given the currently
731
selected item is used.
3805
selected item is used.
732
</source>
3806
</source>
733
        <translation>deleteText([&quot;nom&quot;])
3807
        <translation type="obsolete">deleteText([&quot;nom&quot;])
734
 
3808
 
735
Esborra qualsevol text del quadre de text &quot;nom&quot;. Si hi ha algun text 
3809
Esborra qualsevol text del quadre de text &quot;nom&quot;. Si hi ha algun text 
736
seleccionat només s&apos;esborra la selecció. Si no especifiquem &quot;nom&quot;  
3810
seleccionat només s&apos;esborra la selecció. Si no especifiquem &quot;nom&quot;  
737
es fa servir l&apos;ítem seleccionat.
3811
es fa servir l&apos;ítem seleccionat.
738
</translation>
3812
</translation>
Line 743... Line 3817...
743
 
3817
 
744
Sets the text color of the text frame &quot;name&quot; to the color &quot;color&quot;. If there
3818
Sets the text color of the text frame &quot;name&quot; to the color &quot;color&quot;. If there
745
is some text selected only the selected text is changed. If &quot;name&quot; is not
3819
is some text selected only the selected text is changed. If &quot;name&quot; is not
746
given the currently selected item is used.
3820
given the currently selected item is used.
747
</source>
3821
</source>
748
        <translation>setTextColor(&quot;color&quot;, [&quot;nom&quot;])
3822
        <translation type="obsolete">setTextColor(&quot;color&quot;, [&quot;nom&quot;])
749
 
3823
 
750
Posa el text del quadre de text &quot;nom&quot; al color &quot;color&quot;. Si hi ha algun
3824
Posa el text del quadre de text &quot;nom&quot; al color &quot;color&quot;. Si hi ha algun
751
text seleccionat només es canvia el text seleccionat. Si no 
3825
text seleccionat només es canvia el text seleccionat. Si no 
752
especifiquem &quot;nom&quot;  es fa servir l&apos;ítem seleccionat.
3826
especifiquem &quot;nom&quot;  es fa servir l&apos;ítem seleccionat.
753
</translation>
3827
</translation>
Line 757... Line 3831...
757
        <source>setTextStroke(&quot;color&quot;, [&quot;name&quot;])
3831
        <source>setTextStroke(&quot;color&quot;, [&quot;name&quot;])
758
 
3832
 
759
Set &quot;color&quot; of the text stroke. If &quot;name&quot; is not given the currently
3833
Set &quot;color&quot; of the text stroke. If &quot;name&quot; is not given the currently
760
selected item is used.
3834
selected item is used.
761
</source>
3835
</source>
762
        <translation>setTextStroke(&quot;color&quot;, [&quot;nom&quot;])
3836
        <translation type="obsolete">setTextStroke(&quot;color&quot;, [&quot;nom&quot;])
763
 
3837
 
764
Posa el &quot;color&quot; a les línies de contorn. Si no especifiquem &quot;nom&quot;  
3838
Posa el &quot;color&quot; a les línies de contorn. Si no especifiquem &quot;nom&quot;  
765
es fa servir l&apos;ítem seleccionat.
3839
es fa servir l&apos;ítem seleccionat.
766
</translation>
3840
</translation>
767
    </message>
3841
    </message>
Line 773... Line 3847...
773
there is some text selected only the selected text is changed. &quot;shade&quot; must
3847
there is some text selected only the selected text is changed. &quot;shade&quot; must
774
be an integer value in the range from 0 (lightest) to 100 (full color
3848
be an integer value in the range from 0 (lightest) to 100 (full color
775
intensity). If &quot;name&quot; is not given the currently selected item is
3849
intensity). If &quot;name&quot; is not given the currently selected item is
776
used.
3850
used.
777
</source>
3851
</source>
778
        <translation>setTextShade(intensitat, [&quot;nom&quot;])
3852
        <translation type="obsolete">setTextShade(intensitat, [&quot;nom&quot;])
779
 
3853
 
780
Posa la intensitat del color del text &quot;nom&quot; a &quot;intensitat&quot;. Si hi ha algun
3854
Posa la intensitat del color del text &quot;nom&quot; a &quot;intensitat&quot;. Si hi ha algun
781
text seleccionat només es canvia aquest. &quot;intensitat&quot; ha de ser
3855
text seleccionat només es canvia aquest. &quot;intensitat&quot; ha de ser
782
un valor enter que va des de 0 (clarejat) a 100 (intensitat de 
3856
un valor enter que va des de 0 (clarejat) a 100 (intensitat de 
783
color).Si no especifiquem &quot;nom&quot;  es fa servir l&apos;ítem 
3857
color).Si no especifiquem &quot;nom&quot;  es fa servir l&apos;ítem 
Line 792... Line 3866...
792
frame named &quot;toname&quot;. The target frame must be an empty text frame
3866
frame named &quot;toname&quot;. The target frame must be an empty text frame
793
and must not link to or be linked from any other frames already.
3867
and must not link to or be linked from any other frames already.
794
 
3868
 
795
May throw ScribusException if linking rules are violated.
3869
May throw ScribusException if linking rules are violated.
796
</source>
3870
</source>
797
        <translation>linkTextFrames(&quot;desdenom&quot;,&quot;anom&quot;)
3871
        <translation type="obsolete">linkTextFrames(&quot;desdenom&quot;,&quot;anom&quot;)
798
 
3872
 
799
Enllaça dos quadres de text. El quadre de text &quot;desdenom&quot; és enllaçat a
3873
Enllaça dos quadres de text. El quadre de text &quot;desdenom&quot; és enllaçat a
800
el quadre de text &quot;anom&quot;. El quadre de text de destí ha de ser buit
3874
el quadre de text &quot;anom&quot;. El quadre de text de destí ha de ser buit
801
i no es pot enllaçar o ser enllaçat per cap altre quadre de text.
3875
i no es pot enllaçar o ser enllaçat per cap altre quadre de text.
802
 
3876
 
Line 811... Line 3885...
811
frame was in the middle of a chain, the previous and next frames will be
3885
frame was in the middle of a chain, the previous and next frames will be
812
connected, eg &apos;a-&gt;b-&gt;c&apos; becomes &apos;a-&gt;c&apos; when you unlinkTextFrames(b)&apos;
3886
connected, eg &apos;a-&gt;b-&gt;c&apos; becomes &apos;a-&gt;c&apos; when you unlinkTextFrames(b)&apos;
813
 
3887
 
814
May throw ScribusException if linking rules are violated.
3888
May throw ScribusException if linking rules are violated.
815
</source>
3889
</source>
816
        <translation>unlinkTextFrames(&quot;nom&quot;)
3890
        <translation type="obsolete">unlinkTextFrames(&quot;nom&quot;)
817
 
3891
 
818
Elimina l&apos;objecte especificat del camí de quadre de text. Si el quadre
3892
Elimina l&apos;objecte especificat del camí de quadre de text. Si el quadre
819
de text estava al mig d&apos;una cadena, els anteriors i els següents seran
3893
de text estava al mig d&apos;una cadena, els anteriors i els següents seran
820
connectats, ex. &apos;a-&gt;b-&gt;c&apos; esdevé &apos;a-&gt;c&apos; quan fem unlinkTextFrames(b)&apos;
3894
connectats, ex. &apos;a-&gt;b-&gt;c&apos; esdevé &apos;a-&gt;c&apos; quan fem unlinkTextFrames(b)&apos;
821
 
3895
 
Line 826... Line 3900...
826
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="338"/>
3900
        <location filename="../../scribus/plugins/scriptplugin/cmdtext.h" line="338"/>
827
        <source>traceText([&quot;name&quot;])
3901
        <source>traceText([&quot;name&quot;])
828
 
3902
 
829
Convert the text frame &quot;name&quot; to outlines. If &quot;name&quot; is not given the
3903
Convert the text frame &quot;name&quot; to outlines. If &quot;name&quot; is not given the
830
currently selected item is used.</source>
3904
currently selected item is used.</source>
831
        <translation>traceText([&quot;nom&quot;])
3905
        <translation type="obsolete">traceText([&quot;nom&quot;])
832
 
3906
 
833
Convertim el quadre de text &quot;nom&quot; a esquema. Si no especifiquem 
3907
Convertim el quadre de text &quot;nom&quot; a esquema. Si no especifiquem 
834
&quot;nom&quot; es fa servir l&apos;ítem seleccionat.</translation>
3908
&quot;nom&quot; es fa servir l&apos;ítem seleccionat.</translation>
835
    </message>
3909
    </message>
836
    <message>
3910
    <message>
Line 842... Line 3916...
842
the value of the named color from the default document colors.
3916
the value of the named color from the default document colors.
843
 
3917
 
844
May raise NotFoundError if the named color wasn&apos;t found.
3918
May raise NotFoundError if the named color wasn&apos;t found.
845
May raise ValueError if an invalid color name is specified.
3919
May raise ValueError if an invalid color name is specified.
846
</source>
3920
</source>
847
        <translation>getColor(&quot;nom&quot;) -&gt; tupla
3921
        <translation type="obsolete">getColor(&quot;nom&quot;) -&gt; tupla
848
 
3922
 
849
Retorna una tupla (C, M, Y, K) que conté els quatre components de color
3923
Retorna una tupla (C, M, Y, K) que conté els quatre components de color
850
de &quot;nom&quot; del document actual. Si no hi ha cap document obert, torna
3924
de &quot;nom&quot; del document actual. Si no hi ha cap document obert, torna
851
el valor del color anomenat dels colors per defecte.
3925
el valor del color anomenat dels colors per defecte.
852
 
3926
 
Line 863... Line 3937...
863
Color components should be in the range from 0 to 255.
3937
Color components should be in the range from 0 to 255.
864
 
3938
 
865
May raise NotFoundError if the named color wasn&apos;t found.
3939
May raise NotFoundError if the named color wasn&apos;t found.
866
May raise ValueError if an invalid color name is specified.
3940
May raise ValueError if an invalid color name is specified.
867
</source>
3941
</source>
868
        <translation>changeColor(&quot;nom&quot;, c, m, y, k)
3942
        <translation type="obsolete">changeColor(&quot;nom&quot;, c, m, y, k)
869
 
3943
 
870
Canvia el color &quot;nom&quot; a els valors CMYK. El valor del color està 
3944
Canvia el color &quot;nom&quot; a els valors CMYK. El valor del color està 
871
definit via els quatre components c=Cian, m=Magenta, y=Groc i k=Negre
3945
definit via els quatre components c=Cian, m=Magenta, y=Groc i k=Negre
872
Els colors del component han d&apos;estar dins del rang 0 a 255.
3946
Els colors del component han d&apos;estar dins del rang 0 a 255.
873
 
3947
 
Line 886... Line 3960...
886
In that case, &quot;replace&quot;, if specified, has no effect.
3960
In that case, &quot;replace&quot;, if specified, has no effect.
887
 
3961
 
888
May raise NotFoundError if a named color wasn&apos;t found.
3962
May raise NotFoundError if a named color wasn&apos;t found.
889
May raise ValueError if an invalid color name is specified.
3963
May raise ValueError if an invalid color name is specified.
890
</source>
3964
</source>
891
        <translation>deleteColor(&quot;nom&quot;, &quot;canvi&quot;)
3965
        <translation type="obsolete">deleteColor(&quot;nom&quot;, &quot;canvi&quot;)
892
 
3966
 
893
Esborra el color &quot;nom&quot;. Cada ocurrència d&apos;aquest color es canvia pel 
3967
Esborra el color &quot;nom&quot;. Cada ocurrència d&apos;aquest color es canvia pel 
894
color &quot;canvi&quot;. Si no s&apos;especifica, &quot;canvi&quot; es canvia pel color &quot;cap&quot;
3968
color &quot;canvi&quot;. Si no s&apos;especifica, &quot;canvi&quot; es canvia pel color &quot;cap&quot;
895
- transparent.
3969
- transparent.
896
 
3970
 
Line 908... Line 3982...
908
Every occurence of the color &quot;name&quot; is replaced by the color &quot;replace&quot;.
3982
Every occurence of the color &quot;name&quot; is replaced by the color &quot;replace&quot;.
909
 
3983
 
910
May raise NotFoundError if a named color wasn&apos;t found.
3984
May raise NotFoundError if a named color wasn&apos;t found.
911
May raise ValueError if an invalid color name is specified.
3985
May raise ValueError if an invalid color name is specified.
912
</source>
3986
</source>
913
        <translation>replaceColor(&quot;nom&quot;, &quot;canvi&quot;)
3987
        <translation type="obsolete">replaceColor(&quot;nom&quot;, &quot;canvi&quot;)
914
 
3988
 
915
Cada ocurrència del color &quot;name&quot; es canvia pel color &quot;canvi&quot;.
3989
Cada ocurrència del color &quot;name&quot; es canvia pel color &quot;canvi&quot;.
916
 
3990
 
917
Pot generar un NotFoundError si no existeix el color.
3991
Pot generar un NotFoundError si no existeix el color.
918
Pot generar un ValueError si el color especificat és invalid.
3992
Pot generar un ValueError si el color especificat és invalid.
Line 989... Line 4063...
989
Defined button and icon constants:
4063
Defined button and icon constants:
990
BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO,
4064
BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO,
991
BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL,
4065
BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL,
992
ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL.
4066
ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL.
993
</source>
4067
</source>
994
        <translation>messageBox(&quot;caption&quot;, &quot;missatge&quot;,
4068
        <translation type="obsolete">messageBox(&quot;caption&quot;, &quot;missatge&quot;,
995
    icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT,
4069
    icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT,
996
    button2=BUTTON_NONE, button3=BUTTON_NONE) -&gt; integer
4070
    button2=BUTTON_NONE, button3=BUTTON_NONE) -&gt; integer
997
 
4071
 
998
Mostra un diàleg amb el títol de finestra &quot;caption&quot;, el missatge &quot;missatge&quot;, i 
4072
Mostra un diàleg amb el títol de finestra &quot;caption&quot;, el missatge &quot;missatge&quot;, i 
999
una icona &quot;icon&quot; amb fins a 3 botons. Per defecte no es fa servir cap icona i
4073
una icona &quot;icon&quot; amb fins a 3 botons. Per defecte no es fa servir cap icona i
Line 1054... Line 4128...
1054
Shows the common &apos;Ask for string&apos; dialog and returns its value as a string
4128
Shows the common &apos;Ask for string&apos; dialog and returns its value as a string
1055
Parameters: window title, text in the window and optional &apos;default&apos; value.
4129
Parameters: window title, text in the window and optional &apos;default&apos; value.
1056
 
4130
 
1057
Example: valueDialog(&apos;title&apos;, &apos;text in the window&apos;, &apos;optional&apos;)
4131
Example: valueDialog(&apos;title&apos;, &apos;text in the window&apos;, &apos;optional&apos;)
1058
</source>
4132
</source>
1059
        <translation>valueDialog(caption, missatge, [,valorperdefecte]) -&gt; string
4133
        <translation type="obsolete">valueDialog(caption, missatge, [,valorperdefecte]) -&gt; string
1060
 
4134
 
1061
Mostra el diàleg comú &quot;Demana per cadena&quot; i retorna el seu valor.
4135
Mostra el diàleg comú &quot;Demana per cadena&quot; i retorna el seu valor.
1062
Paràmetres: títol de finestra, text en la finestra i un valor per defecte opcional.
4136
Paràmetres: títol de finestra, text en la finestra i un valor per defecte opcional.
1063
 
4137
 
1064
Exemple: valueDialog(&apos;titol&apos;, &apos;text en la finestra&apos;, &apos;opcional&apos;)
4138
Exemple: valueDialog(&apos;titol&apos;, &apos;text en la finestra&apos;, &apos;opcional&apos;)
Line 1070... Line 4144...
1070
 
4144
 
1071
Closes the current document without prompting to save.
4145
Closes the current document without prompting to save.
1072
 
4146
 
1073
May throw NoDocOpenError if there is no document to close
4147
May throw NoDocOpenError if there is no document to close
1074
</source>
4148
</source>
1075
        <translation>closeDoc()
4149
        <translation type="obsolete">closeDoc()
1076
 
4150
 
1077
Tanca el document actual sense preguntar per desar.
4151
Tanca el document actual sense preguntar per desar.
1078
 
4152
 
1079
Pot generar un NoDocOpenError si no hi ha cap document per tancar
4153
Pot generar un NoDocOpenError si no hi ha cap document per tancar
1080
</translation>
4154
</translation>
Line 1083... Line 4157...
1083
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="117"/>
4157
        <location filename="../../scribus/plugins/scriptplugin/cmddoc.h" line="117"/>
1084
        <source>haveDoc() -&gt; bool
4158
        <source>haveDoc() -&gt; bool
1085
 
4159
 
1086
Returns true if there is a document open.
4160
Returns true if there is a document open.
1087
</source>
4161
</source>
1088
        <translation>haveDoc() -&gt; bool
4162
        <translation type="obsolete">haveDoc() -&gt; bool
1089
 
4163
 
1090
Retorna cert si hi ha un document obert.
4164
Retorna cert si hi ha un document obert.
1091
</translation>
4165
</translation>
1092
    </message>
4166
    </message>
1093
    <message>
4167
    <message>
Line 1096... Line 4170...
1096
 
4170
 
1097
Opens the document &quot;name&quot;.
4171
Opens the document &quot;name&quot;.
1098
 
4172
 
1099
May raise ScribusError if the document could not be opened.
4173
May raise ScribusError if the document could not be opened.
1100
</source>
4174
</source>
1101
        <translation>openDoc(&quot;nom&quot;)
4175
        <translation type="obsolete">openDoc(&quot;nom&quot;)
1102
 
4176
 
1103
Obre el document &quot;nom&quot;.
4177
Obre el document &quot;nom&quot;.
1104
 
4178
 
1105
Pot generar ScribusError si el document no es pot obrir.</translation>
4179
Pot generar ScribusError si el document no es pot obrir.</translation>
1106
    </message>
4180
    </message>
Line 1112... Line 4186...
1112
If the document has not already been saved, this may bring up an interactive
4186
If the document has not already been saved, this may bring up an interactive
1113
save file dialog.
4187
save file dialog.
1114
 
4188
 
1115
If the save fails, there is currently no way to tell.
4189
If the save fails, there is currently no way to tell.
1116
</source>
4190
</source>
1117
        <translation>saveDoc()
4191
        <translation type="obsolete">saveDoc()
1118
 
4192
 
1119
Desa el document actual amb el seu nom actual, retorna cert si ha funcionat.
4193
Desa el document actual amb el seu nom actual, retorna cert si ha funcionat.
1120
Si el document no ha estat gravat previament, ens sortirà un diàleg interactiu
4194
Si el document no ha estat gravat previament, ens sortirà un diàleg interactiu
1121
per guardar.
4195
per guardar.
1122
 
4196
 
Line 1130... Line 4204...
1130
Saves the current document under the new name &quot;name&quot; (which may be a full or
4204
Saves the current document under the new name &quot;name&quot; (which may be a full or
1131
relative path).
4205
relative path).
1132
 
4206
 
1133
May raise ScribusError if the save fails.
4207
May raise ScribusError if the save fails.
1134
</source>
4208
</source>
1135
        <translation>saveDocAs(&quot;nom&quot;)
4209
        <translation type="obsolete">saveDocAs(&quot;nom&quot;)
1136
 
4210
 
1137
Desa el document actual sota el nou nom &quot;nom&quot; (que pot ser amb camí absolut
4211
Desa el document actual sota el nou nom &quot;nom&quot; (que pot ser amb camí absolut
1138
o camí relatiu).
4212
o camí relatiu).
1139
 
4213
 
1140
Pot generar un ScribusError si falla el desat.
4214
Pot generar un ScribusError si falla el desat.
Line 1175... Line 4249...
1175
Changes the measurement unit of the document. Possible values for &quot;unit&quot; are
4249
Changes the measurement unit of the document. Possible values for &quot;unit&quot; are
1176
defined as constants UNIT_&lt;type&gt;.
4250
defined as constants UNIT_&lt;type&gt;.
1177
 
4251
 
1178
May raise ValueError if an invalid unit is passed.
4252
May raise ValueError if an invalid unit is passed.
1179
</source>
4253
</source>
1180
        <translation>setUnit(unitats)
4254
        <translation type="obsolete">setUnit(unitats)
1181
 
4255
 
1182
Canvia les unitats de mesura del document. Possible valors de les unitats estan
4256
Canvia les unitats de mesura del document. Possible valors de les unitats estan
1183
definides com a constants UNIT_&lt;tipus&gt;.
4257
definides com a constants UNIT_&lt;tipus&gt;.
1184
</translation>
4258
</translation>
1185
    </message>
4259
    </message>
Line 1189... Line 4263...
1189
 
4263
 
1190
Returns the measurement units of the document. The returned value will be one
4264
Returns the measurement units of the document. The returned value will be one
1191
of the UNIT_* constants:
4265
of the UNIT_* constants:
1192
UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.
4266
UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.
1193
</source>
4267
</source>
1194
        <translation>getUnit() -&gt; integer (unitats de constants Scribus)
4268
        <translation type="obsolete">getUnit() -&gt; integer (unitats de constants Scribus)
1195
 
4269
 
1196
Retorna les unitats des mesura del document. El valor retornat serà una de 
4270
Retorna les unitats des mesura del document. El valor retornat serà una de 
1197
les constants UNIT_*: 
4271
les constants UNIT_*: 
1198
UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.
4272
UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.
1199
</translation>
4273
</translation>
Line 1203... Line 4277...
1203
        <source>loadStylesFromFile(&quot;filename&quot;)
4277
        <source>loadStylesFromFile(&quot;filename&quot;)
1204
 
4278
 
1205
Loads paragraph styles from the Scribus document at &quot;filename&quot; into the
4279
Loads paragraph styles from the Scribus document at &quot;filename&quot; into the
1206
current document.
4280
current document.
1207
</source>
4281
</source>
1208
        <translation>loadStylesFromFile(&quot;nomfitxer&quot;)
4282
        <translation type="obsolete">loadStylesFromFile(&quot;nomfitxer&quot;)
1209
 
4283
 
1210
Carregar els estils de paràgraf des d&apos;un document Scribus especificat a &quot;nomfitxer&quot; 
4284
Carregar els estils de paràgraf des d&apos;un document Scribus especificat a &quot;nomfitxer&quot; 
1211
en el document actual.
4285
en el document actual.
1212
</translation>
4286
</translation>
1213
    </message>
4287
    </message>
Line 1218... Line 4292...
1218
Sets the document type. To get facing pages set the first parameter to
4292
Sets the document type. To get facing pages set the first parameter to
1219
FACINGPAGES, to switch facingPages off use NOFACINGPAGES instead.  If you want
4293
FACINGPAGES, to switch facingPages off use NOFACINGPAGES instead.  If you want
1220
to be the first page a left side set the second parameter to FIRSTPAGELEFT, for
4294
to be the first page a left side set the second parameter to FIRSTPAGELEFT, for
1221
a right page use FIRSTPAGERIGHT.
4295
a right page use FIRSTPAGERIGHT.
1222
</source>
4296
</source>
1223
        <translation>setDocType(facingPages, firstPageLeft)
4297
        <translation type="obsolete">setDocType(facingPages, firstPageLeft)
1224
 
4298
 
1225
Estableix el tipus de document. Per tenir pàgines acarades cal establir primer
4299
Estableix el tipus de document. Per tenir pàgines acarades cal establir primer
1226
paràmetre a FACINPAGES, i per no tenir-ne NOFACINPAGES.  Si vols que la primera 
4300
paràmetre a FACINPAGES, i per no tenir-ne NOFACINPAGES.  Si vols que la primera 
1227
pàgina sigui a l&apos;esquerra cal posar al segon paràmetre FIRSTPAGELEFT, i perquè 
4301
pàgina sigui a l&apos;esquerra cal posar al segon paràmetre FIRSTPAGELEFT, i perquè 
1228
sigui la dreta FIRSTPAGERIGHT.
4302
sigui la dreta FIRSTPAGERIGHT.
Line 1233... Line 4307...
1233
        <source>getLineColor([&quot;name&quot;]) -&gt; string
4307
        <source>getLineColor([&quot;name&quot;]) -&gt; string
1234
 
4308
 
1235
Returns the name of the line color of the object &quot;name&quot;.
4309
Returns the name of the line color of the object &quot;name&quot;.
1236
If &quot;name&quot; is not given the currently selected item is used.
4310
If &quot;name&quot; is not given the currently selected item is used.
1237
</source>
4311
</source>
1238
        <translation>getLineColor([&quot;nom&quot;]) -&gt; string
4312
        <translation type="obsolete">getLineColor([&quot;nom&quot;]) -&gt; string
1239
 
4313
 
1240
Retorna el nom del color de línia de l&apos;objecte &quot;nom&quot;.
4314
Retorna el nom del color de línia de l&apos;objecte &quot;nom&quot;.
1241
Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.
4315
Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.
1242
</translation>
4316
</translation>
1243
    </message>
4317
    </message>
Line 1246... Line 4320...
1246
        <source>getLineWidth([&quot;name&quot;]) -&gt; integer
4320
        <source>getLineWidth([&quot;name&quot;]) -&gt; integer
1247
 
4321
 
1248
Returns the line width of the object &quot;name&quot;. If &quot;name&quot;
4322
Returns the line width of the object &quot;name&quot;. If &quot;name&quot;
1249
is not given the currently selected Item is used.
4323
is not given the currently selected Item is used.
1250
</source>
4324
</source>
1251
        <translation>getLineWidth([&quot;nom&quot;]) -&gt; integer
4325
        <translation type="obsolete">getLineWidth([&quot;nom&quot;]) -&gt; integer
1252
 
4326
 
1253
Retorna l&apos;amplada de la línia de l&apos;objecte &quot;nom&quot;. Si no 
4327
Retorna l&apos;amplada de la línia de l&apos;objecte &quot;nom&quot;. Si no 
1254
especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.
4328
especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.
1255
</translation>
4329
</translation>
1256
    </message>
4330
    </message>
Line 1259... Line 4333...
1259
        <source>getLineShade([&quot;name&quot;]) -&gt; integer
4333
        <source>getLineShade([&quot;name&quot;]) -&gt; integer
1260
 
4334
 
1261
Returns the shading value of the line color of the object &quot;name&quot;.
4335
Returns the shading value of the line color of the object &quot;name&quot;.
1262
If &quot;name&quot; is not given the currently selected item is used.
4336
If &quot;name&quot; is not given the currently selected item is used.
1263
</source>
4337
</source>
1264
        <translation>getLineShade([&quot;nom&quot;]) -&gt; integer
4338
        <translation type="obsolete">getLineShade([&quot;nom&quot;]) -&gt; integer
1265
 
4339
 
1266
Retorna el valor de la intensitat del color de la línia de l&apos;objecte &quot;nom&quot;.
4340
Retorna el valor de la intensitat del color de la línia de l&apos;objecte &quot;nom&quot;.
1267
Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.
4341
Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.
1268
</translation>
4342
</translation>
1269
    </message>
4343
    </message>
Line 1288... Line 4362...
1288
 
4362
 
1289
Returns the line cap style of the object &quot;name&quot;. If &quot;name&quot; is not given the
4363
Returns the line cap style of the object &quot;name&quot;. If &quot;name&quot; is not given the
1290
currently selected item is used. The cap types are:
4364
currently selected item is used. The cap types are:
1291
CAP_FLAT, CAP_ROUND, CAP_SQUARE
4365
CAP_FLAT, CAP_ROUND, CAP_SQUARE
1292
</source>
4366
</source>
1293
        <translation>getLineEnd([&quot;nom&quot;]) -&gt; integer (mirar constants)
4367
        <translation type="obsolete">getLineEnd([&quot;nom&quot;]) -&gt; integer (mirar constants)
1294
 
4368
 
1295
Retorna el tap de línia de l&apos;objecte &quot;nom&quot;. Si no especifiquem &quot;nom&quot; es fa 
4369
Retorna el tap de línia de l&apos;objecte &quot;nom&quot;. Si no especifiquem &quot;nom&quot; es fa 
1296
servir l&apos;ítem seleccionat. Els tipus de tap són:
4370
servir l&apos;ítem seleccionat. Els tipus de tap són:
1297
CAP_FLAT, CAP_ROUND, CAP_SQUARE
4371
CAP_FLAT, CAP_ROUND, CAP_SQUARE
1298
</translation>
4372
</translation>
Line 1303... Line 4377...
1303
 
4377
 
1304
Returns the line style of the object &quot;name&quot;. If &quot;name&quot; is not given the
4378
Returns the line style of the object &quot;name&quot;. If &quot;name&quot; is not given the
1305
currently selected item is used. Line style constants are:
4379
currently selected item is used. Line style constants are:
1306
LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
4380
LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
1307
</source>
4381
</source>
1308
        <translation>getLineStyle([&quot;nom&quot;]) -&gt; integer (mirar constants)
4382
        <translation type="obsolete">getLineStyle([&quot;nom&quot;]) -&gt; integer (mirar constants)
1309
 
4383
 
1310
Retorna l&apos;estil de línia de l&apos;objecte &quot;nom&quot;. Si no especifiquem &quot;nom&quot; es 
4384
Retorna l&apos;estil de línia de l&apos;objecte &quot;nom&quot;. Si no especifiquem &quot;nom&quot; es 
1311
fa servir l&apos;ítem seleccionat.. Les constants de línia són:
4385
fa servir l&apos;ítem seleccionat.. Les constants de línia són:
1312
LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
4386
LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
1313
</translation>
4387
</translation>
Line 1317... Line 4391...
1317
        <source>getFillShade([&quot;name&quot;]) -&gt; integer
4391
        <source>getFillShade([&quot;name&quot;]) -&gt; integer
1318
 
4392
 
1319
Returns the shading value of the fill color of the object &quot;name&quot;.
4393
Returns the shading value of the fill color of the object &quot;name&quot;.
1320
If &quot;name&quot; is not given the currently selected item is used.
4394
If &quot;name&quot; is not given the currently selected item is used.
1321
</source>
4395
</source>
1322
        <translation>getFillShade([&quot;nom&quot;]) -&gt; integer
4396
        <translation type="obsolete">getFillShade([&quot;nom&quot;]) -&gt; integer
1323
 
4397
 
1324
Retorna el valor de la intensitat del color d&apos;emplenament de l&apos;objecte &quot;nom&quot;.
4398
Retorna el valor de la intensitat del color d&apos;emplenament de l&apos;objecte &quot;nom&quot;.
1325
Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.
4399
Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.
1326
</translation>
4400
</translation>
1327
    </message>
4401
    </message>
Line 1330... Line 4404...
1330
        <source>getImageScale([&quot;name&quot;]) -&gt; (x,y)
4404
        <source>getImageScale([&quot;name&quot;]) -&gt; (x,y)
1331
 
4405
 
1332
Returns a (x, y) tuple containing the scaling values of the image frame
4406
Returns a (x, y) tuple containing the scaling values of the image frame
1333
&quot;name&quot;.  If &quot;name&quot; is not given the currently selected item is used.
4407
&quot;name&quot;.  If &quot;name&quot; is not given the currently selected item is used.
1334
</source>
4408
</source>
1335
        <translation>getImageScale([&quot;name&quot;]) -&gt; (x,y)
4409
        <translation type="obsolete">getImageScale([&quot;name&quot;]) -&gt; (x,y)
1336
 
4410
 
1337
Retorna una parella (x,y) contenint els valors d&apos;escalat de la imatge
4411
Retorna una parella (x,y) contenint els valors d&apos;escalat de la imatge
1338
&quot;nom&quot;.  Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.
4412
&quot;nom&quot;.  Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat.
1339
</translation>
4413
</translation>
1340
    </message>
4414
    </message>
Line 1343... Line 4417...
1343
        <source>getImageName([&quot;name&quot;]) -&gt; string
4417
        <source>getImageName([&quot;name&quot;]) -&gt; string
1344
 
4418
 
1345
Returns the filename for the image in the image frame. If &quot;name&quot; is not
4419
Returns the filename for the image in the image frame. If &quot;name&quot; is not
1346
given the currently selected item is used.
4420
given the currently selected item is used.
1347
</source>
4421
</source>
1348
        <translation>getImageName([&quot;nom&quot;]) -&gt; string
4422
        <translation type="obsolete">getImageName([&quot;nom&quot;]) -&gt; string
1349
 
4423
 
1350
Retorna el nom del fitxer de la imatge que tenim. Si no especifiquem &quot;nom&quot;
4424
Retorna el nom del fitxer de la imatge que tenim. Si no especifiquem &quot;nom&quot;
1351
 es fa servir l&apos;ítem seleccionat.</translation>
4425
 es fa servir l&apos;ítem seleccionat.</translation>
1352
    </message>
4426
    </message>
1353
    <message>
4427
    <message>
Line 1357... Line 4431...
1357
Returns a (width, height) tuple with the size of the object &quot;name&quot;.
4431
Returns a (width, height) tuple with the size of the object &quot;name&quot;.
1358
If &quot;name&quot; is not given the currently selected item is used. The size is
4432
If &quot;name&quot; is not given the currently selected item is used. The size is
1359
expressed in the current measurement unit of the document - see UNIT_&lt;type&gt;
4433
expressed in the current measurement unit of the document - see UNIT_&lt;type&gt;
1360
for reference.
4434
for reference.
1361
</source>
4435
</source>
1362
        <translation>getSize([&quot;nom&quot;]) -&gt; (amplada,alçada)
4436
        <translation type="obsolete">getSize([&quot;nom&quot;]) -&gt; (amplada,alçada)
1363
 
4437
 
1364
Retorna un parell (amplada, alçada) amb la mida de l&apos;objecte &quot;nom&quot;.
4438
Retorna un parell (amplada, alçada) amb la mida de l&apos;objecte &quot;nom&quot;.
1365
Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat. La mida està
4439
Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem seleccionat. La mida està
1366
expressada en les unitats de mesura del document - mireu UNIT_&lt;tipus&gt;
4440
expressada en les unitats de mesura del document - mireu UNIT_&lt;tipus&gt;
1367
per referència.</translation>
4441
per referència.</translation>
Line 1372... Line 4446...
1372
 
4446
 
1373
Returns the rotation of the object &quot;name&quot;. The value is expressed in degrees,
4447
Returns the rotation of the object &quot;name&quot;. The value is expressed in degrees,
1374
and clockwise is positive. If &quot;name&quot; is not given the currently selected item
4448
and clockwise is positive. If &quot;name&quot; is not given the currently selected item
1375
is used.
4449
is used.
1376
</source>
4450
</source>
1377
        <translation>getRotation([&quot;name&quot;]) -&gt; integer
4451
        <translation type="obsolete">getRotation([&quot;name&quot;]) -&gt; integer
1378
 
4452
 
1379
Retorna la rotació de l&apos;objecte &quot;nom&quot;. El valor està expressat en graus, 
4453
Retorna la rotació de l&apos;objecte &quot;nom&quot;. El valor està expressat en graus, 
1380
en sentit horari és positiu. Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem 
4454
en sentit horari és positiu. Si no especifiquem &quot;nom&quot; es fa servir l&apos;ítem 
1381
seleccionat.
4455
seleccionat.
1382
</translation>
4456
</translation>
Line 1385... Line 4459...
1385
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="209"/>
4459
        <location filename="../../scribus/plugins/scriptplugin/cmdgetprop.h" line="209"/>
1386
        <source>getAllObjects() -&gt; list
4460
        <source>getAllObjects() -&gt; list
1387
 
4461
 
1388
Returns a list containing the names of all objects on the current page.
4462
Returns a list containing the names of all objects on the current page.
1389
</source>
4463
</source>
1390
        <translation>getAllObjects() -&gt; list
4464
        <translation type="obsolete">getAllObjects() -&gt; list
1391
 
4465
 
1392
Retorna una llista que conté els noms de tots els objectes de la pàgina actual.
4466
Retorna una llista que conté els noms de tots els objectes de la pàgina actual.
1393
</translation>
4467
</translation>
1394
    </message>
4468
    </message>
1395
    <message>
4469
    <message>
Line 1399... Line 4473...
1399
Moves the object &quot;name&quot; to a new location. The coordinates are expressed in
4473
Moves the object &quot;name&quot; to a new location. The coordinates are expressed in
1400
the current measurement unit of the document (see UNIT constants).  If &quot;name&quot;
4474
the current measurement unit of the document (see UNIT constants).  If &quot;name&quot;
1401
is not given the currently selected item is used.  If the object &quot;name&quot;
4475
is not given the currently selected item is used.  If the object &quot;name&quot;
1402
belongs to a group, the whole group is moved.
4476
belongs to a group, the whole group is moved.
1403
</source>
4477
</source>
1404
        <translation>moveObjectAbs(x, y [, &quot;nom&quot;])
4478
        <translation type="obsolete">moveObjectAbs(x, y [, &quot;nom&quot;])
1405
 
4479
 
1406
Mou l&apos;objecte &quot;nom&quot; a una nova posició. Les coordenades estan expressades en
4480
Mou l&apos;objecte &quot;nom&quot; a una nova posició. Les coordenades estan expressades en
1407
les unitats de mesura del document (veure constants UNIT).  Si no especifiquem &quot;nom&quot; 
4481
les unitats de mesura del document (veure constants UNIT).  Si no especifiquem &quot;nom&quot; 
1408
es fa servir l&apos;ítem seleccionat.  Si l&apos;objecte &quot;nom&quot; pertany a un grup,
4482
es fa servir l&apos;ítem seleccionat.  Si l&apos;objecte &quot;nom&quot; pertany a un grup,
1409
es mou tot el grup.