Subversion Repositories Scribus

Rev

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

Rev Author Line No. Line
9729 cbradney 1
<?xml version="1.0" encoding="utf-8"?>
13914 jghali 2
<!DOCTYPE TS>
3
<TS version="2.0" language="de_DE">
192 Franz 4
<context>
12918 cbradney 5
    <name></name>
12590 cbradney 6
    <message>
14166 cbradney 7
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="17"/>
12590 cbradney 8
        <source>getColorNames() -&gt; list
9
 
10
Returns a list containing the names of all defined colors in the document.
11
If no document is open, returns a list of the default document colors.
12
</source>
14474 cbradney 13
        <translation type="unfinished">getColorNames() -&gt; list
12590 cbradney 14
 
15
Gibt eine Liste zurück, die alle vorhandenen Farben des aktuellen Dokuments enthält.
16
Wenn kein Dokument geöffnet ist, werden die Standardfarben zurückgegeben.</translation>
17
    </message>
18
    <message>
14166 cbradney 19
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="27"/>
12590 cbradney 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>
14474 cbradney 29
        <translation type="unfinished">getColor(&quot;name&quot;) -&gt; tuple
12590 cbradney 30
 
31
Gibt eine Liste mit den vier Farbkomponenten der Farbe &quot;name&quot; im aktuellen
32
Dokument wieder. Wenn kein Dokument geöffnet ist, werden die Werte der
33
angegebenen Standardfarbe zurückgegeben.
34
 
35
Wenn die Farbe nicht gefunden wird, tritt der Fehler NotFoundError auf.
36
Wenn der Name der Farbe ungültig ist, tritt der Fehler ValueError auf.</translation>
37
    </message>
38
    <message>
14166 cbradney 39
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="41"/>
12590 cbradney 40
        <source>getColorAsRGB(&quot;name&quot;) -&gt; tuple
41
 
42
Returns a tuple (R,G,B) containing the three color components of the
43
color &quot;name&quot; from the current document, converted to the RGB color
44
space. If no document is open, returns the value of the named color
45
from the default document colors.
46
 
47
May raise NotFoundError if the named color wasn&apos;t found.
48
May raise ValueError if an invalid color name is specified.
49
</source>
14474 cbradney 50
        <translation type="unfinished">getColorAsRGB(&quot;name&quot;) -&gt; tuple
12590 cbradney 51
 
52
Returns a tuple (R,G,B) containing the three color components of the
53
color &quot;name&quot; from the current document, converted to the RGB color
54
space. If no document is open, returns the value of the named color
55
from the default document colors.
56
 
57
May raise NotFoundError if the named color wasn&apos;t found.
58
May raise ValueError if an invalid color name is specified.</translation>
59
    </message>
60
    <message>
14166 cbradney 61
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="56"/>
12590 cbradney 62
        <source>changeColor(&quot;name&quot;, c, m, y, k)
63
 
64
Changes the color &quot;name&quot; to the specified CMYK value. The color value is
65
defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black.
66
Color components should be in the range from 0 to 255.
15099 cbradney 67
Note : deprecated, use changeColorCMYK() instead.
12590 cbradney 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>
15099 cbradney 72
        <translation type="unfinished"></translation>
73
    </message>
74
    <message>
75
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="71"/>
76
        <source>changeColorCMYK(&quot;name&quot;, c, m, y, k)
12590 cbradney 77
 
15099 cbradney 78
Changes the color &quot;name&quot; to the specified CMYK value. The color value is
79
defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black.
80
Color components should be in the range from 0 to 255.
81
 
82
May raise NotFoundError if the named color wasn&apos;t found.
83
May raise ValueError if an invalid color name is specified.
84
</source>
85
        <translation type="unfinished"></translation>
86
    </message>
87
    <message>
88
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="85"/>
89
        <source>changeColorRGB(&quot;name&quot;, r, g, b)
90
 
91
Changes the color &quot;name&quot; to the specified RGB value. The color value is
92
defined via three components r = red, g = green, b = blue.
93
Color components should be in the range from 0 to 255.
94
 
95
May raise NotFoundError if the named color wasn&apos;t found.
96
May raise ValueError if an invalid color name is specified.
97
</source>
98
        <translation type="unfinished"></translation>
99
    </message>
100
    <message>
101
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="99"/>
102
        <source>defineColor(&quot;name&quot;, c, m, y, k)
103
 
104
Defines a new color &quot;name&quot;. The color Value is defined via four components:
105
c = Cyan, m = Magenta, y = Yellow and k = Black. Color components should be in
106
the range from 0 to 255.
107
Note : deprecated, use defineColorCMYK() instead.
108
 
109
May raise ValueError if an invalid color name is specified.
110
</source>
111
        <translation type="unfinished"></translation>
112
    </message>
113
    <message>
114
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="113"/>
115
        <source>defineColorCMYK(&quot;name&quot;, c, m, y, k)
116
 
117
Defines a new color &quot;name&quot;. The color Value is defined via four components:
118
c = Cyan, m = Magenta, y = Yellow and k = Black. Color components should be in
119
the range from 0 to 255.
120
 
121
May raise ValueError if an invalid color name is specified.
122
</source>
123
        <translation type="unfinished"></translation>
124
    </message>
125
    <message>
126
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="126"/>
127
        <source>defineColorRGB(&quot;name&quot;, r, g, b)
128
 
129
Defines a new color &quot;name&quot;. The color Value is defined via three components:
130
r = red, g = green, b = blue. Color components should be in
131
the range from 0 to 255.
132
 
133
May raise ValueError if an invalid color name is specified.
134
</source>
135
        <translation type="unfinished"></translation>
136
    </message>
137
    <message>
138
        <source>changeColor(&quot;name&quot;, c, m, y, k)
139
 
140
Changes the color &quot;name&quot; to the specified CMYK value. The color value is
141
defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black.
142
Color components should be in the range from 0 to 255.
143
 
144
May raise NotFoundError if the named color wasn&apos;t found.
145
May raise ValueError if an invalid color name is specified.
146
</source>
147
        <translation type="obsolete">changeColor(&quot;name&quot;, c, m, y, k)
148
 
12590 cbradney 149
Ändert die Farbe &quot;name&quot; auf die angegeben CMYK-Werte. Die Abkürzungen
150
stehen für die vier Farben c=Cyan, m=Magenta, y=Yellow, b=Black.
151
Die Werte müssen zwischen 0 und 255 liegen.
152
 
153
Wenn die Farbe nicht gefunden wird, tritt der Fehler NotFoundError auf.
154
Wenn ein ungültiger Farbname angegeben wird, tritt der Fehler ValueError auf.</translation>
155
    </message>
156
    <message>
157
        <source>defineColor(&quot;name&quot;, c, m, y, k)
158
 
159
Defines a new color &quot;name&quot;. The color Value is defined via four components:
160
c = Cyan, m = Magenta, y = Yellow and k = Black. Color components should be in
161
the range from 0 to 255.
162
 
163
May raise ValueError if an invalid color name is specified.
164
</source>
15099 cbradney 165
        <translation type="obsolete">defineColor(&quot;name&quot;, c, m, y, k)
12590 cbradney 166
 
167
Defines a new color &quot;name&quot;. The color Value is defined via four components:
168
c = Cyan, m = Magenta, y = Yellow and k = Black. Color components should be in
169
the range from 0 to 255.
170
 
171
May raise ValueError if an invalid color name is specified.</translation>
172
    </message>
173
    <message>
15099 cbradney 174
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="139"/>
12590 cbradney 175
        <source>deleteColor(&quot;name&quot;, &quot;replace&quot;)
176
 
177
Deletes the color &quot;name&quot;. Every occurence of that color is replaced by the
178
color &quot;replace&quot;. If not specified, &quot;replace&quot; defaults to the color
179
&quot;None&quot; - transparent.
180
 
181
deleteColor works on the default document colors if there is no document open.
182
In that case, &quot;replace&quot;, if specified, has no effect.
183
 
184
May raise NotFoundError if a named color wasn&apos;t found.
185
May raise ValueError if an invalid color name is specified.
186
</source>
14474 cbradney 187
        <translation type="unfinished">deleteColor(&quot;name&quot;, &quot;replace&quot;)
12590 cbradney 188
 
189
Löscht die Farbe &quot;name&quot;. An allen Stellen, wo &quot;name&quot; im Dokument auftritt,
190
wird sie durch &quot;replace&quot; ersetzt. Standardmäßig ist &quot;replace&quot; gar keine Farbe -
191
Transparenz.
192
 
193
Sie können deleteColor auch verwenden, wenn kein Dokument geöffnet ist, dann
194
bleibt die Angabe von &quot;replace&quot; aber ohne Auswirkung.
195
 
196
Wenn die angegebene Farbe nicht gefunden wird, tritt der Fehler NotFoundError auf.
197
Wenn der Farbname ungültig ist, tritt der Fehler ValueError auf.</translation>
198
    </message>
199
    <message>
15099 cbradney 200
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="156"/>
12590 cbradney 201
        <source>replaceColor(&quot;name&quot;, &quot;replace&quot;)
202
 
203
Every occurence of the color &quot;name&quot; is replaced by the color &quot;replace&quot;.
204
 
205
May raise NotFoundError if a named color wasn&apos;t found.
206
May raise ValueError if an invalid color name is specified.
207
</source>
14474 cbradney 208
        <translation type="unfinished">replaceColor(&quot;name&quot;, &quot;replace&quot;)
12590 cbradney 209
 
210
An allen Stellen, wo die Farbe &quot;name&quot; vorkommt, wird sie duch die Farbe
211
&quot;replace&quot; ersetzt.
212
 
213
Wenn eine der Farben nicht vorhanden ist, tritt der Fehler NotFoundError auf.
214
Wenn der Name der Farbe ungültig ist, tritt der Fehler ValueError auf.</translation>
215
    </message>
216
    <message>
14166 cbradney 217
        <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="17"/>
12590 cbradney 218
        <source>newDocDialog() -&gt; bool
219
 
220
Displays the &quot;New Document&quot; dialog box. Creates a new document if the user
221
accepts the settings. Does not create a document if the user presses cancel.
222
Returns true if a new document was created.
223
</source>
14474 cbradney 224
        <translation type="unfinished">newDocDialog() -&gt; bool
12590 cbradney 225
 
226
Zeigt den Dialog \&quot;Neues Dokument\&quot; an. Damit können Sie ein neues Dokument erstellen, wenn der Benutzer die standardmäßigen Einstellung aktzeptiert. Erzeugt kein neues Dokument, wenn der Benutzer auf \&quot;Abbrechen\&quot; klickt.
227
Gibt den Wert \&quot;true\&quot; zurück, wenn ein neues Dokument erstellt wurde.</translation>
228
    </message>
229
    <message>
14166 cbradney 230
        <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="28"/>
12590 cbradney 231
        <source>fileDialog(&quot;caption&quot;, [&quot;filter&quot;, &quot;defaultname&quot;, haspreview, issave, isdir]) -&gt; string with filename
232
 
233
Shows a File Open dialog box with the caption &quot;caption&quot;. Files are filtered
234
with the filter string &quot;filter&quot;. A default filename or file path can also
235
supplied, leave this string empty when you don&apos;t want to use it.  A value of
236
True for haspreview enables a small preview widget in the FileSelect box.  When
237
the issave parameter is set to True the dialog acts like a &quot;Save As&quot; dialog
238
otherwise it acts like a &quot;File Open Dialog&quot;. When the isdir parameter is True
239
the dialog shows and returns only directories. The default for all of the
240
optional parameters is False.
241
 
242
The filter, if specified, takes the form &apos;comment (*.type *.type2 ...)&apos;.
243
For example &apos;Images (*.png *.xpm *.jpg)&apos;.
244
 
245
Refer to the Qt-Documentation for QFileDialog for details on filters.
246
 
247
Example: fileDialog(&apos;Open input&apos;, &apos;CSV files (*.csv)&apos;)
248
Example: fileDialog(&apos;Save report&apos;, defaultname=&apos;report.txt&apos;, issave=True)
249
</source>
14474 cbradney 250
        <translation type="unfinished">fileDialog(&quot;caption&quot;, [&quot;filter&quot;, &quot;defaultname&quot;, haspreview, issave, isdir]) -&gt; string with filenameShows a File Open dialog box with the caption &quot;caption&quot;. Files are filteredwith the filter string &quot;filter&quot;. A default filename or file path can alsosupplied, leave this string empty when you don&apos;t want to use it.  A value ofTrue for haspreview enables a small preview widget in the FileSelect box.  Whenthe issave parameter is set to True the dialog acts like a &quot;Save As&quot; dialogotherwise it acts like a &quot;File Open Dialog&quot;. When the isdir parameter is Truethe dialog shows and returns only directories. The default for all of theoptional parameters is False.The filter, if specified, takes the form &apos;comment (*.type *.type2 ...)&apos;.For example &apos;Images (*.png *.xpm *.jpg)&apos;.Refer to the Qt-Documentation for QFileDialog for details on filters.Example: fileDialog(&apos;Open input&apos;, &apos;CSV files (*.csv)&apos;)Example: fileDialog(&apos;Save report&apos;, defaultname=&apos;report.txt&apos;, issave=True)</translation>
12590 cbradney 251
    </message>
252
    <message>
14166 cbradney 253
        <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="56"/>
12590 cbradney 254
        <source>messageBox(&quot;caption&quot;, &quot;message&quot;,
255
    icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT,
256
    button2=BUTTON_NONE, button3=BUTTON_NONE) -&gt; integer
257
 
258
Displays a message box with the title &quot;caption&quot;, the message &quot;message&quot;, and
259
an icon &quot;icon&quot; and up to 3 buttons. By default no icon is used and a single
260
button, OK, is displayed. Only the caption and message arguments are required,
261
though setting an icon and appropriate button(s) is strongly
262
recommended. The message text may contain simple HTML-like markup.
263
 
264
Returns the number of the button the user pressed. Button numbers start
265
at 1.
266
 
267
For the icon and the button parameters there are predefined constants available
268
with the same names as in the Qt Documentation. These are the BUTTON_* and
269
ICON_* constants defined in the module. There are also two extra constants that
270
can be binary-ORed with button constants:
271
    BUTTONOPT_DEFAULT   Pressing enter presses this button.
272
    BUTTONOPT_ESCAPE    Pressing escape presses this button.
273
 
274
Usage examples:
275
result = messageBox(&apos;Script failed&apos;,
276
                    &apos;This script only works when you have a text frame selected.&apos;,
277
                    ICON_ERROR)
278
result = messageBox(&apos;Monkeys!&apos;, &apos;Something went ook! &lt;i&gt;Was it a monkey?&lt;/i&gt;&apos;,
279
                    ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT,
280
                    BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE)
281
 
282
Defined button and icon constants:
283
BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO,
284
BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL,
285
ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL.
286
</source>
14474 cbradney 287
        <translation type="unfinished">messageBox(&quot;caption&quot;, &quot;message&quot;,icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT,
12590 cbradney 288
button2=BUTTON_NONE, button3=BUTTON_NONE) -&gt; integer
289
Zeigt einen Dialog mit dem Titel &quot;caption&quot;, der Botschaft &quot;message&quot; und dem Symbol &quot;icon&quot; sowie
290
bis zu 3 Buttons an. Standard ist kein Symbol und ein OK-Button. Nur Titel und Botschaft sind
291
erforderliche Felder, aber Symbol und Buttons werden empfohlen.
292
Der Text der Botschaft kann auch einfachen HTML-Code enthalten.
293
Gibt die Nummer des Buttons wieder, der gedrückt wurde, beginnend mit 1.
294
Für Buttons und Symbole gibt es vordefinierte Konstanten, die gleichen wie in
295
der Qt-Dokumentation.
296
Die sind im Modul definiert und heißen BUTTON_* und ICON_* . Es gibt auch zwei
297
spezielle Konstanten, die auch den Wert 0 annehmen können: BUTTONOPT_DEFAULT aktiviert den
298
jeweiligen Button per Druck auf Enter.
299
BUTTONOPT_ESCAPE drückt die Escape-Taste falls dieser Button gedrückt wird.
300
Beispiel
301
result = messageBox(&apos;Script failed&apos;,&apos;This script only works when you have a text frame selected.&apos;,
302
ICON_ERROR)
303
result = messageBox(&apos;Monkeys!&apos;, &apos;Something went ook! &lt;i&gt;Was it a monkey?&lt;/i&gt;&apos;,ICON_WARNING,
304
BUTTON_YES|BUTTONOPT_DEFAULT, BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE)
305
Konstanten für Buttons und Symbole:
306
BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO,
307
BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL,
308
ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL.</translation>
309
    </message>
310
    <message>
14166 cbradney 311
        <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="95"/>
12590 cbradney 312
        <source>valueDialog(caption, message [,defaultvalue]) -&gt; string
313
 
314
Shows the common &apos;Ask for string&apos; dialog and returns its value as a string
315
Parameters: window title, text in the window and optional &apos;default&apos; value.
316
 
317
Example: valueDialog(&apos;title&apos;, &apos;text in the window&apos;, &apos;optional&apos;)
318
</source>
14474 cbradney 319
        <translation type="unfinished">valueDialog(caption, message [,defaultvalue]) -&gt; string
12590 cbradney 320
 
321
Zeigt einen Dialog an, der einen String verlangt und zurückgibt.
322
Parameter: Fenstertitel, Text im Fenster und optionaler &apos;default&apos;-Text.
323
 
324
Beispiel: valueDialog(&apos;TItel&apos;, &apos;Text im Fenster&apos;, &apos;optional&apos;)</translation>
325
    </message>
326
    <message>
14166 cbradney 327
        <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="107"/>
12590 cbradney 328
        <source>newStyleDialog() -&gt; string
329
 
330
Shows &apos;Create new paragraph style&apos; dialog. Function returns real
331
style name or None when user cancels the dialog.
332
</source>
14474 cbradney 333
        <translation type="unfinished">isLayerPrintable(&quot;layer&quot;) -&gt; bool
12590 cbradney 334
 
335
Returns whether the layer &quot;layer&quot; is visible or not, a value of True means
336
that the layer &quot;layer&quot; is visible, a value of False means that the layer
337
&quot;layer&quot; is invisible.
338
 
339
May raise NotFoundError if the layer can&apos;t be found.
340
May raise ValueError if the layer name isn&apos;t acceptable.</translation>
341
    </message>
342
    <message>
14166 cbradney 343
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="16"/>
12590 cbradney 344
        <source>newDocument(size, margins, orientation, firstPageNumber,
345
                        unit, pagesType, firstPageOrder, numPages) -&gt; bool
346
 
347
Creates a new document and returns true if successful. The parameters have the
348
following meaning:
349
 
350
size = A tuple (width, height) describing the size of the document. You can
351
use predefined constants named PAPER_&lt;paper_type&gt; e.g. PAPER_A4 etc.
352
 
353
margins = A tuple (left, right, top, bottom) describing the document
354
margins
355
 
356
orientation = the page orientation - constants PORTRAIT, LANDSCAPE
357
 
358
firstPageNumer = is the number of the first page in the document used for
359
pagenumbering. While you&apos;ll usually want 1, it&apos;s useful to have higher
360
numbers if you&apos;re creating a document in several parts.
361
 
362
unit: this value sets the measurement units used by the document. Use a
363
predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
364
UNIT_PICAS, UNIT_POINTS.
365
 
366
pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page,
367
PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and
368
PAGE_4 is 4-fold.
369
 
370
firstPageOrder = What is position of first page in the document.
371
Indexed from 0 (0 = first).
372
 
373
numPage = Number of pages to be created.
374
 
375
The values for width, height and the margins are expressed in the given unit
376
for the document. PAPER_* constants are expressed in points. If your document
377
is not in points, make sure to account for this.
378
 
379
example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS,
380
PAGE_4, 3, 1)
381
 
382
May raise ScribusError if is firstPageOrder bigger than allowed by pagesType.
383
</source>
14474 cbradney 384
        <translation type="unfinished">newDocument(size, margins, orientation, firstPageNumber,
12590 cbradney 385
(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)unit, pagesType, firstPageOrder, numPages) -&gt; bool
386
 
387
Creates a new document and returns true if successful. The parameters have the(new line)
388
following meaning:(new line)
389
(new line)
390
size = A tuple (width, height) describing the size of the document. You can
391
use predefined constants named PAPER_&lt;paper_type&gt; e.g. PAPER_A4 etc.
392
 
393
margins = A tuple (left, right, top, bottom) describing the document
394
margins
395
 
396
orientation = the page orientation - constants PORTRAIT, LANDSCAPE
397
 
398
firstPageNumer = is the number of the first page in the document used for
399
pagenumbering. While you&apos;ll usually want 1, it&apos;s useful to have higher
400
numbers if you&apos;re creating a document in several parts.
401
 
402
unit: this value sets the measurement units used by the document. Use a
403
predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
404
UNIT_PICAS, UNIT_POINTS.
405
 
406
pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page,
407
PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and
408
PAGE_4 is 4-fold.
409
 
410
firstPageOrder = What is position of first page in the document.
411
Indexed from 0 (0 = first).
412
 
413
numPage = Number of pages to be created.
414
 
415
The values for width, height and the margins are expressed in the given unit
416
for the document. PAPER_* constants are expressed in points. If your document
417
is not in points, make sure to account for this.
418
 
419
example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS,
420
PAGE_4, 3, 1)
421
 
422
May raise ScribusError if is firstPageOrder bigger than allowed by pagesType.</translation>
423
    </message>
424
    <message>
14166 cbradney 425
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="62"/>
12590 cbradney 426
        <source>newDoc(size, margins, orientation, firstPageNumber,
427
                   unit, facingPages, firstSideLeft) -&gt; bool
428
 
429
WARNING: Obsolete procedure! Use newDocument instead.
430
 
431
Creates a new document and returns true if successful. The parameters have the
432
following meaning:
433
 
434
    size = A tuple (width, height) describing the size of the document. You can
435
    use predefined constants named PAPER_&lt;paper_type&gt; e.g. PAPER_A4 etc.
436
 
437
    margins = A tuple (left, right, top, bottom) describing the document
438
    margins
439
 
440
    orientation = the page orientation - constants PORTRAIT, LANDSCAPE
441
 
442
    firstPageNumer = is the number of the first page in the document used for
443
    pagenumbering. While you&apos;ll usually want 1, it&apos;s useful to have higher
444
    numbers if you&apos;re creating a document in several parts.
445
 
446
    unit: this value sets the measurement units used by the document. Use a
447
    predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
448
    UNIT_PICAS, UNIT_POINTS.
449
 
450
    facingPages = FACINGPAGES, NOFACINGPAGES
451
 
452
    firstSideLeft = FIRSTPAGELEFT, FIRSTPAGERIGHT
453
 
454
The values for width, height and the margins are expressed in the given unit
455
for the document. PAPER_* constants are expressed in points. If your document
456
is not in points, make sure to account for this.
457
 
458
example: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS,
459
                FACINGPAGES, FIRSTPAGERIGHT)
460
</source>
14474 cbradney 461
        <translation type="unfinished">newDoc(size, margins, orientation, firstPageNumber,
12590 cbradney 462
                   unit, facingPages, firstSideLeft) -&gt; bool
463
 
464
WARNING: Obsolete procedure! Use newDocument instead.
465
 
466
Creates a new document and returns true if successful. The parameters have the
467
following meaning:
468
 
469
    size = A tuple (width, height) describing the size of the document. You can
470
    use predefined constants named PAPER_&lt;paper_type&gt; e.g. PAPER_A4 etc.
471
 
472
    margins = A tuple (left, right, top, bottom) describing the document
473
    margins
474
 
475
    orientation = the page orientation - constants PORTRAIT, LANDSCAPE
476
 
477
    firstPageNumer = is the number of the first page in the document used for
478
    pagenumbering. While you&apos;ll usually want 1, it&apos;s useful to have higher
479
    numbers if you&apos;re creating a document in several parts.
480
 
481
    unit: this value sets the measurement units used by the document. Use a
482
    predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
483
    UNIT_PICAS, UNIT_POINTS.
484
 
485
    facingPages = FACINGPAGES, NOFACINGPAGES
486
 
487
    firstSideLeft = FIRSTPAGELEFT, FIRSTPAGERIGHT
488
 
489
The values for width, height and the margins are expressed in the given unit
490
for the document. PAPER_* constants are expressed in points. If your document
491
is not in points, make sure to account for this.
492
 
493
example: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS,
494
                FACINGPAGES, FIRSTPAGERIGHT)
495
</translation>
496
    </message>
497
    <message>
14166 cbradney 498
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="103"/>
12590 cbradney 499
        <source>closeDoc()
500
 
501
Closes the current document without prompting to save.
502
 
503
May throw NoDocOpenError if there is no document to close
504
</source>
14474 cbradney 505
        <translation type="unfinished">closeDoc()
12590 cbradney 506
 
507
Schließt das aktuelle Dokument, ohne Änderungen zu sichern.
508
 
509
Wenn kein Dokument offen ist, tritt der Fehler NoDocOpenError auf</translation>
510
    </message>
511
    <message>
14166 cbradney 512
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="114"/>
12590 cbradney 513
        <source>haveDoc() -&gt; bool
514
 
515
Returns true if there is a document open.
516
</source>
14474 cbradney 517
        <translation type="unfinished">haveDoc() -&gt; bool
12590 cbradney 518
 
519
Gibt True zurück, wenn ein Dokument geöffnet ist.</translation>
520
    </message>
521
    <message>
14166 cbradney 522
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="123"/>
12590 cbradney 523
        <source>openDoc(&quot;name&quot;)
524
 
525
Opens the document &quot;name&quot;.
526
 
