Subversion Repositories Scribus

Rev

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

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