"SfR Fresh" - the SfR Freeware/Shareware Archive 
Member "scribus-1.3.3.12/scribus/po/scribus.fi.ts" of archive scribus-1.3.3.12.tar.gz:
As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers.
Alternatively you can here view or download the uninterpreted source code file.
That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
1 <!DOCTYPE TS><TS>
2 <context>
3 <name></name>
4 <message>
5 <source>getColorNames() -> list
6
7 Returns a list containing the names of all defined colors in the document.
8 If no document is open, returns a list of the default document colors.
9 </source>
10 <translation>getColorNames() -> list
11
12 Returns a list containing the names of all defined colors in the document.
13 If no document is open, returns a list of the default document colors.</translation>
14 </message>
15 <message>
16 <source>newDocDialog() -> bool
17
18 Displays the "New Document" dialog box. Creates a new document if the user
19 accepts the settings. Does not create a document if the user presses cancel.
20 Returns true if a new document was created.
21 </source>
22 <translation>getColorNames() -> list
23
24 Näyttää dialogin "Uusi asiakirja". Luo uuden asiakirjan, jos käyttäjä hyväksyy
25 asetukset. Asiakirjaa ei luoda, jos käyttäjä painaa Peruuta-painiketta.
26 Palauttaa true, jos uusi asiakirja luotiin.</translation>
27 </message>
28 <message>
29 <source>getFillColor(["name"]) -> string
30
31 Returns the name of the fill color of the object "name".
32 If "name" is not given the currently selected item is used.
33 </source>
34 <translation>getFillColor(["name"]) -> string
35
36 Palauttaa täyttövärin nimen kohteelle "name".
37 Jos "name" ei ole annettu käytetään valittuna olevaa kohdetta.</translation>
38 </message>
39 <message>
40 <source>moveObject(dx, dy [, "name"])
41
42 Moves the object "name" by dx and dy relative to its current position. The
43 distances are expressed in the current measurement unit of the document (see
44 UNIT constants). If "name" is not given the currently selected item is used.
45 If the object "name" belongs to a group, the whole group is moved.
46 </source>
47 <translation>moveObject(dx, dy [, "name"])
48
49 Siirtää kohdetta "name" arvoilla dx ja dy suhteessa nykyiseen sijaintiin. Etäisyydet
50 ilmaistaan asiakirjassa käytössä olevalla yksiköllä (katso UNIT-vakio). Jos "name" ei
51 ole määritelty, käytetään valittuna olevaa kohdetta. Jos kohde "name" kuuluu
52 ryhmään, koko ryhmää siirretään.</translation>
53 </message>
54 <message>
55 <source>setRedraw(bool)
56
57 Disables page redraw when bool = False, otherwise redrawing is enabled.
58 This change will persist even after the script exits, so make sure to call
59 setRedraw(True) in a finally: clause at the top level of your script.
60 </source>
61 <translation>setRedraw(bool)
62
63 Estää sivun uudelleenpiirron, kun bool=False. Muuten uudelleen piirto on
64 käytössä. Tämä asetus jää voimaan vaikka skriptistä poistutaan. Varmista,
65 että kutsut setRedraw(True) finally: -lauseessa ylimmällä tasolla skriptissäsi.</translation>
66 </message>
67 <message>
68 <source>createRect(x, y, width, height, ["name"]) -> string
69
70 Creates a new rectangle on the current page and returns its name. The
71 coordinates are given in the current measurement units of the document
72 (see UNIT constants). "name" should be a unique identifier for the object
73 because you need this name to reference that object in future. If "name"
74 is not given Scribus will create one for you.
75
76 May raise NameExistsError if you explicitly pass a name that's already used.
77 </source>
78 <translation>createRect(x, y, width, height, ["name"]) -> string
79
80 Luo uuden nelikulmion nykyiselle sivulle ja palauttaa luodun kohteen nimen.
81 Koordinaatit on annettava asiakirjassa käytössä olevalla yksiköllä. Katso (UNIT vakiot).
82 "name":n tulee olla yksilöllinen tunniste kohteelle, koska tarvitset nimeä myöhemmin
83 viitatessasi nelikulmioon. Jos "name":a ei anneta Scribus luo sen.
84
85 Saattaa nostaa NameExistsError:n, jos annettu nimi on jo olemassa.</translation>
86 </message>
87 <message>
88 <source>setGradientFill(type, "color1", shade1, "color2", shade2, ["name"])
89
90 Sets the gradient fill of the object "name" to type. Color descriptions are
91 the same as for setFillColor() and setFillShade(). See the constants for
92 available types (FILL_<type>).
93 </source>
94 <translation>setGradientFill(type, "color1", shade1, "color2", shade2, ["name"])
95
96 Asettaa liukuväritäytön kohteelle "name". Värin kuvaukset ovat samat kuin
97 setFillColor():lla ja setFillShade():lla. Katso vakiot FILL_<type>.</translation>
98 </message>
99 <message>
100 <source>getFontSize(["name"]) -> float
101
102 Returns the font size in points for the text frame "name". If this text
103 frame has some text selected the value assigned to the first character of
104 the selection is returned.
105 If "name" is not given the currently selected item is used.
106 </source>
107 <translation>getFontSize(["name"]) -> float
108
109 Palauttaa fontin koon pisteinä tekstikehykselle "name". Jos tekstikehyksessä
110 on tekstiä valittuna palautetaan valinnan ensimmäisen fontin koko.
111 Jos "name" ei ole määritelty, käytetään valittuna olevaa kohdetta.</translation>
112 </message>
113 <message>
114 <source>messagebarText("string")
115
116 Writes the "string" into the Scribus message bar (status line). The text
117 must be UTF8 encoded or 'unicode' string(recommended).
118 </source>
119 <translation>messagebarText("string")
120
121 Asettaa tekstin "string" Scribuksen tilariville. Teksti täytyy olla UTF8 koodattu tai
122 'unicode' teksti (suositeltavaa).</translation>
123 </message>
124 <message>
125 <source>newPage(where [,"masterpage"])
126
127 Creates a new page. If "where" is -1 the new Page is appended to the
128 document, otherwise the new page is inserted before "where". Page numbers are
129 counted from 1 upwards, no matter what the displayed first page number of your
130 document is. The optional parameter "masterpage" specifies the name of the
131 master page for the new page.
132
133 May raise IndexError if the page number is out of range
134 </source>
135 <translation>newPage(where [,"masterpage"])
136
137 Creates a new page. If "where" is -1 the new Page is appended to the
138 document, otherwise the new page is inserted before "where". Page numbers are
139 counted from 1 upwards, no matter what the displayed first page number of your
140 document is. The optional parameter "masterpage" specifies the name of the
141 master page for the new page.
142
143 May raise IndexError if the page number is out of range
144 </translation>
145 </message>
146 <message>
147 <source>importSVG("string")
148
149 The "string" must be a valid filename for a SVG image. The text
150 must be UTF8 encoded or 'unicode' string(recommended).
151 </source>
152 <translation>importSVG("string")
153
154 The "string" must be a valid filename for a SVG image. The text
155 must be UTF8 encoded or 'unicode' string(recommended).</translation>
156 </message>
157 <message>
158 <source>newDocument(size, margins, orientation, firstPageNumber,
159 unit, pagesType, firstPageOrder) -> bool
160
161 Creates a new document and returns true if successful. The parameters have the
162 following meaning:
163
164 size = A tuple (width, height) describing the size of the document. You can
165 use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc.
166
167 margins = A tuple (left, right, top, bottom) describing the document
168 margins
169
170 orientation = the page orientation - constants PORTRAIT, LANDSCAPE
171
172 firstPageNumer = is the number of the first page in the document used for
173 pagenumbering. While you'll usually want 1, it's useful to have higher
174 numbers if you're creating a document in several parts.
175
176 unit: this value sets the measurement units used by the document. Use a
177 predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
178 UNIT_PICAS, UNIT_POINTS.
179
180 pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page,
181 PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and
182 PAGE_4 is 4-fold.
183
184 firstPageOrder = What is position of first page in the document.
185 Indexed from 0 (0 = first).
186
187 numPage = Number of pages to be created.
188
189 The values for width, height and the margins are expressed in the given unit
190 for the document. PAPER_* constants are expressed in points. If your document
191 is not in points, make sure to account for this.
192
193 example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS,
194 PAGE_4, 3, 1)
195
196 May raise ScribusError if is firstPageOrder bigger than allowed by pagesType.
197 </source>
198 <translation>newDocument(size, margins, orientation, firstPageNumber,
199 unit, pagesType, firstPageOrder) -> bool
200
201 Creates a new document and returns true if successful. The parameters have the
202 following meaning:
203
204 size = A tuple (width, height) describing the size of the document. You can
205 use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc.
206
207 margins = A tuple (left, right, top, bottom) describing the document
208 margins
209
210 orientation = the page orientation - constants PORTRAIT, LANDSCAPE
211
212 firstPageNumer = is the number of the first page in the document used for
213 pagenumbering. While you'll usually want 1, it's useful to have higher
214 numbers if you're creating a document in several parts.
215
216 unit: this value sets the measurement units used by the document. Use a
217 predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS,
218 UNIT_PICAS, UNIT_POINTS.
219
220 pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page,
221 PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and
222 PAGE_4 is 4-fold.
223
224 firstPageOrder = What is position of first page in the document.
225 Indexed from 0 (0 = first).
226
227 numPage = Number of pages to be created.
228
229 The values for width, height and the margins are expressed in the given unit
230 for the document. PAPER_* constants are expressed in points. If your document
231 is not in points, make sure to account for this.
232
233 example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS,
234 PAGE_4, 3, 1)
235
236 May raise ScribusError if is firstPageOrder bigger than allowed by pagesType.
237 </translation>
238 </message>
239 </context>
240 <context>
241 <name>@default</name>
242 <message>
243 <source>getColor("name") -> tuple
244
245 Returns a tuple (C, M, Y, K) containing the four color components of the
246 color "name" from the current document. If no document is open, returns
247 the value of the named color from the default document colors.
248
249 May raise NotFoundError if the named color wasn't found.
250 May raise ValueError if an invalid color name is specified.
251 </source>
252 <translation>getColor("name") -> tuple
253
254 Palauttaa tuplen (C, M, Y, K) värille "name" nykyisestä asiakirjasta. Jos asiakirjaa
255 ei ole avoinna, palauttaa värin oletusväreistä.
256
257 Saattaa nostaa NotFoundError:n, jos väriä ei löydy.
258 Saattaa nostaa ValueError:n, jos värin nimi on viallinen.</translation>
259 </message>
260 <message>
261 <source>changeColor("name", c, m, y, k)
262
263 Changes the color "name" to the specified CMYK value. The color value is
264 defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black.
265 Color components should be in the range from 0 to 255.
266
267 May raise NotFoundError if the named color wasn't found.
268 May raise ValueError if an invalid color name is specified.
269 </source>
270 <translation>changeColor("name", c, m, y, k)
271
272 Vaihtaa värin "name" vastaamaan väriä c, m, y, k (kaikki määritelty välillä 0, 255).</translation>
273 </message>
274 <message>
275 <source>deleteColor("name", "replace")
276
277 Deletes the color "name". Every occurence of that color is replaced by the
278 color "replace". If not specified, "replace" defaults to the color
279 "None" - transparent.
280
281 deleteColor works on the default document colors if there is no document open.
282 In that case, "replace", if specified, has no effect.
283
284 May raise NotFoundError if a named color wasn't found.
285 May raise ValueError if an invalid color name is specified.
286 </source>
287 <translation>deleteColor("name", "replace")
288
289 Poistaa värin "nimi", joka korvataan värillä "replace". Oletuksena "replace" on None (läpinäkyvä).
290
291 deleteColors toimii asiakirjassa määritellyillä väreillä, asiakirja on avoinna.
292
293 Saattaa nostaa NotFoundError:n, jos nimettyä väriä ei löydy.
294 Saattaa nostaa ValueError:n, jos värin nimi on viallinen.</translation>
295 </message>
296 <message>
297 <source>replaceColor("name", "replace")
298
299 Every occurence of the color "name" is replaced by the color "replace".
300
301 May raise NotFoundError if a named color wasn't found.
302 May raise ValueError if an invalid color name is specified.
303 </source>
304 <translation>replaceColor("name", "replace")
305
306 Jokainen ilmentymä väristä "name" korvataan värillä "replace".
307
308 Saattaa nostaa NotFoundError:n, jos nimettyä väriä ei löydy.
309 Saattaa nostaa ValueError:n, jos värin nimi on viallinen.</translation>
310 </message>
311 <message>
312 <source>messageBox("caption", "message",
313 icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT,
314 button2=BUTTON_NONE, button3=BUTTON_NONE) -> integer
315
316 Displays a message box with the title "caption", the message "message", and
317 an icon "icon" and up to 3 buttons. By default no icon is used and a single
318 button, OK, is displayed. Only the caption and message arguments are required,
319 though setting an icon and appropriate button(s) is strongly
320 recommended. The message text may contain simple HTML-like markup.
321
322 Returns the number of the button the user pressed. Button numbers start
323 at 1.
324
325 For the icon and the button parameters there are predefined constants available
326 with the same names as in the Qt Documentation. These are the BUTTON_* and
327 ICON_* constants defined in the module. There are also two extra constants that
328 can be binary-ORed with button constants:
329 BUTTONOPT_DEFAULT Pressing enter presses this button.
330 BUTTONOPT_ESCAPE Pressing escape presses this button.
331
332 Usage examples:
333 result = messageBox('Script failed',
334 'This script only works when you have a text frame selected.',
335 ICON_ERROR)
336 result = messageBox('Monkeys!', 'Something went ook! <i>Was it a monkey?</i>',
337 ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT,
338 BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE)
339
340 Defined button and icon constants:
341 BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO,
342 BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL,
343 ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL.
344 </source>
345 <translation>messageBox("caption", "message",
346 icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT,
347 button2=BUTTON_NONE, button3=BUTTON_NONE) -> integer
348
349 Displays a message box with the title "caption", the message "message", and
350 an icon "icon" and up to 3 buttons. By default no icon is used and a single
351 button, OK, is displayed. Only the caption and message arguments are required,
352 though setting an icon and appropriate button(s) is strongly
353 recommended. The message text may contain simple HTML-like markup.
354
355 Returns the number of the button the user pressed. Button numbers start
356 at 1.
357
358 For the icon and the button parameters there are predefined constants available
359 with the same names as in the Qt Documentation. These are the BUTTON_* and
360 ICON_* constants defined in the module. There are also two extra constants that
361 can be binary-ORed with button constants:
362 BUTTONOPT_DEFAULT Pressing enter presses this button.
363 BUTTONOPT_ESCAPE Pressing escape presses this button.
364
365 Usage examples:
366 result = messageBox('Script failed',
367 'This script only works when you have a text frame selected.',
368 ICON_ERROR)
369 result = messageBox('Monkeys!', 'Something went ook! <i>Was it a monkey?</i>',
370 ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT,
371 BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE)
372
373 Defined button and icon constants:
374 BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO,
375 BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL,
376 ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL.</translation>
377 </message>
378 <message>
379 <source>valueDialog(caption, message [,defaultvalue]) -> string
380
381 Shows the common 'Ask for string' dialog and returns its value as a string
382 Parameters: window title, text in the window and optional 'default' value.
383
384 Example: valueDialog('title', 'text in the window', 'optional')
385 </source>
386 <translation>valueDialog(caption, message [,defaultvalue]) -> string
387
388 Näyttää yleisen "Kysy string"-dialogin ja palauttaa sen arvon. Parametrit: ikkunan
389 otsikko, ikkunan teksti ja oletusarvo</translation>
390 </message>
391 <message>
392 <source>closeDoc()
393
394 Closes the current document without prompting to save.
395
396 May throw NoDocOpenError if there is no document to close
397 </source>
398 <translation>closeDoc()
399
400 Sulkee aktiivisen asiakirjan, ilman tallennusdialogia.
401
402 Saattaa heittää NoDocOpenError, jos suljettavia asiakirjoja ei ole</translation>
403 </message>
404 <message>
405 <source>haveDoc() -> bool
406
407 Returns true if there is a document open.
408 </source>
409 <translation>haveDoc() -> bool
410
411 Palauttaa true, jos yksikin asiakirja on avoinna.</translation>
412 </message>
413 <message>
414 <source>openDoc("name")
415
416 Opens the document "name".
417
418 May raise ScribusError if the document could not be opened.
419 </source>
420 <translation>openDoc("name")
421
422 Avaa asiakirjan "name".
423
424 Saattaa aiheuttaa ScribusErrorin, jos asiakirjaa ei voida avata.</translation>
425 </message>
426 <message>
427 <source>saveDoc()
428
429 Saves the current document with its current name, returns true if successful.
430 If the document has not already been saved, this may bring up an interactive
431 save file dialog.
432
433 If the save fails, there is currently no way to tell.
434 </source>
435 <translation>saveDoc()
436
437 Tallennusdialogi. Tallennuksen epäonnistumista ei voi tällä hetkellä päätellä mistään.</translation>
438 </message>
439 <message>
440 <source>saveDocAs("name")
441
442 Saves the current document under the new name "name" (which may be a full or
443 relative path).
444
445 May raise ScribusError if the save fails.
446 </source>
447 <translation>saveDocAs("name")
448
449 Tallentaa aktiivisen asiakirjan nimellä "nimi", joka voi olla täydellinen tai suhteellinen polku.
450
451 Saattaa aiheuttaa ScribusError:n, jos tallennus epäonnistuu.</translation>
452 </message>
453 <message>
454 <source>setMargins(lr, rr, tr, br)
455
456 Sets the margins of the document, Left(lr), Right(rr), Top(tr) and Bottom(br)
457 margins are given in the measurement units of the document - see UNIT_<type>
458 constants.
459 </source>
460 <translation>setMargins(lr, rr, tr, br)
461
462 Asettaa asiakirjan reunukset Vasen (lr), Oikea (rr), ylä (tr) ja ala (br). Reunukset annetaan
463 asiakirjan käyttämissä yksiköissä. Katso UNIT_<type> vakiot.</translation>
464 </message>
465 <message>
466 <source>setUnit(type)
467
468 Changes the measurement unit of the document. Possible values for "unit" are
469 defined as constants UNIT_<type>.
470
471 May raise ValueError if an invalid unit is passed.
472 </source>
473 <translation>setUnit(type)
474
475 Vaihtaa asiakirjan mittayksikköä. Mahdolliset yksiköt on määritelty vakiona UNIT_<type>.
476
477 Saattaa aiheuttaa ValueError:n, jos käytetään virheellistä yksikköä.</translation>
478 </message>
479 <message>
480 <source>getUnit() -> integer (Scribus unit constant)
481
482 Returns the measurement units of the document. The returned value will be one
483 of the UNIT_* constants:
484 UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.
485 </source>
486 <translation>getUnit() -> integer (Scribus unit constant)
487
488 Palauttaa asiakirjan mittayksikön. Arvo on yksi UNIT_* vakioista.
489 UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS.
490 </translation>
491 </message>
492 <message>
493 <source>loadStylesFromFile("filename")
494
495 Loads paragraph styles from the Scribus document at "filename" into the
496 current document.
497 </source>
498 <translation>loadStylesFromFile("filename")
499
500 Lataa kappaletyylit Scribus-asiakirjasta "filename" aktiiviseen asiakirjaan.</translation>
501 </message>
502 <message>
503 <source>setDocType(facingPages, firstPageLeft)
504
505 Sets the document type. To get facing pages set the first parameter to
506 FACINGPAGES, to switch facingPages off use NOFACINGPAGES instead. If you want
507 to be the first page a left side set the second parameter to FIRSTPAGELEFT, for
508 a right page use FIRSTPAGERIGHT.
509 </source>
510 <translation>setDocType(facingPages, firstPageLeft)
511
512 Sets the document type. To get facing pages set the first parameter to
513 FACINGPAGES, to switch facingPages off use NOFACINGPAGES instead. If you want
514 to be the first page a left side set the second parameter to FIRSTPAGELEFT, for
515 a right page use FIRSTPAGERIGHT.
516
517 </translation>
518 </message>
519 <message>
520 <source>getLineColor(["name"]) -> string
521
522 Returns the name of the line color of the object "name".
523 If "name" is not given the currently selected item is used.
524 </source>
525 <translation>getLineColor(["name"]) -> string
526
527 Palauttaa kohteen "name" viivan värin. Ilman "name":a palauttaa
528 valittuna olevan kohteen kehyksen värin.</translation>
529 </message>
530 <message>
531 <source>getLineWidth(["name"]) -> integer
532
533 Returns the line width of the object "name". If "name"
534 is not given the currently selected Item is used.
535 </source>
536 <translation>getLineWidth(["name"]) -> integer
537
538 Palauttaa kohteen "name" viivan leveyden. Jos "name":a
539 ei anneta käytetään valittuna olevaa kohdetta.</translation>
540 </message>
541 <message>
542 <source>getLineShade(["name"]) -> integer
543
544 Returns the shading value of the line color of the object "name".
545 If "name" is not given the currently selected item is used.
546 </source>
547 <translation>getLineShade(["name"]) -> integer
548
549 Palauttaa kohteen "name" viivan värin sävyn. Jos "name":a ei
550 anneta käytetään valittuna olevaa kohdetta.</translation>
551 </message>
552 <message>
553 <source>getLineJoin(["name"]) -> integer (see contants)
554
555 Returns the line join style of the object "name". If "name" is not given
556 the currently selected item is used. The join types are:
557 JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND
558 </source>
559 <translation>getLineJoin(["name"]) -> integer (see contants)
560
561 Returns the line join style of the object "name". If "name" is not given
562 the currently selected item is used. The join types are:
563 JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND
564 </translation>
565 </message>
566 <message>
567 <source>getLineEnd(["name"]) -> integer (see constants)
568
569 Returns the line cap style of the object "name". If "name" is not given the
570 currently selected item is used. The cap types are:
571 CAP_FLAT, CAP_ROUND, CAP_SQUARE
572 </source>
573 <translation>getLineEnd(["name"]) -> integer (see constants)
574
575 Returns the line cap style of the object "name". If "name" is not given the
576 currently selected item is used. The cap types are:
577 CAP_FLAT, CAP_ROUND, CAP_SQUARE </translation>
578 </message>
579 <message>
580 <source>getLineStyle(["name"]) -> integer (see constants)
581
582 Returns the line style of the object "name". If "name" is not given the
583 currently selected item is used. Line style constants are:
584 LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
585 </source>
586 <translation>getLineStyle(["name"]) -> integer (see constants)
587
588 Returns the line style of the object "name". If "name" is not given the
589 currently selected item is used. Line style constants are:
590 LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID
591 </translation>
592 </message>
593 <message>
594 <source>getFillShade(["name"]) -> integer
595
596 Returns the shading value of the fill color of the object "name".
597 If "name" is not given the currently selected item is used.
598 </source>
599 <translation>getFillShade(["name"]) -> integer
600
601 Returns the shading value of the fill color of the object "name".
602 If "name" is not given the currently selected item is used.
603 </translation>
604 </message>
605 <message>
606 <source>getImageScale(["name"]) -> (x,y)
607
608 Returns a (x, y) tuple containing the scaling values of the image frame
609 "name". If "name" is not given the currently selected item is used.
610 </source>
611 <translation>getImageScale(["name"]) -> (x,y)
612
613 Returns a (x, y) tuple containing the scaling values of the image frame
614 "name". If "name" is not given the currently selected item is used.
615 </translation>
616 </message>
617 <message>
618 <source>getImageName(["name"]) -> string
619
620 Returns the filename for the image in the image frame. If "name" is not
621 given the currently selected item is used.
622 </source>
623 <translation>getImageName(["name"]) -> string
624
625 Returns the filename for the image in the image frame. If "name" is not
626 given the currently selected item is used.
627 </translation>
628 </message>
629 <message>
630 <source>getSize(["name"]) -> (width,height)
631
632 Returns a (width, height) tuple with the size of the object "name".
633 If "name" is not given the currently selected item is used. The size is
634 expressed in the current measurement unit of the document - see UNIT_<type>
635 for reference.
636 </source>
637 <translation>getSize(["name"]) -> (width,height)
638
639 Returns a (width, height) tuple with the size of the object "name".
640 If "name" is not given the currently selected item is used. The size is
641 expressed in the current measurement unit of the document - see UNIT_<type>
642 for reference.
643 </translation>
644 </message>
645 <message>
646 <source>getRotation(["name"]) -> integer
647
648 Returns the rotation of the object "name". The value is expressed in degrees,
649 and clockwise is positive. If "name" is not given the currently selected item
650 is used.
651 </source>
652 <translation>getRotation(["name"]) -> integer
653
654 Returns the rotation of the object "name". The value is expressed in degrees,
655 and clockwise is positive. If "name" is not given the currently selected item
656 is used.</translation>
657 </message>
658 <message>
659 <source>getAllObjects() -> list
660
661 Returns a list containing the names of all objects on the current page.
662 </source>
663 <translation>getAllObjects() -> list
664
665 Returns a list containing the names of all objects on the current page.</translation>
666 </message>
667 <message>
668 <source>moveObjectAbs(x, y [, "name"])
669
670 Moves the object "name" to a new location. The coordinates are expressed in
671 the current measurement unit of the document (see UNIT constants). If "name"
672 is not given the currently selected item is used. If the object "name"
673 belongs to a group, the whole group is moved.
674 </source>
675 <translation>moveObjectAbs(x, y [, "name"])
676
677 Moves the object "name" to a new location. The coordinates are expressed in
678 the current measurement unit of the document (see UNIT constants). If "name"
679 is not given the currently selected item is used. If the object "name"
680 belongs to a group, the whole group is moved.
681 </translation>
682 </message>
683 <message>
684 <source>rotateObject(rot [, "name"])
685
686 Rotates the object "name" by "rot" degrees relatively. The object is
687 rotated by the vertex that is currently selected as the rotation point - by
688 default, the top left vertext at zero rotation. Positive values mean counter
689 clockwise rotation when the default rotation point is used. If "name" is not
690 given the currently selected item is used.
691 </source>
692 <translation>rotateObject(rot [, "name"])
693
694 Rotates the object "name" by "rot" degrees relatively. The object is
695 rotated by the vertex that is currently selected as the rotation point - by
696 default, the top left vertext at zero rotation. Positive values mean counter
697 clockwise rotation when the default rotation point is used. If "name" is not
698 given the currently selected item is used.
699 </translation>
700 </message>
701 <message>
702 <source>sizeObject(width, height [, "name"])
703
704 Resizes the object "name" to the given width and height. If "name"
705 is not given the currently selected item is used.
706 </source>
707 <translation>sizeObject(width, height [, "name"])
708
709 Resizes the object "name" to the given width and height. If "name"
710 is not given the currently selected item is used.
711 </translation>
712 </message>
713 <message>
714 <source>getSelectedObject([nr]) -> string
715
716 Returns the name of the selected object. "nr" if given indicates the number
717 of the selected object, e.g. 0 means the first selected object, 1 means the
718 second selected Object and so on.
719 </source>
720 <translation>getSelectedObject([nr]) -> string
721
722 Returns the name of the selected object. "nr" if given indicates the number
723 of the selected object, e.g. 0 means the first selected object, 1 means the
724 second selected Object and so on.
725 </translation>
726 </message>
727 <message>
728 <source>selectionCount() -> integer
729
730 Returns the number of selected objects.
731 </source>
732 <translation>selectionCount() -> integer
733
734 Returns the number of selected objects.
735 </translation>
736 </message>
737 <message>
738 <source>selectObject("name")
739
740 Selects the object with the given "name".
741 </source>
742 <translation>selectObject("name")
743
744 Selects the object with the given "name".
745 </translation>
746 </message>
747 <message>
748 <source>deselectAll()
749
750 Deselects all objects in the whole document.
751 </source>
752 <translation>deselectAll()
753
754 Deselects all objects in the whole document.
755 </translation>
756 </message>
757 <message>
758 <source>groupObjects(list)
759
760 Groups the objects named in "list" together. "list" must contain the names
761 of the objects to be grouped. If "list" is not given the currently selected
762 items are used.
763 </source>
764 <translation>groupObjects(list)
765
766 Groups the objects named in "list" together. "list" must contain the names
767 of the objects to be grouped. If "list" is not given the currently selected
768 items are used.
769 </translation>
770 </message>
771 <message>
772 <source>unGroupObjects("name")
773
774 Destructs the group the object "name" belongs to.If "name" is not given the currently selected item is used.</source>
775 <translation>unGroupObjects("name")
776
777 Destructs the group the object "name" belongs to.If "name" is not given the currently selected item is used.
778 </translation>
779 </message>
780 <message>
781 <source>scaleGroup(factor [,"name"])
782
783 Scales the group the object "name" belongs to. Values greater than 1 enlarge
784 the group, values smaller than 1 make the group smaller e.g a value of 0.5
785 scales the group to 50 % of its original size, a value of 1.5 scales the group
786 to 150 % of its original size. The value for "factor" must be greater than
787 0. If "name" is not given the currently selected item is used.
788
789 May raise ValueError if an invalid scale factor is passed.
790 </source>
791 <translation>scaleGroup(factor [,"name"])
792
793 Scales the group the object "name" belongs to. Values greater than 1 enlarge
794 the group, values smaller than 1 make the group smaller e.g a value of 0.5
795 scales the group to 50 % of its original size, a value of 1.5 scales the group
796 to 150 % of its original size. The value for "factor" must be greater than
797 0. If "name" is not given the currently selected item is used.
798
799 May raise ValueError if an invalid scale factor is passed.
800 </translation>
801 </message>
802 <message>
803 <source>loadImage("filename" [, "name"])
804
805 Loads the picture "picture" into the image frame "name". If "name" is
806 not given the currently selected item is used.
807
808 May raise WrongFrameTypeError if the target frame is not an image frame
809 </source>
810 <translation>loadImage("filename" [, "name"])
811
812 Loads the picture "picture" into the image frame "name". If "name" is
813 not given the currently selected item is used.
814
815 May raise WrongFrameTypeError if the target frame is not an image frame
816 </translation>
817 </message>
818 <message>
819 <source>scaleImage(x, y [, "name"])
820
821 Sets the scaling factors of the picture in the image frame "name".
822 If "name" is not given the currently selected item is used. A number of 1
823 means 100 %.
824
825 May raise WrongFrameTypeError if the target frame is not an image frame
826 </source>
827 <translation>scaleImage(x, y [, "name"])
828
829 Sets the scaling factors of the picture in the image frame "name".
830 If "name" is not given the currently selected item is used. A number of 1
831 means 100 %.
832
833 May raise WrongFrameTypeError if the target frame is not an image frame
834 </translation>
835 </message>
836 <message>
837 <source>lockObject(["name"]) -> bool
838
839 Locks the object "name" if it's unlocked or unlock it if it's locked.
840 If "name" is not given the currently selected item is used. Returns true
841 if locked.
842 </source>
843 <translation>lockObject(["name"]) -> bool
844
845 Locks the object "name" if it's unlocked or unlock it if it's locked.
846 If "name" is not given the currently selected item is used. Returns true
847 if locked.
848 </translation>
849 </message>
850 <message>
851 <source>isLocked(["name"]) -> bool
852
853 Returns true if is the object "name" locked. If "name" is not given the
854 currently selected item is used.
855 </source>
856 <translation>isLocked(["name"]) -> bool
857
858 Returns true if is the object "name" locked. If "name" is not given the
859 currently selected item is used.
860 </translation>
861 </message>
862 <message>
863 <source>getFontNames() -> list
864
865 Returns a list with the names of all available fonts.
866 </source>
867 <translation>getFontNames() -> list
868
869 Returns a list with the names of all available fonts.
870 </translation>
871 </message>
872 <message>
873 <source>getXFontNames() -> list of tuples
874
875 Returns a larger font info. It's a list of the tuples with:
876 [ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ]
877 </source>
878 <translation>getXFontNames() -> list of tuples
879
880 Returns a larger font info. It's a list of the tuples with:
881 [ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ]
882 </translation>
883 </message>
884 <message>
885 <source>getLayers() -> list
886
887 Returns a list with the names of all defined layers.
888 </source>
889 <translation>getLayers() -> list
890
891
892 Returns a list with the names of all defined layers. </translation>
893 </message>
894 <message>
895 <source>setActiveLayer("name")
896
897 Sets the active layer to the layer named "name".
898
899 May raise NotFoundError if the layer can't be found.
900 May raise ValueError if the layer name isn't acceptable.
901 </source>
902 <translation>setActiveLayer("name")
903
904 Sets the active layer to the layer named "name".
905
906 May raise NotFoundError if the layer can't be found.
907 May raise ValueError if the layer name isn't acceptable.
908 </translation>
909 </message>
910 <message>
911 <source>getActiveLayer() -> string
912
913 Returns the name of the current active layer.
914 </source>
915 <translation>getActiveLayer() -> string
916
917 Returns the name of the current active layer.
918 </translation>
919 </message>
920 <message>
921 <source>sentToLayer("layer" [, "name"])
922
923 Sends the object "name" to the layer "layer". The layer must exist.
924 If "name" is not given the currently selected item is used.
925
926 May raise NotFoundError if the layer can't be found.
927 May raise ValueError if the layer name isn't acceptable.
928 </source>
929 <translation>sentToLayer("layer" [, "name"])
930
931 Sends the object "name" to the layer "layer". The layer must exist.
932 If "name" is not given the currently selected item is used.
933
934 May raise NotFoundError if the layer can't be found.
935 May raise ValueError if the layer name isn't acceptable.
936 </translation>
937 </message>
938 <message>
939 <source>setLayerVisible("layer", visible)
940
941 Sets the layer "layer" to be visible or not. If is the visible set to false
942 the layer is invisible.
943
944 May raise NotFoundError if the layer can't be found.
945 May raise ValueError if the layer name isn't acceptable.
946 </source>
947 <translation>setLayerVisible("layer", visible)
948
949 Sets the layer "layer" to be visible or not. If is the visible set to false
950 the layer is invisible.
951
952 May raise NotFoundError if the layer can't be found.
953 May raise ValueError if the layer name isn't acceptable.
954 </translation>
955 </message>
956 <message>
957 <source>setLayerPrintable("layer", printable)
958
959 Sets the layer "layer" to be printable or not. If is the printable set to
960 false the layer won't be printed.
961
962 May raise NotFoundError if the layer can't be found.
963 May raise ValueError if the layer name isn't acceptable.
964 </source>
965 <translation>setLayerPrintable("layer", printable)
966
967 Sets the layer "layer" to be printable or not. If is the printable set to
968 false the layer won't be printed.
969
970 May raise NotFoundError if the layer can't be found.
971 May raise ValueError if the layer name isn't acceptable.
972 </translation>
973 </message>
974 <message>
975 <source>deleteLayer("layer")
976
977 Deletes the layer with the name "layer". Nothing happens if the layer doesn't
978 exists or if it's the only layer in the document.
979
980 May raise NotFoundError if the layer can't be found.
981 May raise ValueError if the layer name isn't acceptable.
982 </source>
983 <translation>deleteLayer("layer")
984
985
986 Deletes the layer with the name "layer". Nothing happens if the layer doesn't
987 exists or if it's the only layer in the document.
988
989 May raise NotFoundError if the layer can't be found.
990 May raise ValueError if the layer name isn't acceptable. </translation>
991 </message>
992 <message>
993 <source>createLayer(layer)
994
995 Creates a new layer with the name "name".
996
997 May raise ValueError if the layer name isn't acceptable.
998 </source>
999 <translation>createLayer(layer)
1000
1001 Creates a new layer with the name "name".
1002
1003 May raise ValueError if the layer name isn't acceptable.
1004 </translation>
1005 </message>
1006 <message>
1007 <source>getGuiLanguage() -> string
1008
1009 Returns a string with the -lang value.
1010 </source>
1011 <translation>getGuiLanguage() -> string
1012
1013 Returns a string with the -lang value.
1014 </translation>
1015 </message>
1016 <message>
1017 <source>createEllipse(x, y, width, height, ["name"]) -> string
1018
1019 Creates a new ellipse on the current page and returns its name.
1020 The coordinates are given in the current measurement units of the document
1021 (see UNIT constants). "name" should be a unique identifier for the object
1022 because you need this name for further referencing of that object. If "name"
1023 is not given Scribus will create one for you.
1024
1025 May raise NameExistsError if you explicitly pass a name that's already used.
1026 </source>
1027 <translation>createEllipse(x, y, width, height, ["name"]) -> string
1028
1029 Creates a new ellipse on the current page and returns its name.
1030 The coordinates are given in the current measurement units of the document
1031 (see UNIT constants). "name" should be a unique identifier for the object
1032 because you need this name for further referencing of that object. If "name"
1033 is not given Scribus will create one for you.
1034
1035 May raise NameExistsError if you explicitly pass a name that's already used.
1036 </translation>
1037 </message>
1038 <message>
1039 <source>createImage(x, y, width, height, ["name"]) -> string
1040
1041 Creates a new picture frame on the current page and returns its name. The
1042 coordinates are given in the current measurement units of the document.
1043 "name" should be a unique identifier for the object because you need this
1044 name for further access to that object. If "name" is not given Scribus will
1045 create one for you.
1046
1047 May raise NameExistsError if you explicitly pass a name that's already used.
1048 </source>
1049 <translation>createImage(x, y, width, height, ["name"]) -> string
1050
1051 Creates a new picture frame on the current page and returns its name. The
1052 coordinates are given in the current measurement units of the document.
1053 "name" should be a unique identifier for the object because you need this
1054 name for further access to that object. If "name" is not given Scribus will
1055 create one for you.
1056
1057 May raise NameExistsError if you explicitly pass a name that's already used.
1058 </translation>
1059 </message>
1060 <message>
1061 <source>createText(x, y, width, height, ["name"]) -> string
1062
1063 Creates a new text frame on the actual page and returns its name.
1064 The coordinates are given in the actual measurement unit of the document (see
1065 UNIT constants). "name" should be a unique identifier for the object because
1066 you need this name for further referencing of that object. If "name" is not
1067 given Scribus will create one for you.
1068
1069 May raise NameExistsError if you explicitly pass a name that's already used.
1070 </source>
1071 <translation>createText(x, y, width, height, ["name"]) -> string
1072
1073 Creates a new text frame on the actual page and returns its name.
1074 The coordinates are given in the actual measurement unit of the document (see
1075 UNIT constants). "name" should be a unique identifier for the object because
1076 you need this name for further referencing of that object. If "name" is not
1077 given Scribus will create one for you.
1078
1079 May raise NameExistsError if you explicitly pass a name that's already used.
1080 </translation>
1081 </message>
1082 <message>
1083 <source>createLine(x1, y1, x2, y2, ["name"]) -> string
1084
1085 Creates a new line from the point(x1, y1) to the point(x2, y2) and returns
1086 its name. The coordinates are given in the current measurement unit of the
1087 document (see UNIT constants). "name" should be a unique identifier for the
1088 object because you need this name for further access to that object. If
1089 "name" is not given Scribus will create one for you.
1090
1091 May raise NameExistsError if you explicitly pass a name that's already used.
1092 </source>
1093 <translation>createLine(x1, y1, x2, y2, ["name"]) -> string
1094
1095 Creates a new line from the point(x1, y1) to the point(x2, y2) and returns
1096 its name. The coordinates are given in the current measurement unit of the
1097 document (see UNIT constants). "name" should be a unique identifier for the
1098 object because you need this name for further access to that object. If
1099 "name" is not given Scribus will create one for you.
1100
1101 May raise NameExistsError if you explicitly pass a name that's already used.
1102 </translation>
1103 </message>
1104 <message>
1105 <source>createPolyLine(list, ["name"]) -> string
1106
1107 Creates a new polyline and returns its name. The points for the polyline are
1108 stored in the list "list" in the following order: [x1, y1, x2, y2...xn. yn].
1109 The coordinates are given in the current measurement units of the document (see
1110 UNIT constants). "name" should be a unique identifier for the object because
1111 you need this name for further access to that object. If "name" is not given
1112 Scribus will create one for you.
1113
1114 May raise NameExistsError if you explicitly pass a name that's already used.
1115 May raise ValueError if an insufficient number of points is passed or if
1116 the number of values passed don't group into points without leftovers.
1117 </source>
1118 <translation>createPolyLine(list, ["name"]) -> string
1119
1120 Creates a new polyline and returns its name. The points for the polyline are
1121 stored in the list "list" in the following order: [x1, y1, x2, y2...xn. yn].
1122 The coordinates are given in the current measurement units of the document (see
1123 UNIT constants). "name" should be a unique identifier for the object because
1124 you need this name for further access to that object. If "name" is not given
1125 Scribus will create one for you.
1126
1127 May raise NameExistsError if you explicitly pass a name that's already used.
1128 May raise ValueError if an insufficient number of points is passed or if
1129 the number of values passed don't group into points without leftovers.
1130 </translation>
1131 </message>
1132 <message>
1133 <source>createPolygon(list, ["name"]) -> string
1134
1135 Creates a new polygon and returns its name. The points for the polygon are
1136 stored in the list "list" in the following order: [x1, y1, x2, y2...xn. yn].
1137 At least three points are required. There is no need to repeat the first point
1138 to close the polygon. The polygon is automatically closed by connecting the
1139 first and the last point. The coordinates are given in the current measurement
1140 units of the document (see UNIT constants). "name" should be a unique
1141 identifier for the object because you need this name for further access to that
1142 object. If "name" is not given Scribus will create one for you.
1143
1144 May raise NameExistsError if you explicitly pass a name that's already used.
1145 May raise ValueError if an insufficient number of points is passed or if
1146 the number of values passed don't group into points without leftovers.
1147 </source>
1148 <translation>createPolygon(list, ["name"]) -> string
1149
1150 Creates a new polygon and returns its name. The points for the polygon are
1151 stored in the list "list" in the following order: [x1, y1, x2, y2...xn. yn].
1152 At least three points are required. There is no need to repeat the first point
1153 to close the polygon. The polygon is automatically closed by connecting the
1154 first and the last point. The coordinates are given in the current measurement
1155 units of the document (see UNIT constants). "name" should be a unique
1156 identifier for the object because you need this name for further access to that
1157 object. If "name" is not given Scribus will create one for you.
1158
1159 May raise NameExistsError if you explicitly pass a name that's already used.
1160 May raise ValueError if an insufficient number of points is passed or if
1161 the number of values passed don't group into points without leftovers.
1162 </translation>
1163 </message>
1164 <message>
1165 <source>createBezierLine(list, ["name"]) -> string
1166
1167 Creates a new bezier curve and returns its name. The points for the bezier
1168 curve are stored in the list "list" in the following order:
1169 [x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn]
1170 In the points list, x and y mean the x and y coordinates of the point and kx
1171 and ky meaning the control point for the curve. The coordinates are given in
1172 the current measurement units of the document (see UNIT constants). "name"
1173 should be a unique identifier for the object because you need this name for
1174 further access to that object. If "name" is not given Scribus will create one
1175 for you.
1176
1177 May raise NameExistsError if you explicitly pass a name that's already used.
1178 May raise ValueError if an insufficient number of points is passed or if
1179 the number of values passed don't group into points without leftovers.
1180 </source>
1181 <translation>createBezierLine(list, ["name"]) -> string
1182
1183
1184 Creates a new bezier curve and returns its name. The points for the bezier
1185 curve are stored in the list "list" in the following order:
1186 [x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn]
1187 In the points list, x and y mean the x and y coordinates of the point and kx
1188 and ky meaning the control point for the curve. The coordinates are given in
1189 the current measurement units of the document (see UNIT constants). "name"
1190 should be a unique identifier for the object because you need this name for
1191 further access to that object. If "name" is not given Scribus will create one
1192 for you.
1193
1194 May raise NameExistsError if you explicitly pass a name that's already used.
1195 May raise ValueError if an insufficient number of points is passed or if
1196 the number of values passed don't group into points without leftovers. </translation>
1197 </message>
1198 <message>
1199 <source>createPathText(x, y, "textbox", "beziercurve", ["name"]) -> string
1200
1201 Creates a new pathText by merging the two objects "textbox" and
1202 "beziercurve" and returns its name. The coordinates are given in the current
1203 measurement unit of the document (see UNIT constants). "name" should be a
1204 unique identifier for the object because you need this name for further access
1205 to that object. If "name" is not given Scribus will create one for you.
1206
1207 May raise NameExistsError if you explicitly pass a name that's already used.
1208 May raise NotFoundError if one or both of the named base object don't exist.
1209 </source>
1210 <translation>createPathText(x, y, "textbox", "beziercurve", ["name"]) -> string
1211
1212 Creates a new pathText by merging the two objects "textbox" and
1213 "beziercurve" and returns its name. The coordinates are given in the current
1214 measurement unit of the document (see UNIT constants). "name" should be a
1215 unique identifier for the object because you need this name for further access
1216 to that object. If "name" is not given Scribus will create one for you.
1217
1218 May raise NameExistsError if you explicitly pass a name that's already used.
1219 May raise NotFoundError if one or both of the named base object don't exist.
1220 </translation>
1221 </message>
1222 <message>
1223 <source>deleteObject(["name"])
1224
1225 Deletes the item with the name "name". If "name" is not given the currently
1226 selected item is deleted.
1227 </source>
1228 <translation>deleteObject(["name"])
1229
1230
1231 Deletes the item with the name "name". If "name" is not given the currently
1232 selected item is deleted. </translation>
1233 </message>
1234 <message>
1235 <source>textFlowsAroundFrame("name" [, state])
1236
1237 Enables/disables "Text Flows Around Frame" feature for object "name".
1238 Called with parameters string name and optional boolean "state". If "state"
1239 is not passed, text flow is toggled.
1240 </source>
1241 <translation>textFlowsAroundFrame("name" [, state])
1242
1243 Enables/disables "Text Flows Around Frame" feature for object "name".
1244 Called with parameters string name and optional boolean "state". If "state"
1245 is not passed, text flow is toggled.
1246 </translation>
1247 </message>
1248 <message>
1249 <source>objectExists(["name"]) -> bool
1250
1251 Test if an object with specified name really exists in the document.
1252 The optional parameter is the object name. When no object name is given,
1253 returns True if there is something selected.
1254 </source>
1255 <translation>objectExists(["name"]) -> bool
1256
1257 Test if an object with specified name really exists in the document.
1258 The optional parameter is the object name. When no object name is given,
1259 returns True if there is something selected.
1260 </translation>
1261 </message>
1262 <message>
1263 <source>setStyle("style" [, "name"])
1264
1265 Apply the named "style" to the object named "name". If is no object name
1266 given, it's applied on the selected object.
1267 </source>
1268 <translation>setStyle("style" [, "name"])
1269
1270 Apply the named "style" to the object named "name". If is no object name
1271 given, it's applied on the selected object.
1272 </translation>
1273 </message>
1274 <message>
1275 <source>getAllStyles() -> list
1276
1277 Return a list of the names of all paragraph styles in the current document.
1278 </source>
1279 <translation>getAllStyles() -> list
1280
1281 Return a list of the names of all paragraph styles in the current document.
1282 </translation>
1283 </message>
1284 <message>
1285 <source>currentPage() -> integer
1286
1287 Returns the number of the current working page. Page numbers are counted from 1
1288 upwards, no matter what the displayed first page number of your document is.
1289 </source>
1290 <translation>currentPage() -> integer
1291
1292 Returns the number of the current working page. Page numbers are counted from 1
1293 upwards, no matter what the displayed first page number of your document is.
1294 </translation>
1295 </message>
1296 <message>
1297 <source>redrawAll()
1298
1299 Redraws all pages.
1300 </source>
1301 <translation>redrawAll()
1302
1303 Redraws all pages.
1304 </translation>
1305 </message>
1306 <message>
1307 <source>savePageAsEPS("name")
1308
1309 Saves the current page as an EPS to the file "name".
1310
1311 May raise ScribusError if the save failed.
1312 </source>
1313 <translation>savePageAsEPS("name")
1314
1315 Saves the current page as an EPS to the file "name".
1316
1317 May raise ScribusError if the save failed.
1318 </translation>
1319 </message>
1320 <message>
1321 <source>deletePage(nr)
1322
1323 Deletes the given page. Does nothing if the document contains only one page.
1324 Page numbers are counted from 1 upwards, no matter what the displayed first
1325 page number is.
1326
1327 May raise IndexError if the page number is out of range
1328 </source>
1329 <translation>deletePage(nr)
1330
1331 Deletes the given page. Does nothing if the document contains only one page.
1332 Page numbers are counted from 1 upwards, no matter what the displayed first
1333 page number is.
1334
1335 May raise IndexError if the page number is out of range
1336 </translation>
1337 </message>
1338 <message>
1339 <source>gotoPage(nr)
1340
1341 Moves to the page "nr" (that is, makes the current page "nr"). Note that
1342 gotoPage doesn't (curently) change the page the user's view is displaying, it
1343 just sets the page that script commands will operates on.
1344
1345 May raise IndexError if the page number is out of range.
1346 </source>
1347 <translation>gotoPage(nr)
1348
1349 Moves to the page "nr" (that is, makes the current page "nr"). Note that
1350 gotoPage doesn't (curently) change the page the user's view is displaying, it
1351 just sets the page that script commands will operates on.
1352
1353 May raise IndexError if the page number is out of range.
1354 </translation>
1355 </message>
1356 <message>
1357 <source>pageCount() -> integer
1358
1359 Returns the number of pages in the document.
1360 </source>
1361 <translation>pageCount() -> integer
1362
1363 Returns the number of pages in the document.
1364 </translation>
1365 </message>
1366 <message>
1367 <source>getHGuides() -> list
1368
1369 Returns a list containing positions of the horizontal guides. Values are in the
1370 document's current units - see UNIT_<type> constants.
1371 </source>
1372 <translation>getHGuides() -> list
1373
1374 Returns a list containing positions of the horizontal guides. Values are in the
1375 document's current units - see UNIT_<type> constants.
1376 </translation>
1377 </message>
1378 <message>
1379 <source>setHGuides(list)
1380
1381 Sets horizontal guides. Input parameter must be a list of guide positions
1382 measured in the current document units - see UNIT_<type> constants.
1383
1384 Example: setHGuides(getHGuides() + [200.0, 210.0] # add new guides without any lost
1385 setHGuides([90,250]) # replace current guides entirely
1386 </source>
1387 <translation>setHGuides(list)
1388
1389 Sets horizontal guides. Input parameter must be a list of guide positions
1390 measured in the current document units - see UNIT_<type> constants.
1391
1392 Example: setHGuides(getHGuides() + [200.0, 210.0] # add new guides without any lost
1393 setHGuides([90,250]) # replace current guides entirely
1394 </translation>
1395 </message>
1396 <message>
1397 <source>getVGuides()
1398
1399 See getHGuides.
1400 </source>
1401 <translation>getVGuides()
1402
1403 See getHGuides.
1404 </translation>
1405 </message>
1406 <message>
1407 <source>setVGuides()
1408
1409 See setHGuides.
1410 </source>
1411 <translation>setVGuides()
1412
1413
1414 See setHGuides. </translation>
1415 </message>
1416 <message>
1417 <source>getPageSize() -> tuple
1418
1419 Returns a tuple with page dimensions measured in the document's current units.
1420 See UNIT_<type> constants and getPageMargins()
1421 </source>
1422 <translation>getPageSize() -> tuple
1423
1424 Returns a tuple with page dimensions measured in the document's current units.
1425 See UNIT_<type> constants and getPageMargins()
1426 </translation>
1427 </message>
1428 <message>
1429 <source>getPageItems() -> list
1430
1431 Returns a list of tuples with items on the current page. The tuple is:
1432 (name, objectType, order) E.g. [('Text1', 4, 0), ('Image1', 2, 1)]
1433 means that object named 'Text1' is a text frame (type 4) and is the first at
1434 the page...
1435 </source>
1436 <translation>getPageItems() -> list
1437
1438 Returns a list of tuples with items on the current page. The tuple is:
1439 (name, objectType, order) E.g. [('Text1', 4, 0), ('Image1', 2, 1)]
1440 means that object named 'Text1' is a text frame (type 4) and is the first at
1441 the page...
1442 </translation>
1443 </message>
1444 <message>
1445 <source>setFillColor("color", ["name"])
1446
1447 Sets the fill color of the object "name" to the color "color". "color"
1448 is the name of one of the defined colors. If "name" is not given the
1449 currently selected item is used.
1450 </source>
1451 <translation>setFillColor("color", ["name"])
1452
1453 Sets the fill color of the object "name" to the color "color". "color"
1454 is the name of one of the defined colors. If "name" is not given the
1455 currently selected item is used.
1456 </translation>
1457 </message>
1458 <message>
1459 <source>setLineColor("color", ["name"])
1460
1461 Sets the line color of the object "name" to the color "color". If "name"
1462 is not given the currently selected item is used.
1463 </source>
1464 <translation>setLineColor("color", ["name"])
1465
1466 Sets the line color of the object "name" to the color "color". If "name"
1467 is not given the currently selected item is used.
1468 </translation>
1469 </message>
1470 <message>
1471 <source>setLineWidth(width, ["name"])
1472
1473 Sets line width of the object "name" to "width". "width" must be in the
1474 range from 0.0 to 12.0 inclusive, and is measured in points. If "name" is not
1475 given the currently selected item is used.
1476
1477 May raise ValueError if the line width is out of bounds.
1478 </source>
1479 <translation>setLineWidth(width, ["name"])
1480
1481 Sets line width of the object "name" to "width". "width" must be in the
1482 range from 0.0 to 12.0 inclusive, and is measured in points. If "name" is not
1483 given the currently selected item is used.
1484
1485 May raise ValueError if the line width is out of bounds.
1486 </translation>
1487 </message>
1488 <message>
1489 <source>setLineShade(shade, ["name"])
1490
1491 Sets the shading of the line color of the object "name" to "shade".
1492 "shade" must be an integer value in the range from 0 (lightest) to 100
1493 (full color intensity). If "name" is not given the currently selected item
1494 is used.
1495
1496 May raise ValueError if the line shade is out of bounds.
1497 </source>
1498 <translation>setLineShade(shade, ["name"])
1499
1500 Sets the shading of the line color of the object "name" to "shade".
1501 "shade" must be an integer value in the range from 0 (lightest) to 100
1502 (full color intensity). If "name" is not given the currently selected item
1503 is used.
1504
1505 May raise ValueError if the line shade is out of bounds.
1506 </translation>
1507 </message>
1508 <message>
1509 <source>setLineJoin(join, ["name"])
1510
1511 Sets the line join style of the object "name" to the style "join".
1512 If "name" is not given the currently selected item is used. There are
1513 predefined constants for join - JOIN_<type>.
1514 </source>
1515 <translation>setLineJoin(join, ["name"])
1516
1517 Sets the line join style of the object "name" to the style "join".
1518 If "name" is not given the currently selected item is used. There are
1519 predefined constants for join - JOIN_<type>.
1520 </translation>
1521 </message>
1522 <message>
1523 <source>setLineEnd(endtype, ["name"])
1524
1525 Sets the line cap style of the object "name" to the style "cap".
1526 If "name" is not given the currently selected item is used. There are
1527 predefined constants for "cap" - CAP_<type>.
1528 </source>
1529 <translation>setLineEnd(endtype, ["name"])
1530
1531 Sets the line cap style of the object "name" to the style "cap".
1532 If "name" is not given the currently selected item is used. There are
1533 predefined constants for "cap" - CAP_<type>.
1534 </translation>
1535 </message>
1536 <message>
1537 <source>setLineStyle(style, ["name"])
1538
1539 Sets the line style of the object "name" to the style "style". If "name"
1540 is not given the currently selected item is used. There are predefined
1541 constants for "style" - LINE_<style>.
1542 </source>
1543 <translation>setLineStyle(style, ["name"])
1544
1545 Sets the line style of the object "name" to the style "style". If "name"
1546 is not given the currently selected item is used. There are predefined
1547 constants for "style" - LINE_<style>.
1548 </translation>
1549 </message>
1550 <message>
1551 <source>setFillShade(shade, ["name"])
1552
1553 Sets the shading of the fill color of the object "name" to "shade".
1554 "shade" must be an integer value in the range from 0 (lightest) to 100
1555 (full Color intensity). If "name" is not given the currently selected
1556 Item is used.
1557
1558 May raise ValueError if the fill shade is out of bounds.
1559 </source>
1560 <translation>setFillShade(shade, ["name"])
1561
1562 Sets the shading of the fill color of the object "name" to "shade".
1563 "shade" must be an integer value in the range from 0 (lightest) to 100
1564 (full Color intensity). If "name" is not given the currently selected
1565 Item is used.
1566
1567 May raise ValueError if the fill shade is out of bounds.
1568 </translation>
1569 </message>
1570 <message>
1571 <source>setCornerRadius(radius, ["name"])
1572
1573 Sets the corner radius of the object "name". The radius is expressed
1574 in points. If "name" is not given the currently selected item is used.
1575
1576 May raise ValueError if the corner radius is negative.
1577 </source>
1578 <translation>setCornerRadius(radius, ["name"])
1579
1580
1581 Sets the corner radius of the object "name". The radius is expressed
1582 in points. If "name" is not given the currently selected item is used.
1583
1584 May raise ValueError if the corner radius is negative. </translation>