527
May raise ScribusError if the document could not be opened.
528
</source>
14474 cbradney 529
        <translation type="unfinished">openDoc(&quot;name&quot;)
12590 cbradney 530
 
531
Öffnet das Dokument &quot;name&quot;.
532
 
533
Schlägt das fehl, tritt der Fehler ScribusError auf.</translation>
534
    </message>
535
    <message>
14166 cbradney 536
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="134"/>
12590 cbradney 537
        <source>saveDoc()
538
 
539
Saves the current document with its current name, returns true if successful.
540
If the document has not already been saved, this may bring up an interactive
541
save file dialog.
542
 
543
If the save fails, there is currently no way to tell.
544
</source>
14474 cbradney 545
        <translation type="unfinished">saveDoc()
12590 cbradney 546
 
547
Speichert das Dokument unter dem aktuellen Namen und gibt True zurück, wenn das
548
erfolgreich war. Wurde das Dokument noch nicht gesichert, öffnet sich der &quot;Speichern&quot;-
549
Dialog.
550
 
551
Wenn das Sichern fehlschlägt, erscheint derzeit keine Fehlermeldung.</translation>
552
    </message>
553
    <message>
14166 cbradney 554
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="146"/>
14474 cbradney 555
        <source>getDocName() -&gt; string
556
 
557
Returns the name the document was saved under.
558
If the document was not saved before the name is empty.
559
</source>
560
        <translation type="unfinished"></translation>
561
    </message>
562
    <message>
563
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="156"/>
12590 cbradney 564
        <source>saveDocAs(&quot;name&quot;)
565
 
566
Saves the current document under the new name &quot;name&quot; (which may be a full or
567
relative path).
568
 
569
May raise ScribusError if the save fails.
570
</source>
14474 cbradney 571
        <translation type="unfinished">saveDocAs(&quot;name&quot;)
12590 cbradney 572
 
573
Speichert das aktuelle Dokument unter dem neuen Namen &quot;name&quot;. Die Pfadangabe kann dabei
574
relativ oder absolut sein.
575
 
576
Schlägt das Sichern fehl, tritt der Fehler ScribusError auf.</translation>
577
    </message>
578
    <message>
14474 cbradney 579
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="168"/>
12590 cbradney 580
        <source>setInfo(&quot;author&quot;, &quot;info&quot;, &quot;description&quot;) -&gt; bool
581
 
582
Sets the document information. &quot;Author&quot;, &quot;Info&quot;, &quot;Description&quot; are
583
strings.
584
</source>
14474 cbradney 585
        <translation type="unfinished">setInfo(&quot;author&quot;, &quot;info&quot;, &quot;description&quot;) -&gt; bool
12590 cbradney 586
 
587
Sets the document information. &quot;Author&quot;, &quot;Info&quot;, &quot;Description&quot; are
588
strings.</translation>
589
    </message>
590
    <message>
14474 cbradney 591
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="178"/>
12590 cbradney 592
        <source>setMargins(lr, rr, tr, br)
593
 
14474 cbradney 594
Sets the margins of the document, Left(lr), Right(rr), Top(tr) and Bottom(br)
595
margins are given in the measurement units of the document - see UNIT_&lt;type&gt;
596
constants.
597
</source>
598
        <translation type="unfinished">setMargins(lr, rr, tr, br)
599
 
600
Verändert die Ränder des Dokuments. Links=lr, Rechts=rr, Oben=tr, Unten=br.
601
Die Einheit wird durch die Maßeinheit des Dokuments vorgegeben, siehe die
602
Konstanten UNIT_&lt;type&gt;.</translation>
603
    </message>
604
    <message>
605
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="189"/>
606
        <source>setBaseLine(grid, offset)
607
 
608
Sets the base line settings of the document, grid spacing(grid), grid offset(offset).
609
Values are given in the measurement units of the document - see UNIT_&lt;type&gt;
610
constants.
611
</source>
612
        <translation type="unfinished"></translation>
613
    </message>
614
    <message>
615
        <source>setMargins(lr, rr, tr, br)
616
 
12590 cbradney 617
Sets the margins of the document, Qt::DockLeft(lr), Qt::DockRight(rr), Qt::DockTop(tr) and Qt::DockBottom(br)
618
margins are given in the measurement units of the document - see UNIT_&lt;type&gt;
619
constants.
620
</source>
14474 cbradney 621
        <translation type="obsolete">setMargins(lr, rr, tr, br)Sets the margins of the document, Qt::DockLeft(lr), Qt::DockRight(rr), Qt::DockTop(tr) and Qt::DockBottom(br)margins are given in the measurement units of the document - see UNIT_&lt;type&gt;constants.</translation>
12590 cbradney 622
    </message>
623
    <message>
14474 cbradney 624
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="200"/>
12590 cbradney 625
        <source>setUnit(type)
626
 
627
Changes the measurement unit of the document. Possible values for &quot;unit&quot; are
628
defined as constants UNIT_&lt;type&gt;.
629
 
630
May raise ValueError if an invalid unit is passed.
631
</source>
14474 cbradney 632
        <translation type="unfinished">setUnit(type)
12590 cbradney 633
 
634
Ändert die Maßeinheit des Dokuments auf &quot;type&quot;. Mögliche Einheiten geben Sie durch die
635
Konstanten UNIT_&lt;type&gt; an.
636
 
637
Ist die Einheit ungültig, tritt der Fehler ValueError auf.</translation>
638
    </message>
639
    <message>
14474 cbradney 640
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="212"/>
12590 cbradney 641
        <source>getUnit() -&gt; integer (Scribus unit constant)
642
 
643
Returns the measurement units of the document. The returned value will be one
644
of the UNIT_* constants:
645
UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.
646
</source>
14474 cbradney 647
        <translation type="unfinished">getUnit() -&gt; integer (Scribus unit constant)
12590 cbradney 648
 
649
Gibt die Maßeinheit des Dokuments zurück. Der Rückgabewert ist eine
650
der möglichen UNIT_*-Konstanten:
651
UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.</translation>
652
    </message>
653
    <message>
14474 cbradney 654
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="223"/>
12590 cbradney 655
        <source>loadStylesFromFile(&quot;filename&quot;)
656
 
657
Loads paragraph styles from the Scribus document at &quot;filename&quot; into the
658
current document.
659
</source>
14474 cbradney 660
        <translation type="unfinished">loadStylesFromFile(&quot;filename&quot;)
12590 cbradney 661
 
662
Lädt die Absatzstile aus der Datei &quot;filename&quot; in das aktuelle Dokument.</translation>
663
    </message>
664
    <message>
14474 cbradney 665
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="233"/>
12590 cbradney 666
        <source>setDocType(facingPages, firstPageLeft)
667
 
668
Sets the document type. To get facing pages set the first parameter to
669
FACINGPAGES, to switch facingPages off use NOFACINGPAGES instead.  If you want
670
to be the first page a left side set the second parameter to FIRSTPAGELEFT, for
671
a right page use FIRSTPAGERIGHT.
672
</source>
14474 cbradney 673
        <translation type="unfinished">setDocType(facingPages, firstPageLeft)
12590 cbradney 674
 
675
Setzt den Dokumenttyp. Gegenüberliegende Seiten erreichen Sie mit FACINGPAGES, normale
676
Seiten mit NOFACINGPAGES. Wenn die erste Seite links sein soll, schreiben Sie FIRSTPAGELEFT,
677
ansonsten FIRSTPAGERIGHT.</translation>
678
    </message>
679
    <message>
14474 cbradney 680
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="243"/>
12590 cbradney 681
        <source>closeMasterPage()
682
 
683
Closes the currently active master page, if any, and returns editing
684
to normal. Begin editing with editMasterPage().
685
</source>
14474 cbradney 686
        <translation type="unfinished">closeMasterPage()
12590 cbradney 687
 
688
Closes the currently active master page, if any, and returns editing
689
to normal. Begin editing with editMasterPage().</translation>
690
    </message>
691
    <message>
14474 cbradney 692
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="251"/>
12590 cbradney 693
        <source>masterPageNames()
694
 
695
Returns a list of the names of all master pages in the document.
696
</source>
14474 cbradney 697
        <translation type="unfinished">masterPageNames()(new line)
12590 cbradney 698
(new line)
699
Returns a list of the names of all master pages in the document.</translation>
700
    </message>
701
    <message>
14474 cbradney 702
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="258"/>
12590 cbradney 703
        <source>editMasterPage(pageName)
704
 
705
Enables master page editing and opens the named master page
706
for editing. Finish editing with closeMasterPage().
707
</source>
14474 cbradney 708
        <translation type="unfinished">editMasterPage(pageName)(new line)
12590 cbradney 709
(new line)
710
Enables master page editing and opens the named master page(new line)
711
for editing. Finish editing with closeMasterPage().</translation>
712
    </message>
713
    <message>
14474 cbradney 714
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="266"/>
12590 cbradney 715
        <source>createMasterPage(pageName)
716
 
717
Creates a new master page named pageName and opens it for
718
editing.
719
</source>
14474 cbradney 720
        <translation type="unfinished">createMasterPage(pageName)(new line)
12590 cbradney 721
(new line)
722
Creates a new master page named pageName and opens it for(new line)
723
editing.</translation>
724
    </message>
725
    <message>
14474 cbradney 726
        <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="274"/>
12590 cbradney 727
        <source>deleteMasterPage(pageName)
728
 
729
Delete the named master page.
730
</source>
14474 cbradney 731
        <translation type="unfinished">deleteMasterPage(pageName)(new line)
12590 cbradney 732
(new line)
733
Delete the named master page.</translation>
734
    </message>
735
    <message>
14166 cbradney 736
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="17"/>
15099 cbradney 737
        <source>getObjectType([&quot;name&quot;]) -&gt; string
738
 
739
Get type of object &quot;name&quot; as a string.
740
</source>
741
        <translation type="unfinished"></translation>
742
    </message>
743
    <message>
744
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="26"/>
12590 cbradney 745
        <source>getFillColor([&quot;name&quot;]) -&gt; string
746
 
747
Returns the name of the fill color of the object &quot;name&quot;.
748
If &quot;name&quot; is not given the currently selected item is used.
749
</source>
14474 cbradney 750
        <translation type="unfinished">getFillColor([&quot;name&quot;]) -&gt; string
12590 cbradney 751
 
752
Gibt den Wert der Füllfarbe des Objekts &quot;name&quot; zurück.
753
Wenn &quot;name&quot; nicht angegeben ist, wird das aktuell ausgewählt Objekt verwendet.</translation>
754
    </message>
755
    <message>
15099 cbradney 756
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="36"/>
12590 cbradney 757
        <source>getFillTransparency([&quot;name&quot;]) -&gt; float
758
 
759
Returns the fill transparency of the object &quot;name&quot;. If &quot;name&quot;
760
is not given the currently selected Item is used.
761
</source>
14474 cbradney 762
        <translation type="unfinished">getFillTransparency([&quot;name&quot;]) -&gt; float
12590 cbradney 763
 
764
Returns the fill transparency of the object &quot;name&quot;. If &quot;name&quot;
765
is not given the currently selected Item is used.</translation>
766
    </message>
767
    <message>
15099 cbradney 768
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="46"/>
12590 cbradney 769
        <source>getFillBlendmode([&quot;name&quot;]) -&gt; integer
770
 
771
Returns the fill blendmode of the object &quot;name&quot;. If &quot;name&quot;
772
is not given the currently selected Item is used.
773
</source>
14474 cbradney 774
        <translation type="unfinished">getFillBlendmode([&quot;name&quot;]) -&gt; integer
12590 cbradney 775
 
776
Returns the fill blendmode of the object &quot;name&quot;. If &quot;name&quot;
777
is not given the currently selected Item is used.</translation>
778
    </message>
779
    <message>
15099 cbradney 780
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="56"/>
12590 cbradney 781
        <source>getLineColor([&quot;name&quot;]) -&gt; string
782
 
783
Returns the name of the line color of the object &quot;name&quot;.
784
If &quot;name&quot; is not given the currently selected item is used.
785
</source>
14474 cbradney 786
        <translation type="unfinished">getLineColor([&quot;name&quot;]) -&gt; string
12590 cbradney 787
 
788
Gibt den Namen der Linienfarbe des Objekts &quot;name&quot; zurück.
789
Wenn &quot;name&quot; nicht angegeben ist, wird das aktuelle Objekt benutzt.</translation>
790
    </message>
791
    <message>
15099 cbradney 792
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="66"/>
12590 cbradney 793
        <source>getLineTransparency([&quot;name&quot;]) -&gt; float
794
 
795
Returns the line transparency of the object &quot;name&quot;. If &quot;name&quot;
796
is not given the currently selected Item is used.
797
</source>
14474 cbradney 798
        <translation type="unfinished">getLineTransparency([&quot;name&quot;]) -&gt; float
12590 cbradney 799
 
800
Returns the line transparency of the object &quot;name&quot;. If &quot;name&quot;
801
is not given the currently selected Item is used.</translation>
802
    </message>
803
    <message>
15099 cbradney 804
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="76"/>
12590 cbradney 805
        <source>getLineBlendmode([&quot;name&quot;]) -&gt; integer
806
 
807
Returns the line blendmode of the object &quot;name&quot;. If &quot;name&quot;
808
is not given the currently selected Item is used.
809
</source>
14474 cbradney 810
        <translation type="unfinished">getLineBlendmode([&quot;name&quot;]) -&gt; integer
12590 cbradney 811
 
812
Returns the line blendmode of the object &quot;name&quot;. If &quot;name&quot;
813
is not given the currently selected Item is used.</translation>
814
    </message>
815
    <message>
15099 cbradney 816
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="86"/>
12590 cbradney 817
        <source>getLineWidth([&quot;name&quot;]) -&gt; integer
818
 
819
Returns the line width of the object &quot;name&quot;. If &quot;name&quot;
820
is not given the currently selected Item is used.
821
</source>
14474 cbradney 822
        <translation type="unfinished">getLineWidth([&quot;name&quot;]) -&gt; integer
12590 cbradney 823
 
824
Gibt die Linienbreite des Objekts &quot;name&quot; zurück.
825
Wenn &quot;name&quot; nicht angegeben ist, wird das aktuelle Objekt benutzt.</translation>
826
    </message>
827
    <message>
15099 cbradney 828
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="96"/>
12590 cbradney 829
        <source>getLineShade([&quot;name&quot;]) -&gt; integer
830
 
831
Returns the shading value of the line color of the object &quot;name&quot;.
832
If &quot;name&quot; is not given the currently selected item is used.
833
</source>
14474 cbradney 834
        <translation type="unfinished">getLineShade([&quot;name&quot;]) -&gt; integer
12590 cbradney 835
 
836
Gibt den Tonwert des Objekts &quot;name&quot; zurück.
837
Wenn &quot;name&quot; nicht angegeben ist, wird das aktuelle Objekt benutzt.</translation>
838
    </message>
839
    <message>
15099 cbradney 840
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="106"/>
12590 cbradney 841
        <source>getLineJoin([&quot;name&quot;]) -&gt; integer (see constants)
842
 
843
Returns the line join style of the object &quot;name&quot;. If &quot;name&quot; is not given
844
the currently selected item is used.  The join types are:
845
JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND
846
</source>
14474 cbradney 847
        <translation type="unfinished">getLineJoin([&quot;name&quot;]) -&gt; integer (see constants)Returns the line join style of the object &quot;name&quot;. If &quot;name&quot; is not giventhe currently selected item is used.  The join types are:JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND</translation>
12590 cbradney 848
    </message>
849
    <message>
15099 cbradney 850
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="117"/>
12590 cbradney 851
        <source>getLineEnd([&quot;name&quot;]) -&gt; integer (see constants)
852
 
853
Returns the line cap style of the object &quot;name&quot;. If &quot;name&quot; is not given the
854
currently selected item is used. The cap types are:
855
CAP_FLAT, CAP_ROUND, CAP_SQUARE
856
</source>
14474 cbradney 857
        <translation type="unfinished">getLineEnd([&quot;name&quot;]) -&gt; integer (siehe Konstanten)
12590 cbradney 858
 
859
Gibt den Stil der Linienrundungen des Objekts &quot;name&quot; an. Ist &quot;name&quot; nicht angegeben, wird das aktuelle Objekt benutzt.
860
Die unterstützten Stile sind CAP_FLAT, CAP_ROUND, CAP_SQUARE</translation>
861
    </message>
862
    <message>
15099 cbradney 863
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="128"/>
12590 cbradney 864
        <source>getLineStyle([&quot;name&quot;]) -&gt; integer (see constants)
865
 
866
Returns the line style of the object &quot;name&quot;. If &quot;name&quot; is not given the
867
currently selected item is used. Line style constants are:
868
LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
869
</source>
14474 cbradney 870
        <translation type="unfinished">getLineStyle([&quot;name&quot;]) -&gt; integer (siehe Konstanten)
12590 cbradney 871
 
872
Gibt den Linienstil des Objekts &quot;name&quot; wieder. Ist &quot;name&quot; nicht angegeben,
873
wird das aktuelle Objekt benutzt. Linienstile sind LINE_DASH, LINE_DASHDOT,
874
LINE_DASHDOTDOT, LINE_SOLID</translation>
875
    </message>
876
    <message>
15099 cbradney 877
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="139"/>
12590 cbradney 878
        <source>getFillShade([&quot;name&quot;]) -&gt; integer
879
 
880
Returns the shading value of the fill color of the object &quot;name&quot;.
881
If &quot;name&quot; is not given the currently selected item is used.
882
</source>
14474 cbradney 883
        <translation type="unfinished">getFillShade([&quot;name&quot;]) -&gt; integer
12590 cbradney 884
 
885
Gibt den Tonwert der Füllfarbe von &quot;name&quot; zurück. Ist &quot;name&quot; nicht angegeben, wird
886
das aktuelle Objekt verwendet.</translation>
887
    </message>
888
    <message>
15099 cbradney 889
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="149"/>
12590 cbradney 890
        <source>getCornerRadius([&quot;name&quot;]) -&gt; integer
891
 
892
Returns the corner radius of the object &quot;name&quot;. The radius is
893
expressed in points. If &quot;name&quot; is not given the currently
894
selected item is used.
895
</source>
14474 cbradney 896
        <translation type="unfinished">getCornerRadius([&quot;name&quot;]) -&gt; integer
12590 cbradney 897
 
898
Returns the corner radius of the object &quot;name&quot;. The radius is
899
expressed in points. If &quot;name&quot; is not given the currently
900
selected item is used.</translation>
901
    </message>
902
    <message>
15099 cbradney 903
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="160"/>
12590 cbradney 904
        <source>getImageScale([&quot;name&quot;]) -&gt; (x,y)
905
 
