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