Subversion Repositories Scribus

Rev

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

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