906
Returns a (x, y) tuple containing the scaling values of the image frame
907
&quot;name&quot;.  If &quot;name&quot; is not given the currently selected item is used.
908
</source>
14474 cbradney 909
        <translation type="unfinished">getImageScale([&quot;name&quot;]) -&gt; (x,y)(
12590 cbradney 910
 
911
Gibt ein Zahlenpaar (x,y) zurück mit den Skalierungswerten des Bildes im Rahmen
912
&quot;name&quot;. Ist &quot;name&quot; nicht angegeben, wird der aktuelle Rahmen verwendet.</translation>
913
    </message>
914
    <message>
15099 cbradney 915
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="170"/>
12590 cbradney 916
        <source>getImageName([&quot;name&quot;]) -&gt; string
917
 
918
Returns the filename for the image in the image frame. If &quot;name&quot; is not
919
given the currently selected item is used.
920
</source>
14474 cbradney 921
        <translation type="unfinished">getImageName([&quot;name&quot;]) -&gt; string
12590 cbradney 922
 
923
Gibt den Dateinamen des Bildes im Rahmen &quot;name&quot; zurück. Ist &quot;name&quot; nicht
924
angegeben, wird das aktuelle Objekt benutzt.</translation>
925
    </message>
926
    <message>
15099 cbradney 927
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="180"/>
12590 cbradney 928
        <source>getPosition([&quot;name&quot;]) -&gt; (x,y)
929
 
930
Returns a (x, y) tuple with the position of the object &quot;name&quot;.
931
If &quot;name&quot; is not given the currently selected item is used.
932
The position is expressed in the actual measurement unit of the document
933
- see UNIT_&lt;type&gt; for reference.
934
</source>
14474 cbradney 935
        <translation type="unfinished">getPosition([&quot;name&quot;]) -&gt; (x,y)
12590 cbradney 936
 
937
Returns a (x, y) tuple with the position of the object &quot;name&quot;.
938
If &quot;name&quot; is not given the currently selected item is used.
939
The position is expressed in the actual measurement unit of the document
940
- see UNIT_&lt;type&gt; for reference.</translation>
941
    </message>
942
    <message>
15099 cbradney 943
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="192"/>
12590 cbradney 944
        <source>getSize([&quot;name&quot;]) -&gt; (width,height)
945
 
946
Returns a (width, height) tuple with the size of the object &quot;name&quot;.
947
If &quot;name&quot; is not given the currently selected item is used. The size is
948
expressed in the current measurement unit of the document - see UNIT_&lt;type&gt;
949
for reference.
950
</source>
14474 cbradney 951
        <translation type="unfinished">getSize([&quot;name&quot;]) -&gt; (Breite,Höhe)
12590 cbradney 952
 
953
Gibt das Zahlenpaar (Breite,Höhe) des Objekts &quot;name&quot; zurück. Ist &quot;name&quot; nicht
954
angegeben, wird das aktuelle Objekt verwendet. Die Größe wird in der Maßeinheit
955
des Dokuments angegeben - siehe die UNIT_*-Konstanten.</translation>
956
    </message>
957
    <message>
15099 cbradney 958
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="204"/>
12590 cbradney 959
        <source>getRotation([&quot;name&quot;]) -&gt; integer
960
 
961
Returns the rotation of the object &quot;name&quot;. The value is expressed in degrees,
962
and clockwise is positive. If &quot;name&quot; is not given the currently selected item
963
is used.
964
</source>
14474 cbradney 965
        <translation type="unfinished">getRotation([&quot;name&quot;]) -&gt; integer
12590 cbradney 966
 
967
Gibt die Drehung des Objekts &quot;name&quot; in Grad zurück und im Uhrzeigersinn zurück.
968
Ist &quot;name&quot; nicht angegeben, wird das aktuelle Objekt benutzt.</translation>
969
    </message>
970
    <message>
15099 cbradney 971
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="215"/>
12590 cbradney 972
        <source>getAllObjects() -&gt; list
973
 
974
Returns a list containing the names of all objects on the current page.
975
</source>
14474 cbradney 976
        <translation type="unfinished">getAllObjects() -&gt; list
12590 cbradney 977
 
978
Gibt eine Liste zurück mit allen auf der aktuellen Seite verwendeten Objekte.</translation>
979
    </message>
980
    <message>
14166 cbradney 981
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="77"/>
12590 cbradney 982
        <source>getPropertyCType(object, property, includesuper=True)
983
 
984
Returns the name of the C type of `property&apos; of `object&apos;. See getProperty()
985
for details of arguments.
986
 
987
If `includesuper&apos; is true, search inherited properties too.
988
</source>
14474 cbradney 989
        <translation type="unfinished">getPropertyCType(object, property, includesuper=True)
12590 cbradney 990
 
991
Returns the name of the C type of `property&apos; of `object&apos;. See getProperty()
992
for details of arguments.
993
 
994
If `includesuper&apos; is true, search inherited properties too.</translation>
995
    </message>
996
    <message>
14166 cbradney 997
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="96"/>
12590 cbradney 998
        <source>getPropertyNames(object, includesuper=True)
999
 
1000
Return a list of property names supported by `object&apos;.
1001
If `includesuper&apos; is true, return properties supported
1002
by parent classes as well.
1003
</source>
14474 cbradney 1004
        <translation type="unfinished">getPropertyNames(object, includesuper=True)
12590 cbradney 1005
 
1006
Return a list of property names supported by `object&apos;.
1007
If `includesuper&apos; is true, return properties supported
1008
by parent classes as well.</translation>
1009
    </message>
1010
    <message>
14166 cbradney 1011
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="123"/>
12590 cbradney 1012
        <source>getProperty(object, property)
1013
 
1014
Return the value of the property `property&apos; of the passed `object&apos;.
1015
 
1016
The `object&apos; argument may be a string, in which case the named PageItem
1017
is searched for. It may also be a PyCObject, which may point to any
1018
C++ QObject instance.
1019
 
1020
The `property&apos; argument must be a string, and is the name of the property
1021
to look up on `object&apos;.
1022
 
1023
The return value varies depending on the type of the property.
1024
</source>
14474 cbradney 1025
        <translation type="unfinished">getProperty(object, property)
12590 cbradney 1026
 
1027
Return the value of the property `property&apos; of the passed `object&apos;.
1028
 
1029
The `object&apos; argument may be a string, in which case the named PageItem
1030
is searched for. It may also be a PyCObject, which may point to any
1031
C++ QObject instance.
1032
 
1033
The `property&apos; argument must be a string, and is the name of the property
1034
to look up on `object&apos;.
1035
 
1036
The return value varies depending on the type of the property.</translation>
1037
    </message>
1038
    <message>
14166 cbradney 1039
        <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="158"/>
12590 cbradney 1040
        <source>setProperty(object, property, value)
1041
 
1042
Set `property&apos; of `object&apos; to `value&apos;. If `value&apos; cannot be converted to a type
1043
compatible with the type of `property&apos;, an exception is raised. An exception may
1044
also be raised if the underlying setter fails.
1045
 
1046
See getProperty() for more information.
1047
</source>
14474 cbradney 1048
        <translation type="unfinished">setProperty(object, property, value)
12590 cbradney 1049
 
1050
Set `property&apos; of `object&apos; to `value&apos;. If `value&apos; cannot be converted to a type
1051
compatible with the type of `property&apos;, an exception is raised. An exception may
1052
also be raised if the underlying setter fails.
1053
 
1054
See getProperty() for more information.</translation>
1055
    </message>
1056
    <message>
14166 cbradney 1057
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="17"/>
12590 cbradney 1058
        <source>moveObject(dx, dy [, &quot;name&quot;])
1059
 
1060
Moves the object &quot;name&quot; by dx and dy relative to its current position. The
1061
distances are expressed in the current measurement unit of the document (see
1062
UNIT constants). If &quot;name&quot; is not given the currently selected item is used.
1063
If the object &quot;name&quot; belongs to a group, the whole group is moved.
1064
</source>
14474 cbradney 1065
        <translation type="unfinished">moveObject(dx, dy [, &quot;name&quot;])
12590 cbradney 1066
 
1067
Verschiebt das Objekt &quot;name&quot; um dx und dy relativ zur Position. Die
1068
Entfernungsangaben werden in der Maßeinheit des Dokuments
1069
angegeben (siehe Konstanten UNIT*). Wenn &quot;name&quot; nicht vorhanden ist,
1070
wird das ausgewählte Objekt verschoben und wenn &quot;name&quot; zu einer Gruppe
1071
gehört, wird die gesamte Gruppe verschoben.</translation>
1072
    </message>
1073
    <message>
14166 cbradney 1074
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="29"/>
12590 cbradney 1075
        <source>moveObjectAbs(x, y [, &quot;name&quot;])
1076
 
1077
Moves the object &quot;name&quot; to a new location. The coordinates are expressed in
1078
the current measurement unit of the document (see UNIT constants).  If &quot;name&quot;
1079
is not given the currently selected item is used.  If the object &quot;name&quot;
1080
belongs to a group, the whole group is moved.
1081
</source>
14474 cbradney 1082
        <translation type="unfinished">moveObjectAbs(x, y [, &quot;name&quot;])
12590 cbradney 1083
 
1084
Bewegt das Objekt &quot;name&quot; an die neue Stelle. Die Koordinaten werden in der Maßeinheit
1085
des Dokuments angegeben (siehe UNIT_*-Konstanten). Ist &quot;name&quot; nicht angegeben, wird das
1086
aktuelle Objekt benutzt. Gehört &quot;name&quot; zu einer Gruppe, wird die Gruppe verschoben.</translation>
1087
    </message>
1088
    <message>
14166 cbradney 1089
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="41"/>
12590 cbradney 1090
        <source>rotateObject(rot [, &quot;name&quot;])
1091
 
1092
Rotates the object &quot;name&quot; by &quot;rot&quot; degrees relatively. The object is
1093
rotated by the vertex that is currently selected as the rotation point - by
1094
default, the top left vertex at zero rotation. Positive values mean counter
1095
clockwise rotation when the default rotation point is used. If &quot;name&quot; is not
1096
given the currently selected item is used.
1097
</source>
14474 cbradney 1098
        <translation type="unfinished">rotateObject(rot [, &quot;name&quot;])Rotates the object &quot;name&quot; by &quot;rot&quot; degrees relatively. The object isrotated by the vertex that is currently selected as the rotation point - bydefault, the top left vertex at zero rotation. Positive values mean counterclockwise rotation when the default rotation point is used. If &quot;name&quot; is notgiven the currently selected item is used.</translation>
12590 cbradney 1099
    </message>
1100
    <message>
14166 cbradney 1101
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="54"/>
12590 cbradney 1102
        <source>rotateObjectAbs(rot [, &quot;name&quot;])
1103
 
1104
Sets the rotation of the object &quot;name&quot; to &quot;rot&quot;. Positive values
1105
mean counter clockwise rotation. If &quot;name&quot; is not given the currently
1106
selected item is used.
1107
</source>
14474 cbradney 1108
        <translation type="unfinished">rotateObjectAbs(rot [, &quot;name&quot;])
12590 cbradney 1109
 
1110
Sets the rotation of the object &quot;name&quot; to &quot;rot&quot;. Positive values
1111
mean counter clockwise rotation. If &quot;name&quot; is not given the currently
1112
selected item is used.</translation>
1113
    </message>
1114
    <message>
14166 cbradney 1115
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="65"/>
12590 cbradney 1116
        <source>sizeObject(width, height [, &quot;name&quot;])
1117
 
1118
Resizes the object &quot;name&quot; to the given width and height. If &quot;name&quot;
1119
is not given the currently selected item is used.
1120
</source>
14474 cbradney 1121
        <translation type="unfinished">sizeObject(width, height [, &quot;name&quot;])
12590 cbradney 1122
 
1123
Ändert die Größe von &quot;name&quot; auf die Breite width und die Höhe height.
1124
ist &quot;name&quot; nicht angegeben, wird das aktuelle Objekt benutzt.</translation>
1125
    </message>
1126
    <message>
14166 cbradney 1127
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="75"/>
12590 cbradney 1128
        <source>getSelectedObject([nr]) -&gt; string
1129
 
1130
Returns the name of the selected object. &quot;nr&quot; if given indicates the number
1131
of the selected object, e.g. 0 means the first selected object, 1 means the
1132
second selected Object and so on.
1133
</source>
14474 cbradney 1134
        <translation type="unfinished">getSelectedObject([nr]) -&gt; string
12590 cbradney 1135
 
1136
Gibt den Namen des ausgewählten Objekts zurück. &quot;nr&quot; gibt die Zahl des gewählten
1137
Objekts an. 0 bedeutet das erste ausgewählte Objekt, 1 das zweite usw.</translation>
1138
    </message>
1139
    <message>
14166 cbradney 1140
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="86"/>
12590 cbradney 1141
        <source>selectionCount() -&gt; integer
1142
 
1143
Returns the number of selected objects.
1144
</source>
14474 cbradney 1145
        <translation type="unfinished">selectionCount() -&gt; integer
12590 cbradney 1146
 
1147
Gibt die Anzahl der ausgewählten Objekte zurück.</translation>
1148
    </message>
1149
    <message>
14166 cbradney 1150
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="95"/>
12590 cbradney 1151
        <source>selectObject(&quot;name&quot;)
1152
 
1153
Selects the object with the given &quot;name&quot;.
1154
</source>
14474 cbradney 1155
        <translation type="unfinished">selectObject(&quot;name&quot;)
12590 cbradney 1156
 
1157
Wählt das Objekt &quot;name&quot; aus.</translation>
1158
    </message>
1159
    <message>
14166 cbradney 1160
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="104"/>
12590 cbradney 1161
        <source>deselectAll()
1162
 
1163
Deselects all objects in the whole document.
1164
</source>
14474 cbradney 1165
        <translation type="unfinished">deselectAll()
12590 cbradney 1166
 
1167
Setzt alle Objekte im Dokument auf nicht ausgewählt.</translation>
1168
    </message>
1169
    <message>
14166 cbradney 1170
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="113"/>
14747 cbradney 1171
        <source>groupObjects(list) -&gt; string
1172
 
1173
Groups the objects named in &quot;list&quot; together. &quot;list&quot; must contain the names
1174
of the objects to be grouped. If &quot;list&quot; is not given the currently selected
1175
items are used. Returns the group name for further referencing.
1176
</source>
1177
        <translation type="unfinished"></translation>
1178
    </message>
1179
    <message>
15099 cbradney 1180
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="200"/>
1181
        <source>setImageBrightness(n [, &quot;name&quot;])
1182
 
1183
Set image brightness effect of the picture in the image frame &quot;name&quot;.
1184
If &quot;name&quot; is not given the currently selected item is used. A number of 1
1185
means 100 %. Brightness factor is equal to the value shown on properties palette.
1186
 
1187
May raise WrongFrameTypeError if the target frame is not an image frame
1188
</source>
1189
        <translation type="unfinished"></translation>
1190
    </message>
1191
    <message>
1192
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="213"/>
1193
        <source>setImageGrayscale([&quot;name&quot;])
1194
 
1195
Set image grayscale effect of the picture in the image frame &quot;name&quot;.
1196
If &quot;name&quot; is not given the currently selected item is used.
1197
 
1198
May raise WrongFrameTypeError if the target frame is not an image frame
1199
</source>
1200
        <translation type="unfinished"></translation>
1201
    </message>
1202
    <message>
12590 cbradney 1203
        <source>groupObjects(list)
1204
 
1205
Groups the objects named in &quot;list&quot; together. &quot;list&quot; must contain the names
1206
of the objects to be grouped. If &quot;list&quot; is not given the currently selected
1207
items are used.
1208
</source>
14747 cbradney 1209
        <translation type="obsolete">groupObjects(list)
12590 cbradney 1210
 
1211
Gruppiert die Elemente in &quot;list&quot;. &quot;list&quot; muss die Namen der zu gruppierenden
1212
Objekte enthalten. Ist &quot;list&quot; nicht angegeben, werden die aktuell gewählten
1213
Objekte verwendet.</translation>
1214
    </message>
1215
    <message>
14166 cbradney 1216
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="124"/>
12590 cbradney 1217
        <source>unGroupObjects(&quot;name&quot;)
1218
 
1219
Destructs the group the object &quot;name&quot; belongs to.If &quot;name&quot; is not given the currently selected item is used.</source>
14474 cbradney 1220
        <translation type="unfinished">unGroupObjects(&quot;name&quot;)
12590 cbradney 1221
 
1222
Zerstört die Gruppe &quot;name&quot;. Ist &quot;name&quot; nicht angegeben, wird die aktuelle Gruppe verwendet.</translation>
1223
    </message>
1224
    <message>
14166 cbradney 1225
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="132"/>
12590 cbradney 1226
        <source>scaleGroup(factor [,&quot;name&quot;])
1227
 
1228
Scales the group the object &quot;name&quot; belongs to. Values greater than 1 enlarge
1229
the group, values smaller than 1 make the group smaller e.g a value of 0.5
1230
scales the group to 50 % of its original size, a value of 1.5 scales the group
1231
to 150 % of its original size.  The value for &quot;factor&quot; must be greater than
1232
0. If &quot;name&quot; is not given the currently selected item is used.
1233
 
1234
May raise ValueError if an invalid scale factor is passed.
1235
</source>
14474 cbradney 1236
        <translation type="unfinished">scaleGroup(factor [,&quot;name&quot;])
12590 cbradney 1237
 
1238
Skaliert die Gruppe, zu dem das Objekt &quot;name&quot; gehört. Werte größer als 1 vergrößern das Objekt,
1239
Werte kleiner als 1 verkleinert das Objekt. Zum Beispiel bedeutet 0.5 = 50 % oder 1.5=150% der
1240
Originalgröße. &quot;factor&quot; muss größer als 0 sein. Ist &quot;name&quot; nicht angegeben, wird das aktuelle Objekt
1241
benutzt.</translation>
1242
    </message>
1243
    <message>
14166 cbradney 1244
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="147"/>
12590 cbradney 1245
        <source>loadImage(&quot;filename&quot; [, &quot;name&quot;])
1246
 
1247
Loads the picture &quot;picture&quot; into the image frame &quot;name&quot;. If &quot;name&quot; is
1248
not given the currently selected item is used.
1249
 
1250
May raise WrongFrameTypeError if the target frame is not an image frame
1251
</source>
14474 cbradney 1252
        <translation type="unfinished">loadImage(&quot;filename&quot; [, &quot;name&quot;])
12590 cbradney 1253
 
1254
Lädt das Bild &quot;picture&quot; in den Bildrahmen &quot;name&quot;. Ist &quot;name&quot; nicht angegeben,
1255
wird der aktuelle Rahmen benutzt.
1256
 
1257
Ist das Ziel kein Bildrahmen, tritt der Fehler WrongFrameTypeError auf</translation>
1258
    </message>
1259
    <message>
1260
        <source>scaleImage(x, y [, &quot;name&quot;])
1261
 
1262
Sets the scaling factors of the picture in the image frame &quot;name&quot;.
1263
If &quot;name&quot; is not given the currently selected item is used. A number of 1
1264
means 100 %.
1265
 
1266
May raise WrongFrameTypeError if the target frame is not an image frame
1267
</source>
13279 cbradney 1268
        <translation type="obsolete">scaleImage(x, y [, &quot;name&quot;])
12590 cbradney 1269
 
1270
Skaliert das Bild &quot;name&quot; auf die angegeben Werte. 1 bedeutet 100 %. Ist &quot;name&quot;
1271
nicht angegeben, wird der aktuelle Bildrahmen verwendet.
1272
 
1273
Ist das Ziel kein Bildrahmen, tritt der Fehler WrongFrameTypeError auf,</translation>
1274
    </message>
1275
    <message>
15099 cbradney 1276
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="225"/>
12590 cbradney 1277
        <source>lockObject([&quot;name&quot;]) -&gt; bool
1278
 
1279
Locks the object &quot;name&quot; if it&apos;s unlocked or unlock it if it&apos;s locked.
1280
If &quot;name&quot; is not given the currently selected item is used. Returns true
1281
if locked.
1282
</source>
14474 cbradney 1283
        <translation type="unfinished">lockObject([&quot;name&quot;]) -&gt; bool
12590 cbradney 1284
 
1285
Sperrt das Objekt &quot;name&quot;, wenn es freigegeben ist und entsperrt es, wenn es
1286
gesperrt ist. Ist &quot;name&quot; nicht angegeben, wird das aktuelle Objekt verwendet.
1287
Gibt True zurück, wenn das Objekt gesperrt ist.</translation>
1288
    </message>
1289
    <message>
15099 cbradney 1290
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="236"/>
12590 cbradney 1291
        <source>isLocked([&quot;name&quot;]) -&gt; bool
1292
 
1293
Returns true if is the object &quot;name&quot; locked.  If &quot;name&quot; is not given the
1294
currently selected item is used.
1295
</source>
14474 cbradney 1296
        <translation type="unfinished">isLocked([&quot;name&quot;]) -&gt; bool
12590 cbradney 1297
 
1298
Gibt True zurück, wenn &quot;name&quot; gesperrt ist. Ist &quot;name&quot; nicht angegeben, wird das aktuelle
1299
Objekt verwendet.</translation>
1300
    </message>
1301
    <message>
15099 cbradney 1302
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="245"/>
12590 cbradney 1303
        <source>setScaleImageToFrame(scaletoframe, proportional=None, name=&lt;selection&gt;)
1304
 
1305
Sets the scale to frame on the selected or specified image frame to `scaletoframe&apos;.
1306
If `proportional&apos; is specified, set fixed aspect ratio scaling to `proportional&apos;.
1307
Both `scaletoframe&apos; and `proportional&apos; are boolean.
1308
 
1309
May raise WrongFrameTypeError.
1310
</source>
14474 cbradney 1311
        <translation type="unfinished">setScaleImageToFrame(scaletoframe, proportional=None, name=&lt;selection&gt;)
12590 cbradney 1312
 
1313
Setzt die Eigenschaft An Rahmen anpassen für den gewählten Bildrahmen oder angegebenen
1314
Bildrahmen.
1315
&apos;proportional&apos; verkleinert das Bild proportional zur ursprünglichen Größe.
1316
Sowohl &apos;scaletoframe&apos; als auch &apos;proportional&apos; sind boolsche Werte.
1317
 
1318
Kann den Fehler WrongFrameTypeError verursachen.</translation>
1319
    </message>
1320
    <message>
14166 cbradney 1321
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="19"/>
12590 cbradney 1322
        <source>setRedraw(bool)
1323
 
1324
Disables page redraw when bool = False, otherwise redrawing is enabled.
1325
This change will persist even after the script exits, so make sure to call
1326
setRedraw(True) in a finally: clause at the top level of your script.
1327
</source>
14474 cbradney 1328
        <translation type="unfinished">setRedraw(bool)
12590 cbradney 1329
 
1330
Wenn bool=False, dann wird die Seite nicht neu neu aufgebaut (redraw ist deaktiviert).
1331
Standard ist bool=True. Diese Einstellung bleibt bestehen, auch wenn das Script beendet ist.
1332
Stellen Sie also sicher, dass setRedraw(True) aufgerufen wird, bevor das Script beendet wird.</translation>
1333
    </message>
1334
    <message>
14166 cbradney 1335
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="30"/>
12590 cbradney 1336
        <source>getFontNames() -&gt; list
1337
 
1338
Returns a list with the names of all available fonts.
1339
</source>
14474 cbradney 1340
        <translation type="unfinished">getFontNames() -&gt; list
12590 cbradney 1341
 
1342
Gibt eine Liste mit allen verfügbaren Schriften zurück.</translation>
1343
    </message>
1344
    <message>
14166 cbradney 1345
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="39"/>
12590 cbradney 1346
        <source>getXFontNames() -&gt; list of tuples
1347
 
1348
Returns a larger font info. It&apos;s a list of the tuples with:
1349
[ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ]
1350
</source>
14474 cbradney 1351
        <translation type="unfinished">getXFontNames() -&gt; list
12590 cbradney 1352
 
1353
Gibt genaue Informationen zu einer Schrift zurück mit den Werten:
1354
[ (Name in Scribus, Familie, wirklicher Name, Subset (1|0), embed PS (1|0), Fontdatei), (...), ... ]</translation>
1355
    </message>
1356
    <message>
14166 cbradney 1357
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="52"/>
12590 cbradney 1358
        <source>renderFont(&quot;name&quot;, &quot;filename&quot;, &quot;sample&quot;, size, format=&quot;PPM&quot;) -&gt; bool
1359
 
1360
Creates an image preview of font &quot;name&quot; with given text &quot;sample&quot; and size.
1361
If &quot;filename&quot; is not &quot;&quot;, image is saved into &quot;filename&quot;. Otherwise
1362
image data is returned as a string. The optional &quot;format&quot; argument
1363
specifies the image format to generate, and supports any format allowed
1364
by QPixmap.save(). Common formats are PPM, JPEG, PNG and XPM.
1365
 
1366
May raise NotFoundError if the specified font can&apos;t be found.
1367
May raise ValueError if an empty sample or filename is passed.
1368
</source>
14474 cbradney 1369
        <translation type="unfinished">renderFont(&quot;name&quot;, &quot;filename&quot;, &quot;sample&quot;, size, format=&quot;PPM&quot;) -&gt; bool
12590 cbradney 1370
 
1371
Erzeugt ein Bild mit dem Text &quot;sample&quot; in der Schrift &quot;font&quot; und der Größe &quot;size&quot;.
1372
Ist &quot;filename&quot; angegeben, wird das Bild unter &quot;filename&quot; abgespeichert. Ansonsten
1373
werden die Bilddaten als String zurückgegeben. Das optionale Argument &quot;format&quot; gibt
1374
an, welches Bildformat generiert werden soll. Unterstützt werden die Formate, die auch
1375
QPixmap.save() kennt, zum Beispiel PPM, JPEG, PNG und XPM.
1376
 
1377
Der Fehler NotFoundError tritt auf, wenn die Schrift nicht gefunden wird.
1378
Der Fehler ValueError tritt auf, wenn &quot;sample&quot; leer ist oder der Dateiname ungültig ist.</translation>
1379
    </message>
1380
    <message>
14166 cbradney 1381
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="68"/>
12590 cbradney 1382
        <source>getLayers() -&gt; list
1383
 
1384
Returns a list with the names of all defined layers.
1385
</source>
14474 cbradney 1386
        <translation type="unfinished">getLayers() -&gt; list
12590 cbradney 1387
 
1388
Gibt eine Liste mit allen Ebenen zurück.</translation>
1389
    </message>
1390
    <message>
14166 cbradney 1391
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="77"/>
12590 cbradney 1392
        <source>setActiveLayer(&quot;name&quot;)
1393
 
1394
Sets the active layer to the layer named &quot;name&quot;.
1395
 
1396
May raise NotFoundError if the layer can&apos;t be found.
1397
May raise ValueError if the layer name isn&apos;t acceptable.
1398
</source>
14474 cbradney 1399
        <translation type="unfinished">setActiveLayer(&quot;name&quot;)
12590 cbradney 1400
 
1401
Macht die Ebene &quot;name&quot; zur aktiven Ebene.
1402
 
1403
Ist die Ebene nicht vorhanden, tritt der Fehler NotFoundError auf.
1404
Ist der Name der Ebene ungültig, tritt der Fehler ValueError auf.</translation>
1405
    </message>
1406
    <message>
14166 cbradney 1407
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="89"/>
12590 cbradney 1408
        <source>getActiveLayer() -&gt; string
1409
 
1410
Returns the name of the current active layer.
1411
</source>
14474 cbradney 1412
        <translation type="unfinished">getActiveLayer() -&gt; string
12590 cbradney 1413
 
1414
Gibt die aktive Ebene zurück.</translation>
1415
    </message>
1416
    <message>
14166 cbradney 1417
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="98"/>
12590 cbradney 1418
        <source>sentToLayer(&quot;layer&quot; [, &quot;name&quot;])
1419
 
1420
Sends the object &quot;name&quot; to the layer &quot;layer&quot;. The layer must exist.
1421
If &quot;name&quot; is not given the currently selected item is used.
1422
 
1423
May raise NotFoundError if the layer can&apos;t be found.
1424
May raise ValueError if the layer name isn&apos;t acceptable.
1425
</source>
14474 cbradney 1426
        <translation type="unfinished">sentToLayer(&quot;layer&quot; [, &quot;name&quot;])
12590 cbradney 1427
 
1428
Verschiebt das Objekt &quot;name&quot; auf die Ebene &quot;layer&quot;. Die Ebene muss
1429
vorhanden sein. Ist &quot;name&quot; nicht angegeben, wird das aktive Objekt benutzt.
1430
 
1431
Ist die Ebene nicht vorhanden, tritt der Fehler NotFoundError auf.
1432
Ist der Name der Ebene ungültig, tritt der Fehler ValueError auf.</translation>
1433
    </message>
1434
    <message>
14166 cbradney 1435
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="111"/>
12590 cbradney 1436
        <source>setLayerVisible(&quot;layer&quot;, visible)
1437
 
1438
Sets the layer &quot;layer&quot; to be visible or not. If is the visible set to false
1439
the layer is invisible.
1440
 
1441
May raise NotFoundError if the layer can&apos;t be found.
1442
May raise ValueError if the layer name isn&apos;t acceptable.
1443
</source>
14474 cbradney 1444
        <translation type="unfinished">setLayerVisible(&quot;layer&quot;, visible)
12590 cbradney 1445
 
1446
Zeigt die Ebene &quot;layer&quot; an oder versteckt sie. Ist &quot;visible&quot; auf False gesetzt,
1447
ist die Ebene unsichtbar.
1448
 
1449
Ist die Ebene nicht vorhanden, tritt der Fehler NotFoundError auf.
1450
Ist der Name der Ebene ungültig, tritt der Fehler ValueError auf.</translation>
1451
    </message>
1452
    <message>
14166 cbradney 1453
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="124"/>
12590 cbradney 1454
        <source>setLayerPrintable(&quot;layer&quot;, printable)
1455
 
1456
Sets the layer &quot;layer&quot; to be printable or not. If is the
1457
printable set to false the layer won&apos;t be printed.
1458
 
1459
May raise NotFoundError if the layer can&apos;t be found.
1460
May raise ValueError if the layer name isn&apos;t acceptable.
1461
</source>
14474 cbradney 1462
        <translation type="unfinished">setLayerPrintable(&quot;layer&quot;, printable)
12590 cbradney 1463
 
1464
Sets the layer &quot;layer&quot; to be printable or not. If is the
1465
printable set to false the layer won&apos;t be printed.
1466
 
1467
May raise NotFoundError if the layer can&apos;t be found.
1468
May raise ValueError if the layer name isn&apos;t acceptable.</translation>
1469
    </message>
1470
    <message>
14166 cbradney 1471
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="137"/>
12590 cbradney 1472
        <source>setLayerLocked(&quot;layer&quot;, locked)
1473
 
1474
Sets the layer &quot;layer&quot; to be locked or not. If locked is set to
1475
true the layer will be locked.
1476
 
1477
May raise NotFoundError if the layer can&apos;t be found.
1478
May raise ValueError if the layer name isn&apos;t acceptable.
1479
</source>
14474 cbradney 1480
        <translation type="unfinished">setLayerLocked(&quot;layer&quot;, locked)
12590 cbradney 1481
 
1482
Sets the layer &quot;layer&quot; to be locked or not. If locked is set to
1483
true the layer will be locked.
1484
 
1485
May raise NotFoundError if the layer can&apos;t be found.
1486
May raise ValueError if the layer name isn&apos;t acceptable.</translation>
1487
    </message>
1488
    <message>
14166 cbradney 1489
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="150"/>
12590 cbradney 1490
        <source>setLayerOutlined(&quot;layer&quot;, outline)
1491
 
1492
Sets the layer &quot;layer&quot; to be locked or not. If outline is set to
1493
true the layer will be displayed outlined.
1494
 
1495
May raise NotFoundError if the layer can&apos;t be found.
1496
May raise ValueError if the layer name isn&apos;t acceptable.
1497
</source>
14474 cbradney 1498
        <translation type="unfinished">setLayerOutlined(&quot;layer&quot;, outline)
12590 cbradney 1499
Sets the layer &quot;layer&quot; to be locked or not. If outline is set to
1500
true the layer will be displayed outlined.
1501
May raise NotFoundError if the layer can&apos;t be found.
1502
May raise ValueError if the layer name isn&apos;t acceptable.</translation>
1503
    </message>
1504
    <message>
14166 cbradney 1505
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="163"/>
12590 cbradney 1506
        <source>setLayerFlow(&quot;layer&quot;, flow)
1507
 
1508
Sets the layers &quot;layer&quot;  flowcontrol to flow. If flow is set to
1509
true text in layers above this one will flow around objects on this layer.
1510
 
1511
May raise NotFoundError if the layer can&apos;t be found.
1512
May raise ValueError if the layer name isn&apos;t acceptable.
1513
</source>
14474 cbradney 1514
        <translation type="unfinished">setLayerFlow(&quot;layer&quot;, flow)
12590 cbradney 1515
Sets the layers &quot;layer&quot;(sp)(sp)flowcontrol to flow. If flow is set to
1516
true text in layers above this one will flow around objects on this layer.
1517
May raise NotFoundError if the layer can&apos;t be found.
1518
May raise ValueError if the layer name isn&apos;t acceptable.</translation>
1519
    </message>
1520
    <message>
14166 cbradney 1521
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="176"/>
12590 cbradney 1522
        <source>setLayerBlendmode(&quot;layer&quot;, blend)
1523
 
1524
Sets the layers &quot;layer&quot;  blendmode to blend.
1525
 
1526
May raise NotFoundError if the layer can&apos;t be found.
1527
May raise ValueError if the layer name isn&apos;t acceptable.
1528
</source>
14474 cbradney 1529
        <translation type="unfinished">setLayerBlendmode(&quot;layer&quot;, blend)
12590 cbradney 1530
Sets the layers &quot;layer&quot;(sp)(sp)blendmode to blend.
1531
May raise NotFoundError if the layer can&apos;t be found.
1532
May raise ValueError if the layer name isn&apos;t acceptable.</translation>
1533
    </message>
1534
    <message>
14166 cbradney 1535
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="188"/>
12590 cbradney 1536
        <source>setLayerTransparency(&quot;layer&quot;, trans)
1537
 
1538
Sets the layers &quot;layer&quot;  transparency to trans.
1539
 
1540
May raise NotFoundError if the layer can&apos;t be found.
1541
May raise ValueError if the layer name isn&apos;t acceptable.
1542
</source>
14474 cbradney 1543
        <translation type="unfinished">setLayerTransparency(&quot;layer&quot;, trans)
12590 cbradney 1544
Sets the layers &quot;layer&quot;(sp)(sp)transparency to trans.
1545
May raise NotFoundError if the layer can&apos;t be found.
1546
May raise ValueError if the layer name isn&apos;t acceptable.</translation>
1547
    </message>
1548
    <message>
14166 cbradney 1549
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="200"/>
12590 cbradney 1550
        <source>isLayerVisible(&quot;layer&quot;) -&gt; bool
1551
 
1552
Returns whether the layer &quot;layer&quot; is visible or not, a value of True means
1553
that the layer &quot;layer&quot; is visible, a value of False means that the layer
1554
&quot;layer&quot; is invisible.
1555
 
1556
May raise NotFoundError if the layer can&apos;t be found.
1557
May raise ValueError if the layer name isn&apos;t acceptable.
1558
</source>
14474 cbradney 1559
        <translation type="unfinished">isLayerVisible(&quot;layer&quot;) -&gt; bool
12590 cbradney 1560
 
1561
Returns whether the layer &quot;layer&quot; is visible or not, a value of True means
1562
that the layer &quot;layer&quot; is visible, a value of False means that the layer
1563
&quot;layer&quot; is invisible.
1564
 
1565
May raise NotFoundError if the layer can&apos;t be found.
1566
May raise ValueError if the layer name isn&apos;t acceptable.</translation>
1567
    </message>
1568
    <message>
14166 cbradney 1569
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="214"/>
12590 cbradney 1570
        <source>isLayerPrintable(&quot;layer&quot;) -&gt; bool
1571
 
1572
Returns whether the layer &quot;layer&quot; is printable or not, a value of True means
1573
that the layer &quot;layer&quot; can be printed, a value of False means that printing
1574
the layer &quot;layer&quot; is disabled.
1575
 
1576
May raise NotFoundError if the layer can&apos;t be found.
1577
May raise ValueError if the layer name isn&apos;t acceptable.
1578
</source>
14474 cbradney 1579
        <translation type="unfinished">isLayerPrintable(&quot;layer&quot;) -&gt; bool
12590 cbradney 1580
 
1581
Gibt zurück, ob die Ebene gedruckt wird oder nicht. True bedeutet, dass die Ebene
1582
gedruckt wird, False bedeutet, dass das Drucken deaktiviert ist.
1583
 
1584
Der Fehler NotFoundError tritt auf, wenn die Ebene nicht existiert.
1585
Der Fehler ValueError tritt auf, wenn der Ebenenname ungültig ist.</translation>
1586
    </message>
1587
    <message>
14166 cbradney 1588
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="228"/>
12590 cbradney 1589
        <source>isLayerLocked(&quot;layer&quot;) -&gt; bool
1590
 
1591
Returns whether the layer &quot;layer&quot; is locked or not, a value of True means
1592
that the layer &quot;layer&quot; is editable, a value of False means that the layer
1593
&quot;layer&quot; is locked.
1594
 
1595
May raise NotFoundError if the layer can&apos;t be found.
1596
May raise ValueError if the layer name isn&apos;t acceptable.
1597
</source>
14474 cbradney 1598
        <translation type="unfinished">isLayerLocked(&quot;layer&quot;) -&gt; bool
12590 cbradney 1599
 
1600
Returns whether the layer &quot;layer&quot; is locked or not, a value of True means
1601
that the layer &quot;layer&quot; is editable, a value of False means that the layer
1602
&quot;layer&quot; is locked.
1603
 
1604
May raise NotFoundError if the layer can&apos;t be found.
1605
May raise ValueError if the layer name isn&apos;t acceptable.</translation>
1606
    </message>
1607
    <message>
14166 cbradney 1608
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="242"/>
12590 cbradney 1609
        <source>isLayerOutlined(&quot;layer&quot;) -&gt; bool
1610
 
1611
Returns whether the layer &quot;layer&quot; is outlined or not, a value of True means
1612
that the layer &quot;layer&quot; is outlined, a value of False means that the layer
1613
&quot;layer&quot; is normal.
1614
 
1615
May raise NotFoundError if the layer can&apos;t be found.
1616
May raise ValueError if the layer name isn&apos;t acceptable.
1617
</source>
14474 cbradney 1618
        <translation type="unfinished">isLayerOutlined(&quot;layer&quot;) -&gt; bool
12590 cbradney 1619
 
1620
Returns whether the layer &quot;layer&quot; is outlined or not, a value of True means
1621
that the layer &quot;layer&quot; is outlined, a value of False means that the layer
1622
&quot;layer&quot; is normal.
1623
 
1624
May raise NotFoundError if the layer can&apos;t be found.
1625
May raise ValueError if the layer name isn&apos;t acceptable.</translation>
1626
    </message>
1627
    <message>
14166 cbradney 1628
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="256"/>
12590 cbradney 1629
        <source>isLayerFlow(&quot;layer&quot;) -&gt; bool
1630
 
1631
Returns whether text flows around objects on layer &quot;layer&quot;, a value of True means
1632
that text flows around, a value of False means that the text does not flow around.
1633
 
1634
May raise NotFoundError if the layer can&apos;t be found.
1635
May raise ValueError if the layer name isn&apos;t acceptable.
1636
</source>
14474 cbradney 1637
        <translation type="unfinished">isLayerFlow(&quot;layer&quot;) -&gt; bool
12590 cbradney 1638
 
1639
Returns whether text flows around objects on layer &quot;layer&quot;, a value of True means
1640
that text flows around, a value of False means that the text does not flow around.
1641
 
1642
May raise NotFoundError if the layer can&apos;t be found.
1643
May raise ValueError if the layer name isn&apos;t acceptable.</translation>
1644
    </message>
1645
    <message>
14166 cbradney 1646
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="269"/>
12590 cbradney 1647
        <source>getLayerBlendmode(&quot;layer&quot;) -&gt; int
1648
 
1649
Returns the &quot;layer&quot; layer blendmode,
1650
 
1651
May raise NotFoundError if the layer can&apos;t be found.
1652
May raise ValueError if the layer name isn&apos;t acceptable.
1653
</source>
14474 cbradney 1654
        <translation type="unfinished">getLayerBlendmode(&quot;layer&quot;) -&gt; int
12590 cbradney 1655
 
1656
Returns the &quot;layer&quot; layer blendmode,
1657
 
1658
May raise NotFoundError if the layer can&apos;t be found.
1659
May raise ValueError if the layer name isn&apos;t acceptable.</translation>
1660
    </message>
1661
    <message>
14166 cbradney 1662
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="281"/>
12590 cbradney 1663
        <source>getLayerTransparency(&quot;layer&quot;) -&gt; float
1664
 
1665
Returns the &quot;layer&quot; layer transparency,
1666
 
1667
May raise NotFoundError if the layer can&apos;t be found.
1668
May raise ValueError if the layer name isn&apos;t acceptable.
1669
</source>
14474 cbradney 1670
        <translation type="unfinished">getLayerTransparency(&quot;layer&quot;) -&gt; float
12590 cbradney 1671
 
1672
Returns the &quot;layer&quot; layer transparency,
1673
 
1674
May raise NotFoundError if the layer can&apos;t be found.
1675
May raise ValueError if the layer name isn&apos;t acceptable.</translation>
1676
    </message>
1677
    <message>
14166 cbradney 1678
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="293"/>
12590 cbradney 1679
        <source>deleteLayer(&quot;layer&quot;)
1680
 
1681
Deletes the layer with the name &quot;layer&quot;. Nothing happens if the layer doesn&apos;t
1682
exists or if it&apos;s the only layer in the document.
1683
 
1684
May raise NotFoundError if the layer can&apos;t be found.
1685
May raise ValueError if the layer name isn&apos;t acceptable.
1686
</source>
14474 cbradney 1687
        <translation type="unfinished">deleteLayer(&quot;layer&quot;)
12590 cbradney 1688
 
1689
Löscht die Ebene &quot;layer&quot;. Ist die Ebene nicht vorhanden oder ist nur eine
1690
Ebene vorhanden, passiert gar nichts.
1691
 
1692
Ist die Ebene nicht vorhanden, tritt der Fehler NotFoundError auf,
1693
Ist der Name der Ebene ungültig, tritt der Fehler ValueError auf.</translation>
1694
    </message>
1695
    <message>
14166 cbradney 1696
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="306"/>
12590 cbradney 1697
        <source>createLayer(layer)
1698
 
1699
Creates a new layer with the name &quot;name&quot;.
1700
 
1701
May raise ValueError if the layer name isn&apos;t acceptable.
1702
</source>
14474 cbradney 1703
        <translation type="unfinished">createLayer(layer)
12590 cbradney 1704
 
1705
Erzeugt einen Ebene mit dem Namen &quot;layer&quot;.
1706
 
1707
Ist der Name ungültig, tritt der Fehler ValueError auf.</translation>
1708
    </message>
1709
    <message>
14166 cbradney 1710
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="317"/>
15099 cbradney 1711
        <source>fileQuit()
1712
 
1713
Quit Scribus.
1714
</source>
1715
        <translation type="unfinished"></translation>
1716
    </message>
1717
    <message>
1718
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="326"/>
12590 cbradney 1719
        <source>getGuiLanguage() -&gt; string
1720
 
1721
Returns a string with the -lang value.
1722
</source>
14474 cbradney 1723
        <translation type="unfinished">getGuiLanguage() -&gt; string
12590 cbradney 1724
 
1725
Gibt den Wert der Variable -lang zurück.</translation>
1726
    </message>
1727
    <message>
15099 cbradney 1728
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="335"/>
12590 cbradney 1729
        <source>moveSelectionToFront()
1730
 
1731
Moves current selection to front.
1732
</source>
14474 cbradney 1733
        <translation type="unfinished">moveSelectionToFront()
12590 cbradney 1734
Moves current selection to front.</translation>
1735
    </message>
1736
    <message>
15099 cbradney 1737
        <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="344"/>
12590 cbradney 1738
        <source>moveSelectionToFront()
1739
 
1740
Moves current selection to back.
1741
</source>
14474 cbradney 1742
        <translation type="unfinished">moveSelectionToFront()
12590 cbradney 1743
Moves current selection to back.</translation>
1744
    </message>
1745
    <message>
14166 cbradney 1746
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="17"/>
12590 cbradney 1747
        <source>createRect(x, y, width, height, [&quot;name&quot;]) -&gt; string
1748
 
1749
Creates a new rectangle on the current page and returns its name. The
1750
coordinates are given in the current measurement units of the document
1751
(see UNIT constants). &quot;name&quot; should be a unique identifier for the object
1752
because you need this name to reference that object in future. If &quot;name&quot;
1753
is not given Scribus will create one for you.
1754
 
1755
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1756
</source>
14474 cbradney 1757
        <translation type="unfinished">createRect(x, y, width, height, [&quot;name&quot;]) -&gt; string
12590 cbradney 1758
 
1759
Erzeugt ein neues Rechteck auf der aktuellen Seite und gibt seinen Namen zurück. Die
1760
Koordinaten werden in der Maßeinheit des Dokuments angegeben (siehe UNIT-Konstanten).
1761
&quot;name&quot; sollte eine eindeutige Identifikation des Rechtecks ermöglichen, weil Sie den Objekt-
1762
namen immer wieder benötigen. Ist &quot;name&quot; nicht vorhanden, wählt Scribus einen Namen für Sie.
1763
 
1764
Wenn Sie einen schon verwendeten Namen benutzen, tritt der Fehler NameExistsError auf.</translation>
1765
    </message>
1766
    <message>
14166 cbradney 1767
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="34"/>
12590 cbradney 1768
        <source>createEllipse(x, y, width, height, [&quot;name&quot;]) -&gt; string
1769
 
1770
Creates a new ellipse on the current page and returns its name.
1771
The coordinates are given in the current measurement units of the document
1772
(see UNIT constants). &quot;name&quot; should be a unique identifier for the object
1773
because you need this name for further referencing of that object. If &quot;name&quot;
1774
is not given Scribus will create one for you.
1775
 
1776
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1777
</source>
14474 cbradney 1778
        <translation type="unfinished">createEllipse(x, y, width, height, [&quot;name&quot;]) -&gt; string
12590 cbradney 1779
 
1780
Erzeugt eine Ellipse auf der aktuellen Seite und gibt ihren Namen zurück. Die Koordinaten
1781
werden in der Maßeinheit des Dokuments angegeben (siehe UNIT-Konstanten). &quot;name&quot; sollte
1782
das Objekt eindeutig identifizieren, weil Sie den Namen für spätere Zwecke brauchen. Ist &quot;name&quot;
1783
nicht angegeben, erzeugt Scribus einen Namen für das Objekt.
1784
 
1785
Ist der Name schon vorhanden, tritt der Fehler NameExistsError auf.</translation>
1786
    </message>
1787
    <message>
14166 cbradney 1788
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="51"/>
12590 cbradney 1789
        <source>createImage(x, y, width, height, [&quot;name&quot;]) -&gt; string
1790
 
1791
Creates a new picture frame on the current page and returns its name. The
1792
coordinates are given in the current measurement units of the document.
1793
&quot;name&quot; should be a unique identifier for the object because you need this
1794
name for further access to that object. If &quot;name&quot; is not given Scribus will
1795
create one for you.
1796
 
1797
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1798
</source>
14474 cbradney 1799
        <translation type="unfinished">createImage(x, y, width, height, [&quot;name&quot;]) -&gt; string
12590 cbradney 1800
 
1801
Erzeugt einen Bildrahmen auf der aktuellen Seite und gibt seinen Namen zurück.
1802
Die Koordinaten werden in der Maßeinheit des Dokuments angegeben (siehe
1803
UNIT-Konstanten). &quot;name&quot; sollte das Objekt eindeutig identifizieren, weil Sie den
1804
Namen für spätere Zwecke benötigen. Wenn Sie &quot;name&quot; nicht angeben, legt Scribus
1805
einen Namen für das Objekt fest.
1806
 
1807
Ist das Objekt schon vorhanden, tritt der Fehler NameExistsError auf.</translation>
1808
    </message>
1809
    <message>
14166 cbradney 1810
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="66"/>
12590 cbradney 1811
        <source>createText(x, y, width, height, [&quot;name&quot;]) -&gt; string
1812
 
1813
Creates a new text frame on the actual page and returns its name.
1814
The coordinates are given in the actual measurement unit of the document (see
1815
UNIT constants). &quot;name&quot; should be a unique identifier for the object because
1816
you need this name for further referencing of that object. If &quot;name&quot; is not
1817
given Scribus will create one for you.
1818
 
1819
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1820
</source>
14474 cbradney 1821
        <translation type="unfinished">createText(x, y, width, height, [&quot;name&quot;]) -&gt; string
12590 cbradney 1822
 
1823
Erzeugt einen neuen Textrahmen auf der aktuellen Seite und gibt seinen Namen zurück.
1824
Die Koordinaten werden in der Maßeinheit des Dokuments angegeben (siehe
1825
UNIT-Konstanten). &quot;name&quot; sollte das Objekt eindeutig identifizieren, weil Sie den
1826
Namen für spätere Zwecke benötigen. Wenn Sie &quot;name&quot; nicht angeben, legt Scribus
1827
einen Namen für das Objekt fest.
1828
 
1829
Ist das Objekt schon vorhanden, tritt der Fehler NameExistsError auf.</translation>
1830
    </message>
1831
    <message>
14166 cbradney 1832
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="81"/>
12590 cbradney 1833
        <source>createLine(x1, y1, x2, y2, [&quot;name&quot;]) -&gt; string
1834
 
1835
Creates a new line from the point(x1, y1) to the point(x2, y2) and returns
1836
its name. The coordinates are given in the current measurement unit of the
1837
document (see UNIT constants). &quot;name&quot; should be a unique identifier for the
1838
object because you need this name for further access to that object. If
1839
&quot;name&quot; is not given Scribus will create one for you.
1840
 
1841
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1842
</source>
14474 cbradney 1843
        <translation type="unfinished">createLine(x1, y1, x2, y2, [&quot;name&quot;]) -&gt; string
12590 cbradney 1844
 
1845
Erzeugt eine Linie von P(x1,y1) zu P(x2,y2) und gibt ihren Namen zurück.
1846
Die Koordinaten werden in der Maßeinheit des Dokuments angegeben (siehe
1847
UNIT-Konstanten). &quot;name&quot; sollte das Objekt eindeutig identifizieren, weil Sie den
1848
Namen für spätere Zwecke benötigen. Wenn Sie &quot;name&quot; nicht angeben, legt Scribus
1849
einen Namen für das Objekt fest.
1850
 
1851
Ist das Objekt schon vorhanden, tritt der Fehler NameExistsError auf.</translation>
1852
    </message>
1853
    <message>
14166 cbradney 1854
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="96"/>
12590 cbradney 1855
        <source>createPolyLine(list, [&quot;name&quot;]) -&gt; string
1856
 
1857
Creates a new polyline and returns its name. The points for the polyline are
1858
stored in the list &quot;list&quot; in the following order: [x1, y1, x2, y2...xn. yn].
1859
The coordinates are given in the current measurement units of the document (see
1860
UNIT constants). &quot;name&quot; should be a unique identifier for the object because
1861
you need this name for further access to that object. If &quot;name&quot; is not given
1862
Scribus will create one for you.
1863
 
1864
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1865
May raise ValueError if an insufficient number of points is passed or if
1866
the number of values passed don&apos;t group into points without leftovers.
1867
</source>
14474 cbradney 1868
        <translation type="unfinished">createPolyLine(list, [&quot;name&quot;]) -&gt; string
12590 cbradney 1869
 
1870
Erzeugt eine Mehrfachlinie und und gibt ihren Namen zurück. Die Punkte werden in
1871
der folgenden Reihenfolge gespeichert: [x1, y1, x2,...xn, yn].
1872
Die Koordinaten werden in der Maßeinheit des Dokuments angegeben (siehe
1873
UNIT-Konstanten). &quot;name&quot; sollte das Objekt eindeutig identifizieren, weil Sie den
1874
Namen für spätere Zwecke benötigen. Wenn Sie &quot;name&quot; nicht angeben, legt Scribus
1875
einen Namen für das Objekt fest.
1876
 
1877
Ist das Objekt schon vorhanden, tritt der Fehler NameExistsError auf.
1878
Ist die Anzahl der Punkte nicht genügend, tritt der Fehler ValueError auf.</translation>
1879
    </message>
1880
    <message>
14166 cbradney 1881
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="114"/>
12590 cbradney 1882
        <source>createPolygon(list, [&quot;name&quot;]) -&gt; string
1883
 
1884
Creates a new polygon and returns its name. The points for the polygon are
1885
stored in the list &quot;list&quot; in the following order: [x1, y1, x2, y2...xn. yn].
1886
At least three points are required. There is no need to repeat the first point
1887
to close the polygon. The polygon is automatically closed by connecting the
1888
first and the last point.  The coordinates are given in the current measurement
1889
units of the document (see UNIT constants).  &quot;name&quot; should be a unique
1890
identifier for the object because you need this name for further access to that
1891
object. If &quot;name&quot; is not given Scribus will create one for you.
1892
 
1893
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1894
May raise ValueError if an insufficient number of points is passed or if
1895
the number of values passed don&apos;t group into points without leftovers.
1896
</source>
14474 cbradney 1897
        <translation type="unfinished">createPolygon(list, [&quot;name&quot;]) -&gt; string
12590 cbradney 1898
 
1899
Erzeugt ein Vieleck und gibt seinen Namen zurück. Die Punkte werden in
1900
der folgenden Reihenfolge gespeichert: [x1, y1, x2,...xn, yn]. Sie müssen
1901
mindestens 3 Punkte angeben, aber Sie müssen den ersten Punkt nicht zum
1902
Schließen des Polygons erneut angeben - das geschieht automatisch.
1903
Die Koordinaten werden in der Maßeinheit des Dokuments angegeben (siehe
1904
UNIT-Konstanten). &quot;name&quot; sollte das Objekt eindeutig identifizieren, weil Sie den
1905
Namen für spätere Zwecke benötigen. Wenn Sie &quot;name&quot; nicht angeben, legt Scribus
1906
einen Namen für das Objekt fest.
1907
 
1908
Ist das Objekt schon vorhanden, tritt der Fehler NameExistsError auf.
1909
Ist die Anzahl der Punkte nicht ausreichend, tritt der Fehler ValueError auf.</translation>
1910
    </message>
1911
    <message>
14166 cbradney 1912
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="134"/>
12590 cbradney 1913
        <source>createBezierLine(list, [&quot;name&quot;]) -&gt; string
1914
 
1915
Creates a new bezier curve and returns its name. The points for the bezier
1916
curve are stored in the list &quot;list&quot; in the following order:
1917
[x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn]
1918
In the points list, x and y mean the x and y coordinates of the point and kx
1919
and ky meaning the control point for the curve.  The coordinates are given in
1920
the current measurement units of the document (see UNIT constants). &quot;name&quot;
1921
should be a unique identifier for the object because you need this name for
1922
further access to that object. If &quot;name&quot; is not given Scribus will create one
1923
for you.
1924
 
1925
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1926
May raise ValueError if an insufficient number of points is passed or if
1927
the number of values passed don&apos;t group into points without leftovers.
1928
</source>
14474 cbradney 1929
        <translation type="unfinished">createBezierLine(list, [&quot;name&quot;]) -&gt; string
12590 cbradney 1930
 
1931
Erzeugt eine Bézierkurve und gibt ihren Namen zurück. Die Punkte werden in
1932
der folgenden Reihenfolge gespeichert:
1933
[x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn].
1934
x und y steht dabei für die X- und Y-Koordinaten und kx und ky steht für den
1935
Kontrollpunkt der Kurve.
1936
Die Koordinaten werden in der Maßeinheit des Dokuments angegeben (siehe
1937
UNIT-Konstanten). &quot;name&quot; sollte das Objekt eindeutig identifizieren, weil Sie den
1938
Namen für spätere Zwecke benötigen. Wenn Sie &quot;name&quot; nicht angeben, legt Scribus
1939
einen Namen für das Objekt fest.
1940
 
1941
Ist das Objekt schon vorhanden, tritt der Fehler NameExistsError auf.
1942
Ist die Anzahl der Punkte nicht ausreichend, tritt der Fehler ValueError auf.</translation>
1943
    </message>
1944
    <message>
14166 cbradney 1945
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="155"/>
12590 cbradney 1946
        <source>createPathText(x, y, &quot;textbox&quot;, &quot;beziercurve&quot;, [&quot;name&quot;]) -&gt; string
1947
 
1948
Creates a new pathText by merging the two objects &quot;textbox&quot; and
1949
&quot;beziercurve&quot; and returns its name. The coordinates are given in the current
1950
measurement unit of the document (see UNIT constants). &quot;name&quot; should be a
1951
unique identifier for the object because you need this name for further access
1952
to that object. If &quot;name&quot; is not given Scribus will create one for you.
1953
 
1954
May raise NameExistsError if you explicitly pass a name that&apos;s already used.
1955
May raise NotFoundError if one or both of the named base object don&apos;t exist.
1956
</source>
14474 cbradney 1957
        <translation type="unfinished">createPathText(x, y, &quot;textbox&quot;, &quot;beziercurve&quot;, [&quot;name&quot;]) -&gt; string
12590 cbradney 1958
 
1959
Erzeugt Text auf einem Pfad, indem die Objekte &quot;textbox&quot; und &quot;beziercurve&quot;
1960
zusammengefügt werden.
1961
Die Koordinaten werden in der Maßeinheit des Dokuments angegeben (siehe
1962
UNIT-Konstanten). &quot;name&quot; sollte das Objekt eindeutig identifizieren, weil Sie den
1963
Namen für spätere Zwecke benötigen. Wenn Sie &quot;name&quot; nicht angeben, legt Scribus
1964
einen Namen für das Objekt fest.
1965
 
1966
Ist das Objekt schon vorhanden, tritt der Fehler NameExistsError auf.
1967
Sind ein oder beide Objekte nicht vorhanden, tritt der Fehler NotFoundError auf.</translation>
1968
    </message>
1969
    <message>
14166 cbradney 1970
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="173"/>
12590 cbradney 1971
        <source>deleteObject([&quot;name&quot;])
1972
 
1973
Deletes the item with the name &quot;name&quot;. If &quot;name&quot; is not given the currently
1974
selected item is deleted.
1975
</source>
14474 cbradney 1976
        <translation type="unfinished">deleteObject([&quot;name&quot;])
12590 cbradney 1977
 
1978
Löscht das Objekt &quot;name&quot;. Ist &quot;name&quot; nicht angegeben, wird das aktuelle
1979
Objekt gelöscht.</translation>
1980
    </message>
1981
    <message>
14166 cbradney 1982
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="184"/>
12590 cbradney 1983
        <source>textFlowMode(&quot;name&quot; [, state])
1984
 
1985
Enables/disables &quot;Text Flows Around Frame&quot; feature for object &quot;name&quot;.
1986
Called with parameters string name and optional int &quot;state&quot; (0 &lt;= state &lt;= 3).
1987
Setting &quot;state&quot; to 0 will disable text flow.
1988
Setting &quot;state&quot; to 1 will make text flow around object frame.
1989
Setting &quot;state&quot; to 2 will make text flow around bounding box.
1990
Setting &quot;state&quot; to 3 will make text flow around contour line.
1991
If &quot;state&quot; is not passed, text flow is toggled.
1992
</source>
14474 cbradney 1993
        <translation type="unfinished">textFlowMode(&quot;name&quot; [, state])
12590 cbradney 1994
 
1995
Enables/disables &quot;Text Flows Around Frame&quot; feature for object &quot;name&quot;.
1996
Called with parameters string name and optional int &quot;state&quot; (0 &lt;= state &lt;= 3).(new line)
1997
Setting &quot;state&quot; to 0 will disable text flow.
1998
Setting &quot;state&quot; to 1 will make text flow around object frame.
1999
Setting &quot;state&quot; to 2 will make text flow around bounding box.
2000
Setting &quot;state&quot; to 3 will make text flow around contour line.
2001
If &quot;state&quot; is not passed, text flow is toggled.</translation>
2002
    </message>
2003
    <message>
14166 cbradney 2004
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="206"/>
12590 cbradney 2005
        <source>objectExists([&quot;name&quot;]) -&gt; bool
2006
 
2007
Test if an object with specified name really exists in the document.
2008
The optional parameter is the object name. When no object name is given,
2009
returns True if there is something selected.
2010
</source>
14474 cbradney 2011
        <translation type="unfinished">objectExists([&quot;name&quot;]) -&gt; bool
12590 cbradney 2012
 
2013
Gibt an, ob das Objekt mit dem Name &quot;name&quot; auch wirklich im aktuellen Dokument
2014
existiert. &quot;name&quot; ist optional, ist &quot;name&quot; nicht angegeben, wird True ausgegeben, wenn
2015
gerade ein Objekt selektiert ist.</translation>
2016
    </message>
2017
    <message>
14166 cbradney 2018
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="223"/>
12590 cbradney 2019
        <source>setStyle(&quot;style&quot; [, &quot;name&quot;])
2020
 
14474 cbradney 2021
Apply the named &quot;style&quot; to the object named &quot;name&quot;. If object name is
2022
given, style is applied to the current text selection in object &quot;name&quot;.
2023
If no object name is given, style is applied on selected object.
2024
</source>
2025
        <translation type="unfinished"></translation>
2026
    </message>
2027
    <message>
2028
        <source>setStyle(&quot;style&quot; [, &quot;name&quot;])
2029
 
12590 cbradney 2030
Apply the named &quot;style&quot; to the object named &quot;name&quot;. If is no object name
2031
given, it&apos;s applied on the selected object.
2032
</source>
14474 cbradney 2033
        <translation type="obsolete">setStyle(&quot;style&quot; [, &quot;name&quot;])
12590 cbradney 2034
 
2035
Setzt den Absatzstil &quot;style&quot; für das Objekt &quot;name&quot;. Ist kein Objekt angegeben,
2036
wird der Stil auf das aktuelle Objekt angewendet.</translation>
2037
    </message>
2038
    <message>
14474 cbradney 2039
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="238"/>
12590 cbradney 2040
        <source>getAllStyles() -&gt; list
2041
 
2042
Return a list of the names of all paragraph styles in the current document.
2043
</source>
14474 cbradney 2044
        <translation type="unfinished">getAllStyles() -&gt; list
12590 cbradney 2045
 
2046
Gibt eine Listen mit allen Absatzstilen im aktuellen Dokument zurück.</translation>
2047
    </message>
2048
    <message>
14474 cbradney 2049
        <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="250"/>
12590 cbradney 2050
        <source>duplicateObject([&quot;name&quot;]) -&gt; string
2051
 
2052
creates a Duplicate of the selected Object (or Selection Group).
2053
</source>
14474 cbradney 2054
        <translation type="unfinished">duplicateObject([&quot;name&quot;]) -&gt; string
12590 cbradney 2055
 
2056
creates a Duplicate of the selected Object (or Selection Group).</translation>
2057
    </message>
2058
    <message>
14166 cbradney 2059
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="17"/>
12590 cbradney 2060
        <source>newPage(where [,&quot;masterpage&quot;])
2061
 
2062
Creates a new page. If &quot;where&quot; is -1 the new Page is appended to the
2063
document, otherwise the new page is inserted before &quot;where&quot;. Page numbers are
2064
counted from 1 upwards, no matter what the displayed first page number of your
2065
document is. The optional parameter &quot;masterpage&quot; specifies the name of the
2066
master page for the new page.
2067
 
2068
May raise IndexError if the page number is out of range
2069
</source>
14474 cbradney 2070
        <translation type="unfinished">newPage(where [,&quot;masterpage&quot;])
12590 cbradney 2071
 
2072
Erzeugt eine neue Seite. Falls &quot;where&quot; -1 ist, wird die neue Seite an das Dokument angefügt,
2073
ansonsten wird die neue Seite vor &quot;where&quot; eingefügt. Seitennummern werden von 1 ab hoch-
2074
gezählt, egal welches die angezeigte erste Seitennummer Ihres Dokumentes ist. Der optionale
2075
Parameter &quot;masterpage&quot; legt den Namen der Musterseite für die neue Seite fest</translation>
2076
    </message>
2077
    <message>
14166 cbradney 2078
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="32"/>
12590 cbradney 2079
        <source>currentPage() -&gt; integer
2080
 
2081
Returns the number of the current working page. Page numbers are counted from 1
2082
upwards, no matter what the displayed first page number of your document is.
2083
</source>
14474 cbradney 2084
        <translation type="unfinished">currentPage() -&gt; integer
12590 cbradney 2085
 
2086
Gibt die Nummer der aktuellen Seite zurück. Seitenzahlen werden ab 1 gezählt, egal welche
2087
Seitenzahl auf der aktuellen Seite angezeigt wird.</translation>
2088
    </message>
2089
    <message>
14166 cbradney 2090
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="42"/>
12590 cbradney 2091
        <source>redrawAll()
2092
 
2093
Redraws all pages.
2094
</source>
14474 cbradney 2095
        <translation type="unfinished">redrawAll()
12590 cbradney 2096
 
2097
Baut alle Seiten neu auf.</translation>
2098
    </message>
2099
    <message>
14166 cbradney 2100
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="51"/>
12590 cbradney 2101
        <source>getPageType() -&gt; integer
2102
 
2103
Returns the type of the Page, 0 means left Page, 1 is a middle Page and 2 is a right Page
2104
</source>
14474 cbradney 2105
        <translation type="unfinished">getPageType() -&gt; integerReturns the type of the Page, 0 means left Page, 1 is a middle Page and 2 is a right Page</translation>
12590 cbradney 2106
    </message>
2107
    <message>
14166 cbradney 2108
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="60"/>
12590 cbradney 2109
        <source>savePageAsEPS(&quot;name&quot;)
2110
 
2111
Saves the current page as an EPS to the file &quot;name&quot;.
2112
 
2113
May raise ScribusError if the save failed.
2114
</source>
14474 cbradney 2115
        <translation type="unfinished">savePageAsEPS(&quot;name&quot;)
12590 cbradney 2116
 
2117
Speichert die aktuelle Seite als EPS-Datei mit dem Namen &quot;name&quot;.
2118
 
2119
Schlägt das Speichern fehl, tritt der Fehler ScribusError auf.</translation>
2120
    </message>
2121
    <message>
14166 cbradney 2122
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="71"/>
12590 cbradney 2123
        <source>deletePage(nr)
2124
 
2125
Deletes the given page. Does nothing if the document contains only one page.
2126
Page numbers are counted from 1 upwards, no matter what the displayed first
2127
page number is.
2128
 
2129
May raise IndexError if the page number is out of range
2130
</source>
14474 cbradney 2131
        <translation type="unfinished">deletePage(nr)
12590 cbradney 2132
 
2133
Löscht die Seite mit der Nummer &quot;nr&quot;. Besteht das Dokument nur aus einer Seite, passiert nichts.
2134
Seitenzahlen werden von 1 aufwärts gezählt, egal, welche Seitenzahl Sie auf der aktuellen Seite
2135
im Dokument sehen.
2136
 
2137
Ist die Seitenzahl ungültig, tritt der Fehler IndexError auf</translation>
2138
    </message>
2139
    <message>
14166 cbradney 2140
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="84"/>
12590 cbradney 2141
        <source>gotoPage(nr)
2142
 
2143
Moves to the page &quot;nr&quot; (that is, makes the current page &quot;nr&quot;). Note that
2144
gotoPage doesn&apos;t (currently) change the page the user&apos;s view is displaying, it
2145
just sets the page that script commands will operates on.
2146
 
2147
May raise IndexError if the page number is out of range.
2148
</source>
14474 cbradney 2149
        <translation type="unfinished">gotoPage(nr)Moves to the page &quot;nr&quot; (that is, makes the current page &quot;nr&quot;). Note thatgotoPage doesn&apos;t (currently) change the page the user&apos;s view is displaying, itjust sets the page that script commands will operates on.May raise IndexError if the page number is out of range.</translation>
12590 cbradney 2150
    </message>
2151
    <message>
14166 cbradney 2152
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="97"/>
12590 cbradney 2153
        <source>pageCount() -&gt; integer
2154
 
2155
Returns the number of pages in the document.
2156
</source>
14474 cbradney 2157
        <translation type="unfinished">pageCount() -&gt; integer
12590 cbradney 2158
 
2159
Gibt die Anzahl der Seiten im Dokument zurück.</translation>
2160
    </message>
2161
    <message>
14166 cbradney 2162
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="106"/>
12590 cbradney 2163
        <source>getHGuides() -&gt; list
2164
 
2165
Returns a list containing positions of the horizontal guides. Values are in the
2166
document&apos;s current units - see UNIT_&lt;type&gt; constants.
2167
</source>
14474 cbradney 2168
        <translation type="unfinished">getHGuides() -&gt; list
12590 cbradney 2169
 
2170
Gibt eine Liste zurück, die die Position der horizontalen Hilfslinien enthält. Die Werte
2171
werden in der Maßeinheit des Dokuments angegeben, siehe UNIT-Konstanten.</translation>
2172
    </message>
2173
    <message>
14166 cbradney 2174
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="116"/>
12590 cbradney 2175
        <source>setHGuides(list)
2176
 
2177
Sets horizontal guides. Input parameter must be a list of guide positions
2178
measured in the current document units - see UNIT_&lt;type&gt; constants.
2179
 
2180
Example: setHGuides(getHGuides() + [200.0, 210.0] # add new guides without any lost
2181
         setHGuides([90,250]) # replace current guides entirely
2182
</source>
14474 cbradney 2183
        <translation type="unfinished">setHGuides(list)
12590 cbradney 2184
 
2185
Legt horizontale Hilfslinien fest, list muss eine Liste der Linien sein, angegeben in der Maßeinheit
2186
des Dokuments, siehe UNIT-Konstanten.
2187
 
2188
Beispiel:
2189
setHGuides(getHGuides() + [200.0, 210.0] # fügt eine neue Hilfslinie hinzu
2190
</translation>
2191
    </message>
2192
    <message>
14166 cbradney 2193
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="129"/>
12590 cbradney 2194
        <source>getVGuides()
2195
 
2196
See getHGuides.
2197
</source>
14474 cbradney 2198
        <translation type="unfinished">getVGuides()
12590 cbradney 2199
 
2200
Siehe getHGuides.</translation>
2201
    </message>
2202
    <message>
14166 cbradney 2203
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="138"/>
12590 cbradney 2204
        <source>setVGuides()
2205
 
2206
See setHGuides.
2207
</source>
14474 cbradney 2208
        <translation type="unfinished">setVGuides()
12590 cbradney 2209
 
2210
Siehe setHGuides.</translation>
2211
    </message>
2212
    <message>
14166 cbradney 2213
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="147"/>
12590 cbradney 2214
        <source>getPageSize() -&gt; tuple
2215
 
2216
Returns a tuple with page dimensions measured in the document&apos;s current units.
2217
See UNIT_&lt;type&gt; constants and getPageMargins()
2218
</source>
14474 cbradney 2219
        <translation type="unfinished">getPageSize() -&gt; tuple
12590 cbradney 2220
 
2221
Gibt eine Liste mit der Seitengröße in der aktuellen Maßeinheit zurück, siehe
2222
UNIT-Konstanten und getPageMargins()</translation>
2223
    </message>
2224
    <message>
14166 cbradney 2225
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="161"/>
2226
        <source>getPageNSize() -&gt; tuple
2227
 
2228
Returns a tuple with a particular page&apos;s size measured in the document&apos;s current units.
2229
See UNIT_&lt;type&gt; constants and getPageMargins()
2230
</source>
14474 cbradney 2231
        <translation type="unfinished">getPageNSize() -&gt; tuple
14166 cbradney 2232
 
2233
Returns a tuple with a particular page&apos;s size measured in the document&apos;s current units.
2234
See UNIT_&lt;type&gt; constants and getPageMargins()
2235
</translation>
2236
    </message>
2237
    <message>
2238
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="174"/>
2239
        <source>getPageNMargins() -&gt; tuple
2240
 
2241
Returns a tuple with a particular page&apos;s margins measured in the document&apos;s current units.
2242
See UNIT_&lt;type&gt; constants and getPageMargins()
2243
</source>
14474 cbradney 2244
        <translation type="unfinished">getPageNMargins() -&gt; tuple
14166 cbradney 2245
 
2246
Returns a tuple with a particular page&apos;s margins measured in the document&apos;s current units.
2247
See UNIT_&lt;type&gt; constants and getPageMargins()
2248
</translation>
2249
    </message>
2250
    <message>
2251
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="187"/>
12590 cbradney 2252
        <source>getPageItems() -&gt; list
2253
 
2254
Returns a list of tuples with items on the current page. The tuple is:
2255
(name, objectType, order) E.g. [(&apos;Text1&apos;, 4, 0), (&apos;Image1&apos;, 2, 1)]
2256
means that object named &apos;Text1&apos; is a text frame (type 4) and is the first at
2257
the page...
2258
</source>
14474 cbradney 2259
        <translation type="unfinished">getPageItems() -&gt; list
12590 cbradney 2260
 
2261
Gibt eine Liste zurück mit den Objekten auf der aktuelle Seite. Die Reihenfolge
2262
der Werte ist: (Name, Typ des Objekts, Anordnung).
2263
 
2264
Beispiel: [(&apos;Text1&apos;, 4, 0), (&apos;Image1&apos;, 2, 1)] bedeutet, dass das Objekt Text1 heißt,
2265
ein Textrahmen ist  (type 4) und sich auf der ersten Seite befindet...</translation>
2266
    </message>
2267
    <message>
14166 cbradney 2268
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="203"/>
12590 cbradney 2269
        <source>getPageMargins()
2270
 
2271
Returns the page margins as a (top, left, right, bottom) tuple in the current
2272
units. See UNIT_&lt;type&gt; constants and getPageSize().
2273
</source>
14474 cbradney 2274
        <translation type="unfinished">getPageMargins()
12590 cbradney 2275
 
2276
Gibt die Seitenränder als ein Tupel in der gerade aktiven Einheit zurück (oben, unten, links, rechts).
2277
Mögliche Einheiten finden Sie bei UNIT_&lt;tye&gt; und getPageSize().
2278
</translation>
2279
    </message>
2280
    <message>
14166 cbradney 2281
        <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="216"/>
12590 cbradney 2282
        <source>importPage(&quot;fromDoc&quot;, (pageList), [create, imortwhere, importwherePage])
2283
 
2284
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.
2285
fromDoc: string; the filename of the document to import pages from
2286
pageList: tuple with page numbers of pages to import
2287
create: number; 0 to replace existing pages, 1 (default) to insert new pages
2288
importWhere: number; the page number (of the current document) at which import the pages
2289
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
2290
</source>
14474 cbradney 2291
        <translation type="unfinished">importPage(&quot;fromDoc&quot;, (pageList), [create, imortwhere, importwherePage])
12590 cbradney 2292
 
2293
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.
2294
fromDoc: string; the filename of the document to import pages from
2295
pageList: tuple with page numbers of pages to import
2296
create: number; 0 to replace existing pages, 1 (default) to insert new pages
2297
importWhere: number; the page number (of the current document) at which import the pages
2298
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</translation>
2299
    </message>
2300
    <message>
14166 cbradney 2301
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="17"/>
12590 cbradney 2302
        <source>setGradientFill(type, &quot;color1&quot;, shade1, &quot;color2&quot;, shade2, [&quot;name&quot;])
2303
 
2304
Sets the gradient fill of the object &quot;name&quot; to type. Color descriptions are
2305
the same as for setFillColor() and setFillShade(). See the constants for
2306
available types (FILL_&lt;type&gt;).
2307
</source>
14474 cbradney 2308
        <translation type="unfinished">setGradientFill(type, &quot;color1&quot;, shade1, &quot;color2&quot;, shade2, [&quot;name&quot;])
12590 cbradney 2309
 
2310
Füllt das Objekt &quot;name&quot; mit einem Farbverlauf. Farbbezeichnungen sind die
2311
gleichen wie für setFillColor() und setFillShade(). Siehe Konstanten
2312
für mögliche Typen (FILL_&lt;type&gt;).</translation>
2313
    </message>
2314
    <message>
14166 cbradney 2315
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="39"/>
12590 cbradney 2316
        <source>setFillColor(&quot;color&quot;, [&quot;name&quot;])
2317
 
2318
Sets the fill color of the object &quot;name&quot; to the color &quot;color&quot;. &quot;color&quot;
2319
is the name of one of the defined colors. If &quot;name&quot; is not given the
2320
currently selected item is used.
2321
</source>
14474 cbradney 2322
        <translation type="unfinished">setFillColor(&quot;color&quot;, [&quot;name&quot;])
12590 cbradney 2323
 
2324
Setzt die Füllfarbe &quot;color&quot; für das Objekt &quot;name&quot;. &quot;color&quot; ist der Name einer
2325
vorhandenen Farbe. Ist &quot;name&quot; nicht angegeben, wird das aktuelle Objekt
2326
verwendet.</translation>
2327
    </message>
2328
    <message>
14166 cbradney 2329
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="50"/>
12590 cbradney 2330
        <source>setFillTransparency(transparency, [&quot;name&quot;])
2331
 
2332
Sets the fill transparency of the object &quot;name&quot; to transparency
2333
If &quot;name&quot; is not given the currently selected item is used.
2334
</source>
14474 cbradney 2335
        <translation type="unfinished">setFillTransparency(transparency, [&quot;name&quot;])
12590 cbradney 2336
Sets the fill transparency of the object &quot;name&quot; to transparency
2337
If &quot;name&quot; is not given the currently selected item is used.</translation>
2338
    </message>
2339
    <message>
14166 cbradney 2340
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="60"/>
12590 cbradney 2341
        <source>setFillBlendmode(blendmode, [&quot;name&quot;])
2342
 
2343
Sets the fill blendmode of the object &quot;name&quot; to blendmode
2344
If &quot;name&quot; is not given the currently selected item is used.
2345
</source>
14474 cbradney 2346
        <translation type="unfinished">setFillBlendmode(blendmode, [&quot;name&quot;])
12590 cbradney 2347
Sets the fill blendmode of the object &quot;name&quot; to blendmode
2348
If &quot;name&quot; is not given the currently selected item is used.</translation>
2349
    </message>
2350
    <message>
14166 cbradney 2351
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="70"/>
12590 cbradney 2352
        <source>setLineColor(&quot;color&quot;, [&quot;name&quot;])
2353
 
2354
Sets the line color of the object &quot;name&quot; to the color &quot;color&quot;. If &quot;name&quot;
2355
is not given the currently selected item is used.
2356
</source>
14474 cbradney 2357
        <translation type="unfinished">setLineColor(&quot;color&quot;, [&quot;name&quot;])
12590 cbradney 2358
 
2359
Setzt die Linienfarbe &quot;color&quot; für das Objekt &quot;name&quot;. Ist &quot;name&quot; nicht angegeben,
2360
wird das aktuelle Objekt verwendet.</translation>
2361
    </message>
2362
    <message>
14166 cbradney 2363
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="80"/>
12590 cbradney 2364
        <source>setLineTransparency(transparency, [&quot;name&quot;])
2365
 
2366
Sets the line transparency of the object &quot;name&quot; to transparency
2367
If &quot;name&quot; is not given the currently selected item is used.
2368
</source>
14474 cbradney 2369
        <translation type="unfinished">setLineTransparency(transparency, [&quot;name&quot;])
12590 cbradney 2370
Sets the line transparency of the object &quot;name&quot; to transparency
2371
If &quot;name&quot; is not given the currently selected item is used.</translation>
2372
    </message>
2373
    <message>
14166 cbradney 2374
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="90"/>
12590 cbradney 2375
        <source>setLineBlendmode(blendmode, [&quot;name&quot;])
2376
 
2377
Sets the line blendmode of the object &quot;name&quot; to blendmode
2378
If &quot;name&quot; is not given the currently selected item is used.
2379
</source>
14474 cbradney 2380
        <translation type="unfinished">setLineBlendmode(blendmode, [&quot;name&quot;])
12590 cbradney 2381
Sets the line blendmode of the object &quot;name&quot; to blendmode
2382
If &quot;name&quot; is not given the currently selected item is used.</translation>
2383
    </message>
2384
    <message>
14166 cbradney 2385
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="100"/>
12590 cbradney 2386
        <source>setLineWidth(width, [&quot;name&quot;])
2387
 
2388
Sets line width of the object &quot;name&quot; to &quot;width&quot;. &quot;width&quot; must be in the
2389
range from 0.0 to 12.0 inclusive, and is measured in points. If &quot;name&quot; is not
2390
given the currently selected item is used.
2391
 
2392
May raise ValueError if the line width is out of bounds.
2393
</source>
14474 cbradney 2394
        <translation type="unfinished">setLineWidth(width, [&quot;name&quot;])
12590 cbradney 2395
 
2396
Setzt die Linienbreite für das Objekt &quot;name&quot; auf &quot;width&quot;. &quot;width&quot; muss zwischen
2397
0.0 und 12.0 groß sein und wird in Punkt angegeben. Ist &quot;name&quot; nicht angegeben,
2398
wird das aktuelle Objekt verwendet.
2399
 
2400
Ist die Linienbreite ungültig, tritt der Fehler ValueError auf.</translation>
2401
    </message>
2402
    <message>
14166 cbradney 2403
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="113"/>
12590 cbradney 2404
        <source>setLineShade(shade, [&quot;name&quot;])
2405
 
2406
Sets the shading of the line color of the object &quot;name&quot; to &quot;shade&quot;.
2407
&quot;shade&quot; must be an integer value in the range from 0 (lightest) to 100
2408
(full color intensity). If &quot;name&quot; is not given the currently selected item
2409
is used.
2410
 
2411
May raise ValueError if the line shade is out of bounds.
2412
</source>
14474 cbradney 2413
        <translation type="unfinished">setLineShade(shade, [&quot;name&quot;])
12590 cbradney 2414
 
2415
Setzt den Tonwert der Linie des Objekts &quot;name&quot; auf &quot;shade&quot;. &quot;shade&quot; ist eine
2416
ganze Zahl zwischen 0 und 100. Ist &quot;name&quot; nicht angegeben, wird das aktuelle
2417
Objekt verwendet.
2418
 
2419
Ist der Tonwert ungültig, tritt der Fehler ValueError auf.</translation>
2420
    </message>
2421
    <message>
14166 cbradney 2422
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="127"/>
12590 cbradney 2423
        <source>setLineJoin(join, [&quot;name&quot;])
2424
 
2425
Sets the line join style of the object &quot;name&quot; to the style &quot;join&quot;.
2426
If &quot;name&quot; is not given the currently selected item is used. There are
2427
predefined constants for join - JOIN_&lt;type&gt;.
2428
</source>
14474 cbradney 2429
        <translation type="unfinished">setLineJoin(join, [&quot;name&quot;])
12590 cbradney 2430
 
2431
Setzt die Ecken der Linien des Objekts &quot;name&quot; auf den Stil join.
2432
Ist &quot;name&quot; nicht angegeben, wird das aktuelle Obekt verwendet.
2433
Benutzen Sie die vorgegeben Konstaten des Typs JOIN_*.</translation>
2434
    </message>
2435
    <message>
14166 cbradney 2436
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="138"/>
12590 cbradney 2437
        <source>setLineEnd(endtype, [&quot;name&quot;])
2438
 
2439
Sets the line cap style of the object &quot;name&quot; to the style &quot;cap&quot;.
2440
If &quot;name&quot; is not given the currently selected item is used. There are
2441
predefined constants for &quot;cap&quot; - CAP_&lt;type&gt;.
2442
</source>
14474 cbradney 2443
        <translation type="unfinished">SetLineEnd(endtype, [&quot;name&quot;])
12590 cbradney 2444
 
2445
Setzt die Linienenden des Objekts &quot;name&quot; auf den Stil &quot;endtype&quot;.
2446
Ist &quot;name&quot; nicht angegeben, wird das aktuelle Objekt verwendet.
2447
Benutzen Sie die vorgegebenen Konstanten des Typs CAP_*.</translation>
2448
    </message>
2449
    <message>
14166 cbradney 2450
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="149"/>
12590 cbradney 2451
        <source>setLineStyle(style, [&quot;name&quot;])
2452
 
2453
Sets the line style of the object &quot;name&quot; to the style &quot;style&quot;. If &quot;name&quot;
2454
is not given the currently selected item is used. There are predefined
2455
constants for &quot;style&quot; - LINE_&lt;style&gt;.
2456
</source>
14474 cbradney 2457
        <translation type="unfinished">setLineStyle(style, [&quot;name&quot;])
12590 cbradney 2458
 
2459
Setzt den Linienstil des Objekts &quot;name&quot; auf den Stil &quot;style&quot;. Ist &quot;name&quot; nicht
2460
angegeben, wird das aktuelle Objekt verwendet. Benutzen Sie die
2461
vorgegebenen Konstanten des Typs LINE_*.</translation>
2462
    </message>
2463
    <message>
14166 cbradney 2464
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="160"/>
12590 cbradney 2465
        <source>setFillShade(shade, [&quot;name&quot;])
2466
 
2467
Sets the shading of the fill color of the object &quot;name&quot; to &quot;shade&quot;.
2468
&quot;shade&quot; must be an integer value in the range from 0 (lightest) to 100
2469
(full Color intensity). If &quot;name&quot; is not given the currently selected
2470
Item is used.
2471
 
2472
May raise ValueError if the fill shade is out of bounds.
2473
</source>
14474 cbradney 2474
        <translation type="unfinished">setFillShade(shade, [&quot;name&quot;])
12590 cbradney 2475
 
2476
Setzt den Tonwert der Füllfarbe für das Objekt &quot;name&quot; auf &quot;shade&quot;.
2477
&quot;shade&quot; muss eine ganze Zahl zwischen 0 und 100 sein. Ist &quot;name&quot;
2478
nicht angegeben, wird das aktuelle Objekt benutzt.
2479
 
2480
Ist der Tonwert ungültig, tritt der Fehler ValueError auf.</translation>
2481
    </message>
2482
    <message>
14166 cbradney 2483
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="174"/>
12590 cbradney 2484
        <source>setCornerRadius(radius, [&quot;name&quot;])
2485
 
2486
Sets the corner radius of the object &quot;name&quot;. The radius is expressed
2487
in points. If &quot;name&quot; is not given the currently selected item is used.
2488
 
2489
May raise ValueError if the corner radius is negative.
2490
</source>
14474 cbradney 2491
        <translation type="unfinished">setCornerRadius(radius, [&quot;name&quot;])
12590 cbradney 2492
 
2493
Setzt den Eckradius für das Objekt &quot;name&quot; auf radius. Der Radius wird
2494
in Punkt angegeben. Ist &quot;name&quot; nicht angegeben, wird das aktuelle
2495
Objekt verwendet.
2496
 
2497
Ist der Eckradius negativ, tritt der Fehler ValueError auf.</translation>
2498
    </message>
2499
    <message>
14166 cbradney 2500
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="186"/>
12590 cbradney 2501
        <source>setMultiLine(&quot;namedStyle&quot;, [&quot;name&quot;])
2502
 
2503
Sets the line style of the object &quot;name&quot; to the named style &quot;namedStyle&quot;.
2504
If &quot;name&quot; is not given the currently selected item is used.
2505
 
2506
May raise NotFoundError if the line style doesn&apos;t exist.
2507
</source>
14474 cbradney 2508
        <translation type="unfinished">setMultiLine(&quot;namedStyle&quot;, [&quot;name&quot;])
12590 cbradney 2509
 
2510
Setzt den Linienstil für das Objekt &quot;name&quot; auf den angegebenen Stil.
2511
Ist &quot;name&quot; nicht angegeben, wird der aktuelle Stil benutzt.
2512
 
2513
Ist der Stil nicht vorhanden, tritt der Fehler NotFoundError auf.</translation>
2514
    </message>
2515
    <message>
14166 cbradney 2516
        <location filename="../../../scribus/plugins/scriptplugin/cmdstyle.h" line="22"/>
12590 cbradney 2517
        <source>createParagraphStyle(...)
2518
 
2519
Creates a paragraph style. This function takes the following keyword parameters:
2520
 
2521
&quot;name&quot; [required] -&gt; specifies the name of the paragraphstyle to create
2522
 
2523
linespacingmode [optional] -&gt; specifies the linespacing mode; possible modes are:
2524
 
2525
fixed linespacing:          0
2526
 
2527
automatic linespacing:      1
2528
 
2529
baseline grid linespacing:  2
2530
 
2531
linespacing [optional] -&gt; specifies the linespacing if using fixed linespacing
2532
 
2533
alignment [optional] -&gt; specifies the alignment of the paragraph
2534
 
2535
-&gt; left:     0
2536
 
2537
-&gt; center:   1
2538
 
2539
-&gt; right:    2
2540
 
2541
-&gt; justify:  3
2542
 
2543
-&gt; extend:   4
2544
 
2545
leftmargin [optional], rightmargin [optional] -&gt; specify the margin
2546
 
2547
gapbefore [optional], gapafter [optional] -&gt; specify the gaps to the heading and following paragraphs
2548
 
2549
firstindent [optional] -&gt; the indent of the first line
2550
 
2551
hasdropcap [optional] -&gt; specifies if there are caps (1 = yes, 0 = no)
2552
 
2553
dropcaplines [optional] -&gt; height (in lines) of the caps if used
2554
 
2555
dropcapoffset [optional] -&gt; offset of the caps if used
2556
 
2557
&quot;charstyle&quot; [optional] -&gt; char style to use
2558
 
2559
</source>
14474 cbradney 2560
        <translation type="unfinished">createParagraphStyle(...)Creates a paragraph style. This function takes the following keyword parameters:&quot;name&quot; [required] -&gt; specifies the name of the paragraphstyle to createlinespacingmode [optional] -&gt; specifies the linespacing mode; possible modes are:fixed linespacing:          0automatic linespacing:      1baseline grid linespacing:  2linespacing [optional] -&gt; specifies the linespacing if using fixed linespacingalignment [optional] -&gt; specifies the alignment of the paragraph-&gt; left:     0-&gt; center:   1-&gt; right:    2-&gt; justify:  3-&gt; extend:   4leftmargin [optional], rightmargin [optional] -&gt; specify the margingapbefore [optional], gapafter [optional] -&gt; specify the gaps to the heading and following paragraphsfirstindent [optional] -&gt; the indent of the first linehasdropcap [optional] -&gt; specifies if there are caps (1 = yes, 0 = no)dropcaplines [optional] -&gt; height (in lines) of the caps if useddropcapoffset [optional] -&gt; offset of the caps if used&quot;charstyle&quot; [optional] -&gt; char style to use</translation>
12590 cbradney 2561
    </message>
2562
    <message>
14166 cbradney 2563
        <location filename="../../../scribus/plugins/scriptplugin/cmdstyle.h" line="52"/>
12590 cbradney 2564
        <source>createCharStyle(...)
2565
 
2566
Creates a character style. This function takes the following keyword parameters:
2567
 
2568
&quot;name&quot; [required] -&gt; name of the char style to create
2569
 
2570
&quot;font&quot; [optional] -&gt; name of the font to use
2571
 
2572
fontsize [optional] -&gt; font size to set (double)
2573
 
2574
&quot;features&quot; [optional] -&gt; nearer typographic details can be defined by a string that might contain the following phrases comma-seperated (without spaces!):
2575
 
2576
-&gt; inherit
2577
 
2578
-&gt; bold
2579
 
2580
-&gt; italic
2581
 
2582
-&gt; underline
2583
 
2584
-&gt; underlinewords
2585
 
2586
-&gt; strike
2587
 
2588
-&gt; superscript
2589
 
2590
-&gt; subscript
2591
 
2592
-&gt; outline
2593
 
2594
-&gt; shadowed
2595
 
2596
-&gt; allcaps
2597
 
2598
-&gt; smallcaps
2599
 
2600
&quot;fillcolor&quot; [optional], &quot;fillshade&quot; [optional] -&gt; specify fill options
2601
 
2602
&quot;strokecolor&quot; [optional], &quot;strokeshade&quot; [optional] -&gt; specify stroke options
2603
 
2604
baselineoffset [optional] -&gt; offset of the baseline
2605
 
2606
shadowxoffset [optional], shadowyoffset [optional] -&gt; offset of the shadow if used
2607
 
2608
outlinewidth [optional] -&gt; width of the outline if used
2609
 
2610
underlineoffset [optional], underlinewidth [optional] -&gt; underline options if used
2611
 
2612
strikethruoffset [optional], strikethruwidth [optional] -&gt; strikethru options if used
2613
 
2614
scaleh [optional], scalev [optional] -&gt; scale of the chars
2615
 
2616
tracking [optional] -&gt; tracking of the text
2617
 
2618
&quot;language&quot; [optional] -&gt; language code
2619
 
2620
</source>
14474 cbradney 2621
        <translation type="unfinished">createCharStyle(...)
12590 cbradney 2622
 
2623
Creates a character style. This function takes the following keyword parameters:
2624
 
2625
&quot;name&quot; [required] -&gt; name of the char style to create
2626
 
2627
&quot;font&quot; [optional] -&gt; name of the font to use
2628
 
2629
fontsize [optional] -&gt; font size to set (double)
2630
 
2631
&quot;features&quot; [optional] -&gt; nearer typographic details can be defined by a string that might contain the following phrases comma-seperated (without spaces!):
2632
 
2633
-&gt; inherit
2634
 
2635
-&gt; bold
2636
 
2637
-&gt; italic
2638
 
2639
-&gt; underline
2640
 
2641
-&gt; underlinewords
2642
 
2643
-&gt; strike
2644
 
2645
-&gt; superscript
2646
 
2647
-&gt; subscript
2648
 
2649
-&gt; outline
2650
 
2651
 
2652
-&gt; shadowed
2653
 
2654
-&gt; allcaps
2655
 
2656
-&gt; smallcaps
2657
 
2658
&quot;fillcolor&quot; [optional], &quot;fillshade&quot; [optional] -&gt; specify fill options
2659
 
2660
&quot;strokecolor&quot; [optional], &quot;strokeshade&quot; [optional] -&gt; specify stroke options
2661
 
2662
baselineoffset [optional] -&gt; offset of the baseline
2663
 
2664
shadowxoffset [optional], shadowyoffset [optional] -&gt; offset of the shadow if used
2665
 
2666
outlinewidth [optional] -&gt; width of the outline if used
2667
 
2668
underlineoffset [optional], underlinewidth [optional] -&gt; underline options if used
2669
 
2670
strikethruoffset [optional], strikethruwidth [optional] -&gt; strikethru options if used
2671
 
2672
scaleh [optional], scalev [optional] -&gt; scale of the chars
2673
 
2674
tracking [optional] -&gt; tracking of the text
2675
 
2676
&quot;language&quot; [optional] -&gt; language code</translation>
2677
    </message>
2678
    <message>
14166 cbradney 2679
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="17"/>
12590 cbradney 2680
        <source>getFontSize([&quot;name&quot;]) -&gt; float
2681
 
2682
Returns the font size in points for the text frame &quot;name&quot;. If this text
2683
frame has some text selected the value assigned to the first character of
2684
the selection is returned.
2685
If &quot;name&quot; is not given the currently selected item is used.
2686
</source>
14474 cbradney 2687
        <translation type="unfinished">getFontSize([&quot;name&quot;]) -&gt; float
12590 cbradney 2688
 
2689
Gibt die Schriftgröße in Punkten für den Textrahmen &quot;name&quot; zurück. Wenn innerhalb
2690
des Rahmens Text markiert ist, wird die Schriftgröße des ersten Zeichens verwendet.
2691
Wenn &quot;name&quot; nicht vergeben ist, wird der selektierte Textrahmen verwendet.</translation>
2692
    </message>
2693
    <message>
14166 cbradney 2694
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="29"/>
12590 cbradney 2695
        <source>getFont([&quot;name&quot;]) -&gt; string
2696
 
2697
Returns the font name for the text frame &quot;name&quot;. If this text frame
2698
has some text selected the value assigned to the first character
2699
of the selection is returned. If &quot;name&quot; is not given the currently
2700
selected item is used.
2701
</source>
14474 cbradney 2702
        <translation type="unfinished">getFont([&quot;name&quot;]) -&gt; string
12590 cbradney 2703
 
2704
Gibt den Namen der Schrift für den Textrahmen &quot;name&quot; zurück. Ist in
2705
dem Textfeld Text ausgewählt, wird die Schrift des ersten gewählten
2706
Zeichens angegeben. Ist &quot;name&quot; nicht angegeben, wird das aktuelle Objekt
2707
verwendet.</translation>
2708
    </message>
2709
    <message>
14166 cbradney 2710
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="41"/>
12590 cbradney 2711
        <source>getTextLength([&quot;name&quot;]) -&gt; integer
2712
 
2713
Returns the length of the text in the text frame &quot;name&quot;.
2714
If &quot;name&quot; is not given the currently selected item is used.
2715
</source>
14474 cbradney 2716
        <translation type="unfinished">getTextLength([&quot;name&quot;]) -&gt; integer
12590 cbradney 2717
 
2718
Gibt die Länge des Textes im Textrahmen &quot;name&quot; zurück.
2719
Ist &quot;name&quot; nicht angegeben, wird das aktuelle Objekt verwendet.</translation>
2720
    </message>
2721
    <message>
14166 cbradney 2722
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="51"/>
12590 cbradney 2723
        <source>getTextLines([&quot;name&quot;]) -&gt; integer
2724
 
2725
Returns the number of lines of the text in the text frame &quot;name&quot;.
2726
If &quot;name&quot; is not given the currently selected item is used.
2727
</source>
14474 cbradney 2728
        <translation type="unfinished">getTextLines([&quot;name&quot;]) -&gt; integer
12590 cbradney 2729
 
2730
Returns the number of lines of the text in the text frame &quot;name&quot;.
2731
If &quot;name&quot; is not given the currently selected item is used.</translation>
2732
    </message>
2733
    <message>
14166 cbradney 2734
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="61"/>
12590 cbradney 2735
        <source>getText([&quot;name&quot;]) -&gt; string
2736
 
2737
Returns the text of the text frame &quot;name&quot;. If this text frame has some text
2738
selected, the selected text is returned. All text in the frame, not just
2739
currently visible text, is returned. If &quot;name&quot; is not given the currently
2740
selected item is used.
2741
</source>
14474 cbradney 2742
        <translation type="unfinished">getText([&quot;name&quot;]) -&gt; string
12590 cbradney 2743
 
2744
Gibt den Text aus dem Textrahmen &quot;name&quot; zurück. Ist in dem Textfeld Text markiert,
2745
wird der selektierte Text zurückgegeben. Der gesamte Text wird zurückgegeben, nicht
2746
nur der sichtbare Teil des Textes, Ist &quot;name&quot; nicht angegeben, wird das aktuelle
2747
Objekt verwendet.</translation>
2748
    </message>
2749
    <message>
14166 cbradney 2750
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="73"/>
12590 cbradney 2751
        <source>getAllText([&quot;name&quot;]) -&gt; string
2752
 
2753
Returns the text of the text frame &quot;name&quot; and of all text frames which are
2754
linked with this frame. If this textframe has some text selected, the selected
2755
text is returned. If &quot;name&quot; is not given the currently selected item is
2756
used.
2757
</source>
14474 cbradney 2758
        <translation type="unfinished">getAllText([&quot;name&quot;]) -&gt; string
12590 cbradney 2759
 
2760
Gibt den Text aus dem Textrahmen &quot;name&quot; zurück und aus allen Rahmen, die mit
2761
dem Rahmen &quot;name&quot; verbunden sind. Ist in dem Textfeld Text markiert,
2762
wird der selektierte Text zurückgegeben. Ist &quot;name&quot; nicht angegeben, wird das aktuelle
2763
Objekt verwendet.</translation>
2764
    </message>
2765
    <message>
14166 cbradney 2766
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="85"/>
12590 cbradney 2767
        <source>getLineSpacing([&quot;name&quot;]) -&gt; float
2768
 
2769
Returns the line spacing (&quot;leading&quot;) of the text frame &quot;name&quot; expressed in
2770
points. If &quot;name&quot; is not given the currently selected item is used.
2771
</source>
14474 cbradney 2772
        <translation type="unfinished">getLineSpacing([&quot;name&quot;]) -&gt; float
12590 cbradney 2773
 
2774
Gibt den Zeilenabstand für den Textrahmen &quot;name&quot; in Punkten zurück.
2775
Ist &quot;name&quot; nicht angegeben, wird das aktuelle Objekt verwendet.</translation>
2776
    </message>
2777
    <message>
14166 cbradney 2778
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="95"/>
12590 cbradney 2779
        <source>getTextDistances([&quot;name&quot;]) -&gt; tuple
2780
 
2781
Returns the text distances of the text frame &quot;name&quot; expressed in points. The
2782
distances are returned as a tuple like (left, right, top, bottom). If &quot;name&quot;
2783
is not given the currently selected item is used.
2784
</source>
14474 cbradney 2785
        <translation type="unfinished">getTextDistances([&quot;name&quot;]) -&gt; tupleReturns the text distances of the text frame &quot;name&quot; expressed in points. Thedistances are returned as a tuple like (left, right, top, bottom). If &quot;name&quot;is not given the currently selected item is used.</translation>
12590 cbradney 2786
    </message>
2787
    <message>
14166 cbradney 2788
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="106"/>
12590 cbradney 2789
        <source>getColumnGap([&quot;name&quot;]) -&gt; float
2790
 
2791
Returns the column gap size of the text frame &quot;name&quot; expressed in points. If
2792
&quot;name&quot; is not given the currently selected item is used.
2793
</source>
14474 cbradney 2794
        <translation type="unfinished">getColumnGap([&quot;name&quot;]) -&gt; float
12590 cbradney 2795
 
2796
Gibt den Zeilenabstand für den Text im Rahmen &quot;name&quot; in Punkten zurück. Ist
2797
&quot;name&quot; nicht angegeben, wird das aktuelle Objekt verwendet.</translation>
2798
    </message>
2799
    <message>
14166 cbradney 2800
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="116"/>
12590 cbradney 2801
        <source>getColumns([&quot;name&quot;]) -&gt; integer
2802
 
2803
Gets the number of columns of the text frame &quot;name&quot;. If &quot;name&quot; is not
2804
given the currently selected item is used.
2805
</source>
14474 cbradney 2806
        <translation type="unfinished">getColumns([&quot;name&quot;]) -&gt; integer
12590 cbradney 2807
 
2808
Gibt die Anzahl der Spalten im Textrahmen &quot;name&quot; zurück. Ist &quot;name&quot; nicht
2809
angegeben, wird das aktuelle Objekt verwendet.</translation>
2810
    </message>
2811
    <message>
14166 cbradney 2812
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="126"/>
12590 cbradney 2813
        <source>setText(&quot;text&quot;, [&quot;name&quot;])
2814
 
2815
Sets the text of the text frame &quot;name&quot; to the text of the string &quot;text&quot;.
2816
Text must be UTF8 encoded - use e.g. unicode(text, &apos;iso-8859-2&apos;). See the FAQ
2817
for more details. If &quot;name&quot; is not given the currently selected item is
2818
used.
2819
</source>
14474 cbradney 2820
        <translation type="unfinished">setText(&quot;text&quot;, [&quot;name&quot;])
12590 cbradney 2821
 
2822
Ändert den Text im Rahmen &quot;name&quot; auf den String &quot;text&quot;.
2823
Der Text muss URF8-kodiert sein - verwenden Sie z.B. unicode(text, &apos;iso-8859-2&apos;).
2824
Lesen Sie in der FAQ nach für weitere Informationen. Ist &quot;name&quot; nicht angegeben,
2825
wird der aktuelle Textrahmen verwendet.</translation>
2826
    </message>
2827
    <message>
14166 cbradney 2828
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="138"/>
12590 cbradney 2829
        <source>insertText(&quot;text&quot;, pos, [&quot;name&quot;])
2830
 
2831
Inserts the text &quot;text&quot; at the position &quot;pos&quot; into the text frame &quot;name&quot;.
2832
Text must be UTF encoded (see setText() as reference) The first character has an
2833
index of 0. Inserting text at position -1 appends it to the frame. If &quot;name&quot; is
2834
not given the currently selected Item is used.
2835
 
2836
May throw IndexError for an insertion out of bounds.
2837
</source>
14474 cbradney 2838
        <translation type="unfinished">nsertText(&quot;text&quot;, pos, [&quot;name&quot;])
12590 cbradney 2839
 
2840
Inserts the text &quot;text&quot; at the position &quot;pos&quot; into the text frame &quot;name&quot;.
2841
Text must be UTF encoded (see setText() as reference) The first character has an
2842
index of 0. Inserting text at position -1 appends it to the frame. If &quot;name&quot; is
2843
not given the currently selected Item is used.
2844
 
2845
May throw IndexError for an insertion out of bounds.</translation>
2846
    </message>
2847
    <message>
14166 cbradney 2848
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="152"/>
12590 cbradney 2849
        <source>setFont(&quot;font&quot;, [&quot;name&quot;])
2850
 
2851
Sets the font of the text frame &quot;name&quot; to &quot;font&quot;. If there is some text
2852
selected only the selected text is changed.  If &quot;name&quot; is not given the
2853
currently selected item is used.
2854
 
2855
May throw ValueError if the font cannot be found.
2856
</source>
14474 cbradney 2857
        <translation type="unfinished">setFont(&quot;font&quot;, [&quot;name&quot;])
12590 cbradney 2858
 
2859
Setzt die Schrift für den Rahmen &quot;name&quot; auf &quot;font&quot;. Ist Text ausgewählt,
2860
wird nur die Markierung verändert. Ist &quot;name&quot; nicht angegeben, wird der
2861
aktuelle Textrahmen verwendet.
2862
 
2863
Ist die Schrift ungültig, wird der Fehler ValueError ausgegeben.</translation>
2864
    </message>
2865
    <message>
14166 cbradney 2866
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="165"/>
12590 cbradney 2867
        <source>setFontSize(size, [&quot;name&quot;])
2868
 
2869
Sets the font size of the text frame &quot;name&quot; to &quot;size&quot;. &quot;size&quot; is treated
2870
as a value in points. If there is some text selected only the selected text is
2871
changed. &quot;size&quot; must be in the range 1 to 512. If &quot;name&quot; is not given the
2872
currently selected item is used.
2873
 
2874
May throw ValueError for a font size that&apos;s out of bounds.
2875
</source>
14474 cbradney 2876
        <translation type="unfinished">setFontSize(size, [&quot;name&quot;])
12590 cbradney 2877
 
2878
Setzt die Schriftgröße im Textrahmen &quot;name&quot; auf den Wert &quot;size&quot;. &quot;size&quot; ist
2879
ein Wert in Punkten zwischen 1 und 512. Ist eine Markierung vorhanden, wird
2880
nur die die Markiertung verändert. Ist &quot;name&quot; nicht angegeben, wird der aktuelle
2881
Textrahmen verwendet.
2882
 
2883
Ist die Schriftgröße ungültig, wird der Fehler ValueError ausgegeben.</translation>
2884
    </message>
2885
    <message>
14166 cbradney 2886
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="179"/>
12590 cbradney 2887
        <source>setLineSpacing(size, [&quot;name&quot;])
2888
 
2889
Sets the line spacing (&quot;leading&quot;) of the text frame &quot;name&quot; to &quot;size&quot;.
2890
&quot;size&quot; is a value in points. If &quot;name&quot; is not given the currently selected
2891
item is used.
2892
 
2893
May throw ValueError if the line spacing is out of bounds.
2894
</source>
14474 cbradney 2895
        <translation type="unfinished">setLineSpacing(size, [&quot;name&quot;])
12590 cbradney 2896
 
2897
Setzt den Zeilenabstand im Rahmen &quot;name&quot; auf den Wert &quot;size&quot;.
2898
&quot;size&quot; ist ein Wert in Punkten. Ist &quot;name&quot; nicht angegeben, wird der
2899
aktuelle Textrahmen verwendet.
2900
 
2901
Ist der Wert für Zeilenabstand ungültig, wird der Fehler ValueError
2902
ausgegeben.</translation>
2903
    </message>
2904
    <message>
14166 cbradney 2905
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="192"/>
14474 cbradney 2906
        <source>setLineSpacingMode(mode, [&quot;name&quot;])
2907
 
2908
Sets the line spacing mode of the text frame &quot;name&quot; to &quot;mode&quot;.
2909
If &quot;name&quot; is not given the currently selected
2910
item is used.
2911
Mode values are the same as in createParagraphStyle.
2912
 
2913
May throw ValueError if the mode is out of bounds.
2914
</source>
2915
        <translation type="unfinished"></translation>
2916
    </message>
2917
    <message>
2918
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="206"/>
12590 cbradney 2919
        <source>setTextDistances(left, right, top, bottom, [&quot;name&quot;])
2920
 
2921
Sets the text distances of the text frame &quot;name&quot; to the values &quot;left&quot;
2922
&quot;right&quot;, &quot;top&quot; and &quot;bottom&quot;. If &quot;name&quot; is not given the currently
2923
selected item is used.
2924
 
2925
May throw ValueError if any of the distances are out of bounds (must be positive).
2926
</source>
14474 cbradney 2927
        <translation type="unfinished">setTextDistances(left, right, top, bottom, [&quot;name&quot;])Sets the text distances of the text frame &quot;name&quot; to the values &quot;left&quot;&quot;right&quot;, &quot;top&quot; and &quot;bottom&quot;. If &quot;name&quot; is not given the currentlyselected item is used.May throw ValueError if any of the distances are out of bounds (must be positive).</translation>
12590 cbradney 2928
    </message>
2929
    <message>
14474 cbradney 2930
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="219"/>
12590 cbradney 2931
        <source>setColumnGap(size, [&quot;name&quot;])
2932
 
2933
Sets the column gap of the text frame &quot;name&quot; to the value &quot;size&quot;. If
2934
&quot;name&quot; is not given the currently selected item is used.
2935
 
2936
May throw ValueError if the column gap is out of bounds (must be positive).
2937
</source>
14474 cbradney 2938
        <translation type="unfinished">setColumnGap(size, [&quot;name&quot;])
12590 cbradney 2939
 
2940
Setzt den Spaltenabstand im Rahmen &quot;name&quot; auf den Wert &quot;size&quot;.
2941
Ist &quot;name&quot; nicht angegeben, wird der aktuelle Textrahmen verwendet.
2942
 
2943
Ist der Abstand nicht positiv, wird der Fehler ValueError ausgegeben.</translation>
2944
    </message>
2945
    <message>
14474 cbradney 2946
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="231"/>
12590 cbradney 2947
        <source>setColumns(nr, [&quot;name&quot;])
2948
 
2949
Sets the number of columns of the text frame &quot;name&quot; to the integer &quot;nr&quot;.
2950
If &quot;name&quot; is not given the currently selected item is used.
2951
 
2952
May throw ValueError if number of columns is not at least one.
2953
</source>
14474 cbradney 2954
        <translation type="unfinished">setColumns(nr, [&quot;name&quot;])
12590 cbradney 2955
 
2956
Legt die Anzahl der Spalten im Textrahmen &quot;name&quot; fest auf &quot;nr&quot; fest.
2957
Wenn &quot;name&quot; nicht angegeben ist, wird der aktuelle Textrahmen verwendet.
2958
 
2959
Ist die Anzahl der Spalten kleiner als 1, wird der Fehler ValueError ausgegeben.</translation>
2960
    </message>
2961
    <message>
14474 cbradney 2962
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="243"/>
12590 cbradney 2963
        <source>setTextAlignment(align, [&quot;name&quot;])
2964
 
2965
Sets the text alignment of the text frame &quot;name&quot; to the specified alignment.
2966
If &quot;name&quot; is not given the currently selected item is used. &quot;align&quot; should
2967
be one of the ALIGN_ constants defined in this module - see dir(scribus).
2968
 
2969
May throw ValueError for an invalid alignment constant.
2970
</source>
14474 cbradney 2971
        <translation type="unfinished">setTextAlignment(align, [&quot;name&quot;])
12590 cbradney 2972
 
2973
Richtet den Text in dem Objekt &quot;name&quot; nach der Art &quot;align&quot; aus. Ist &quot;name&quot;
2974
nicht angegeben, wird der aktuelle Textrahmen verwendet. &quot;align&quot; ist eine der
2975
ALIGN_*-Konstanten. Siehe dir(scribus).
2976
 
2977
Bei einem falschen Argument wird der Fehler ValueError ausgegeben.</translation>
2978
    </message>
2979
    <message>
14474 cbradney 2980
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="256"/>
12590 cbradney 2981
        <source>selectText(start, count, [&quot;name&quot;])
2982
 
2983
Selects &quot;count&quot; characters of text in the text frame &quot;name&quot; starting from the
2984
character &quot;start&quot;. Character counting starts at 0. If &quot;count&quot; is zero, any
2985
text selection will be cleared.  If &quot;name&quot; is not given the currently
2986
selected item is used.
2987
 
2988
May throw IndexError if the selection is outside the bounds of the text.
2989
</source>
14474 cbradney 2990
        <translation type="unfinished">selectText(start, count, [&quot;name&quot;])
12590 cbradney 2991
 
2992
Markiert &quot;count&quot; Zeichen des Textrahmens &quot;name&quot; beginnend mit dem Zeichen &quot;start&quot;.
2993
Die Zählung beginnt bei 0. Wenn &quot;count&quot;=0 ist, wird die Markierung gelöscht. Wenn &quot;name&quot;
2994
nicht angegeben ist, wird der aktuelle Textrahmen verwendet.
2995
 
2996
Wenn die Werte ungültig sind, wird der Fehler IndexError ausgegeben.</translation>
2997
    </message>
2998
    <message>
14474 cbradney 2999
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="270"/>
12590 cbradney 3000
        <source>deleteText([&quot;name&quot;])
3001
 
3002
Deletes any text in the text frame &quot;name&quot;. If there is some text selected,
3003
only the selected text will be deleted. If &quot;name&quot; is not given the currently
3004
selected item is used.
3005
</source>
14474 cbradney 3006
        <translation type="unfinished">deleteText([&quot;name&quot;])
12590 cbradney 3007
 
3008
Löscht den Textrahmen &quot;name&quot;. Wenn Text ausgewählt ist, wird nur die Markierung
3009
gelöscht. Ist &quot;name&quot; nicht angegeben, wird der aktuelle Textrahmen gelöscht.</translation>
3010
    </message>
3011
    <message>
14474 cbradney 3012
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="281"/>
12590 cbradney 3013
        <source>setTextColor(&quot;color&quot;, [&quot;name&quot;])
3014
 
3015
Sets the text color of the text frame &quot;name&quot; to the color &quot;color&quot;. If there
3016
is some text selected only the selected text is changed. If &quot;name&quot; is not
3017
given the currently selected item is used.
3018
</source>
14474 cbradney 3019
        <translation type="unfinished">setTextColor(&quot;color&quot;, [&quot;name&quot;])
12590 cbradney 3020
 
3021
Ändert die Farbe des Textes auf &quot;color&quot;. Wenn Text ausgewählt ist, wird die
3022
Markierung auf &quot;color&quot; geändert. Ist &quot;name&quot; nicht angegeben, wird der aktuelle
3023
Textrahmen verwendet.</translation>
3024
    </message>
3025
    <message>
14474 cbradney 3026
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="292"/>
12590 cbradney 3027
        <source>setTextStroke(&quot;color&quot;, [&quot;name&quot;])
3028
 
3029
Set &quot;color&quot; of the text stroke. If &quot;name&quot; is not given the currently
3030
selected item is used.
3031
</source>
14474 cbradney 3032
        <translation type="unfinished">setTextStroke(&quot;color&quot;, [&quot;name&quot;])
12590 cbradney 3033
 
3034
Setzt die Farbe &quot;color&quot; für die Umrandung des Textes. Ist &quot;name&quot; nicht angegeben, wird der aktuelle
3035
Textrahmen verwendet.</translation>
3036
    </message>
3037
    <message>
14474 cbradney 3038
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="322"/>
12590 cbradney 3039
        <source>setTextShade(shade, [&quot;name&quot;])
3040
 
3041
Sets the shading of the text color of the object &quot;name&quot; to &quot;shade&quot;. If
3042
there is some text selected only the selected text is changed. &quot;shade&quot; must
3043
be an integer value in the range from 0 (lightest) to 100 (full color
3044
intensity). If &quot;name&quot; is not given the currently selected item is
3045
used.
3046
</source>
14474 cbradney 3047
        <translation type="unfinished">setTextShade(shade, [&quot;name&quot;])
12590 cbradney 3048
 
3049
Setzt den Tonwert für den Textrahmen &quot;name&quot; auf &quot;shade&quot;.
3050
Ist Text in dem Rahmen ausgewählt, wird nur der ausgewählt Text
3051
verändert. &quot;shade&quot; muss eine ganze Zahl zwischen 0 und 100 sein.
3052
Ist &quot;name&quot; nicht vorhanden oder angegeben, wird der aktuelle Rahmen verwendet.</translation>
3053
    </message>
3054
    <message>
14474 cbradney 3055
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="335"/>
12590 cbradney 3056
        <source>linkTextFrames(&quot;fromname&quot;, &quot;toname&quot;)
3057
 
3058
Link two text frames. The frame named &quot;fromname&quot; is linked to the
3059
frame named &quot;toname&quot;. The target frame must be an empty text frame
3060
and must not link to or be linked from any other frames already.
3061
 
3062
May throw ScribusException if linking rules are violated.
3063
</source>
14474 cbradney 3064
        <translation type="unfinished">linkTextFrames(&quot;fromname&quot;, &quot;toname&quot;)
12590 cbradney 3065
 
3066
Zwei Textrahmen verketten. &quot;Fromname&quot; wird mit &quot;Toname&quot; verkettet. Der Zielrahmen
3067
muss leer sein und darf nicht mit anderen Rahmen verkettet sein.
3068
 
3069
Werden die Regeln verletzt, erscheint der Fehler ScribusException.</translation>
3070
    </message>
3071
    <message>
14474 cbradney 3072
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="352"/>
12590 cbradney 3073
        <source>unlinkTextFrames(&quot;name&quot;)
3074
 
3075
Remove the specified (named) object from the text frame flow/linkage. If the
3076
frame was in the middle of a chain, the previous and next frames will be
3077
connected, eg &apos;a-&gt;b-&gt;c&apos; becomes &apos;a-&gt;c&apos; when you unlinkTextFrames(b)&apos;
3078
 
3079
May throw ScribusException if linking rules are violated.
3080
</source>
14474 cbradney 3081
        <translation type="unfinished">unlinkTextFrames(&quot;name&quot;)
12590 cbradney 3082
 
3083
Entfernt den Textrahmen &quot;name&quot; aus der Reihe der verketteten Rahmen. Ist der
3084
zu entfernende Rahmen einer aus der Mitte der Reihe, wird der vorherige und nächste
3085
Rahmen miteinander verkettet, z.B. wird aus a-&gt;b-&gt;c dann a-&gt;c, wenn Sie Rahmen b
3086
entfernen.
3087
 
3088
Wenn die Verkettungsregeln gebrochen werden, erscheint der Fehler ScribusException.</translation>
3089
    </message>
3090
    <message>
14474 cbradney 3091
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="369"/>
12590 cbradney 3092
        <source>traceText([&quot;name&quot;])
3093
 
3094
Convert the text frame &quot;name&quot; to outlines. If &quot;name&quot; is not given the
3095
currently selected item is used.</source>
14474 cbradney 3096
        <translation type="unfinished">traceText([&quot;name&quot;])
12590 cbradney 3097
 
3098
Konvertiert den Textrahmen &quot;name&quot; in Umrisse. Ist &quot;name&quot; nicht vorhanden oder
3099
vorgegeben, wird der aktuelle Textrahmen verwendet.</translation>
3100
    </message>
3101
    <message>
14474 cbradney 3102
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="380"/>
12590 cbradney 3103
        <source>textOverflows([&quot;name&quot;, nolinks]) -&gt; integer
3104
 
3105
Returns the actual number of overflowing characters in text frame &quot;name&quot;.
3106
If is nolinks set to non zero value it takes only one frame - it doesn&apos;t
3107
use text frame linking. Without this parameter it search all linking chain.
3108
 
3109
May raise WrongFrameTypeError if the target frame is not an text frame
3110
</source>
14474 cbradney 3111
        <translation type="unfinished">isLayerPrintable(&quot;layer&quot;) -&gt; bool
12590 cbradney 3112
 
3113
Returns whether the layer &quot;layer&quot; is visible or not, a value of True means
3114
that the layer &quot;layer&quot; is visible, a value of False means that the layer
3115
&quot;layer&quot; is invisible.
3116
 
3117
May raise NotFoundError if the layer can&apos;t be found.
3118
May raise ValueError if the layer name isn&apos;t acceptable</translation>
3119
    </message>
3120
    <message>
14474 cbradney 3121
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="393"/>
12590 cbradney 3122
        <source>hyphenateText([&quot;name&quot;]) -&gt; bool
3123
 
3124
Does hyphenation on text frame &quot;name&quot;.
3125
If &quot;name&quot; is not given the currently selected item is used.
3126
 
3127
May raise WrongFrameTypeError if the target frame is not a text frame
3128
</source>
14474 cbradney 3129
        <translation type="unfinished">hyphenateText([&quot;name&quot;]) -&gt; bool
12590 cbradney 3130
 
3131
Does hyphenation on text frame &quot;name&quot;.
3132
If &quot;name&quot; is not given the currently selected item is used.
3133
 
3134
May raise WrongFrameTypeError if the target frame is not a text frame</translation>
3135
    </message>
3136
    <message>
14474 cbradney 3137
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="407"/>
12590 cbradney 3138
        <source>dehyphenateText([&quot;name&quot;]) -&gt; bool
3139
 
3140
Does dehyphenation on text frame &quot;name&quot;.
3141
If &quot;name&quot; is not given the currently selected item is used.
3142
 
3143
May raise WrongFrameTypeError if the target frame is not a text frame
3144
</source>
14474 cbradney 3145
        <translation type="unfinished">dehyphenateText([&quot;name&quot;]) -&gt; bool
12590 cbradney 3146
 
3147
Does dehyphenation on text frame &quot;name&quot;.
3148
If &quot;name&quot; is not given the currently selected item is used.
3149
 
3150
May raise WrongFrameTypeError if the target frame is not a text frame</translation>
3151
    </message>
3152
    <message>
14474 cbradney 3153
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="422"/>
12590 cbradney 3154
        <source>setPDFBookmark(&quot;toggle&quot;, [&quot;name&quot;])
3155
 
3156
Sets whether (toggle = 1) the text frame &quot;name&quot; is a bookmark nor not.
3157
If &quot;name&quot; is not given the currently selected item is used.
3158
 
3159
May raise WrongFrameTypeError if the target frame is not a text frame
3160
</source>
14474 cbradney 3161
        <translation type="unfinished">setPDFBookmark(&quot;toggle&quot;, [&quot;name&quot;])Sets whether (toggle = 1) the text frame &quot;name&quot; is a bookmark nor not.If &quot;name&quot; is not given the currently selected item is used.May raise WrongFrameTypeError if the target frame is not a text frame</translation>
12590 cbradney 3162
    </message>
3163
    <message>
14474 cbradney 3164
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="434"/>
12590 cbradney 3165
        <source>isPDFBookmark([&quot;name&quot;]) -&gt; bool
3166
 
3167
Returns true if the text frame &quot;name&quot; is a PDF bookmark.
3168
If &quot;name&quot; is not given the currently selected item is used.
3169
 
3170
May raise WrongFrameTypeError if the target frame is not a text frame
3171
</source>
14474 cbradney 3172
        <translation type="unfinished">isPDFBookmark([&quot;name&quot;]) -&gt; bool
12590 cbradney 3173
 
3174
Gibt zurück, ob der Textrahmen &quot;name&quot; ein PDF-Lesezeichen ist.
3175
Ist &quot;name&quot; nicht angegeben, wird der aktuelle Textrahmen verwendet.
3176
 
3177
Der Fehler WrongFrameTypeError tritt auf, wenn der Zielrahmen kein Textrahmen ist</translation>
3178
    </message>
3179
    <message>
14166 cbradney 3180
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="17"/>
12590 cbradney 3181
        <source>messagebarText(&quot;string&quot;)
3182
 
3183
Writes the &quot;string&quot; into the Scribus message bar (status line). The text
3184
must be UTF8 encoded or &apos;unicode&apos; string(recommended).
3185
</source>
14474 cbradney 3186
        <translation type="unfinished">messagebarText(&quot;string&quot;)
12590 cbradney 3187
 
3188
Schreibt &quot;string&quot; in die Statuszeile von Scribus. Der Text muss
3189
UTF8-kodiert oder ein &apos;unicode&apos;-String sein (empfohlen).</translation>
3190
    </message>
3191
    <message>
14166 cbradney 3192
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="30"/>
12590 cbradney 3193
        <source>progressReset()
3194
 
3195
Cleans up the Scribus progress bar previous settings. It is called before the
3196
new progress bar use. See progressSet.
3197
</source>
14474 cbradney 3198
        <translation type="unfinished">progressReset()
12590 cbradney 3199
 
3200
Löscht die Fortschrittsanzeige. Wird aufgerufen, bevor eine neue Verlaufsanzeige benutzt wird.
3201
Siehe progressSet.</translation>
3202
    </message>
3203
    <message>
14166 cbradney 3204
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="43"/>
12590 cbradney 3205
        <source>progressTotal(max)
3206
 
3207
Sets the progress bar&apos;s maximum steps value to the specified number.
3208
See progressSet.
3209
</source>
14474 cbradney 3210
        <translation type="unfinished">progressTotal(max)
12590 cbradney 3211
 
3212
Setzt die Gesamtzahl der Schritte für die Fortschrittsanzeige. Siehe progressSet.</translation>
3213
    </message>
3214
    <message>
14166 cbradney 3215
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="52"/>
12590 cbradney 3216
        <source>progressSet(nr)
3217
 
3218
Set the progress bar position to &quot;nr&quot;, a value relative to the previously set
3219
progressTotal. The progress bar uses the concept of steps; you give it the
3220
total number of steps and the number of steps completed so far and it will
3221
display the percentage of steps that have been completed. You can specify the
3222
total number of steps with progressTotal(). The current number of steps is set
3223
with progressSet(). The progress bar can be rewound to the beginning with
3224
progressReset(). [based on info taken from Trolltech&apos;s Qt docs]
3225
</source>
14474 cbradney 3226
        <translation type="unfinished">progressSet(nr)
12590 cbradney 3227
 
3228
Die Fortschrittsanzeigen auf &quot;nr&quot; setzen, ein Wert relativ zum vorher festgelegten Wert
3229
für progressTotal. Die Fortschrittsanzeige verwendet Schritte zum Anzeigen des Verlaufs:
3230
Sie geben die Gesamtzahl der Schritte an und dann immer die fertigen Schritte - die Verlaufs-
3231
anzeige zeigt immer den Prozentsatz der fertigen Schritte an. Die Gesamtzahl der Schritte können
3232
Sie mit progressTotal() festlegen, die aktuelle Zahl der Schritte mit progressSet().
3233
Die Fortschrittsanzeige kann mit progressReset() zurückgesetzt werden. [Infos sind aus den
3234
Dokumenten von Trolltech Qt]</translation>
3235
    </message>
3236
    <message>
14166 cbradney 3237
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="66"/>
12590 cbradney 3238
        <source>setCursor()
3239
 
3240
[UNSUPPORTED!] This might break things, so steer clear for now.
3241
</source>
14474 cbradney 3242
        <translation type="unfinished">setCursor()
12590 cbradney 3243
 
3244
[nicht unterstützt!] Bitte verwenden Sie diese Funktion zur Zeit noch nicht.</translation>
3245
    </message>
3246
    <message>
14166 cbradney 3247
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="78"/>
12590 cbradney 3248
        <source>docChanged(bool)
3249
 
3250
Enable/disable save icon in the Scribus icon bar and the Save menu item. It&apos;s
3251
useful to call this procedure when you&apos;re changing the document, because Scribus
3252
won&apos;t automatically notice when you change the document using a script.
3253
</source>
14474 cbradney 3254
        <translation type="unfinished">docChanged(bool)
12590 cbradney 3255
 
3256
Aktiviert/Deaktivert das Icon zum Speichern und den entsprechenden Eintrag im Datei-Menü.
3257
Wenn Sie ein Dokument verändert ist es hilfreich, diese Funktion aufzurufen, weil Scribus im Script-
3258
Modus nicht automatisch erkennt, wann ein Dokument verändert wurde.</translation>
3259
    </message>
3260
    <message>
14166 cbradney 3261
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="91"/>
12590 cbradney 3262
        <source>zoomDocument(double)
3263
 
3264
Zoom the document in main GUI window. Actions have whole number
3265
values like 20.0, 100.0, etc. Zoom to Fit uses -100 as a marker.
3266
</source>
14474 cbradney 3267
        <translation type="unfinished">zoomDocument(double)(new line)
12590 cbradney 3268
(new line)
3269
Zoom the document in main GUI window. Actions have whole number(new line)
3270
values like 20.0, 100.0, etc. Zoom to Fit uses -100 as a marker.</translation>
3271
    </message>
3272
    <message>
14166 cbradney 3273
        <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="103"/>
12590 cbradney 3274
        <source>scrollDocument(x,y)
3275
 
3276
Scroll the document in main GUI window by x and y.
3277
</source>
14474 cbradney 3278
        <translation type="unfinished">scrollDocument(x,y)
12590 cbradney 3279
 
3280
Scroll the document in main GUI window by x and y.
3281
</translation>
3282
    </message>
3283
    <message>
14166 cbradney 3284
        <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="15"/>
15099 cbradney 3285
        <source>placeVectorFile(&quot;filename&quot;, x, y)
3286
 
3287
Places the Vectorgrapics &quot;filename&quot; onto the current page,
3288
x and y specify the coordinate of the topleft corner of the graphic placed on the page
3289
 
3290
If loading was successful, the selection contains the imported grapic
3291
</source>
3292
        <translation type="unfinished"></translation>
3293
    </message>
3294
    <message>
3295
        <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="27"/>
12590 cbradney 3296
        <source>placeSVG(&quot;filename&quot;, x, y)
3297
 
3298
Places the SVG &quot;filename&quot; onto the current page,
3299
x and y specify the coordinate of the topleft corner of the SVG placed on the page
3300
 
3301
If loading was successful, the selection contains the imported SVG
3302
</source>
14474 cbradney 3303
        <translation type="unfinished">placeSVG(&quot;filename&quot;, x, y)
12590 cbradney 3304
Places the SVG &quot;filename&quot; onto the current page,
3305
x and y specify the coordinate of the topleft corner of the SVG placed on the page
3306
If loading was successful, the selection contains the imported SVG</translation>
3307
    </message>
3308
    <message>
15099 cbradney 3309
        <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="39"/>
12590 cbradney 3310
        <source>placeEPS(&quot;filename&quot;, x, y)
3311
 
3312
Places the EPS &quot;filename&quot; onto the current page,
3313
x and y specify the coordinate of the topleft corner of the EPS placed on the page
3314
 
3315
If loading was successful, the selection contains the imported EPS
3316
</source>
14474 cbradney 3317
        <translation type="unfinished">placeEPS(&quot;filename&quot;, x, y)
12590 cbradney 3318
Places the EPS &quot;filename&quot; onto the current page,
3319
x and y specify the coordinate of the topleft corner of the EPS placed on the page
3320
If loading was successful, the selection contains the imported EPS</translation>
3321
    </message>
3322
    <message>
15099 cbradney 3323
        <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="51"/>
12590 cbradney 3324
        <source>placeSXD(&quot;filename&quot;, x, y)
3325
 
3326
Places the SXD &quot;filename&quot; onto the current page,
3327
x and y specify the coordinate of the topleft corner of the SXD placed on the page
3328
 
3329
If loading was successful, the selection contains the imported SXD
3330
</source>
14474 cbradney 3331
        <translation type="unfinished">placeSXD(&quot;filename&quot;, x, y)
12590 cbradney 3332
Places the SXD &quot;filename&quot; onto the current page,
3333
x and y specify the coordinate of the topleft corner of the SXD placed on the page
3334
If loading was successful, the selection contains the imported SXD</translation>
3335
    </message>
3336
    <message>
15099 cbradney 3337
        <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="63"/>
12590 cbradney 3338
        <source>placeODG(&quot;filename&quot;, x, y)
3339
 
3340
Places the ODG &quot;filename&quot; onto the current page,
3341
x and y specify the coordinate of the topleft corner of the ODG placed on the page
3342
 
3343
If loading was successful, the selection contains the imported ODG
3344
</source>
14474 cbradney 3345
        <translation type="unfinished">placeODG(&quot;filename&quot;, x, y)
12590 cbradney 3346
Places the ODG &quot;filename&quot; onto the current page,
3347
x and y specify the coordinate of the topleft corner of the ODG placed on the page
3348
If loading was successful, the selection contains the imported ODG</translation>
3349
    </message>
13279 cbradney 3350
    <message>
15099 cbradney 3351
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="169"/>
13279 cbradney 3352
        <source>isSpotColor(&quot;name&quot;) -&gt; bool
3353
 
3354
Returns True if the color &quot;name&quot; is a spot color.
3355
See also setSpotColor()
3356
 
3357
May raise NotFoundError if a named color wasn&apos;t found.
3358
May raise ValueError if an invalid color name is specified.
3359
</source>
14474 cbradney 3360
        <translation type="unfinished">isSpotColor(&quot;name&quot;) -&gt; boolReturns True if the color &quot;name&quot; is a spot color.See also setSpotColor()May raise NotFoundError if a named color wasn&apos;t found.May raise ValueError if an invalid color name is specified.</translation>
13279 cbradney 3361
    </message>
3362
    <message>
15099 cbradney 3363
        <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="184"/>
13279 cbradney 3364
        <source>setSpotColor(&quot;name&quot;, spot)
3365
 
3366
Set the color &quot;name&quot; as a spot color if spot parameter is True.
3367
See also isSpotColor()
3368
 
3369
May raise NotFoundError if a named color wasn&apos;t found.
3370
May raise ValueError if an invalid color name is specified.
3371
</source>
14474 cbradney 3372
        <translation type="unfinished">setSpotColor(&quot;name&quot;, spot)Set the color &quot;name&quot; as a spot color if spot parameter is True.See also isSpotColor()May raise NotFoundError if a named color wasn&apos;t found.May raise ValueError if an invalid color name is specified.</translation>
13279 cbradney 3373
    </message>
3374
    <message>
14166 cbradney 3375
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="159"/>
13279 cbradney 3376
        <source>scaleImage(x, y [, &quot;name&quot;])
3377
 
3378
Sets the internal scaling factors of the picture in the image frame &quot;name&quot;.
3379
If &quot;name&quot; is not given the currently selected item is used. A number of 1
3380
means 100 %. Internal scaling factors are different from the values shown on
3381
properties palette. Note : deprecated, use setImageScale() instead.
3382
 
3383
May raise WrongFrameTypeError if the target frame is not an image frame
3384
</source>
14474 cbradney 3385
        <translation type="unfinished">scaleImage(x, y [, &quot;name&quot;])Sets the internal scaling factors of the picture in the image frame &quot;name&quot;.If &quot;name&quot; is not given the currently selected item is used. A number of 1means 100 %. Internal scaling factors are different from the values shown on properties palette. Note : deprecated, use setImageScale() instead.May raise WrongFrameTypeError if the target frame is not an image frame</translation>
13279 cbradney 3386
    </message>
3387
    <message>
14166 cbradney 3388
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="173"/>
15099 cbradney 3389
        <source>setImageOffset(x, y [, &quot;name&quot;])
3390
 
3391
Sets the position of the picture in the image frame &quot;name&quot;.
3392
If &quot;name&quot; is not given the currently selected item is used.
3393
The specified offset values are equal to the values shown on
3394
properties palette when point unit is used.
3395
 
3396
May raise WrongFrameTypeError if the target frame is not an image frame
3397
</source>
3398
        <translation type="unfinished"></translation>
3399
    </message>
3400
    <message>
3401
        <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="187"/>
13279 cbradney 3402
        <source>setImageScale(x, y [, &quot;name&quot;])
3403
 
3404
Sets the scaling factors of the picture in the image frame &quot;name&quot;.
3405
If &quot;name&quot; is not given the currently selected item is used. A number of 1
3406
means 100 %. Scaling factors are equal to the values shown on properties palette.
3407
 
3408
May raise WrongFrameTypeError if the target frame is not an image frame
3409
</source>
14474 cbradney 3410
        <translation type="unfinished">setImageScale(x, y [, &quot;name&quot;])Sets the scaling factors of the picture in the image frame &quot;name&quot;.If &quot;name&quot; is not given the currently selected item is used. A number of 1means 100 %. Scaling factors are equal to the values shown on properties palette.May raise WrongFrameTypeError if the target frame is not an image frame</translation>
13279 cbradney 3411
    </message>
3412
    <message>
14166 cbradney 3413
        <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="28"/>
13279 cbradney 3414
        <source>setGradientStop(&quot;color&quot;, shade, opacity, ramppoint, [&quot;name&quot;])
3415
 
3416
Set or add a gradient stop to the gradient fill of the object &quot;name&quot; at position ramppoint.
3417
Color descriptions are the same as for setFillColor() and setFillShade(). setGradientFill()
3418
must have been called previously for the gradient fill to be visible.
3419
</source>
14474 cbradney 3420
        <translation type="unfinished">setGradientStop(&quot;color&quot;, shade, opacity, ramppoint, [&quot;name&quot;])Set or add a gradient stop to the gradient fill of the object &quot;name&quot; at position ramppoint.Color descriptions are the same as for setFillColor() and setFillShade(). setGradientFill()must have been called previously for the gradient fill to be visible.</translation>
13279 cbradney 3421
    </message>
3422
    <message>
14474 cbradney 3423
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="302"/>
13279 cbradney 3424
        <source>setTextScalingV(scale, [&quot;name&quot;])
3425
 
3426
Sets the vertical character scaling of the object &quot;name&quot; to &quot;scale&quot; in percent.
3427
If &quot;name&quot; is not given the currently selected item is used.
3428
</source>
14474 cbradney 3429
        <translation type="unfinished">setTextScalingV(scale, [&quot;name&quot;])Sets the vertical character scaling of the object &quot;name&quot; to &quot;scale&quot; in percent.If &quot;name&quot; is not given the currently selected item is used.</translation>
13279 cbradney 3430
    </message>
3431
    <message>
14474 cbradney 3432
        <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="312"/>
13279 cbradney 3433
        <source>setTextScalingH(scale, [&quot;name&quot;])
3434
 
3435
Sets the horizontal character scaling of the object &quot;name&quot; to &quot;scale&quot; in percent.
3436
If &quot;name&quot; is not given the currently selected item is used.
3437
</source>
14474 cbradney 3438
        <translation type="unfinished">setTextScalingH(scale, [&quot;name&quot;])Sets the horizontal character scaling of the object &quot;name&quot; to &quot;scale&quot; in percent.If &quot;name&quot; is not given the currently selected item is used.</translation>
13279 cbradney 3439
    </message>
12590 cbradney 3440
</context>
3441
<context>
12281 cbradney 3442
    <name>@default</name>
1135 cbradney 3443
    <message>
3444
        <source>getColorNames() -&gt; list
3445
 
3446
Returns a list containing the names of all defined colors in the document.
3447
If no document is open, returns a list of the default document colors.
3448
</source>
12918 cbradney 3449
        <translation type="obsolete">getColorNames() -&gt; list
1135 cbradney 3450
 
3451
Gibt eine Liste zurück, die alle vorhandenen Farben des aktuellen Dokuments enthält.
3452
Wenn kein Dokument geöffnet ist, werden die Standardfarben zurückgegeben.</translation>
3453
    </message>
3454
    <message>
12918 cbradney 3455
        <source>getColor(&quot;name&quot;) -&gt; tuple
1135 cbradney 3456
 
12918 cbradney 3457
Returns a tuple (C, M, Y, K) containing the four color components of the
3458
color &quot;name&quot; from the current document. If no document is open, returns
3459
the value of the named color from the default document colors.
3460
 
3461
May raise NotFoundError if the named color wasn&apos;t found.
3462
May raise ValueError if an invalid color name is specified.
1135 cbradney 3463
</source>
12918 cbradney 3464
        <translation type="obsolete">getColor(&quot;name&quot;) -&gt; tuple
1135 cbradney 3465
 
12918 cbradney 3466
Gibt eine Liste mit den vier Farbkomponenten der Farbe &quot;name&quot; im aktuellen
3467
Dokument wieder. Wenn kein Dokument geöffnet ist, werden die Werte der
3468
angegebenen Standardfarbe zurückgegeben.
3469
 
3470
Wenn die Farbe nicht gefunden wird, tritt der Fehler NotFoundError auf.
3471
Wenn der Name der Farbe ungültig ist, tritt der Fehler ValueError auf.</translation>
1135 cbradney 3472
    </message>
3473
    <message>
12918 cbradney 3474
        <source>getColorAsRGB(&quot;name&quot;) -&gt; tuple
1135 cbradney 3475
 
12918 cbradney 3476
Returns a tuple (R,G,B) containing the three color components of the
3477
color &quot;name&quot; from the current document, converted to the RGB color
3478
space. If no document is open, returns the value of the named color
3479
from the default document colors.
3480
 
3481
May raise NotFoundError if the named color wasn&apos;t found.
3482
May raise ValueError if an invalid color name is specified.
1135 cbradney 3483
</source>
12918 cbradney 3484
        <translation type="obsolete">getColorAsRGB(&quot;name&quot;) -&gt; tuple
1135 cbradney 3485
 
12918 cbradney 3486
Returns a tuple (R,G,B) containing the three color components of the
3487
color &quot;name&quot; from the current document, converted to the RGB color
3488
space. If no document is open, returns the value of the named color
3489
from the default document colors.
3490
 
3491
May raise NotFoundError if the named color wasn&apos;t found.
3492
May raise ValueError if an invalid color name is specified.</translation>
1135 cbradney 3493
    </message>
3494
    <message>
12918 cbradney 3495
        <source>changeColor(&quot;name&quot;, c, m, y, k)
1135 cbradney 3496
 
12918 cbradney 3497
Changes the color &quot;name&quot; to the specified CMYK value. The color value is
3498
defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black.
3499
Color components should be in the range from 0 to 255.
3500
 
3501
May raise NotFoundError if the named color wasn&apos;t found.
3502
May raise ValueError if an invalid color name is specified.
1135 cbradney 3503
</source>
12918 cbradney 3504
        <translation type="obsolete">changeColor(&quot;name&quot;, c, m, y, k)
1135 cbradney 3505
 
12918 cbradney 3506
Ändert die Farbe &quot;name&quot; auf die angegeben CMYK-Werte. Die Abkürzungen
3507
stehen für die vier Farben c=Cyan, m=Magenta, y=Yellow, b=Black.
3508
Die Werte müssen zwischen 0 und 255 liegen.
3509
 
3510
Wenn die Farbe nicht gefunden wird, tritt der Fehler NotFoundError auf.
3511
Wenn ein ungültiger Farbname angegeben wird, tritt der Fehler ValueError auf.</translation>
1135 cbradney 3512
    </message>
3513
    <message>
12918 cbradney 3514
        <source>defineColor(&quot;name&quot;, c, m, y, k)
1135 cbradney 3515
 
12918 cbradney 3516
Defines a new color &quot;name&quot;. The color Value is defined via four components:
3517
c = Cyan, m = Magenta, y = Yellow and k = Black. Color components should be in
3518
the range from 0 to 255.
3519
 
3520
May raise ValueError if an invalid color name is specified.
1135 cbradney 3521
</source>
12918 cbradney 3522
        <translation type="obsolete">defineColor(&quot;name&quot;, c, m, y, k)
1135 cbradney 3523
 
12918 cbradney 3524
Defines a new color &quot;name&quot;. The color Value is defined via four components:
3525
c = Cyan, m = Magenta, y = Yellow and k = Black. Color components should be in
3526
the range from 0 to 255.
3527
 
3528
May raise ValueError if an invalid color name is specified.</translation>
1135 cbradney 3529
    </message>
3530
    <message>
12918 cbradney 3531
        <source>deleteColor(&quot;name&quot;, &quot;replace&quot;)
1135 cbradney 3532
 
12918 cbradney 3533
Deletes the color &quot;name&quot;. Every occurence of that color is replaced by the
3534
color &quot;replace&quot;. If not specified, &quot;replace&quot; defaults to the color
3535
&quot;None&quot; - transparent.
1135 cbradney 3536
 
12918 cbradney 3537
deleteColor works on the default document colors if there is no document open.
3538
In that case, &quot;replace&quot;, if specified, has no effect.
3539
 
3540
May raise NotFoundError if a named color wasn&apos;t found.
3541
May raise ValueError if an invalid color name is specified.
1135 cbradney 3542
</source>
12918 cbradney 3543
        <translation type="obsolete">deleteColor(&quot;name&quot;, &quot;replace&quot;)
1135 cbradney 3544
 
12918 cbradney 3545
Löscht die Farbe &quot;name&quot;. An allen Stellen, wo &quot;name&quot; im Dokument auftritt,
3546
wird sie durch &quot;replace&quot; ersetzt. Standardmäßig ist &quot;replace&quot; gar keine Farbe -
3547
Transparenz.
1135 cbradney 3548
 
12918 cbradney 3549
Sie können deleteColor auch verwenden, wenn kein Dokument geöffnet ist, dann
3550
bleibt die Angabe von &quot;replace&quot; aber ohne Auswirkung.
3551
 
3552
Wenn die angegebene Farbe nicht gefunden wird, tritt der Fehler NotFoundError auf.
3553
Wenn der Farbname ungültig ist, tritt der Fehler ValueError auf.</translation>
1135 cbradney 3554
    </message>
3555
    <message>
12918 cbradney 3556
        <source>replaceColor(&quot;name&quot;, &quot;replace&quot;)
1135 cbradney 3557
 
12918 cbradney 3558
Every occurence of the color &quot;name&quot; is replaced by the color &quot;replace&quot;.
3559
 
3560
May raise NotFoundError if a named color wasn&apos;t found.
3561
May raise ValueError if an invalid color name is specified.
1135 cbradney 3562
</source>
12918 cbradney 3563
        <translation type="obsolete">replaceColor(&quot;name&quot;, &quot;replace&quot;)
1135 cbradney 3564
 
12918 cbradney 3565
An allen Stellen, wo die Farbe &quot;name&quot; vorkommt, wird sie duch die Farbe
3566
&quot;replace&quot; ersetzt.
3567
 
3568
Wenn eine der Farben nicht vorhanden ist, tritt der Fehler NotFoundError auf.
3569
Wenn der Name der Farbe ungültig ist, tritt der Fehler ValueError auf.</translation>
1135 cbradney 3570
    </message>
3571
    <message>
12918 cbradney 3572
        <source>newDocDialog() -&gt; bool
1135 cbradney 3573
 
12918 cbradney 3574
Displays the &quot;New Document&quot; dialog box. Creates a new document if the user
3575
accepts the settings. Does not create a document if the user presses cancel.
3576
Returns true if a new document was created.
1135 cbradney 3577
</source>
12918 cbradney 3578
        <translation type="obsolete">newDocDialog() -&gt; bool
1135 cbradney 3579
 
12918 cbradney 3580
Zeigt den Dialog \&quot;Neues Dokument\&quot; an. Damit können Sie ein neues Dokument erstellen, wenn der Benutzer die standardmäßigen Einstellung aktzeptiert. Erzeugt kein neues Dokument, wenn der Benutzer auf \&quot;Abbrechen\&quot; klickt.
3581
Gibt den Wert \&quot;true\&quot; zurück, wenn ein neues Dokument erstellt wurde.</translation>
1135 cbradney 3582
    </message>
3583
    <message>
12918 cbradney 3584
        <source>fileDialog(&quot;caption&quot;, [&quot;filter&quot;, &quot;defaultname&quot;, haspreview, issave, isdir]) -&gt; string with filename
1135 cbradney 3585
 
12918 cbradney 3586
Shows a File Open dialog box with the caption &quot;caption&quot;. Files are filtered
3587
with the filter string &quot;filter&quot;. A default filename or file path can also
3588
supplied, leave this string empty when you don&apos;t want to use it.  A value of
3589
True for haspreview enables a small preview widget in the FileSelect box.  When
3590
the issave parameter is set to True the dialog acts like a &quot;Save As&quot; dialog
3591
otherwise it acts like a &quot;File Open Dialog&quot;. When the isdir parameter is True
3592
the dialog shows and returns only directories. The default for all of the
3593
optional parameters is False.
3594
 
3595
The filter, if specified, takes the form &apos;comment (*.type *.type2 ...)&apos;.
3596
For example &apos;Images (*.png *.xpm *.jpg)&apos;.
3597
 
3598
Refer to the Qt-Documentation for QFileDialog for details on filters.
3599
 
3600
Example: fileDialog(&apos;Open input&apos;, &apos;CSV files (*.csv)&apos;)
3601
Example: fileDialog(&apos;Save report&apos;, defaultname=&apos;report.txt&apos;, issave=True)
1135 cbradney 3602
</source>
12918 cbradney 3603
        <translation type="obsolete">fileDialog(&quot;caption&quot;, [&quot;filter&quot;, &quot;defaultname&quot;, haspreview, issave, isdir]) -&gt; string with filenameShows a File Open dialog box with the caption &quot;caption&quot;. Files are filteredwith the filter string &quot;filter&quot;. A default filename or file path can alsosupplied, leave this string empty when you don&apos;t want to use it.  A value ofTrue for haspreview enables a small preview widget in the FileSelect box.  Whenthe issave parameter is set to True the dialog acts like a &quot;Save As&quot; dialogotherwise it acts like a &quot;File Open Dialog&quot;. When the isdir parameter is Truethe dialog shows and returns only directories. The default for all of theoptional parameters is False.The filter, if specified, takes the form &apos;comment (*.type *.type2 ...)&apos;.For example &apos;Images (*.png *.xpm *.jpg)&apos;.Refer to the Qt-Documentation for QFileDialog for details on filters.Example: fileDialog(&apos;Open input&apos;, &apos;CSV files (*.csv)&apos;)Example: fileDialog(&apos;Save report&apos;, defaultname=&apos;report.txt&apos;, issave=True)</translation>
3604
    </message>
3605
    <message>
3606
        <source>messageBox(&quot;caption&quot;, &quot;message&quot;,
3607
    icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT,
3608
    button2=BUTTON_NONE, button3=BUTTON_NONE) -&gt; integer
1135 cbradney 3609
 
12918 cbradney 3610
Displays a message box with the title &quot;caption&quot;, the message &quot;message&quot;, and
3611
an icon &quot;icon&quot; and up to 3 buttons. By default no icon is used and a single
3612
button, OK, is displayed. Only the caption and message arguments are required,
3613
though setting an icon and appropriate button(s) is strongly
3614
recommended. The message text may contain simple HTML-like markup.
3615
 
3616
Returns the number of the button the user pressed. Button numbers start
3617
at 1.
3618
 
3619
For the icon and the button parameters there are predefined constants available
3620
with the same names as in the Qt Documentation. These are the BUTTON_* and
3621
ICON_* constants defined in the module. There are also two extra constants that
3622
can be binary-ORed with button constants:
3623
    BUTTONOPT_DEFAULT   Pressing enter presses this button.
3624
    BUTTONOPT_ESCAPE    Pressing escape presses this button.
3625
 
3626
Usage examples:
3627
result = messageBox(&apos;Script failed&apos;,
3628
                    &apos;This script only works when you have a text frame selected.&apos;,
3629
                    ICON_ERROR)
3630
result = messageBox(&apos;Monkeys!&apos;, &apos;Something went ook! &lt;i&gt;Was it a monkey?&lt;/i&gt;&apos;,
3631
                    ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT,
3632
                    BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE)
3633
 
3634
Defined button and icon constants:
3635
BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO,
3636
BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL,
3637
ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL.
3638
</source>
3639
        <translation type="obsolete">messageBox(&quot;caption&quot;, &quot;message&quot;,icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT,
3640
button2=BUTTON_NONE, button3=BUTTON_NONE) -&gt; integer
3641
Zeigt einen Dialog mit dem Titel &quot;caption&quot;, der Botschaft &quot;message&quot; und dem Symbol &quot;icon&quot; sowie
3642
bis zu 3 Buttons an. Standard ist kein Symbol und ein OK-Button. Nur Titel und Botschaft sind
3643
erforderliche Felder, aber Symbol und Buttons werden empfohlen.
3644
Der Text der Botschaft kann auch einfachen HTML-Code enthalten.
3645
Gibt die Nummer des Buttons wieder, der gedrückt wurde, beginnend mit 1.
3646
Für Buttons und Symbole gibt es vordefinierte Konstanten, die gleichen wie in
3647
der Qt-Dokumentation.
3648
Die sind im Modul definiert und heißen BUTTON_* und ICON_* . Es gibt auch zwei
3649
spezielle Konstanten, die auch den Wert 0 annehmen können: BUTTONOPT_DEFAULT aktiviert den
3650
jeweiligen Button per Druck auf Enter.
3651
BUTTONOPT_ESCAPE drückt die Escape-Taste falls dieser Button gedrückt wird.
3652
Beispiel
3653
result = messageBox(&apos;Script failed&apos;,&apos;This script only works when you have a text frame selected.&apos;,
3654
ICON_ERROR)
3655
result = messageBox(&apos;Monkeys!&apos;, &apos;Something went ook! &lt;i&gt;Was it a monkey?&lt;/i&gt;&apos;,ICON_WARNING,
3656
BUTTON_YES|BUTTONOPT_DEFAULT, BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE)
3657
Konstanten für Buttons und Symbole:
3658
BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO,
3659
BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL,
3660
ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL.</translation>
1135 cbradney 3661
    </message>
1525 cbradney 3662
    <message>
12918 cbradney 3663
        <source>valueDialog(caption, message [,defaultvalue]) -&gt; string
2576 cbradney 3664
 
12918 cbradney 3665
Shows the common &apos;Ask for string&apos; dialog and returns its value as a string
3666
Parameters: window title, text in the window and optional &apos;default&apos; value.
2576 cbradney 3667
 
12918 cbradney 3668
Example: valueDialog(&apos;title&apos;, &apos;text in the window&apos;, &apos;optional&apos;)
2576 cbradney 3669
</source>
12918 cbradney 3670
        <translation type="obsolete">valueDialog(caption, message [,defaultvalue]) -&gt; string
3426 cbradney 3671
 
12918 cbradney 3672
Zeigt einen Dialog an, der einen String verlangt und zurückgibt.
3673
Parameter: Fenstertitel, Text im Fenster und optionaler &apos;default&apos;-Text.
3674
 
3675
Beispiel: valueDialog(&apos;TItel&apos;, &apos;Text im Fenster&apos;, &apos;optional&apos;)</translation>
2576 cbradney 3676
    </message>
2952 cbradney 3677
    <message>
12918 cbradney 3678
        <source>newStyleDialog() -&gt; string
2952 cbradney 3679
 
12918 cbradney 3680
Shows &apos;Create new paragraph style&apos; dialog. Function returns real
3681
style name or None when user cancels the dialog.
2952 cbradney 3682
</source>
12918 cbradney 3683
        <translation type="obsolete">isLayerPrintable(&quot;layer&quot;) -&gt; bool
3684
 
3685
Returns whether the layer &quot;layer&quot; is visible or not, a value of True means
3686
that the layer &quot;layer&quot; is visible, a value of False means that the layer
3687
&quot;layer&quot; is invisible.
3688
 
3689
May raise NotFoundError if the layer can&apos;t be found.
3690
May raise ValueError if the layer name isn&apos;t acceptable.</translation>
2952 cbradney 3691
    </message>
3824 cbradney 3692
    <message>
3693
        <source>newDocument(size, margins, orientation, firstPageNumber,
7561 mrdocs 3694
                        unit, pagesType, firstPageOrder, numPages) -&gt; bool
6530 cbradney 3695
 
3696
Creates a new document and returns true if successful. The parameters have the
3697
following meaning:
3698
 
3699
size = A tuple (width, height) describing the size of the document. You can
3700
use predefined constants named PAPER_&lt;paper_type&gt; e.g. PAPER_A4 etc.
3701
 
3702
margins = A tuple (left, right, top, bottom) describing the document
3703
margins
3704
 
3705
orientation = the page orientation - constants PORTRAIT, LANDSCAPE
3706
 
3707
firstPageNumer = is the number of the first page in the document used for
3708
pagenumbering. While you&apos;ll usually want 1, it&apos;s useful to have higher
3709
numbers if you&apos;re creating a document in several parts.
3710
 
3711
unit: this value sets the measurement units used by the document. Use a
3712
predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
3713
UNIT_PICAS, UNIT_POINTS.
3714
 
3715
pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page,
3716
PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and
3717
PAGE_4 is 4-fold.
3718
 
3719
firstPageOrder = What is position of first page in the document.
3720
Indexed from 0 (0 = first).
3721
 
3722
numPage = Number of pages to be created.
3723
 
3724
The values for width, height and the margins are expressed in the given unit
3725
for the document. PAPER_* constants are expressed in points. If your document
3726
is not in points, make sure to account for this.
3727
 
3728
example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS,
3729
PAGE_4, 3, 1)
3730
 
3731
May raise ScribusError if is firstPageOrder bigger than allowed by pagesType.
3732
</source>
12918 cbradney 3733
        <translation type="obsolete">newDocument(size, margins, orientation, firstPageNumber,
7561 mrdocs 3734
(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)(sp)unit, pagesType, firstPageOrder, numPages) -&gt; bool
7426 cbradney 3735
 
7561 mrdocs 3736
Creates a new document and returns true if successful. The parameters have the(new line)
3737
following meaning:(new line)
3738
(new line)
7426 cbradney 3739
size = A tuple (width, height) describing the size of the document. You can
3740
use predefined constants named PAPER_&lt;paper_type&gt; e.g. PAPER_A4 etc.
3741
 
3742
margins = A tuple (left, right, top, bottom) describing the document
3743
margins
3744
 
3745
orientation = the page orientation - constants PORTRAIT, LANDSCAPE
3746
 
3747
firstPageNumer = is the number of the first page in the document used for
3748
pagenumbering. While you&apos;ll usually want 1, it&apos;s useful to have higher
3749
numbers if you&apos;re creating a document in several parts.
3750
 
3751
unit: this value sets the measurement units used by the document. Use a
3752
predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
3753
UNIT_PICAS, UNIT_POINTS.
3754
 
3755
pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page,
3756
PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and
3757
PAGE_4 is 4-fold.
3758
 
3759
firstPageOrder = What is position of first page in the document.
3760
Indexed from 0 (0 = first).
3761
 
3762
numPage = Number of pages to be created.
3763
 
3764
The values for width, height and the margins are expressed in the given unit
3765
for the document. PAPER_* constants are expressed in points. If your document
3766
is not in points, make sure to account for this.
3767
 
3768
example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS,
3769
PAGE_4, 3, 1)
3770
 
7561 mrdocs 3771
May raise ScribusError if is firstPageOrder bigger than allowed by pagesType.</translation>
6530 cbradney 3772
    </message>
9195 cbradney 3773
    <message>
12918 cbradney