Subversion Repositories Scribus

Rev

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