Rev 6261 | Rev 6436 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
5328 | cbradney | 1 | <!DOCTYPE TS><TS> |
2 | <context> |
||
1135 | cbradney | 3 | <name></name> |
4 | <message> |
||
5328 | cbradney | 5 | <source>getColorNames() -> list |
1135 | cbradney | 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> |
||
5328 | cbradney | 10 | <translation>getColorNames() -> list |
1135 | cbradney | 11 | |
3823 | tsoots | 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> |
||
1135 | cbradney | 14 | </message> |
15 | <message> |
||
5328 | cbradney | 16 | <source>newDocDialog() -> bool |
1135 | cbradney | 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> |
||
5328 | cbradney | 22 | <translation>getColorNames() -> list |
1135 | cbradney | 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> |
||
5328 | cbradney | 29 | <source>getFillColor(["name"]) -> string |
1135 | cbradney | 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> |
||
5328 | cbradney | 34 | <translation>getFillColor(["name"]) -> string |
1135 | cbradney | 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> |
||
5328 | cbradney | 40 | <source>moveObject(dx, dy [, "name"]) |
1135 | cbradney | 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> |
||
5328 | cbradney | 47 | <translation>moveObject(dx, dy [, "name"]) |
1135 | cbradney | 48 | |
49 | Siirtää kohdetta "name" arvoilla dx ja dy suhteessa nykyiseen sijaintiin. Etäisyydet |
||
50 | ilmaistaan asikirjassa 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> |
||
5328 | cbradney | 55 | <source>setRedraw(bool) |
1135 | cbradney | 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> |
||
5328 | cbradney | 61 | <translation>setRedraw(bool) |
1135 | cbradney | 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> |
||
5328 | cbradney | 68 | <source>createRect(x, y, width, height, ["name"]) -> string |
1135 | cbradney | 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 | |||
5328 | cbradney | 76 | May raise NameExistsError if you explicitly pass a name that's already used. |
1135 | cbradney | 77 | </source> |
5328 | cbradney | 78 | <translation>createRect(x, y, width, height, ["name"]) -> string |
1135 | cbradney | 79 | |
80 | Luo uuden nelikulmion nykyiselle sivulle ja palauttaa luodun kohteen nimen. |
||
81 | Koordinaatit on annettava asikirjassa 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> |
||
5328 | cbradney | 88 | <source>setGradientFill(type, "color1", shade1, "color2", shade2, ["name"]) |
1135 | cbradney | 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 |
||
5328 | cbradney | 92 | available types (FILL_<type>). |
1135 | cbradney | 93 | </source> |
5328 | cbradney | 94 | <translation>setGradientFill(type, "color1", shade1, "color2", shade2, ["name"]) |
1135 | cbradney | 95 | |
96 | Asettaa liukuväritäytön kohteelle "name". Värin kuvukset ovat samat kuin |
||
5328 | cbradney | 97 | setFillColor():lla ja setFillShade():lla. Katso vakiot FILL_<type>.</translation> |
1135 | cbradney | 98 | </message> |
99 | <message> |
||
5328 | cbradney | 100 | <source>getFontSize(["name"]) -> float |
1135 | cbradney | 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> |
||
5328 | cbradney | 107 | <translation>getFontSize(["name"]) -> float |
1135 | cbradney | 108 | |
3823 | tsoots | 109 | Palauttaa kirjaintyypin koon pisteinä tekstikehykselle "name". Jos tekstikehyksessä |
110 | on tekstiä valittuna palautetaan valinnan ensimmäisen kirjaintyypin koko. |
||
1135 | cbradney | 111 | Jos "name" ei ole määritelty, käytetään valittuna olevaa kohdetta.</translation> |
112 | </message> |
||
113 | <message> |
||
5328 | cbradney | 114 | <source>messagebarText("string") |
1135 | cbradney | 115 | |
116 | Writes the "string" into the Scribus message bar (status line). The text |
||
5328 | cbradney | 117 | must be UTF8 encoded or 'unicode' string(recommended). |
1135 | cbradney | 118 | </source> |
5328 | cbradney | 119 | <translation>messagebarText("string") |
1135 | cbradney | 120 | |
121 | Asettaa tekstin "string" Scribuksen tilariville. Teksti täytyy olla UTF8 koodattu tai |
||
5328 | cbradney | 122 | 'unicode' teksti (suositeltavaa).</translation> |
1135 | cbradney | 123 | </message> |
1525 | cbradney | 124 | <message> |
5328 | cbradney | 125 | <source>newPage(where [,"masterpage"]) |
1525 | cbradney | 126 | |
3823 | tsoots | 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 |
||
2147 | cbradney | 134 | </source> |
5328 | cbradney | 135 | <translation>newPage(where [,"masterpage"]) |
1525 | cbradney | 136 | |
3823 | tsoots | 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> |
||
1525 | cbradney | 145 | </message> |
3064 | cbradney | 146 | <message> |
5328 | cbradney | 147 | <source>importSVG("string") |
3064 | cbradney | 148 | |
3823 | tsoots | 149 | The "string" must be a valid filename for a SVG image. The text |
5328 | cbradney | 150 | must be UTF8 encoded or 'unicode' string(recommended). |
3823 | tsoots | 151 | </source> |
5328 | cbradney | 152 | <translation>importSVG("string") |
3823 | tsoots | 153 | |
154 | The "string" must be a valid filename for a SVG image. The text |
||
5328 | cbradney | 155 | must be UTF8 encoded or 'unicode' string(recommended).</translation> |
3823 | tsoots | 156 | </message> |
157 | <message> |
||
5328 | cbradney | 158 | <source>newDocument(size, margins, orientation, firstPageNumber, |
159 | unit, pagesType, firstPageOrder) -> bool |
||
3823 | tsoots | 160 | |
3064 | cbradney | 161 | Creates a new document and returns true if successful. The parameters have the |
162 | following meaning: |
||
163 | |||
3823 | tsoots | 164 | size = A tuple (width, height) describing the size of the document. You can |
5328 | cbradney | 165 | use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc. |
3064 | cbradney | 166 | |
3823 | tsoots | 167 | margins = A tuple (left, right, top, bottom) describing the document |
168 | margins |
||
3064 | cbradney | 169 | |
3823 | tsoots | 170 | orientation = the page orientation - constants PORTRAIT, LANDSCAPE |
3064 | cbradney | 171 | |
3823 | tsoots | 172 | firstPageNumer = is the number of the first page in the document used for |
5328 | cbradney | 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. |
||
3064 | cbradney | 175 | |
3823 | tsoots | 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. |
||
3064 | cbradney | 179 | |
3823 | tsoots | 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. |
||
3064 | cbradney | 183 | |
3823 | tsoots | 184 | firstPageOrder = What is position of first page in the document. |
185 | Indexed from 0 (0 = first). |
||
3064 | cbradney | 186 | |
187 | The values for width, height and the margins are expressed in the given unit |
||
188 | for the document. PAPER_* constants are expressed in points. If your document |
||
189 | is not in points, make sure to account for this. |
||
190 | |||
3823 | tsoots | 191 | example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS, |
192 | PAGE_4, 3) |
||
193 | |||
194 | May raise ScribusError if is firstPageOrder bigger than allowed by pagesType. |
||
3064 | cbradney | 195 | </source> |
6434 | cbradney | 196 | <translation type="obsolete">newDocument(size, margins, orientation, firstPageNumber, |
5328 | cbradney | 197 | unit, pagesType, firstPageOrder) -> bool |
3064 | cbradney | 198 | |
3823 | tsoots | 199 | Creates a new document and returns true if successful. The parameters have the |
200 | following meaning: |
||
3064 | cbradney | 201 | |
3823 | tsoots | 202 | size = A tuple (width, height) describing the size of the document. You can |
5328 | cbradney | 203 | use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc. |
3064 | cbradney | 204 | |
3823 | tsoots | 205 | margins = A tuple (left, right, top, bottom) describing the document |
206 | margins |
||
207 | |||
208 | orientation = the page orientation - constants PORTRAIT, LANDSCAPE |
||
209 | |||
210 | firstPageNumer = is the number of the first page in the document used for |
||
5328 | cbradney | 211 | pagenumbering. While you'll usually want 1, it's useful to have higher |
212 | numbers if you're creating a document in several parts. |
||
3823 | tsoots | 213 | |
214 | unit: this value sets the measurement units used by the document. Use a |
||
215 | predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS, |
||
216 | UNIT_PICAS, UNIT_POINTS. |
||
217 | |||
218 | pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page, |
||
219 | PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and |
||
220 | PAGE_4 is 4-fold. |
||
221 | |||
222 | firstPageOrder = What is position of first page in the document. |
||
223 | Indexed from 0 (0 = first). |
||
224 | |||
225 | The values for width, height and the margins are expressed in the given unit |
||
226 | for the document. PAPER_* constants are expressed in points. If your document |
||
227 | is not in points, make sure to account for this. |
||
228 | |||
229 | example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS, |
||
230 | PAGE_4, 3) |
||
231 | |||
232 | May raise ScribusError if is firstPageOrder bigger than allowed by pagesType. |
||
233 | </translation> |
||
3064 | cbradney | 234 | </message> |
6434 | cbradney | 235 | <message> |
236 | <source>newDocument(size, margins, orientation, firstPageNumber, |
||
237 | unit, pagesType, firstPageOrder, numPages) -> bool |
||
238 | |||
239 | Creates a new document and returns true if successful. The parameters have the |
||
240 | following meaning: |
||
241 | |||
242 | size = A tuple (width, height) describing the size of the document. You can |
||
243 | use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc. |
||
244 | |||
245 | margins = A tuple (left, right, top, bottom) describing the document |
||
246 | margins |
||
247 | |||
248 | orientation = the page orientation - constants PORTRAIT, LANDSCAPE |
||
249 | |||
250 | firstPageNumer = is the number of the first page in the document used for |
||
251 | pagenumbering. While you'll usually want 1, it's useful to have higher |
||
252 | numbers if you're creating a document in several parts. |
||
253 | |||
254 | unit: this value sets the measurement units used by the document. Use a |
||
255 | predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS, |
||
256 | UNIT_PICAS, UNIT_POINTS. |
||
257 | |||
258 | pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page, |
||
259 | PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and |
||
260 | PAGE_4 is 4-fold. |
||
261 | |||
262 | firstPageOrder = What is position of first page in the document. |
||
263 | Indexed from 0 (0 = first). |
||
264 | |||
265 | numPage = Number of pages to be created. |
||
266 | |||
267 | The values for width, height and the margins are expressed in the given unit |
||
268 | for the document. PAPER_* constants are expressed in points. If your document |
||
269 | is not in points, make sure to account for this. |
||
270 | |||
271 | example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS, |
||
272 | PAGE_4, 3, 1) |
||
273 | |||
274 | May raise ScribusError if is firstPageOrder bigger than allowed by pagesType. |
||
275 | </source> |
||
276 | <translation type="unfinished"></translation> |
||
277 | </message> |
||
5328 | cbradney | 278 | </context> |
279 | <context> |
||
1135 | cbradney | 280 | <name>@default</name> |
281 | <message> |
||
5328 | cbradney | 282 | <source>getColor("name") -> tuple |
1135 | cbradney | 283 | |
284 | Returns a tuple (C, M, Y, K) containing the four color components of the |
||
285 | color "name" from the current document. If no document is open, returns |
||
286 | the value of the named color from the default document colors. |
||
287 | |||
5328 | cbradney | 288 | May raise NotFoundError if the named color wasn't found. |
1135 | cbradney | 289 | May raise ValueError if an invalid color name is specified. |
290 | </source> |
||
5328 | cbradney | 291 | <translation>getColor("name") -> tuple |
1135 | cbradney | 292 | |
293 | Palauttaa tuplen (C, M, Y, K) värille "name" nykyisestä asiakirjasta. Jos asiakirjaa |
||
294 | ei ole avoinna, palauttaa värin oletusväreistä. |
||
295 | |||
296 | Saattaa nostaa NotFoundError:n, jos väriä ei löydy. |
||
297 | Saattaa nostaa ValueError:n, jos värin nimi on viallinen.</translation> |
||
298 | </message> |
||
299 | <message> |
||
5328 | cbradney | 300 | <source>changeColor("name", c, m, y, k) |
1135 | cbradney | 301 | |
302 | Changes the color "name" to the specified CMYK value. The color value is |
||
303 | defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black. |
||
304 | Color components should be in the range from 0 to 255. |
||
305 | |||
5328 | cbradney | 306 | May raise NotFoundError if the named color wasn't found. |
1135 | cbradney | 307 | May raise ValueError if an invalid color name is specified. |
308 | </source> |
||
5328 | cbradney | 309 | <translation>changeColor("name", c, m, y, k) |
1135 | cbradney | 310 | |
311 | Vaihtaa värin "name" vastaamaan väriä c, m, y, k (kaikki määritelty välillä 0, 255).</translation> |
||
312 | </message> |
||
313 | <message> |
||
5328 | cbradney | 314 | <source>deleteColor("name", "replace") |
1135 | cbradney | 315 | |
316 | Deletes the color "name". Every occurence of that color is replaced by the |
||
317 | color "replace". If not specified, "replace" defaults to the color |
||
318 | "None" - transparent. |
||
319 | |||
320 | deleteColor works on the default document colors if there is no document open. |
||
321 | In that case, "replace", if specified, has no effect. |
||
322 | |||
5328 | cbradney | 323 | May raise NotFoundError if a named color wasn't found. |
1135 | cbradney | 324 | May raise ValueError if an invalid color name is specified. |
325 | </source> |
||
5328 | cbradney | 326 | <translation>deleteColor("name", "replace") |
1135 | cbradney | 327 | |
328 | Poistaa värin "nimi", joka korvataan värillä "replace". Oletuksena "replace" on None (läpinäkyvä). |
||
329 | |||
330 | deleteColors toimii asiakirjassa määritellyillä väreillä, asiakirja on avoinna. |
||
331 | |||
332 | Saattaa nostaa NotFoundError:n, jos nimettyä väriä ei löydy. |
||
333 | Saattaa nostaa ValueError:n, jos värin nimi on viallinen.</translation> |
||
334 | </message> |
||
335 | <message> |
||
5328 | cbradney | 336 | <source>replaceColor("name", "replace") |
1135 | cbradney | 337 | |
338 | Every occurence of the color "name" is replaced by the color "replace". |
||
339 | |||
5328 | cbradney | 340 | May raise NotFoundError if a named color wasn't found. |
1135 | cbradney | 341 | May raise ValueError if an invalid color name is specified. |
342 | </source> |
||
5328 | cbradney | 343 | <translation>replaceColor("name", "replace") |
1135 | cbradney | 344 | |
345 | Jokainen ilmentymä väristä "name" korvataan värillä "replace". |
||
346 | |||
347 | Saattaa nostaa NotFoundError:n, jos nimettyä väriä ei löydy. |
||
348 | Saattaa nostaa ValueError:n, jos värin nimi on viallinen.</translation> |
||
349 | </message> |
||
350 | <message> |
||
5328 | cbradney | 351 | <source>messageBox("caption", "message", |
1135 | cbradney | 352 | icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT, |
5328 | cbradney | 353 | button2=BUTTON_NONE, button3=BUTTON_NONE) -> integer |
1135 | cbradney | 354 | |
355 | Displays a message box with the title "caption", the message "message", and |
||
356 | an icon "icon" and up to 3 buttons. By default no icon is used and a single |
||
357 | button, OK, is displayed. Only the caption and message arguments are required, |
||
358 | though setting an icon and appropriate button(s) is strongly |
||
359 | recommended. The message text may contain simple HTML-like markup. |
||
360 | |||
361 | Returns the number of the button the user pressed. Button numbers start |
||
362 | at 1. |
||
363 | |||
364 | For the icon and the button parameters there are predefined constants available |
||
365 | with the same names as in the Qt Documentation. These are the BUTTON_* and |
||
366 | ICON_* constants defined in the module. There are also two extra constants that |
||
367 | can be binary-ORed with button constants: |
||
368 | BUTTONOPT_DEFAULT Pressing enter presses this button. |
||
369 | BUTTONOPT_ESCAPE Pressing escape presses this button. |
||
370 | |||
371 | Usage examples: |
||
5328 | cbradney | 372 | result = messageBox('Script failed', |
373 | 'This script only works when you have a text frame selected.', |
||
1135 | cbradney | 374 | ICON_ERROR) |
5328 | cbradney | 375 | result = messageBox('Monkeys!', 'Something went ook! <i>Was it a monkey?</i>', |
1135 | cbradney | 376 | ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT, |
377 | BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE) |
||
378 | |||
379 | Defined button and icon constants: |
||
380 | BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO, |
||
381 | BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL, |
||
382 | ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL. |
||
383 | </source> |
||
5328 | cbradney | 384 | <translation>messageBox("caption", "message", |
2147 | cbradney | 385 | icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT, |
5328 | cbradney | 386 | button2=BUTTON_NONE, button3=BUTTON_NONE) -> integer |
2147 | cbradney | 387 | |
388 | Displays a message box with the title "caption", the message "message", and |
||
389 | an icon "icon" and up to 3 buttons. By default no icon is used and a single |
||
390 | button, OK, is displayed. Only the caption and message arguments are required, |
||
391 | though setting an icon and appropriate button(s) is strongly |
||
392 | recommended. The message text may contain simple HTML-like markup. |
||
393 | |||
394 | Returns the number of the button the user pressed. Button numbers start |
||
395 | at 1. |
||
396 | |||
397 | For the icon and the button parameters there are predefined constants available |
||
398 | with the same names as in the Qt Documentation. These are the BUTTON_* and |
||
399 | ICON_* constants defined in the module. There are also two extra constants that |
||
400 | can be binary-ORed with button constants: |
||
401 | BUTTONOPT_DEFAULT Pressing enter presses this button. |
||
402 | BUTTONOPT_ESCAPE Pressing escape presses this button. |
||
403 | |||
404 | Usage examples: |
||
5328 | cbradney | 405 | result = messageBox('Script failed', |
406 | 'This script only works when you have a text frame selected.', |
||
2147 | cbradney | 407 | ICON_ERROR) |
5328 | cbradney | 408 | result = messageBox('Monkeys!', 'Something went ook! <i>Was it a monkey?</i>', |
2147 | cbradney | 409 | ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT, |
410 | BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE) |
||
411 | |||
412 | Defined button and icon constants: |
||
413 | BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO, |
||
414 | BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL, |
||
415 | ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL.</translation> |
||
1135 | cbradney | 416 | </message> |
417 | <message> |
||
5328 | cbradney | 418 | <source>valueDialog(caption, message [,defaultvalue]) -> string |
1135 | cbradney | 419 | |
5328 | cbradney | 420 | Shows the common 'Ask for string' dialog and returns its value as a string |
421 | Parameters: window title, text in the window and optional 'default' value. |
||
1135 | cbradney | 422 | |
5328 | cbradney | 423 | Example: valueDialog('title', 'text in the window', 'optional') |
1135 | cbradney | 424 | </source> |
5328 | cbradney | 425 | <translation>valueDialog(caption, message [,defaultvalue]) -> string |
1135 | cbradney | 426 | |
427 | Näyttää yleisen "Kysy string"-dialogin ja palauttaa sen arvon. Parametrit: ikkunan |
||
428 | otsikko, ikkunan teksti ja oletusarvo</translation> |
||
429 | </message> |
||
430 | <message> |
||
5328 | cbradney | 431 | <source>closeDoc() |
1135 | cbradney | 432 | |
433 | Closes the current document without prompting to save. |
||
434 | |||
435 | May throw NoDocOpenError if there is no document to close |
||
436 | </source> |
||
5328 | cbradney | 437 | <translation>closeDoc() |
1135 | cbradney | 438 | |
439 | Sulkee aktiivisen asiakirjan, ilman tallennusdialogia. |
||
440 | |||
441 | Saattaa heittää NoDocOpenError, jos suljettavia asiakirjoja ei ole</translation> |
||
442 | </message> |
||
443 | <message> |
||
5328 | cbradney | 444 | <source>haveDoc() -> bool |
1135 | cbradney | 445 | |
446 | Returns true if there is a document open. |
||
447 | </source> |
||
5328 | cbradney | 448 | <translation>haveDoc() -> bool |
1135 | cbradney | 449 | |
450 | Palauttaa true, jos yksikin asiakirja on avoinna.</translation> |
||
451 | </message> |
||
452 | <message> |
||
5328 | cbradney | 453 | <source>openDoc("name") |
1135 | cbradney | 454 | |
455 | Opens the document "name". |
||
456 | |||
457 | May raise ScribusError if the document could not be opened. |
||
458 | </source> |
||
5328 | cbradney | 459 | <translation>openDoc("name") |
1135 | cbradney | 460 | |
461 | Avaa asiakirjan "name". |
||
462 | |||
463 | Saattaa aiheuttaa ScribusErrorin, jos asiakirjaa ei voida avata.</translation> |
||
464 | </message> |
||
465 | <message> |
||
5328 | cbradney | 466 | <source>saveDoc() |
1135 | cbradney | 467 | |
468 | Saves the current document with its current name, returns true if successful. |
||
469 | If the document has not already been saved, this may bring up an interactive |
||
470 | save file dialog. |
||
471 | |||
472 | If the save fails, there is currently no way to tell. |
||
473 | </source> |
||
5328 | cbradney | 474 | <translation>saveDoc() |
1135 | cbradney | 475 | |
476 | Tallennusdialogi. Tallennuksen epäonnistumista ei voi tällä hetkellä päätellä mistään.</translation> |
||
477 | </message> |
||
478 | <message> |
||
5328 | cbradney | 479 | <source>saveDocAs("name") |
1135 | cbradney | 480 | |
481 | Saves the current document under the new name "name" (which may be a full or |
||
482 | relative path). |
||
483 | |||
484 | May raise ScribusError if the save fails. |
||
485 | </source> |
||
5328 | cbradney | 486 | <translation>saveDocAs("name") |
1135 | cbradney | 487 | |
488 | Tallentaa aktiivisen asiakirjan nimellä "nimi", joka voi olla täydellinen tai suhteellinen polku. |
||
489 | |||
490 | Saattaa aiheuttaa ScribusError:n, jos tallennus epäonnistuu.</translation> |
||
491 | </message> |
||
492 | <message> |
||
5328 | cbradney | 493 | <source>saveDocAs("author", "info", "description") -> bool |
1135 | cbradney | 494 | |
495 | Sets the document information. "Author", "Info", "Description" are |
||
496 | strings. |
||
497 | </source> |
||
6434 | cbradney | 498 | <translation type="obsolete">saveDocAs("author", "info", "description") -> bool |
1135 | cbradney | 499 | |
500 | Asettaa asiakirjan tiedot. "author" (tekijä), "info" (tietoja) ja "description" (kuvaus) ovat stringejä.</translation> |
||
501 | </message> |
||
502 | <message> |
||
5328 | cbradney | 503 | <source>setMargins(lr, rr, tr, br) |
1135 | cbradney | 504 | |
505 | Sets the margins of the document, Left(lr), Right(rr), Top(tr) and Bottom(br) |
||
5328 | cbradney | 506 | margins are given in the measurement units of the document - see UNIT_<type> |
1135 | cbradney | 507 | constants. |
508 | </source> |
||
5328 | cbradney | 509 | <translation>setMargins(lr, rr, tr, br) |
1135 | cbradney | 510 | |
511 | Asettaa asiakirjan reunukset Vasen (lr), Oikea (rr), ylä (tr) ja ala (br). Reunukset annetaan |
||
5328 | cbradney | 512 | asiakirjan käyttämissä yksiköissä. Katso UNIT_<type> vakiot.</translation> |
1135 | cbradney | 513 | </message> |
514 | <message> |
||
5328 | cbradney | 515 | <source>setUnit(type) |
1135 | cbradney | 516 | |
517 | Changes the measurement unit of the document. Possible values for "unit" are |
||
5328 | cbradney | 518 | defined as constants UNIT_<type>. |
1135 | cbradney | 519 | |
520 | May raise ValueError if an invalid unit is passed. |
||
521 | </source> |
||
5328 | cbradney | 522 | <translation>setUnit(type) |
1135 | cbradney | 523 | |
5328 | cbradney | 524 | Vaihtaa asiakirjan mittayksikköä. Mahdolliset yksiköt on määritelty vakiona UNIT_<type>. |
1135 | cbradney | 525 | |
526 | Saattaa aiheuttaa ValueError:n, jos käytetään virheellistä yksikköä.</translation> |
||
527 | </message> |
||
528 | <message> |
||
5328 | cbradney | 529 | <source>getUnit() -> integer (Scribus unit constant) |
1135 | cbradney | 530 | |
531 | Returns the measurement units of the document. The returned value will be one |
||
532 | of the UNIT_* constants: |
||
533 | UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS. |
||
534 | </source> |
||
5328 | cbradney | 535 | <translation>getUnit() -> integer (Scribus unit constant) |
1135 | cbradney | 536 | |
537 | Palauttaa asiakirjan mittayksikön. Arvo on yksi UNIT_* vakioista. |
||
538 | UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS. |
||
539 | </translation> |
||
540 | </message> |
||
541 | <message> |
||
5328 | cbradney | 542 | <source>loadStylesFromFile("filename") |
1135 | cbradney | 543 | |
544 | Loads paragraph styles from the Scribus document at "filename" into the |
||
545 | current document. |
||
546 | </source> |
||
5328 | cbradney | 547 | <translation>loadStylesFromFile("filename") |
1135 | cbradney | 548 | |
549 | Lataa kappaletyylit Scribus-asiakirjasta "filename" aktiiviseen asiakirjaan.</translation> |
||
550 | </message> |
||
551 | <message> |
||
5328 | cbradney | 552 | <source>setDocType(facingPages, firstPageLeft) |
1135 | cbradney | 553 | |
554 | Sets the document type. To get facing pages set the first parameter to |
||
555 | FACINGPAGES, to switch facingPages off use NOFACINGPAGES instead. If you want |
||
556 | to be the first page a left side set the second parameter to FIRSTPAGELEFT, for |
||
557 | a right page use FIRSTPAGERIGHT. |
||
558 | </source> |
||
5328 | cbradney | 559 | <translation>setDocType(facingPages, firstPageLeft) |
2147 | cbradney | 560 | |
561 | Sets the document type. To get facing pages set the first parameter to |
||
562 | FACINGPAGES, to switch facingPages off use NOFACINGPAGES instead. If you want |
||
563 | to be the first page a left side set the second parameter to FIRSTPAGELEFT, for |
||
564 | a right page use FIRSTPAGERIGHT. |
||
1135 | cbradney | 565 | |
566 | </translation> |
||
567 | </message> |
||
568 | <message> |
||
5328 | cbradney | 569 | <source>getLineColor(["name"]) -> string |
1135 | cbradney | 570 | |
571 | Returns the name of the line color of the object "name". |
||
572 | If "name" is not given the currently selected item is used. |
||
573 | </source> |
||
5328 | cbradney | 574 | <translation>getLineColor(["name"]) -> string |
1135 | cbradney | 575 | |
576 | Palauttaa kohteen "name" viivan värin. Ilman "name":a palauttaa |
||
577 | valittuna olevan kohteen kehyksen värin.</translation> |
||
578 | </message> |
||
579 | <message> |
||
5328 | cbradney | 580 | <source>getLineWidth(["name"]) -> integer |
1135 | cbradney | 581 | |
582 | Returns the line width of the object "name". If "name" |
||
583 | is not given the currently selected Item is used. |
||
584 | </source> |
||
5328 | cbradney | 585 | <translation>getLineWidth(["name"]) -> integer |
1135 | cbradney | 586 | |
587 | Palauttaa kohteen "name" viivan leveyden. Jos "name":a |
||
588 | ei anneta käytetään valittuna olevaa kohdetta.</translation> |
||
589 | </message> |
||
590 | <message> |
||
5328 | cbradney | 591 | <source>getLineShade(["name"]) -> integer |
1135 | cbradney | 592 | |
593 | Returns the shading value of the line color of the object "name". |
||
594 | If "name" is not given the currently selected item is used. |
||
595 | </source> |
||
5328 | cbradney | 596 | <translation>getLineShade(["name"]) -> integer |
1135 | cbradney | 597 | |
598 | Palauttaa kohteen "name" viivan värin sävyn. Jos "name":a ei |
||
599 | anneta käytetään valittuna olevaa kohdetta.</translation> |
||
600 | </message> |
||
601 | <message> |
||
5328 | cbradney | 602 | <source>getLineJoin(["name"]) -> integer (see contants) |
1135 | cbradney | 603 | |
604 | Returns the line join style of the object "name". If "name" is not given |
||
605 | the currently selected item is used. The join types are: |
||
606 | JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND |
||
607 | </source> |
||
5328 | cbradney | 608 | <translation>getLineJoin(["name"]) -> integer (see contants) |
2147 | cbradney | 609 | |
610 | Returns the line join style of the object "name". If "name" is not given |
||
611 | the currently selected item is used. The join types are: |
||
612 | JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND |
||
1135 | cbradney | 613 | </translation> |
614 | </message> |
||
615 | <message> |
||
5328 | cbradney | 616 | <source>getLineEnd(["name"]) -> integer (see constants) |
1135 | cbradney | 617 | |
618 | Returns the line cap style of the object "name". If "name" is not given the |
||
619 | currently selected item is used. The cap types are: |
||
620 | CAP_FLAT, CAP_ROUND, CAP_SQUARE |
||
621 | </source> |
||
5328 | cbradney | 622 | <translation>getLineEnd(["name"]) -> integer (see constants) |
2147 | cbradney | 623 | |
624 | Returns the line cap style of the object "name". If "name" is not given the |
||
625 | currently selected item is used. The cap types are: |
||
626 | CAP_FLAT, CAP_ROUND, CAP_SQUARE </translation> |
||
1135 | cbradney | 627 | </message> |
628 | <message> |
||
5328 | cbradney | 629 | <source>getLineStyle(["name"]) -> integer (see constants) |
1135 | cbradney | 630 | |
631 | Returns the line style of the object "name". If "name" is not given the |
||
632 | currently selected item is used. Line style constants are: |
||
633 | LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID |
||
634 | </source> |
||
5328 | cbradney | 635 | <translation>getLineStyle(["name"]) -> integer (see constants) |
2147 | cbradney | 636 | |
637 | Returns the line style of the object "name". If "name" is not given the |
||
638 | currently selected item is used. Line style constants are: |
||
639 | LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID |
||
1135 | cbradney | 640 | </translation> |
641 | </message> |
||
642 | <message> |
||
5328 | cbradney | 643 | <source>getFillShade(["name"]) -> integer |
1135 | cbradney | 644 | |
645 | Returns the shading value of the fill color of the object "name". |
||
646 | If "name" is not given the currently selected item is used. |
||
647 | </source> |
||
5328 | cbradney | 648 | <translation>getFillShade(["name"]) -> integer |
2147 | cbradney | 649 | |
650 | Returns the shading value of the fill color of the object "name". |
||
651 | If "name" is not given the currently selected item is used. |
||
1135 | cbradney | 652 | </translation> |
653 | </message> |
||
654 | <message> |
||
5328 | cbradney | 655 | <source>getImageScale(["name"]) -> (x,y) |
1135 | cbradney | 656 | |
657 | Returns a (x, y) tuple containing the scaling values of the image frame |
||
658 | "name". If "name" is not given the currently selected item is used. |
||
659 | </source> |
||
5328 | cbradney | 660 | <translation>getImageScale(["name"]) -> (x,y) |
2147 | cbradney | 661 | |
662 | Returns a (x, y) tuple containing the scaling values of the image frame |
||
663 | "name". If "name" is not given the currently selected item is used. |
||
1135 | cbradney | 664 | </translation> |
665 | </message> |
||
666 | <message> |
||
5328 | cbradney | 667 | <source>getImageName(["name"]) -> string |
1135 | cbradney | 668 | |
669 | Returns the filename for the image in the image frame. If "name" is not |
||
670 | given the currently selected item is used. |
||
671 | </source> |
||
5328 | cbradney | 672 | <translation>getImageName(["name"]) -> string |
2147 | cbradney | 673 | |
674 | Returns the filename for the image in the image frame. If "name" is not |
||
675 | given the currently selected item is used. |
||
1135 | cbradney | 676 | </translation> |
677 | </message> |
||
678 | <message> |
||
5328 | cbradney | 679 | <source>getSize(["name"]) -> (width,height) |
1135 | cbradney | 680 | |
681 | Returns a (width, height) tuple with the size of the object "name". |
||
682 | If "name" is not given the currently selected item is used. The size is |
||
5328 | cbradney | 683 | expressed in the current measurement unit of the document - see UNIT_<type> |
1135 | cbradney | 684 | for reference. |
685 | </source> |
||
5328 | cbradney | 686 | <translation>getSize(["name"]) -> (width,height) |
2147 | cbradney | 687 | |
688 | Returns a (width, height) tuple with the size of the object "name". |
||
689 | If "name" is not given the currently selected item is used. The size is |
||
5328 | cbradney | 690 | expressed in the current measurement unit of the document - see UNIT_<type> |
2147 | cbradney | 691 | for reference. |
1135 | cbradney | 692 | </translation> |
693 | </message> |
||
694 | <message> |
||
5328 | cbradney | 695 | <source>getRotation(["name"]) -> integer |
1135 | cbradney | 696 | |
697 | Returns the rotation of the object "name". The value is expressed in degrees, |
||
698 | and clockwise is positive. If "name" is not given the currently selected item |
||
699 | is used. |
||
700 | </source> |
||
5328 | cbradney | 701 | <translation>getRotation(["name"]) -> integer |
1135 | cbradney | 702 | |
2147 | cbradney | 703 | Returns the rotation of the object "name". The value is expressed in degrees, |
704 | and clockwise is positive. If "name" is not given the currently selected item |
||
705 | is used.</translation> |
||
1135 | cbradney | 706 | </message> |
707 | <message> |
||
5328 | cbradney | 708 | <source>getAllObjects() -> list |
1135 | cbradney | 709 | |
710 | Returns a list containing the names of all objects on the current page. |
||
711 | </source> |
||
5328 | cbradney | 712 | <translation>getAllObjects() -> list |
1135 | cbradney | 713 | |
2147 | cbradney | 714 | Returns a list containing the names of all objects on the current page.</translation> |
1135 | cbradney | 715 | </message> |
716 | <message> |
||
5328 | cbradney | 717 | <source>moveObjectAbs(x, y [, "name"]) |
1135 | cbradney | 718 | |
719 | Moves the object "name" to a new location. The coordinates are expressed in |
||
720 | the current measurement unit of the document (see UNIT constants). If "name" |
||
721 | is not given the currently selected item is used. If the object "name" |
||
722 | belongs to a group, the whole group is moved. |
||
723 | </source> |
||
5328 | cbradney | 724 | <translation>moveObjectAbs(x, y [, "name"]) |
2147 | cbradney | 725 | |
726 | Moves the object "name" to a new location. The coordinates are expressed in |
||
727 | the current measurement unit of the document (see UNIT constants). If "name" |
||
728 | is not given the currently selected item is used. If the object "name" |
||
729 | belongs to a group, the whole group is moved. |
||
1135 | cbradney | 730 | </translation> |
731 | </message> |
||
732 | <message> |
||
5328 | cbradney | 733 | <source>rotateObject(rot [, "name"]) |
1135 | cbradney | 734 | |
735 | Rotates the object "name" by "rot" degrees relatively. The object is |
||
736 | rotated by the vertex that is currently selected as the rotation point - by |
||
737 | default, the top left vertext at zero rotation. Positive values mean counter |
||
738 | clockwise rotation when the default rotation point is used. If "name" is not |
||
739 | given the currently selected item is used. |
||
740 | </source> |
||
5328 | cbradney | 741 | <translation>rotateObject(rot [, "name"]) |
2147 | cbradney | 742 | |
743 | Rotates the object "name" by "rot" degrees relatively. The object is |
||
744 | rotated by the vertex that is currently selected as the rotation point - by |
||
745 | default, the top left vertext at zero rotation. Positive values mean counter |
||
746 | clockwise rotation when the default rotation point is used. If "name" is not |
||
747 | given the currently selected item is used. |
||
1135 | cbradney | 748 | </translation> |
749 | </message> |
||
750 | <message> |
||
5328 | cbradney | 751 | <source>sizeObject(width, height [, "name"]) |
1135 | cbradney | 752 | |
753 | Resizes the object "name" to the given width and height. If "name" |
||
754 | is not given the currently selected item is used. |
||
755 | </source> |
||
5328 | cbradney | 756 | <translation>sizeObject(width, height [, "name"]) |
2147 | cbradney | 757 | |
758 | Resizes the object "name" to the given width and height. If "name" |
||
759 | is not given the currently selected item is used. |
||
1135 | cbradney | 760 | </translation> |
761 | </message> |
||
762 | <message> |
||
5328 | cbradney | 763 | <source>getSelectedObject([nr]) -> string |
1135 | cbradney | 764 | |
765 | Returns the name of the selected object. "nr" if given indicates the number |
||
766 | of the selected object, e.g. 0 means the first selected object, 1 means the |
||
767 | second selected Object and so on. |
||
768 | </source> |
||
5328 | cbradney | 769 | <translation>getSelectedObject([nr]) -> string |
2147 | cbradney | 770 | |
771 | Returns the name of the selected object. "nr" if given indicates the number |
||
772 | of the selected object, e.g. 0 means the first selected object, 1 means the |
||
773 | second selected Object and so on. |
||
1135 | cbradney | 774 | </translation> |
775 | </message> |
||
776 | <message> |
||
5328 | cbradney | 777 | <source>selectionCount() -> integer |
1135 | cbradney | 778 | |
779 | Returns the number of selected objects. |
||
780 | </source> |
||
5328 | cbradney | 781 | <translation>selectionCount() -> integer |
2147 | cbradney | 782 | |
783 | Returns the number of selected objects. |
||
1135 | cbradney | 784 | </translation> |
785 | </message> |
||
786 | <message> |
||
5328 | cbradney | 787 | <source>selectObject("name") |
1135 | cbradney | 788 | |
789 | Selects the object with the given "name". |
||
790 | </source> |
||
5328 | cbradney | 791 | <translation>selectObject("name") |
2147 | cbradney | 792 | |
793 | Selects the object with the given "name". |
||
1135 | cbradney | 794 | </translation> |
795 | </message> |
||
796 | <message> |
||
5328 | cbradney | 797 | <source>deselectAll() |
1135 | cbradney | 798 | |
799 | Deselects all objects in the whole document. |
||
800 | </source> |
||
5328 | cbradney | 801 | <translation>deselectAll() |
2147 | cbradney | 802 | |
803 | Deselects all objects in the whole document. |
||
1135 | cbradney | 804 | </translation> |
805 | </message> |
||
806 | <message> |
||
5328 | cbradney | 807 | <source>groupObjects(list) |
1135 | cbradney | 808 | |
809 | Groups the objects named in "list" together. "list" must contain the names |
||
810 | of the objects to be grouped. If "list" is not given the currently selected |
||
811 | items are used. |
||
812 | </source> |
||
5328 | cbradney | 813 | <translation>groupObjects(list) |
2147 | cbradney | 814 | |
815 | Groups the objects named in "list" together. "list" must contain the names |
||
816 | of the objects to be grouped. If "list" is not given the currently selected |
||
817 | items are used. |
||
1135 | cbradney | 818 | </translation> |
819 | </message> |
||
820 | <message> |
||
5328 | cbradney | 821 | <source>unGroupObjects("name") |
1135 | cbradney | 822 | |
823 | Destructs the group the object "name" belongs to.If "name" is not given the currently selected item is used.</source> |
||
5328 | cbradney | 824 | <translation>unGroupObjects("name") |
2147 | cbradney | 825 | |
826 | Destructs the group the object "name" belongs to.If "name" is not given the currently selected item is used. |
||
1135 | cbradney | 827 | </translation> |
828 | </message> |
||
829 | <message> |
||
5328 | cbradney | 830 | <source>scaleGroup(factor [,"name"]) |
1135 | cbradney | 831 | |
832 | Scales the group the object "name" belongs to. Values greater than 1 enlarge |
||
833 | the group, values smaller than 1 make the group smaller e.g a value of 0.5 |
||
834 | scales the group to 50 % of its original size, a value of 1.5 scales the group |
||
835 | to 150 % of its original size. The value for "factor" must be greater than |
||
836 | 0. If "name" is not given the currently selected item is used. |
||
837 | |||
838 | May raise ValueError if an invalid scale factor is passed. |
||
839 | </source> |
||
5328 | cbradney | 840 | <translation>scaleGroup(factor [,"name"]) |
2147 | cbradney | 841 | |
842 | Scales the group the object "name" belongs to. Values greater than 1 enlarge |
||
843 | the group, values smaller than 1 make the group smaller e.g a value of 0.5 |
||
844 | scales the group to 50 % of its original size, a value of 1.5 scales the group |
||
845 | to 150 % of its original size. The value for "factor" must be greater than |
||
846 | 0. If "name" is not given the currently selected item is used. |
||
847 | |||
848 | May raise ValueError if an invalid scale factor is passed. |
||
1135 | cbradney | 849 | </translation> |
850 | </message> |
||
851 | <message> |
||
5328 | cbradney | 852 | <source>loadImage("filename" [, "name"]) |
1135 | cbradney | 853 | |
854 | Loads the picture "picture" into the image frame "name". If "name" is |
||
855 | not given the currently selected item is used. |
||
856 | |||
857 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
858 | </source> |
||
5328 | cbradney | 859 | <translation>loadImage("filename" [, "name"]) |
2147 | cbradney | 860 | |
861 | Loads the picture "picture" into the image frame "name". If "name" is |
||
862 | not given the currently selected item is used. |
||
863 | |||
864 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
1135 | cbradney | 865 | </translation> |
866 | </message> |
||
867 | <message> |
||
5328 | cbradney | 868 | <source>scaleImage(x, y [, "name"]) |
1135 | cbradney | 869 | |
870 | Sets the scaling factors of the picture in the image frame "name". |
||
871 | If "name" is not given the currently selected item is used. A number of 1 |
||
872 | means 100 %. |
||
873 | |||
874 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
875 | </source> |
||
5328 | cbradney | 876 | <translation>scaleImage(x, y [, "name"]) |
2147 | cbradney | 877 | |
878 | Sets the scaling factors of the picture in the image frame "name". |
||
879 | If "name" is not given the currently selected item is used. A number of 1 |
||
880 | means 100 %. |
||
881 | |||
882 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
1135 | cbradney | 883 | </translation> |
884 | </message> |
||
885 | <message> |
||
5328 | cbradney | 886 | <source>lockObject(["name"]) -> bool |
1135 | cbradney | 887 | |
5328 | cbradney | 888 | Locks the object "name" if it's unlocked or unlock it if it's locked. |
1135 | cbradney | 889 | If "name" is not given the currently selected item is used. Returns true |
890 | if locked. |
||
891 | </source> |
||
5328 | cbradney | 892 | <translation>lockObject(["name"]) -> bool |
2147 | cbradney | 893 | |
5328 | cbradney | 894 | Locks the object "name" if it's unlocked or unlock it if it's locked. |
2147 | cbradney | 895 | If "name" is not given the currently selected item is used. Returns true |
896 | if locked. |
||
1135 | cbradney | 897 | </translation> |
898 | </message> |
||
899 | <message> |
||
5328 | cbradney | 900 | <source>isLocked(["name"]) -> bool |
1135 | cbradney | 901 | |
902 | Returns true if is the object "name" locked. If "name" is not given the |
||
903 | currently selected item is used. |
||
904 | </source> |
||
5328 | cbradney | 905 | <translation>isLocked(["name"]) -> bool |
2147 | cbradney | 906 | |
907 | Returns true if is the object "name" locked. If "name" is not given the |
||
908 | currently selected item is used. |
||
1135 | cbradney | 909 | </translation> |
910 | </message> |
||
911 | <message> |
||
5328 | cbradney | 912 | <source>getFontNames() -> list |
1135 | cbradney | 913 | |
914 | Returns a list with the names of all available fonts. |
||
915 | </source> |
||
5328 | cbradney | 916 | <translation>getFontNames() -> list |
2147 | cbradney | 917 | |
918 | Returns a list with the names of all available fonts. |
||
1135 | cbradney | 919 | </translation> |
920 | </message> |
||
921 | <message> |
||
5328 | cbradney | 922 | <source>getXFontNames() -> list of tuples |
1135 | cbradney | 923 | |
5328 | cbradney | 924 | Returns a larger font info. It's a list of the tuples with: |
1135 | cbradney | 925 | [ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ] |
926 | </source> |
||
5328 | cbradney | 927 | <translation>getXFontNames() -> list of tuples |
2147 | cbradney | 928 | |
5328 | cbradney | 929 | Returns a larger font info. It's a list of the tuples with: |
2147 | cbradney | 930 | [ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ] |
1135 | cbradney | 931 | </translation> |
932 | </message> |
||
933 | <message> |
||
5328 | cbradney | 934 | <source>getLayers() -> list |
1135 | cbradney | 935 | |
936 | Returns a list with the names of all defined layers. |
||
937 | </source> |
||
5328 | cbradney | 938 | <translation>getLayers() -> list |
1135 | cbradney | 939 | |
2147 | cbradney | 940 | |
941 | Returns a list with the names of all defined layers. </translation> |
||
1135 | cbradney | 942 | </message> |
943 | <message> |
||
5328 | cbradney | 944 | <source>setActiveLayer("name") |
1135 | cbradney | 945 | |
946 | Sets the active layer to the layer named "name". |
||
947 | |||
5328 | cbradney | 948 | May raise NotFoundError if the layer can't be found. |
949 | May raise ValueError if the layer name isn't acceptable. |
||
1135 | cbradney | 950 | </source> |
5328 | cbradney | 951 | <translation>setActiveLayer("name") |
2147 | cbradney | 952 | |
953 | Sets the active layer to the layer named "name". |
||
954 | |||
5328 | cbradney | 955 | May raise NotFoundError if the layer can't be found. |
956 | May raise ValueError if the layer name isn't acceptable. |
||
1135 | cbradney | 957 | </translation> |
958 | </message> |
||
959 | <message> |
||
5328 | cbradney | 960 | <source>getActiveLayer() -> string |
1135 | cbradney | 961 | |
962 | Returns the name of the current active layer. |
||
963 | </source> |
||
5328 | cbradney | 964 | <translation>getActiveLayer() -> string |
2147 | cbradney | 965 | |
966 | Returns the name of the current active layer. |
||
1135 | cbradney | 967 | </translation> |
968 | </message> |
||
969 | <message> |
||
5328 | cbradney | 970 | <source>sentToLayer("layer" [, "name"]) |
1135 | cbradney | 971 | |
972 | Sends the object "name" to the layer "layer". The layer must exist. |
||
973 | If "name" is not given the currently selected item is used. |
||
974 | |||
5328 | cbradney | 975 | May raise NotFoundError if the layer can't be found. |
976 | May raise ValueError if the layer name isn't acceptable. |
||
1135 | cbradney | 977 | </source> |
5328 | cbradney | 978 | <translation>sentToLayer("layer" [, "name"]) |
2147 | cbradney | 979 | |
980 | Sends the object "name" to the layer "layer". The layer must exist. |
||
981 | If "name" is not given the currently selected item is used. |
||
982 | |||
5328 | cbradney | 983 | May raise NotFoundError if the layer can't be found. |
984 | May raise ValueError if the layer name isn't acceptable. |
||
1135 | cbradney | 985 | </translation> |
986 | </message> |
||
987 | <message> |
||
5328 | cbradney | 988 | <source>setLayerVisible("layer", visible) |
1135 | cbradney | 989 | |
990 | Sets the layer "layer" to be visible or not. If is the visible set to false |
||
991 | the layer is invisible. |
||
992 | |||
5328 | cbradney | 993 | May raise NotFoundError if the layer can't be found. |
994 | May raise ValueError if the layer name isn't acceptable. |
||
1135 | cbradney | 995 | </source> |
5328 | cbradney | 996 | <translation>setLayerVisible("layer", visible) |
2147 | cbradney | 997 | |
998 | Sets the layer "layer" to be visible or not. If is the visible set to false |
||
999 | the layer is invisible. |
||
1000 | |||
5328 | cbradney | 1001 | May raise NotFoundError if the layer can't be found. |
1002 | May raise ValueError if the layer name isn't acceptable. |
||
1135 | cbradney | 1003 | </translation> |
1004 | </message> |
||
1005 | <message> |
||
5328 | cbradney | 1006 | <source>setLayerPrintable("layer", printable) |
1135 | cbradney | 1007 | |
1008 | Sets the layer "layer" to be printable or not. If is the printable set to |
||
5328 | cbradney | 1009 | false the layer won't be printed. |
1135 | cbradney | 1010 | |
5328 | cbradney | 1011 | May raise NotFoundError if the layer can't be found. |
1012 | May raise ValueError if the layer name isn't acceptable. |
||
1135 | cbradney | 1013 | </source> |
6261 | cbradney | 1014 | <translation type="obsolete">setLayerPrintable("layer", printable) |
2147 | cbradney | 1015 | |
1016 | Sets the layer "layer" to be printable or not. If is the printable set to |
||
5328 | cbradney | 1017 | false the layer won't be printed. |
2147 | cbradney | 1018 | |
5328 | cbradney | 1019 | May raise NotFoundError if the layer can't be found. |
1020 | May raise ValueError if the layer name isn't acceptable. |
||
1135 | cbradney | 1021 | </translation> |
1022 | </message> |
||
1023 | <message> |
||
5328 | cbradney | 1024 | <source>deleteLayer("layer") |
1135 | cbradney | 1025 | |
5328 | cbradney | 1026 | Deletes the layer with the name "layer". Nothing happens if the layer doesn't |
1027 | exists or if it's the only layer in the document. |
||
1135 | cbradney | 1028 | |
5328 | cbradney | 1029 | May raise NotFoundError if the layer can't be found. |
1030 | May raise ValueError if the layer name isn't acceptable. |
||
1135 | cbradney | 1031 | </source> |
5328 | cbradney | 1032 | <translation>deleteLayer("layer") |
1135 | cbradney | 1033 | |
2147 | cbradney | 1034 | |
5328 | cbradney | 1035 | Deletes the layer with the name "layer". Nothing happens if the layer doesn't |
1036 | exists or if it's the only layer in the document. |
||
2147 | cbradney | 1037 | |
5328 | cbradney | 1038 | May raise NotFoundError if the layer can't be found. |
1039 | May raise ValueError if the layer name isn't acceptable. </translation> |
||
1135 | cbradney | 1040 | </message> |
1041 | <message> |
||
5328 | cbradney | 1042 | <source>createLayer(layer) |
1135 | cbradney | 1043 | |
1044 | Creates a new layer with the name "name". |
||
1045 | |||
5328 | cbradney | 1046 | May raise ValueError if the layer name isn't acceptable. |
1135 | cbradney | 1047 | </source> |
5328 | cbradney | 1048 | <translation>createLayer(layer) |
2147 | cbradney | 1049 | |
1050 | Creates a new layer with the name "name". |
||
1051 | |||
5328 | cbradney | 1052 | May raise ValueError if the layer name isn't acceptable. |
1135 | cbradney | 1053 | </translation> |
1054 | </message> |
||
1055 | <message> |
||
5328 | cbradney | 1056 | <source>getGuiLanguage() -> string |
1135 | cbradney | 1057 | |
1058 | Returns a string with the -lang value. |
||
1059 | </source> |
||
5328 | cbradney | 1060 | <translation>getGuiLanguage() -> string |
2147 | cbradney | 1061 | |
1062 | Returns a string with the -lang value. |
||
1135 | cbradney | 1063 | </translation> |
1064 | </message> |
||
1065 | <message> |
||
5328 | cbradney | 1066 | <source>createEllipse(x, y, width, height, ["name"]) -> string |
1135 | cbradney | 1067 | |
1068 | Creates a new ellipse on the current page and returns its name. |
||
1069 | The coordinates are given in the current measurement units of the document |
||
1070 | (see UNIT constants). "name" should be a unique identifier for the object |
||
1071 | because you need this name for further referencing of that object. If "name" |
||
1072 | is not given Scribus will create one for you. |
||
1073 | |||
5328 | cbradney | 1074 | May raise NameExistsError if you explicitly pass a name that's already used. |
1135 | cbradney | 1075 | </source> |
5328 | cbradney | 1076 | <translation>createEllipse(x, y, width, height, ["name"]) -> string |
2147 | cbradney | 1077 | |
1078 | Creates a new ellipse on the current page and returns its name. |
||
1079 | The coordinates are given in the current measurement units of the document |
||
1080 | (see UNIT constants). "name" should be a unique identifier for the object |
||
1081 | because you need this name for further referencing of that object. If "name" |
||
1082 | is not given Scribus will create one for you. |
||
1083 | |||
5328 | cbradney | 1084 | May raise NameExistsError if you explicitly pass a name that's already used. |
1135 | cbradney | 1085 | </translation> |
1086 | </message> |
||
1087 | <message> |
||
5328 | cbradney | 1088 | <source>createImage(x, y, width, height, ["name"]) -> string |
1135 | cbradney | 1089 | |
1090 | Creates a new picture frame on the current page and returns its name. The |
||
1091 | coordinates are given in the current measurement units of the document. |
||
1092 | "name" should be a unique identifier for the object because you need this |
||
1093 | name for further access to that object. If "name" is not given Scribus will |
||
1094 | create one for you. |
||
1095 | |||
5328 | cbradney | 1096 | May raise NameExistsError if you explicitly pass a name that's already used. |
1135 | cbradney | 1097 | </source> |
5328 | cbradney | 1098 | <translation>createImage(x, y, width, height, ["name"]) -> string |
2147 | cbradney | 1099 | |
1100 | Creates a new picture frame on the current page and returns its name. The |
||
1101 | coordinates are given in the current measurement units of the document. |
||
1102 | "name" should be a unique identifier for the object because you need this |
||
1103 | name for further access to that object. If "name" is not given Scribus will |
||
1104 | create one for you. |
||
1105 | |||
5328 | cbradney | 1106 | May raise NameExistsError if you explicitly pass a name that's already used. |
1135 | cbradney | 1107 | </translation> |
1108 | </message> |
||
1109 | <message> |
||
5328 | cbradney | 1110 | <source>createText(x, y, width, height, ["name"]) -> string |
1135 | cbradney | 1111 | |
1112 | Creates a new text frame on the actual page and returns its name. |
||
1113 | The coordinates are given in the actual measurement unit of the document (see |
||
1114 | UNIT constants). "name" should be a unique identifier for the object because |
||
1115 | you need this name for further referencing of that object. If "name" is not |
||
1116 | given Scribus will create one for you. |
||
1117 | |||
5328 | cbradney | 1118 | May raise NameExistsError if you explicitly pass a name that's already used. |
1135 | cbradney | 1119 | </source> |
5328 | cbradney | 1120 | <translation>createText(x, y, width, height, ["name"]) -> string |
2147 | cbradney | 1121 | |
1122 | Creates a new text frame on the actual page and returns its name. |
||
1123 | The coordinates are given in the actual measurement unit of the document (see |
||
1124 | UNIT constants). "name" should be a unique identifier for the object because |
||
1125 | you need this name for further referencing of that object. If "name" is not |
||
1126 | given Scribus will create one for you. |
||
1127 | |||
5328 | cbradney | 1128 | May raise NameExistsError if you explicitly pass a name that's already used. |
1135 | cbradney | 1129 | </translation> |
1130 | </message> |
||
1131 | <message> |
||
5328 | cbradney | 1132 | <source>createLine(x1, y1, x2, y2, ["name"]) -> string |
1135 | cbradney | 1133 | |
1134 | Creates a new line from the point(x1, y1) to the point(x2, y2) and returns |
||
1135 | its name. The coordinates are given in the current measurement unit of the |
||
1136 | document (see UNIT constants). "name" should be a unique identifier for the |
||
1137 | object because you need this name for further access to that object. If |
||
1138 | "name" is not given Scribus will create one for you. |
||
1139 | |||
5328 | cbradney | 1140 | May raise NameExistsError if you explicitly pass a name that's already used. |
1135 | cbradney | 1141 | </source> |
5328 | cbradney | 1142 | <translation>createLine(x1, y1, x2, y2, ["name"]) -> string |
2147 | cbradney | 1143 | |
1144 | Creates a new line from the point(x1, y1) to the point(x2, y2) and returns |
||
1145 | its name. The coordinates are given in the current measurement unit of the |
||
1146 | document (see UNIT constants). "name" should be a unique identifier for the |
||
1147 | object because you need this name for further access to that object. If |
||
1148 | "name" is not given Scribus will create one for you. |
||
1149 | |||
5328 | cbradney | 1150 | May raise NameExistsError if you explicitly pass a name that's already used. |
1135 | cbradney | 1151 | </translation> |
1152 | </message> |
||
1153 | <message> |
||
5328 | cbradney | 1154 | <source>createPolyLine(list, ["name"]) -> string |
1135 | cbradney | 1155 | |
1156 | Creates a new polyline and returns its name. The points for the polyline are |
||
1157 | stored in the list "list" in the following order: [x1, y1, x2, y2...xn. yn]. |
||
1158 | The coordinates are given in the current measurement units of the document (see |
||
1159 | UNIT constants). "name" should be a unique identifier for the object because |
||
1160 | you need this name for further access to that object. If "name" is not given |
||
1161 | Scribus will create one for you. |
||
1162 | |||
5328 | cbradney | 1163 | May raise NameExistsError if you explicitly pass a name that's already used. |
1135 | cbradney | 1164 | May raise ValueError if an insufficient number of points is passed or if |
5328 | cbradney | 1165 | the number of values passed don't group into points without leftovers. |
1135 | cbradney | 1166 | </source> |
5328 | cbradney | 1167 | <translation>createPolyLine(list, ["name"]) -> string |
2147 | cbradney | 1168 | |
1169 | Creates a new polyline and returns its name. The points for the polyline are |
||
1170 | stored in the list "list" in the following order: [x1, y1, x2, y2...xn. yn]. |
||
1171 | The coordinates are given in the current measurement units of the document (see |
||
1172 | UNIT constants). "name" should be a unique identifier for the object because |
||
1173 | you need this name for further access to that object. If "name" is not given |
||
1174 | Scribus will create one for you. |
||
1175 | |||
5328 | cbradney | 1176 | May raise NameExistsError if you explicitly pass a name that's already used. |
2147 | cbradney | 1177 | May raise ValueError if an insufficient number of points is passed or if |
5328 | cbradney | 1178 | the number of values passed don't group into points without leftovers. |
1135 | cbradney | 1179 | </translation> |
1180 | </message> |
||
1181 | <message> |
||
5328 | cbradney | 1182 | <source>createPolygon(list, ["name"]) -> string |
1135 | cbradney | 1183 | |
1184 | Creates a new polygon and returns its name. The points for the polygon are |
||
1185 | stored in the list "list" in the following order: [x1, y1, x2, y2...xn. yn]. |
||
1186 | At least three points are required. There is no need to repeat the first point |
||
1187 | to close the polygon. The polygon is automatically closed by connecting the |
||
1188 | first and the last point. The coordinates are given in the current measurement |
||
1189 | units of the document (see UNIT constants). "name" should be a unique |
||
1190 | identifier for the object because you need this name for further access to that |
||
1191 | object. If "name" is not given Scribus will create one for you. |
||
1192 | |||
5328 | cbradney | 1193 | May raise NameExistsError if you explicitly pass a name that's already used. |
1135 | cbradney | 1194 | May raise ValueError if an insufficient number of points is passed or if |
5328 | cbradney | 1195 | the number of values passed don't group into points without leftovers. |
1135 | cbradney | 1196 | </source> |
5328 | cbradney | 1197 | <translation>createPolygon(list, ["name"]) -> string |
2147 | cbradney | 1198 | |
1199 | Creates a new polygon and returns its name. The points for the polygon are |
||
1200 | stored in the list "list" in the following order: [x1, y1, x2, y2...xn. yn]. |
||
1201 | At least three points are required. There is no need to repeat the first point |
||
1202 | to close the polygon. The polygon is automatically closed by connecting the |
||
1203 | first and the last point. The coordinates are given in the current measurement |
||
1204 | units of the document (see UNIT constants). "name" should be a unique |
||
1205 | identifier for the object because you need this name for further access to that |
||
1206 | object. If "name" is not given Scribus will create one for you. |
||
1207 | |||
5328 | cbradney | 1208 | May raise NameExistsError if you explicitly pass a name that's already used. |
2147 | cbradney | 1209 | May raise ValueError if an insufficient number of points is passed or if |
5328 | cbradney | 1210 | the number of values passed don't group into points without leftovers. |
1135 | cbradney | 1211 | </translation> |
1212 | </message> |
||
1213 | <message> |
||
5328 | cbradney | 1214 | <source>createBezierLine(list, ["name"]) -> string |
1135 | cbradney | 1215 | |
1216 | Creates a new bezier curve and returns its name. The points for the bezier |
||
1217 | curve are stored in the list "list" in the following order: |
||
1218 | [x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn] |
||
1219 | In the points list, x and y mean the x and y coordinates of the point and kx |
||
1220 | and ky meaning the control point for the curve. The coordinates are given in |
||
1221 | the current measurement units of the document (see UNIT constants). "name" |
||
1222 | should be a unique identifier for the object because you need this name for |
||
1223 | further access to that object. If "name" is not given Scribus will create one |
||
1224 | for you. |
||
1225 | |||
5328 | cbradney | 1226 | May raise NameExistsError if you explicitly pass a name that's already used. |
1135 | cbradney | 1227 | May raise ValueError if an insufficient number of points is passed or if |
5328 | cbradney | 1228 | the number of values passed don't group into points without leftovers. |
1135 | cbradney | 1229 | </source> |
5328 | cbradney | 1230 | <translation>createBezierLine(list, ["name"]) -> string |
1135 | cbradney | 1231 | |
2147 | cbradney | 1232 | |
1233 | Creates a new bezier curve and returns its name. The points for the bezier |
||
1234 | curve are stored in the list "list" in the following order: |
||
1235 | [x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn] |
||
1236 | In the points list, x and y mean the x and y coordinates of the point and kx |
||
1237 | and ky meaning the control point for the curve. The coordinates are given in |
||
1238 | the current measurement units of the document (see UNIT constants). "name" |
||
1239 | should be a unique identifier for the object because you need this name for |
||
1240 | further access to that object. If "name" is not given Scribus will create one |
||
1241 | for you. |
||
1242 | |||
5328 | cbradney | 1243 | May raise NameExistsError if you explicitly pass a name that's already used. |
2147 | cbradney | 1244 | May raise ValueError if an insufficient number of points is passed or if |
5328 | cbradney | 1245 | the number of values passed don't group into points without leftovers. </translation> |
1135 | cbradney | 1246 | </message> |
1247 | <message> |
||
5328 | cbradney | 1248 | <source>createPathText(x, y, "textbox", "beziercurve", ["name"]) -> string |
1135 | cbradney | 1249 | |
1250 | Creates a new pathText by merging the two objects "textbox" and |
||
1251 | "beziercurve" and returns its name. The coordinates are given in the current |
||
1252 | measurement unit of the document (see UNIT constants). "name" should be a |
||
1253 | unique identifier for the object because you need this name for further access |
||
1254 | to that object. If "name" is not given Scribus will create one for you. |
||
1255 | |||
5328 | cbradney | 1256 | May raise NameExistsError if you explicitly pass a name that's already used. |
1257 | May raise NotFoundError if one or both of the named base object don't exist. |
||
1135 | cbradney | 1258 | </source> |
5328 | cbradney | 1259 | <translation>createPathText(x, y, "textbox", "beziercurve", ["name"]) -> string |
2147 | cbradney | 1260 | |
1261 | Creates a new pathText by merging the two objects "textbox" and |
||
1262 | "beziercurve" and returns its name. The coordinates are given in the current |
||
1263 | measurement unit of the document (see UNIT constants). "name" should be a |
||
1264 | unique identifier for the object because you need this name for further access |
||
1265 | to that object. If "name" is not given Scribus will create one for you. |
||
1266 | |||
5328 | cbradney | 1267 | May raise NameExistsError if you explicitly pass a name that's already used. |
1268 | May raise NotFoundError if one or both of the named base object don't exist. |
||
1135 | cbradney | 1269 | </translation> |
1270 | </message> |
||
1271 | <message> |
||
5328 | cbradney | 1272 | <source>deleteObject(["name"]) |
1135 | cbradney | 1273 | |
1274 | Deletes the item with the name "name". If "name" is not given the currently |
||
1275 | selected item is deleted. |
||
1276 | </source> |
||
5328 | cbradney | 1277 | <translation>deleteObject(["name"]) |
1135 | cbradney | 1278 | |
2147 | cbradney | 1279 | |
1280 | Deletes the item with the name "name". If "name" is not given the currently |
||
1281 | selected item is deleted. </translation> |
||
1135 | cbradney | 1282 | </message> |
1283 | <message> |
||
5328 | cbradney | 1284 | <source>textFlowsAroundFrame("name" [, state]) |
1135 | cbradney | 1285 | |
1286 | Enables/disables "Text Flows Around Frame" feature for object "name". |
||
1287 | Called with parameters string name and optional boolean "state". If "state" |
||
1288 | is not passed, text flow is toggled. |
||
1289 | </source> |
||
6261 | cbradney | 1290 | <translation type="obsolete">textFlowsAroundFrame("name" [, state]) |
2147 | cbradney | 1291 | |
1292 | Enables/disables "Text Flows Around Frame" feature for object "name". |
||
1293 | Called with parameters string name and optional boolean "state". If "state" |
||
1294 | is not passed, text flow is toggled. |
||
1135 | cbradney | 1295 | </translation> |
1296 | </message> |
||
1297 | <message> |
||
5328 | cbradney | 1298 | <source>objectExists(["name"]) -> bool |
1135 | cbradney | 1299 | |
1300 | Test if an object with specified name really exists in the document. |
||
1301 | The optional parameter is the object name. When no object name is given, |
||
1302 | returns True if there is something selected. |
||
1303 | </source> |
||
5328 | cbradney | 1304 | <translation>objectExists(["name"]) -> bool |
2147 | cbradney | 1305 | |
1306 | Test if an object with specified name really exists in the document. |
||
1307 | The optional parameter is the object name. When no object name is given, |
||
1308 | returns True if there is something selected. |
||
1135 | cbradney | 1309 | </translation> |
1310 | </message> |
||
1311 | <message> |
||
5328 | cbradney | 1312 | <source>setStyle("style" [, "name"]) |
1135 | cbradney | 1313 | |
1314 | Apply the named "style" to the object named "name". If is no object name |
||
5328 | cbradney | 1315 | given, it's applied on the selected object. |
1135 | cbradney | 1316 | </source> |
5328 | cbradney | 1317 | <translation>setStyle("style" [, "name"]) |
2147 | cbradney | 1318 | |
1319 | Apply the named "style" to the object named "name". If is no object name |
||
5328 | cbradney | 1320 | given, it's applied on the selected object. |
1135 | cbradney | 1321 | </translation> |
1322 | </message> |
||
1323 | <message> |
||
5328 | cbradney | 1324 | <source>getAllStyles() -> list |
1135 | cbradney | 1325 | |
1326 | Return a list of the names of all paragraph styles in the current document. |
||
1327 | </source> |
||
5328 | cbradney | 1328 | <translation>getAllStyles() -> list |
2147 | cbradney | 1329 | |
1330 | Return a list of the names of all paragraph styles in the current document. |
||
1135 | cbradney | 1331 | </translation> |
1332 | </message> |
||
1333 | <message> |
||
5328 | cbradney | 1334 | <source>currentPage() -> integer |
1135 | cbradney | 1335 | |
1336 | Returns the number of the current working page. Page numbers are counted from 1 |
||
1337 | upwards, no matter what the displayed first page number of your document is. |
||
1338 | </source> |
||
5328 | cbradney | 1339 | <translation>currentPage() -> integer |
2147 | cbradney | 1340 | |
1341 | Returns the number of the current working page. Page numbers are counted from 1 |
||
1342 | upwards, no matter what the displayed first page number of your document is. |
||
1135 | cbradney | 1343 | </translation> |
1344 | </message> |
||
1345 | <message> |
||
5328 | cbradney | 1346 | <source>redrawAll() |
1135 | cbradney | 1347 | |
1348 | Redraws all pages. |
||
1349 | </source> |
||
5328 | cbradney | 1350 | <translation>redrawAll() |
2147 | cbradney | 1351 | |
1352 | Redraws all pages. |
||
1135 | cbradney | 1353 | </translation> |
1354 | </message> |
||
1355 | <message> |
||
5328 | cbradney | 1356 | <source>savePageAsEPS("name") |
1135 | cbradney | 1357 | |
1358 | Saves the current page as an EPS to the file "name". |
||
1359 | |||
1360 | May raise ScribusError if the save failed. |
||
1361 | </source> |
||
5328 | cbradney | 1362 | <translation>savePageAsEPS("name") |
2147 | cbradney | 1363 | |
1364 | Saves the current page as an EPS to the file "name". |
||
1365 | |||
1366 | May raise ScribusError if the save failed. |
||
1135 | cbradney | 1367 | </translation> |
1368 | </message> |
||
1369 | <message> |
||
5328 | cbradney | 1370 | <source>deletePage(nr) |
1135 | cbradney | 1371 | |
1372 | Deletes the given page. Does nothing if the document contains only one page. |
||
1373 | Page numbers are counted from 1 upwards, no matter what the displayed first |
||
1374 | page number is. |
||
1375 | |||
1376 | May raise IndexError if the page number is out of range |
||
1377 | </source> |
||
5328 | cbradney | 1378 | <translation>deletePage(nr) |
2147 | cbradney | 1379 | |
1380 | Deletes the given page. Does nothing if the document contains only one page. |
||
1381 | Page numbers are counted from 1 upwards, no matter what the displayed first |
||
1382 | page number is. |
||
1383 | |||
1384 | May raise IndexError if the page number is out of range |
||
1135 | cbradney | 1385 | </translation> |
1386 | </message> |
||
1387 | <message> |
||
5328 | cbradney | 1388 | <source>gotoPage(nr) |
1135 | cbradney | 1389 | |
1390 | Moves to the page "nr" (that is, makes the current page "nr"). Note that |
||
5328 | cbradney | 1391 | gotoPage doesn't (curently) change the page the user's view is displaying, it |
1135 | cbradney | 1392 | just sets the page that script commands will operates on. |
1393 | |||
1394 | May raise IndexError if the page number is out of range. |
||
1395 | </source> |
||
5328 | cbradney | 1396 | <translation>gotoPage(nr) |
2147 | cbradney | 1397 | |
1398 | Moves to the page "nr" (that is, makes the current page "nr"). Note that |
||
5328 | cbradney | 1399 | gotoPage doesn't (curently) change the page the user's view is displaying, it |
2147 | cbradney | 1400 | just sets the page that script commands will operates on. |
1401 | |||
1402 | May raise IndexError if the page number is out of range. |
||
1135 | cbradney | 1403 | </translation> |
1404 | </message> |
||
1405 | <message> |
||
5328 | cbradney | 1406 | <source>pageCount() -> integer |
1135 | cbradney | 1407 | |
1408 | Returns the number of pages in the document. |
||
1409 | </source> |
||
5328 | cbradney | 1410 | <translation>pageCount() -> integer |
2147 | cbradney | 1411 | |
1412 | Returns the number of pages in the document. |
||
1135 | cbradney | 1413 | </translation> |
1414 | </message> |
||
1415 | <message> |
||
5328 | cbradney | 1416 | <source>getHGuides() -> list |
1135 | cbradney | 1417 | |
1418 | Returns a list containing positions of the horizontal guides. Values are in the |
||
5328 | cbradney | 1419 | document's current units - see UNIT_<type> constants. |
1135 | cbradney | 1420 | </source> |
5328 | cbradney | 1421 | <translation>getHGuides() -> list |
2147 | cbradney | 1422 | |
1423 | Returns a list containing positions of the horizontal guides. Values are in the |
||
5328 | cbradney | 1424 | document's current units - see UNIT_<type> constants. |
1135 | cbradney | 1425 | </translation> |
1426 | </message> |
||
1427 | <message> |
||
5328 | cbradney | 1428 | <source>setHGuides(list) |
1135 | cbradney | 1429 | |
1430 | Sets horizontal guides. Input parameter must be a list of guide positions |
||
5328 | cbradney | 1431 | measured in the current document units - see UNIT_<type> constants. |
1135 | cbradney | 1432 | |
1433 | Example: setHGuides(getHGuides() + [200.0, 210.0] # add new guides without any lost |
||
1434 | setHGuides([90,250]) # replace current guides entirely |
||
1435 | </source> |
||
5328 | cbradney | 1436 | <translation>setHGuides(list) |
2147 | cbradney | 1437 | |
1438 | Sets horizontal guides. Input parameter must be a list of guide positions |
||
5328 | cbradney | 1439 | measured in the current document units - see UNIT_<type> constants. |
2147 | cbradney | 1440 | |
1441 | Example: setHGuides(getHGuides() + [200.0, 210.0] # add new guides without any lost |
||
1442 | setHGuides([90,250]) # replace current guides entirely |
||
1135 | cbradney | 1443 | </translation> |
1444 | </message> |
||
1445 | <message> |
||
5328 | cbradney | 1446 | <source>getVGuides() |
1135 | cbradney | 1447 | |
1448 | See getHGuides. |
||
1449 | </source> |
||
5328 | cbradney | 1450 | <translation>getVGuides() |
2147 | cbradney | 1451 | |
1452 | See getHGuides. |
||
1135 | cbradney | 1453 | </translation> |
1454 | </message> |
||
1455 | <message> |
||
5328 | cbradney | 1456 | <source>setVGuides() |
1135 | cbradney | 1457 | |
1458 | See setHGuides. |
||
1459 | </source> |
||
5328 | cbradney | 1460 | <translation>setVGuides() |
1135 | cbradney | 1461 | |
2147 | cbradney | 1462 | |
1463 | See setHGuides. </translation> |
||
1135 | cbradney | 1464 | </message> |
1465 | <message> |
||
5328 | cbradney | 1466 | <source>getPageSize() -> tuple |
1135 | cbradney | 1467 | |
5328 | cbradney | 1468 | Returns a tuple with page dimensions measured in the document's current units. |
1469 | See UNIT_<type> constants and getPageMargins() |
||
1135 | cbradney | 1470 | </source> |
5328 | cbradney | 1471 | <translation>getPageSize() -> tuple |
2147 | cbradney | 1472 | |
5328 | cbradney | 1473 | Returns a tuple with page dimensions measured in the document's current units. |
1474 | See UNIT_<type> constants and getPageMargins() |
||
1135 | cbradney | 1475 | </translation> |
1476 | </message> |
||
1477 | <message> |
||
5328 | cbradney | 1478 | <source>getPageItems() -> list |
1135 | cbradney | 1479 | |
1480 | Returns a list of tuples with items on the current page. The tuple is: |
||
5328 | cbradney | 1481 | (name, objectType, order) E.g. [('Text1', 4, 0), ('Image1', 2, 1)] |
1482 | means that object named 'Text1' is a text frame (type 4) and is the first at |
||
1135 | cbradney | 1483 | the page... |
1484 | </source> |
||
5328 | cbradney | 1485 | <translation>getPageItems() -> list |
2147 | cbradney | 1486 | |
1487 | Returns a list of tuples with items on the current page. The tuple is: |
||
5328 | cbradney | 1488 | (name, objectType, order) E.g. [('Text1', 4, 0), ('Image1', 2, 1)] |
1489 | means that object named 'Text1' is a text frame (type 4) and is the first at |
||
2147 | cbradney | 1490 | the page... |
1135 | cbradney | 1491 | </translation> |
1492 | </message> |
||
1493 | <message> |
||
5328 | cbradney | 1494 | <source>setFillColor("color", ["name"]) |
1135 | cbradney | 1495 | |
1496 | Sets the fill color of the object "name" to the color "color". "color" |
||
1497 | is the name of one of the defined colors. If "name" is not given the |
||
1498 | currently selected item is used. |
||
1499 | </source> |
||
5328 | cbradney | 1500 | <translation>setFillColor("color", ["name"]) |
2147 | cbradney | 1501 | |
1502 | Sets the fill color of the object "name" to the color "color". "color" |
||
1503 | is the name of one of the defined colors. If "name" is not given the |
||
1504 | currently selected item is used. |
||
1135 | cbradney | 1505 | </translation> |
1506 | </message> |
||
1507 | <message> |
||
5328 | cbradney | 1508 | <source>setLineColor("color", ["name"]) |
1135 | cbradney | 1509 | |
1510 | Sets the line color of the object "name" to the color "color". If "name" |
||
1511 | is not given the currently selected item is used. |
||
1512 | </source> |
||
5328 | cbradney | 1513 | <translation>setLineColor("color", ["name"]) |
2147 | cbradney | 1514 | |
1515 | Sets the line color of the object "name" to the color "color". If "name" |
||
1516 | is not given the currently selected item is used. |
||
1135 | cbradney | 1517 | </translation> |
1518 | </message> |
||
1519 | <message> |
||
5328 | cbradney | 1520 | <source>setLineWidth(width, ["name"]) |
1135 | cbradney | 1521 | |
1522 | Sets line width of the object "name" to "width". "width" must be in the |
||
1523 | range from 0.0 to 12.0 inclusive, and is measured in points. If "name" is not |
||
1524 | given the currently selected item is used. |
||
1525 | |||
1526 | May raise ValueError if the line width is out of bounds. |
||
1527 | </source> |
||
5328 | cbradney | 1528 | <translation>setLineWidth(width, ["name"]) |
2147 | cbradney | 1529 | |
1530 | Sets line width of the object "name" to "width". "width" must be in the |
||
1531 | range from 0.0 to 12.0 inclusive, and is measured in points. If "name" is not |
||
1532 | given the currently selected item is used. |
||
1533 | |||
1534 | May raise ValueError if the line width is out of bounds. |
||
1135 | cbradney | 1535 | </translation> |
1536 | </message> |
||
1537 | <message> |
||
5328 | cbradney | 1538 | <source>setLineShade(shade, ["name"]) |
1135 | cbradney | 1539 | |
1540 | Sets the shading of the line color of the object "name" to "shade". |
||
1541 | "shade" must be an integer value in the range from 0 (lightest) to 100 |
||
1542 | (full color intensity). If "name" is not given the currently selected item |
||
1543 | is used. |
||
1544 | |||
1545 | May raise ValueError if the line shade is out of bounds. |
||
1546 | </source> |
||
5328 | cbradney | 1547 | <translation>setLineShade(shade, ["name"]) |
2147 | cbradney | 1548 | |
1549 | Sets the shading of the line color of the object "name" to "shade". |
||
1550 | "shade" must be an integer value in the range from 0 (lightest) to 100 |
||
1551 | (full color intensity). If "name" is not given the currently selected item |
||
1552 | is used. |
||
1553 | |||
1554 | May raise ValueError if the line shade is out of bounds. |
||
1135 | cbradney | 1555 | </translation> |
1556 | </message> |
||
1557 | <message> |
||
5328 | cbradney | 1558 | <source>setLineJoin(join, ["name"]) |
1135 | cbradney | 1559 | |
1560 | Sets the line join style of the object "name" to the style "join". |
||
1561 | If "name" is not given the currently selected item is used. There are |
||
5328 | cbradney | 1562 | predefined constants for join - JOIN_<type>. |
1135 | cbradney | 1563 | </source> |
5328 | cbradney | 1564 | <translation>setLineJoin(join, ["name"]) |
2147 | cbradney | 1565 | |
1566 | Sets the line join style of the object "name" to the style "join". |
||
1567 | If "name" is not given the currently selected item is used. There are |
||
5328 | cbradney | 1568 | predefined constants for join - JOIN_<type>. |
1135 | cbradney | 1569 | </translation> |
1570 | </message> |
||
1571 | <message> |
||
5328 | cbradney | 1572 | <source>setLineEnd(endtype, ["name"]) |
1135 | cbradney | 1573 | |
1574 | Sets the line cap style of the object "name" to the style "cap". |
||
1575 | If "name" is not given the currently selected item is used. There are |
||
5328 | cbradney | 1576 | predefined constants for "cap" - CAP_<type>. |
1135 | cbradney | 1577 | </source> |
5328 | cbradney | 1578 | <translation>setLineEnd(endtype, ["name"]) |
2147 | cbradney | 1579 | |
1580 | Sets the line cap style of the object "name" to the style "cap". |
||
1581 | If "name" is not given the currently selected item is used. There are |
||
5328 | cbradney | 1582 | predefined constants for "cap" - CAP_<type>. |
1135 | cbradney | 1583 | </translation> |
1584 | </message> |
||
1585 | <message> |
||
5328 | cbradney | 1586 | <source>setLineStyle(style, ["name"]) |
1135 | cbradney | 1587 | |
1588 | Sets the line style of the object "name" to the style "style". If "name" |
||
1589 | is not given the currently selected item is used. There are predefined |
||
5328 | cbradney | 1590 | constants for "style" - LINE_<style>. |
1135 | cbradney | 1591 | </source> |
5328 | cbradney | 1592 | <translation>setLineStyle(style, ["name"]) |
2147 | cbradney | 1593 | |
1594 | Sets the line style of the object "name" to the style "style". If "name" |
||
1595 | is not given the currently selected item is used. There are predefined |
||
5328 | cbradney | 1596 | constants for "style" - LINE_<style>. |
1135 | cbradney | 1597 | </translation> |
1598 | </message> |
||
1599 | <message> |
||
5328 | cbradney | 1600 | <source>setFillShade(shade, ["name"]) |
1135 | cbradney | 1601 | |
1602 | Sets the shading of the fill color of the object "name" to "shade". |
||
1603 | "shade" must be an integer value in the range from 0 (lightest) to 100 |
||
1604 | (full Color intensity). If "name" is not given the currently selected |
||
1605 | Item is used. |
||
1606 | |||
1607 | May raise ValueError if the fill shade is out of bounds. |
||
1608 | </source> |
||
5328 | cbradney | 1609 | <translation>setFillShade(shade, ["name"]) |
2147 | cbradney | 1610 | |
1611 | Sets the shading of the fill color of the object "name" to "shade". |
||
1612 | "shade" must be an integer value in the range from 0 (lightest) to 100 |
||
1613 | (full Color intensity). If "name" is not given the currently selected |
||
1614 | Item is used. |
||
1615 | |||
1616 | May raise ValueError if the fill shade is out of bounds. |
||
1135 | cbradney | 1617 | </translation> |
1618 | </message> |
||
1619 | <message> |
||
5328 | cbradney | 1620 | <source>setCornerRadius(radius, ["name"]) |
1135 | cbradney | 1621 | |
1622 | Sets the corner radius of the object "name". The radius is expressed |
||
1623 | in points. If "name" is not given the currently selected item is used. |
||
1624 | |||
1625 | May raise ValueError if the corner radius is negative. |
||
1626 | </source> |
||
5328 | cbradney | 1627 | <translation>setCornerRadius(radius, ["name"]) |
1135 | cbradney | 1628 | |
2147 | cbradney | 1629 | |
1630 | Sets the corner radius of the object "name". The radius is expressed |
||
1631 | in points. If "name" is not given the currently selected item is used. |
||
1632 | |||
1633 | May raise ValueError if the corner radius is negative. </translation> |
||
1135 | cbradney | 1634 | </message> |
1635 | <message> |
||
5328 | cbradney | 1636 | <source>setMultiLine("namedStyle", ["name"]) |
1135 | cbradney | 1637 | |
1638 | Sets the line style of the object "name" to the named style "namedStyle". |
||
1639 | If "name" is not given the currently selected item is used. |
||
1640 | |||
5328 | cbradney | 1641 | May raise NotFoundError if the line style doesn't exist. |
1135 | cbradney | 1642 | </source> |
5328 | cbradney | 1643 | <translation>setMultiLine("namedStyle", ["name"]) |
2147 | cbradney | 1644 | |
1645 | Sets the line style of the object "name" to the named style "namedStyle". |
||
1646 | If "name" is not given the currently selected item is used. |
||
1647 | |||
5328 | cbradney | 1648 | May raise NotFoundError if the line style doesn't exist. |
1135 | cbradney | 1649 | </translation> |
1650 | </message> |
||
1651 | <message> |
||
5328 | cbradney | 1652 | <source>getFont(["name"]) -> string |
1135 | cbradney | 1653 | |
1654 | Returns the font name for the text frame "name". If this text frame |
||
1655 | has some text selected the value assigned to the first character |
||
1656 | of the selection is returned. If "name" is not given the currently |
||
1657 | selected item is used. |
||
1658 | </source> |
||
5328 | cbradney | 1659 | <translation>getFont(["name"]) -> string |
2147 | cbradney | 1660 | |
1661 | Returns the font name for the text frame "name". If this text frame |
||
1662 | has some text selected the value assigned to the first character |
||
1663 | of the selection is returned. If "name" is not given the currently |
||
1664 | selected item is used. |
||
1135 | cbradney | 1665 | </translation> |
1666 | </message> |
||
1667 | <message> |
||
5328 | cbradney | 1668 | <source>getTextLength(["name"]) -> integer |
1135 | cbradney | 1669 | |
1670 | Returns the length of the text in the text frame "name". |
||
1671 | If "name" is not given the currently selected item is used. |
||
1672 | </source> |
||
5328 | cbradney | 1673 | <translation>getTextLength(["name"]) -> integer |
2147 | cbradney | 1674 | |
1675 | Returns the length of the text in the text frame "name". |
||
1676 | If "name" is not given the currently selected item is used. |
||
1135 | cbradney | 1677 | </translation> |
1678 | </message> |
||
1679 | <message> |
||
5328 | cbradney | 1680 | <source>getText(["name"]) -> string |
1135 | cbradney | 1681 | |
1682 | Returns the text of the text frame "name". If this text frame has some text |
||
1683 | selected, the selected text is returned. All text in the frame, not just |
||
1684 | currently visible text, is returned. If "name" is not given the currently |
||
1685 | selected item is used. |
||
1686 | </source> |
||
5328 | cbradney | 1687 | <translation>getText(["name"]) -> string |
2147 | cbradney | 1688 | |
1689 | Returns the text of the text frame "name". If this text frame has some text |
||
1690 | selected, the selected text is returned. All text in the frame, not just |
||
1691 | currently visible text, is returned. If "name" is not given the currently |
||
1692 | selected item is used. |
||
1135 | cbradney | 1693 | </translation> |
1694 | </message> |
||
1695 | <message> |
||
5328 | cbradney | 1696 | <source>getAllText(["name"]) -> string |
1135 | cbradney | 1697 | |
1698 | Returns the text of the text frame "name" and of all text frames which are |
||
1699 | linked with this frame. If this textframe has some text selected, the selected |
||
1700 | text is returned. If "name" is not given the currently selected item is |
||
1701 | used. |
||
1702 | </source> |
||
5328 | cbradney | 1703 | <translation>getAllText(["name"]) -> string |
1135 | cbradney | 1704 | |
2147 | cbradney | 1705 | |
1706 | Returns the text of the text frame "name" and of all text frames which are |
||
1707 | linked with this frame. If this textframe has some text selected, the selected |
||
1708 | text is returned. If "name" is not given the currently selected item is |
||
1709 | used. </translation> |
||
1135 | cbradney | 1710 | </message> |
1711 | <message> |
||
5328 | cbradney | 1712 | <source>getLineSpacing(["name"]) -> float |
1135 | cbradney | 1713 | |
1714 | Returns the line spacing ("leading") of the text frame "name" expressed in |
||
1715 | points. If "name" is not given the currently selected item is used. |
||
1716 | </source> |
||
5328 | cbradney | 1717 | <translation>getLineSpacing(["name"]) -> float |
2147 | cbradney | 1718 | |
1719 | Returns the line spacing ("leading") of the text frame "name" expressed in |
||
1720 | points. If "name" is not given the currently selected item is used. |
||
1135 | cbradney | 1721 | </translation> |
1722 | </message> |
||
1723 | <message> |
||
5328 | cbradney | 1724 | <source>getColumnGap(["name"]) -> float |
1135 | cbradney | 1725 | |
1726 | Returns the column gap size of the text frame "name" expressed in points. If |
||
1727 | "name" is not given the currently selected item is used. |
||
1728 | </source> |
||
5328 | cbradney | 1729 | <translation>getColumnGap(["name"]) -> float |
1135 | cbradney | 1730 | |
2147 | cbradney | 1731 | Returns the column gap size of the text frame "name" expressed in points. If |
1732 | "name" is not given the currently selected item is used. </translation> |
||
1135 | cbradney | 1733 | </message> |
1734 | <message> |
||
5328 | cbradney | 1735 | <source>getColumns(["name"]) -> integer |
1135 | cbradney | 1736 | |
1737 | Gets the number of columns of the text frame "name". If "name" is not |
||
1738 | given the currently selected item is used. |
||
1739 | </source> |
||
5328 | cbradney | 1740 | <translation>getColumns(["name"]) -> integer |
2147 | cbradney | 1741 | |
1742 | Gets the number of columns of the text frame "name". If "name" is not |
||
1743 | given the currently selected item is used. </translation> |
||
1135 | cbradney | 1744 | </message> |
1745 | <message> |
||
5328 | cbradney | 1746 | <source>setText("text", ["name"]) |
1135 | cbradney | 1747 | |
1748 | Sets the text of the text frame "name" to the text of the string "text". |
||
5328 | cbradney | 1749 | Text must be UTF8 encoded - use e.g. unicode(text, 'iso-8859-2'). See the FAQ |
1135 | cbradney | 1750 | for more details. If "name" is not given the currently selected item is |
1751 | used. |
||
1752 | </source> |
||
5328 | cbradney | 1753 | <translation>setText("text", ["name"]) |
2147 | cbradney | 1754 | |
1755 | Sets the text of the text frame "name" to the text of the string "text". |
||
5328 | cbradney | 1756 | Text must be UTF8 encoded - use e.g. unicode(text, 'iso-8859-2'). See the FAQ |
2147 | cbradney | 1757 | for more details. If "name" is not given the currently selected item is |
1758 | used. |
||
1135 | cbradney | 1759 | </translation> |
1760 | </message> |
||
1761 | <message> |
||
5328 | cbradney | 1762 | <source>setFont("font", ["name"]) |
1135 | cbradney | 1763 | |
1764 | Sets the font of the text frame "name" to "font". If there is some text |
||
1765 | selected only the selected text is changed. If "name" is not given the |
||
1766 | currently selected item is used. |
||
1767 | |||
1768 | May throw ValueError if the font cannot be found. |
||
1769 | </source> |
||
5328 | cbradney | 1770 | <translation>setFont("font", ["name"]) |
2147 | cbradney | 1771 | |
1772 | Sets the font of the text frame "name" to "font". If there is some text |
||
1773 | selected only the selected text is changed. If "name" is not given the |
||
1774 | currently selected item is used. |
||
1775 | |||
1776 | May throw ValueError if the font cannot be found. </translation> |
||
1135 | cbradney | 1777 | </message> |
1778 | <message> |
||
5328 | cbradney | 1779 | <source>setFontSize(size, ["name"]) |
1135 | cbradney | 1780 | |
1781 | Sets the font size of the text frame "name" to "size". "size" is treated |
||
1782 | as a value in points. If there is some text selected only the selected text is |
||
1783 | changed. "size" must be in the range 1 to 512. If "name" is not given the |
||
1784 | currently selected item is used. |
||
1785 | |||
5328 | cbradney | 1786 | May throw ValueError for a font size that's out of bounds. |
1135 | cbradney | 1787 | </source> |
5328 | cbradney | 1788 | <translation>setFontSize(size, ["name"]) |
2147 | cbradney | 1789 | |
1790 | Sets the font size of the text frame "name" to "size". "size" is treated |
||
1791 | as a value in points. If there is some text selected only the selected text is |
||
1792 | changed. "size" must be in the range 1 to 512. If "name" is not given the |
||
1793 | currently selected item is used. |
||
1794 | |||
5328 | cbradney | 1795 | May throw ValueError for a font size that's out of bounds. e(size, ["name"]).</translation> |
1135 | cbradney | 1796 | </message> |
1797 | <message> |
||
5328 | cbradney | 1798 | <source>setLineSpacing(size, ["name"]) |
1135 | cbradney | 1799 | |
1800 | Sets the line spacing ("leading") of the text frame "name" to "size". |
||
1801 | "size" is a value in points. If "name" is not given the currently selected |
||
1802 | item is used. |
||
1803 | |||
1804 | May throw ValueError if the line spacing is out of bounds. |
||
1805 | </source> |
||
5328 | cbradney | 1806 | <translation>setLineSpacing(size, ["name"]) |
2147 | cbradney | 1807 | |
1808 | Sets the line spacing ("leading") of the text frame "name" to "size". |
||
1809 | "size" is a value in points. If "name" is not given the currently selected |
||
1810 | item is used. |
||
1811 | |||
1812 | May throw ValueError if the line spacing is out of bounds. </translation> |
||
1135 | cbradney | 1813 | </message> |
1814 | <message> |
||
5328 | cbradney | 1815 | <source>setColumnGap(size, ["name"]) |
1135 | cbradney | 1816 | |
1817 | Sets the column gap of the text frame "name" to the value "size". If |
||
1818 | "name" is not given the currently selected item is used. |
||
1819 | |||
1820 | May throw ValueError if the column gap is out of bounds (must be positive). |
||
1821 | </source> |
||
5328 | cbradney | 1822 | <translation>setColumnGap(size, ["name"]) |
2147 | cbradney | 1823 | |
1824 | Sets the column gap of the text frame "name" to the value "size". If |
||
1825 | "name" is not given the currently selected item is used. |
||
1826 | |||
1827 | May throw ValueError if the column gap is out of bounds (must be positive). </translation> |
||
1135 | cbradney | 1828 | </message> |
1829 | <message> |
||
5328 | cbradney | 1830 | <source>setColumns(nr, ["name"]) |
1135 | cbradney | 1831 | |
1832 | Sets the number of columns of the text frame "name" to the integer "nr". |
||
1833 | If "name" is not given the currently selected item is used. |
||
1834 | |||
1835 | May throw ValueError if number of columns is not at least one. |
||
1836 | </source> |
||
5328 | cbradney | 1837 | <translation>setColumns(nr, ["name"]) |
2147 | cbradney | 1838 | |
1839 | Sets the number of columns of the text frame "name" to the integer "nr". |
||
1840 | If "name" is not given the currently selected item is used. |
||
1841 | |||
1842 | May throw ValueError if number of columns is not at least one. </translation> |
||
1135 | cbradney | 1843 | </message> |
1844 | <message> |
||
5328 | cbradney | 1845 | <source>setTextAlignment(align, ["name"]) |
1135 | cbradney | 1846 | |
1847 | Sets the text alignment of the text frame "name" to the specified alignment. |
||
1848 | If "name" is not given the currently selected item is used. "align" should |
||
1849 | be one of the ALIGN_ constants defined in this module - see dir(scribus). |
||
1850 | |||
1851 | May throw ValueError for an invalid alignment constant. |
||
1852 | </source> |
||
5328 | cbradney | 1853 | <translation>setTextAlignment(align, ["name"]) |
2147 | cbradney | 1854 | |
1855 | Sets the text alignment of the text frame "name" to the specified alignment. |
||
1856 | If "name" is not given the currently selected item is used. "align" should |
||
1857 | be one of the ALIGN_ constants defined in this module - see dir(scribus). |
||
1858 | |||
1859 | May throw ValueError for an invalid alignment constant. </translation> |
||
1135 | cbradney | 1860 | </message> |
1861 | <message> |
||
5328 | cbradney | 1862 | <source>deleteText(["name"]) |
1135 | cbradney | 1863 | |
1864 | Deletes any text in the text frame "name". If there is some text selected, |
||
1865 | only the selected text will be deleted. If "name" is not given the currently |
||
1866 | selected item is used. |
||
1867 | </source> |
||
5328 | cbradney | 1868 | <translation>deleteText(["name"]) |
1135 | cbradney | 1869 | |
2147 | cbradney | 1870 | |
1871 | Deletes any text in the text frame "name". If there is some text selected, |
||
1872 | only the selected text will be deleted. If "name" is not given the currently |
||
1873 | selected item is used. </translation> |
||
1135 | cbradney | 1874 | </message> |
1875 | <message> |
||
5328 | cbradney | 1876 | <source>setTextColor("color", ["name"]) |
1135 | cbradney | 1877 | |
1878 | Sets the text color of the text frame "name" to the color "color". If there |
||
1879 | is some text selected only the selected text is changed. If "name" is not |
||
1880 | given the currently selected item is used. |
||
1881 | </source> |
||
5328 | cbradney | 1882 | <translation>setTextColor("color", ["name"]) |
2147 | cbradney | 1883 | |
1884 | Sets the text color of the text frame "name" to the color "color". If there |
||
1885 | is some text selected only the selected text is changed. If "name" is not |
||
1886 | given the currently selected item is used. |
||
1135 | cbradney | 1887 | </translation> |
1888 | </message> |
||
1889 | <message> |
||
5328 | cbradney | 1890 | <source>setTextStroke("color", ["name"]) |
1135 | cbradney | 1891 | |
1892 | Set "color" of the text stroke. If "name" is not given the currently |
||
1893 | selected item is used. |
||
1894 | </source> |
||
5328 | cbradney | 1895 | <translation>setTextStroke("color", ["name"]) |
2147 | cbradney | 1896 | |
1897 | Set "color" of the text stroke. If "name" is not given the currently |
||
1898 | selected item is used. |
||
1135 | cbradney | 1899 | </translation> |
1900 | </message> |
||
1901 | <message> |
||
5328 | cbradney | 1902 | <source>setTextShade(shade, ["name"]) |
1135 | cbradney | 1903 | |
1904 | Sets the shading of the text color of the object "name" to "shade". If |
||
1905 | there is some text selected only the selected text is changed. "shade" must |
||
1906 | be an integer value in the range from 0 (lightest) to 100 (full color |
||
1907 | intensity). If "name" is not given the currently selected item is |
||
1908 | used. |
||
1909 | </source> |
||
5328 | cbradney | 1910 | <translation>setTextShade(shade, ["name"]) |
2147 | cbradney | 1911 | |
1912 | Sets the shading of the text color of the object "name" to "shade". If |
||
1913 | there is some text selected only the selected text is changed. "shade" must |
||
1914 | be an integer value in the range from 0 (lightest) to 100 (full color |
||
1915 | intensity). If "name" is not given the currently selected item is |
||
1916 | used. |
||
1135 | cbradney | 1917 | </translation> |
1918 | </message> |
||
1919 | <message> |
||
5328 | cbradney | 1920 | <source>linkTextFrames("fromname", "toname") |
1135 | cbradney | 1921 | |
1922 | Link two text frames. The frame named "fromname" is linked to the |
||
1923 | frame named "toname". The target frame must be an empty text frame |
||
1924 | and must not link to or be linked from any other frames already. |
||
1925 | |||
1926 | May throw ScribusException if linking rules are violated. |
||
1927 | </source> |
||
5328 | cbradney | 1928 | <translation>linkTextFrames("fromname", "toname") |
2147 | cbradney | 1929 | |
1930 | Link two text frames. The frame named "fromname" is linked to the |
||
1931 | frame named "toname". The target frame must be an empty text frame |
||
1932 | and must not link to or be linked from any other frames already. |
||
1933 | |||
1934 | May throw ScribusException if linking rules are violated. |
||
1135 | cbradney | 1935 | </translation> |
1936 | </message> |
||
1937 | <message> |
||
5328 | cbradney | 1938 | <source>unlinkTextFrames("name") |
1135 | cbradney | 1939 | |
1940 | Remove the specified (named) object from the text frame flow/linkage. If the |
||
1941 | frame was in the middle of a chain, the previous and next frames will be |
||
5328 | cbradney | 1942 | connected, eg 'a->b->c' becomes 'a->c' when you unlinkTextFrames(b)' |
1135 | cbradney | 1943 | |
1944 | May throw ScribusException if linking rules are violated. |
||
1945 | </source> |
||
5328 | cbradney | 1946 | <translation>unlinkTextFrames("name") |
2147 | cbradney | 1947 | |
1948 | Remove the specified (named) object from the text frame flow/linkage. If the |
||
1949 | frame was in the middle of a chain, the previous and next frames will be |
||
5328 | cbradney | 1950 | connected, eg 'a->b->c' becomes 'a->c' when you unlinkTextFrames(b)' |
2147 | cbradney | 1951 | |
1952 | May throw ScribusException if linking rules are violated. |
||
1135 | cbradney | 1953 | </translation> |
1954 | </message> |
||
1955 | <message> |
||
5328 | cbradney | 1956 | <source>traceText(["name"]) |
1135 | cbradney | 1957 | |
1958 | Convert the text frame "name" to outlines. If "name" is not given the |
||
1959 | currently selected item is used.</source> |
||
5328 | cbradney | 1960 | <translation>traceText(["name"]) |
1135 | cbradney | 1961 | |
1962 | Muuta tekstikehys "name" ääriviivoiksi. Jos nimeä ei anneta, käytetään |
||
1963 | valittuna olevaa kohdetta.</translation> |
||
1964 | </message> |
||
1965 | <message> |
||
5328 | cbradney | 1966 | <source>progressReset() |
1135 | cbradney | 1967 | |
1968 | Cleans up the Scribus progress bar previous settings. It is called before the |
||
1969 | new progress bar use. See progressSet. |
||
1970 | </source> |
||
5328 | cbradney | 1971 | <translation>progressReset() |
1135 | cbradney | 1972 | |
1973 | Tyhjentää etenemispalkin (progress bar). Katso progressSet.</translation> |
||
1974 | </message> |
||
1975 | <message> |
||
5328 | cbradney | 1976 | <source>progressTotal(max) |
1135 | cbradney | 1977 | |
5328 | cbradney | 1978 | Sets the progress bar's maximum steps value to the specified number. |
1135 | cbradney | 1979 | See progressSet. |
1980 | </source> |
||
5328 | cbradney | 1981 | <translation>progressTotal(max) |
1135 | cbradney | 1982 | |
1983 | Asettaa etenemispalkin suurimman mahdollisen arvon. Katso progressSet.</translation> |
||
1984 | </message> |
||
1985 | <message> |
||
5328 | cbradney | 1986 | <source>progressSet(nr) |
1135 | cbradney | 1987 | |
1988 | Set the progress bar position to "nr", a value relative to the previously set |
||
1989 | progressTotal. The progress bar uses the concept of steps; you give it the |
||
1990 | total number of steps and the number of steps completed so far and it will |
||
1991 | display the percentage of steps that have been completed. You can specify the |
||
1992 | total number of steps with progressTotal(). The current number of steps is set |
||
1993 | with progressSet(). The progress bar can be rewound to the beginning with |
||
5328 | cbradney | 1994 | progressReset(). [based on info taken from Trolltech's Qt docs] |
1135 | cbradney | 1995 | </source> |
5328 | cbradney | 1996 | <translation>progressSet(nr) |
1135 | cbradney | 1997 | |
1998 | Aseta etenemispalkki nr:n osoittamaan tilaan. |
||
1999 | The progress bar uses the concept of steps; you give it the |
||
2000 | total number of steps and the number of steps completed so far and it will |
||
2001 | display the percentage of steps that have been completed. You can specify the |
||
2002 | total number of steps with progressTotal(). The current number of steps is set |
||
2003 | with progressSet(). The progress bar can be rewound to the beginning with |
||
5328 | cbradney | 2004 | progressReset(). [based on info taken from Trolltech's Qt docs]</translation> |
1135 | cbradney | 2005 | </message> |
2006 | <message> |
||
5328 | cbradney | 2007 | <source>setCursor() |
1135 | cbradney | 2008 | |
2009 | [UNSUPPORTED!] This might break things, so steer clear for now. |
||
2010 | </source> |
||
5328 | cbradney | 2011 | <translation>setCursor() |
1135 | cbradney | 2012 | |
2013 | [Ei tuettu!] Tämä saattaa rikkoa asoita. Eli älä käytä ainakaan vielä.</translation> |
||
2014 | </message> |
||
2015 | <message> |
||
5328 | cbradney | 2016 | <source>docChanged(bool) |
1135 | cbradney | 2017 | |
5328 | cbradney | 2018 | Enable/disable save icon in the Scribus icon bar and the Save menu item. It's |
2019 | useful to call this procedure when you're changing the document, because Scribus |
||
2020 | won't automatically notice when you change the document using a script. |
||
1135 | cbradney | 2021 | </source> |
5328 | cbradney | 2022 | <translation>docChanged(bool) |
1135 | cbradney | 2023 | |
2024 | Ota käyttöön/Poista käytöstä tallennuskuvake työkalurivillä ja Tiedosto-valikossa. |
||
2025 | On hyvä kutsua tätä funktiota, kun olet muokannut asiakirjaa. Scribus ei huomaa |
||
2026 | automaattisesti skriptin tekemiä muutoksia.</translation> |
||
2027 | </message> |
||
1525 | cbradney | 2028 | <message> |
5328 | cbradney | 2029 | <source>setScaleImageToFrame(scaletoframe, proportional=None, name=<selection>) |
1525 | cbradney | 2030 | |
5328 | cbradney | 2031 | Sets the scale to frame on the selected or specified image frame to `scaletoframe'. |
2032 | If `proportional' is specified, set fixed aspect ratio scaling to `proportional'. |
||
2033 | Both `scaletoframe' and `proportional' are boolean. |
||
1525 | cbradney | 2034 | |
2147 | cbradney | 2035 | May raise WrongFrameTypeError. |
1525 | cbradney | 2036 | </source> |
5328 | cbradney | 2037 | <translation>setScaleImageToFrame(scaletoframe, proportional=None, name=<selection>) |
2147 | cbradney | 2038 | |
5328 | cbradney | 2039 | Sets the scale to frame on the selected or specified image frame to `scaletoframe'. |
2040 | If `proportional' is specified, set fixed aspect ratio scaling to `proportional'. |
||
2041 | Both `scaletoframe' and `proportional' are boolean. |
||
2147 | cbradney | 2042 | |
2043 | May raise WrongFrameTypeError. </translation> |
||
1525 | cbradney | 2044 | </message> |
2045 | <message> |
||
5328 | cbradney | 2046 | <source>renderFont("name", "filename", "sample", size, format="PPM") -> bool |
1525 | cbradney | 2047 | |
2147 | cbradney | 2048 | Creates an image preview of font "name" with given text "sample" and size. |
2049 | If "filename" is not "", image is saved into "filename". Otherwise |
||
2050 | image data is returned as a string. The optional "format" argument |
||
2051 | specifies the image format to generate, and supports any format allowed |
||
2052 | by QPixmap.save(). Common formats are PPM, JPEG, PNG and XPM. |
||
1525 | cbradney | 2053 | |
5328 | cbradney | 2054 | May raise NotFoundError if the specified font can't be found. |
2147 | cbradney | 2055 | May raise ValueError if an empty sample or filename is passed. |
1525 | cbradney | 2056 | </source> |
5328 | cbradney | 2057 | <translation>renderFont("name", "filename", "sample", size, format="PPM") -> bool |
2147 | cbradney | 2058 | |
2059 | Creates an image preview of font "name" with given text "sample" and size. |
||
2060 | If "filename" is not "", image is saved into "filename". Otherwise |
||
2061 | image data is returned as a string. The optional "format" argument |
||
2062 | specifies the image format to generate, and supports any format allowed |
||
2063 | by QPixmap.save(). Common formats are PPM, JPEG, PNG and XPM. |
||
2064 | |||
5328 | cbradney | 2065 | May raise NotFoundError if the specified font can't be found. |
2147 | cbradney | 2066 | May raise ValueError if an empty sample or filename is passed. </translation> |
1525 | cbradney | 2067 | </message> |
2068 | <message> |
||
5328 | cbradney | 2069 | <source>isLayerPrintable("layer") -> bool |
1525 | cbradney | 2070 | |
2147 | cbradney | 2071 | Returns whether the layer "layer" is printable or not, a value of True means |
2072 | that the layer "layer" can be printed, a value of False means that printing |
||
2073 | the layer "layer" is disabled. |
||
1525 | cbradney | 2074 | |
5328 | cbradney | 2075 | May raise NotFoundError if the layer can't be found. |
2076 | May raise ValueError if the layer name isn't acceptable. |
||
1525 | cbradney | 2077 | </source> |
5328 | cbradney | 2078 | <translation>isLayerPrintable("layer") -> bool |
2147 | cbradney | 2079 | |
2080 | Returns whether the layer "layer" is printable or not, a value of True means |
||
2081 | that the layer "layer" can be printed, a value of False means that printing |
||
2082 | the layer "layer" is disabled. |
||
2083 | |||
5328 | cbradney | 2084 | May raise NotFoundError if the layer can't be found. |
2085 | May raise ValueError if the layer name isn't acceptable. </translation> |
||
1525 | cbradney | 2086 | </message> |
2087 | <message> |
||
5328 | cbradney | 2088 | <source>setPDFBookmark("toggle", ["name"]) |
1525 | cbradney | 2089 | |
2147 | cbradney | 2090 | Sets wether (toggle = 1) the text frame "name" is a bookmark nor not. |
2091 | If "name" is not given the currently selected item is used. |
||
1525 | cbradney | 2092 | |
2147 | cbradney | 2093 | May raise WrongFrameTypeError if the target frame is not a text frame |
1525 | cbradney | 2094 | </source> |
5328 | cbradney | 2095 | <translation>setPDFBookmark("toggle", ["name"]) |
2147 | cbradney | 2096 | |
2097 | Sets wether (toggle = 1) the text frame "name" is a bookmark nor not. |
||
2098 | If "name" is not given the currently selected item is used. |
||
2099 | |||
2100 | May raise WrongFrameTypeError if the target frame is not a text frame </translation> |
||
1525 | cbradney | 2101 | </message> |
2102 | <message> |
||
5328 | cbradney | 2103 | <source>isPDFBookmark(["name"]) -> bool |
1525 | cbradney | 2104 | |
2147 | cbradney | 2105 | Returns true if the text frame "name" is a PDF bookmark. |
2106 | If "name" is not given the currently selected item is used. |
||
2107 | |||
2108 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
1525 | cbradney | 2109 | </source> |
5328 | cbradney | 2110 | <translation>isPDFBookmark(["name"]) -> bool |
2147 | cbradney | 2111 | |
2112 | Returns true if the text frame "name" is a PDF bookmark. |
||
2113 | If "name" is not given the currently selected item is used. |
||
2114 | |||
2115 | May raise WrongFrameTypeError if the target frame is not a text frame </translation> |
||
1525 | cbradney | 2116 | </message> |
2117 | <message> |
||
5328 | cbradney | 2118 | <source>getPageMargins() |
1525 | cbradney | 2119 | |
2147 | cbradney | 2120 | Returns the page margins as a (top, left, right, bottom) tuple in the current |
5328 | cbradney | 2121 | units. See UNIT_<type> constants and getPageSize(). |
1525 | cbradney | 2122 | </source> |
5328 | cbradney | 2123 | <translation>getPageMargins() |
2147 | cbradney | 2124 | |
2125 | Returns the page margins as a (top, left, right, bottom) tuple in the current |
||
5328 | cbradney | 2126 | units. See UNIT_<type> constants and getPageSize(). </translation> |
1525 | cbradney | 2127 | </message> |
2128 | <message> |
||
5328 | cbradney | 2129 | <source>getColorAsRGB("name") -> tuple |
1525 | cbradney | 2130 | |
3823 | tsoots | 2131 | Returns a tuple (R,G,B) containing the three color components of the |
2132 | color "name" from the current document, converted to the RGB color |
||
2133 | space. If no document is open, returns the value of the named color |
||
2134 | from the default document colors. |
||
1525 | cbradney | 2135 | |
5328 | cbradney | 2136 | May raise NotFoundError if the named color wasn't found. |
3823 | tsoots | 2137 | May raise ValueError if an invalid color name is specified. |
1525 | cbradney | 2138 | </source> |
5328 | cbradney | 2139 | <translation>getColorAsRGB("name") -> tuple |
1525 | cbradney | 2140 | |
3064 | cbradney | 2141 | Returns a tuple (R,G,B) containing the three color components of the |
2142 | color "name" from the current document, converted to the RGB color |
||
2143 | space. If no document is open, returns the value of the named color |
||
2144 | from the default document colors. |
||
2145 | |||
5328 | cbradney | 2146 | May raise NotFoundError if the named color wasn't found. |
3064 | cbradney | 2147 | May raise ValueError if an invalid color name is specified. |
3823 | tsoots | 2148 | </translation> |
3064 | cbradney | 2149 | </message> |
2150 | <message> |
||
5328 | cbradney | 2151 | <source>defineColor("name", c, m, y, k) |
3064 | cbradney | 2152 | |
2153 | Defines a new color "name". The color Value is defined via four components: |
||
2154 | c = Cyan, m = Magenta, y = Yello and k = Black. Color components should be in |
||
2155 | the range from 0 to 255. |
||
2156 | |||
2157 | May raise ValueError if an invalid color name is specified. |
||
2158 | </source> |
||
5328 | cbradney | 2159 | <translation>defineColor("name", c, m, y, k) |
3823 | tsoots | 2160 | |
2161 | Defines a new color "name". The color Value is defined via four components: |
||
2162 | c = Cyan, m = Magenta, y = Yello and k = Black. Color components should be in |
||
2163 | the range from 0 to 255. |
||
2164 | |||
2165 | May raise ValueError if an invalid color name is specified.</translation> |
||
3064 | cbradney | 2166 | </message> |
2167 | <message> |
||
5328 | cbradney | 2168 | <source>fileDialog("caption", ["filter", "defaultname", haspreview, issave, isdir]) -> string with filename |
3064 | cbradney | 2169 | |
2170 | Shows a File Open dialog box with the caption "caption". Files are filtered |
||
2171 | with the filter string "filter". A default filename or file path can also |
||
5328 | cbradney | 2172 | supplied, leave this string empty when you don't want to use it. A value of |
3064 | cbradney | 2173 | True for haspreview enables a small preview widget in the FileSelect box. When |
2174 | the issave parameter is set to True the dialog acts like a "Save As" dialog |
||
2175 | otherwise it acts like a "File Open Dialog". When the isdir parameter is True |
||
2176 | the dialog shows and returns only directories. The default for all of the |
||
2177 | opional parameters is False. |
||
2178 | |||
5328 | cbradney | 2179 | The filter, if specified, takes the form 'comment (*.type *.type2 ...)'. |
2180 | For example 'Images (*.png *.xpm *.jpg)'. |
||
3064 | cbradney | 2181 | |
2182 | Refer to the Qt-Documentation for QFileDialog for details on filters. |
||
2183 | |||
5328 | cbradney | 2184 | Example: fileDialog('Open input', 'CSV files (*.csv)') |
2185 | Example: fileDialog('Save report', defaultname='report.txt', issave=True) |
||
3064 | cbradney | 2186 | </source> |
5328 | cbradney | 2187 | <translation>fileDialog("caption", ["filter", "defaultname", haspreview, issave, isdir]) -> string with filename |
3064 | cbradney | 2188 | |
3823 | tsoots | 2189 | Shows a File Open dialog box with the caption "caption". Files are filtered |
2190 | with the filter string "filter". A default filename or file path can also |
||
5328 | cbradney | 2191 | supplied, leave this string empty when you don't want to use it. A value of |
3823 | tsoots | 2192 | True for haspreview enables a small preview widget in the FileSelect box. When |
2193 | the issave parameter is set to True the dialog acts like a "Save As" dialog |
||
2194 | otherwise it acts like a "File Open Dialog". When the isdir parameter is True |
||
2195 | the dialog shows and returns only directories. The default for all of the |
||
2196 | opional parameters is False. |
||
2197 | |||
5328 | cbradney | 2198 | The filter, if specified, takes the form 'comment (*.type *.type2 ...)'. |
2199 | For example 'Images (*.png *.xpm *.jpg)'. |
||
3823 | tsoots | 2200 | |
2201 | Refer to the Qt-Documentation for QFileDialog for details on filters. |
||
2202 | |||
5328 | cbradney | 2203 | Example: fileDialog('Open input', 'CSV files (*.csv)') |
2204 | Example: fileDialog('Save report', defaultname='report.txt', issave=True) |
||
3823 | tsoots | 2205 | </translation> |
3064 | cbradney | 2206 | </message> |
2207 | <message> |
||
5328 | cbradney | 2208 | <source>getCornerRadius(["name"]) -> integer |
3064 | cbradney | 2209 | |
2210 | Returns the corner radius of the object "name". The radius isexpressed in points. If "name" is not given the currentlyselected item is used. |
||
2211 | </source> |
||
5328 | cbradney | 2212 | <translation>getCornerRadius(["name"]) -> integer |
3823 | tsoots | 2213 | |
2214 | Returns the corner radius of the object "name". The radius isexpressed in points. If "name" is not given the currentlyselected item is used.</translation> |
||
3064 | cbradney | 2215 | </message> |
2216 | <message> |
||
5328 | cbradney | 2217 | <source>getPosition(["name"]) -> (x,y) |
3064 | cbradney | 2218 | |
2219 | Returns a (x, y) tuple with the position of the object "name". |
||
2220 | If "name" is not given the currently selected item is used.The position is expressed in the actual measurement unit of the document |
||
5328 | cbradney | 2221 | - see UNIT_<type> for reference. |
3064 | cbradney | 2222 | </source> |
5328 | cbradney | 2223 | <translation>getPosition(["name"]) -> (x,y) |
3823 | tsoots | 2224 | |
2225 | Returns a (x, y) tuple with the position of the object "name". |
||
2226 | If "name" is not given the currently selected item is used.The position is expressed in the actual measurement unit of the document |
||
5328 | cbradney | 2227 | - see UNIT_<type> for reference.</translation> |
3064 | cbradney | 2228 | </message> |
2229 | <message> |
||
5328 | cbradney | 2230 | <source>getPropertyCType(object, property, includesuper=True) |
3064 | cbradney | 2231 | |
5328 | cbradney | 2232 | Returns the name of the C type of `property' of `object'. See getProperty() |
3064 | cbradney | 2233 | for details of arguments. |
2234 | |||
5328 | cbradney | 2235 | If `includesuper' is true, search inherited properties too. |
3064 | cbradney | 2236 | </source> |
5328 | cbradney | 2237 | <translation>getPropertyCType(object, property, includesuper=True) |
3823 | tsoots | 2238 | |
5328 | cbradney | 2239 | Returns the name of the C type of `property' of `object'. See getProperty() |
3823 | tsoots | 2240 | for details of arguments. |
2241 | |||
5328 | cbradney | 2242 | If `includesuper' is true, search inherited properties too.</translation> |
3064 | cbradney | 2243 | </message> |
2244 | <message> |
||
5328 | cbradney | 2245 | <source>getPropertyNames(object, includesuper=True) |
3064 | cbradney | 2246 | |
5328 | cbradney | 2247 | Return a list of property names supported by `object'. |
2248 | If `includesuper' is true, return properties supported |
||
3064 | cbradney | 2249 | by parent classes as well. |
2250 | </source> |
||
5328 | cbradney | 2251 | <translation>getPropertyNames(object, includesuper=True) |
3823 | tsoots | 2252 | |
5328 | cbradney | 2253 | Return a list of property names supported by `object'. |
2254 | If `includesuper' is true, return properties supported |
||
3823 | tsoots | 2255 | by parent classes as well.</translation> |
3064 | cbradney | 2256 | </message> |
2257 | <message> |
||
5328 | cbradney | 2258 | <source>getProperty(object, property) |
3064 | cbradney | 2259 | |
5328 | cbradney | 2260 | Return the value of the property `property' of the passed `object'. |
3064 | cbradney | 2261 | |
5328 | cbradney | 2262 | The `object' argument may be a string, in which case the named PageItem |
3064 | cbradney | 2263 | is searched for. It may also be a PyCObject, which may point to any |
2264 | C++ QObject instance. |
||
2265 | |||
5328 | cbradney | 2266 | The `property' argument must be a string, and is the name of the property |
2267 | to look up on `object'. |
||
3064 | cbradney | 2268 | |
2269 | The return value varies depending on the type of the property. |
||
2270 | </source> |
||
5328 | cbradney | 2271 | <translation>getProperty(object, property) |
3823 | tsoots | 2272 | |
5328 | cbradney | 2273 | Return the value of the property `property' of the passed `object'. |
3823 | tsoots | 2274 | |
5328 | cbradney | 2275 | The `object' argument may be a string, in which case the named PageItem |
3823 | tsoots | 2276 | is searched for. It may also be a PyCObject, which may point to any |
2277 | C++ QObject instance. |
||
2278 | |||
5328 | cbradney | 2279 | The `property' argument must be a string, and is the name of the property |
2280 | to look up on `object'. |
||
3823 | tsoots | 2281 | |
2282 | The return value varies depending on the type of the property. |
||
2283 | </translation> |
||
3064 | cbradney | 2284 | </message> |
2285 | <message> |
||
5328 | cbradney | 2286 | <source>setProperty(object, property, value) |
3064 | cbradney | 2287 | |
5328 | cbradney | 2288 | Set `property' of `object' to `value'. If `value' cannot be converted to a type |
2289 | compatible with the type of `property', an exception is raised. An exception may |
||
3064 | cbradney | 2290 | also be raised if the underlying setter fails. |
2291 | |||
2292 | See getProperty() for more information. |
||
2293 | </source> |
||
5328 | cbradney | 2294 | <translation>setProperty(object, property, value) |
3823 | tsoots | 2295 | |
5328 | cbradney | 2296 | Set `property' of `object' to `value'. If `value' cannot be converted to a type |
2297 | compatible with the type of `property', an exception is raised. An exception may |
||
3823 | tsoots | 2298 | also be raised if the underlying setter fails. |
2299 | |||
2300 | See getProperty() for more information. |
||
2301 | </translation> |
||
3064 | cbradney | 2302 | </message> |
2303 | <message> |
||
5328 | cbradney | 2304 | <source>getChildren(object, ofclass=None, ofname=None, regexpmatch=False, recursive=True) |
3064 | cbradney | 2305 | |
5328 | cbradney | 2306 | Return a list of children of `object', possibly restricted to children |
2307 | of class named `ofclass' or children named `ofname'. If `recursive' is true, |
||
3064 | cbradney | 2308 | search recursively through children, grandchildren, etc. |
2309 | |||
2310 | See QObject::children() in the Qt docs for more information. |
||
2311 | </source> |
||
5328 | cbradney | 2312 | <translation>getChildren(object, ofclass=None, ofname=None, regexpmatch=False, recursive=True) |
3823 | tsoots | 2313 | |
5328 | cbradney | 2314 | Return a list of children of `object', possibly restricted to children |
2315 | of class named `ofclass' or children named `ofname'. If `recursive' is true, |
||
3823 | tsoots | 2316 | search recursively through children, grandchildren, etc. |
2317 | |||
2318 | See QObject::children() in the Qt docs for more information. |
||
2319 | </translation> |
||
3064 | cbradney | 2320 | </message> |
2321 | <message> |
||
5328 | cbradney | 2322 | <source>getChild(object, childname, ofclass=None, recursive=True) |
3064 | cbradney | 2323 | |
5328 | cbradney | 2324 | Return the first child of `object' named `childname', possibly restricting |
2325 | the search to children of type name `ofclass'. If `recursive' is true, |
||
3064 | cbradney | 2326 | search recursively through children, grandchildren, etc. |
2327 | </source> |
||
5328 | cbradney | 2328 | <translation>getChild(object, childname, ofclass=None, recursive=True) |
3823 | tsoots | 2329 | |
5328 | cbradney | 2330 | Return the first child of `object' named `childname', possibly restricting |
2331 | the search to children of type name `ofclass'. If `recursive' is true, |
||
3823 | tsoots | 2332 | search recursively through children, grandchildren, etc. |
2333 | </translation> |
||
3064 | cbradney | 2334 | </message> |
2335 | <message> |
||
5328 | cbradney | 2336 | <source>rotateObjectAbs(rot [, "name"]) |
3064 | cbradney | 2337 | |
2338 | Sets the rotation of the object "name" to "rot". Positve values |
||
2339 | mean counter clockwise rotation. If "name" is not given the currently |
||
2340 | selected item is used. |
||
2341 | </source> |
||
5328 | cbradney | 2342 | <translation>rotateObjectAbs(rot [, "name"]) |
3823 | tsoots | 2343 | |
2344 | Sets the rotation of the object "name" to "rot". Positve values |
||
2345 | mean counter clockwise rotation. If "name" is not given the currently |
||
2346 | selected item is used. |
||
2347 | </translation> |
||
3064 | cbradney | 2348 | </message> |
2349 | <message> |
||
5328 | cbradney | 2350 | <source>isLayerPrintable("layer") -> bool |
3064 | cbradney | 2351 | |
2352 | Returns whether the layer "layer" is visible or not, a value of True means |
||
2353 | that the layer "layer" is visible, a value of False means that the layer |
||
2354 | "layer" is invisible. |
||
2355 | |||
5328 | cbradney | 2356 | May raise NotFoundError if the layer can't be found. |
2357 | May raise ValueError if the layer name isn't acceptable. |
||
3064 | cbradney | 2358 | </source> |
5328 | cbradney | 2359 | <translation>isLayerPrintable("layer") -> bool |
3823 | tsoots | 2360 | |
2361 | Returns whether the layer "layer" is visible or not, a value of True means |
||
2362 | that the layer "layer" is visible, a value of False means that the layer |
||
2363 | "layer" is invisible. |
||
2364 | |||
5328 | cbradney | 2365 | May raise NotFoundError if the layer can't be found. |
2366 | May raise ValueError if the layer name isn't acceptable. |
||
3823 | tsoots | 2367 | </translation> |
3064 | cbradney | 2368 | </message> |
2369 | <message> |
||
5328 | cbradney | 2370 | <source>insertText("text", pos, ["name"]) |
3064 | cbradney | 2371 | |
2372 | Inserts the text "text" at the position "pos" into the text frame "name". |
||
2373 | Text must be UTF encoded (see setText() as reference) The first character has an |
||
2374 | index of 0. Inserting at position -1 appends text to the frame. If "name" is |
||
2375 | not given the currently selected Item is used. |
||
2376 | |||
2377 | May throw IndexError for an insertion out of bounds. |
||
2378 | </source> |
||
5328 | cbradney | 2379 | <translation>insertText("text", pos, ["name"]) |
3823 | tsoots | 2380 | |
2381 | Inserts the text "text" at the position "pos" into the text frame "name". |
||
2382 | Text must be UTF encoded (see setText() as reference) The first character has an |
||
2383 | index of 0. Inserting at position -1 appends text to the frame. If "name" is |
||
2384 | not given the currently selected Item is used. |
||
2385 | |||
2386 | May throw IndexError for an insertion out of bounds. |
||
2387 | </translation> |
||
3064 | cbradney | 2388 | </message> |
2389 | <message> |
||
5328 | cbradney | 2390 | <source>selectText(start, count, ["name"]) |
3064 | cbradney | 2391 | |
2392 | Selects "count" characters of text in the text frame "name" starting from the |
||
2393 | character "start". Character counting starts at 0. If "count" is zero, any |
||
2394 | text selection will be cleared. If "name" is not given the currently |
||
2395 | selected item is used. |
||
2396 | |||
2397 | May throw IndexError if the selection is outside the bounds of the text. |
||
2398 | </source> |
||
5328 | cbradney | 2399 | <translation>selectText(start, count, ["name"]) |
3823 | tsoots | 2400 | |
2401 | Selects "count" characters of text in the text frame "name" starting from the |
||
2402 | character "start". Character counting starts at 0. If "count" is zero, any |
||
2403 | text selection will be cleared. If "name" is not given the currently |
||
2404 | selected item is used. |
||
2405 | |||
2406 | May throw IndexError if the selection is outside the bounds of the text. |
||
2407 | </translation> |
||
3064 | cbradney | 2408 | </message> |
2409 | <message> |
||
5328 | cbradney | 2410 | <source>textOverflows(["name", nolinks]) -> integer |
3064 | cbradney | 2411 | |
2412 | Returns the actual number of overflowing characters in text frame "name". |
||
5328 | cbradney | 2413 | If is nolinks set to non zero value it takes only one frame - it doesn't |
3064 | cbradney | 2414 | use text frame linking. Without this parameter it search all linking chain. |
2415 | |||
2416 | May raise WrongFrameTypeError if the target frame is not an text frame |
||
2417 | </source> |
||
5328 | cbradney | 2418 | <translation>textOverflows(["name", nolinks]) -> integer |
3823 | tsoots | 2419 | |
2420 | Returns the actual number of overflowing characters in text frame "name". |
||
5328 | cbradney | 2421 | If is nolinks set to non zero value it takes only one frame - it doesn't |
3823 | tsoots | 2422 | use text frame linking. Without this parameter it search all linking chain. |
2423 | |||
2424 | May raise WrongFrameTypeError if the target frame is not an text frame |
||
2425 | </translation> |
||
3064 | cbradney | 2426 | </message> |
171 | Franz | 2427 | <message> |
5328 | cbradney | 2428 | <source>newStyleDialog() -> string |
3823 | tsoots | 2429 | |
5328 | cbradney | 2430 | Shows 'Create new paragraph style' dialog. Function returns real |
3823 | tsoots | 2431 | style name or None when user cancels the dialog. |
2432 | </source> |
||
5328 | cbradney | 2433 | <translation>newStyleDialog() -> string |
3823 | tsoots | 2434 | |
5328 | cbradney | 2435 | Shows 'Create new paragraph style' dialog. Function returns real |
3823 | tsoots | 2436 | style name or None when user cancels the dialog. |
2437 | </translation> |
||
171 | Franz | 2438 | </message> |
2439 | <message> |
||
5328 | cbradney | 2440 | <source>newDoc(size, margins, orientation, firstPageNumber, |
2441 | unit, facingPages, firstSideLeft) -> bool |
||
3823 | tsoots | 2442 | |
2443 | WARNING: Obsolete procedure! Use newDocument instead. |
||
2444 | |||
2445 | Creates a new document and returns true if successful. The parameters have the |
||
2446 | following meaning: |
||
2447 | |||
2448 | size = A tuple (width, height) describing the size of the document. You can |
||
5328 | cbradney | 2449 | use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc. |
3823 | tsoots | 2450 | |
2451 | margins = A tuple (left, right, top, bottom) describing the document |
||
2452 | margins |
||
2453 | |||
2454 | orientation = the page orientation - constants PORTRAIT, LANDSCAPE |
||
2455 | |||
2456 | firstPageNumer = is the number of the first page in the document used for |
||
5328 | cbradney | 2457 | pagenumbering. While you'll usually want 1, it's useful to have higher |
2458 | numbers if you're creating a document in several parts. |
||
3823 | tsoots | 2459 | |
2460 | unit: this value sets the measurement units used by the document. Use a |
||
2461 | predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS, |
||
2462 | UNIT_PICAS, UNIT_POINTS. |
||
2463 | |||
2464 | facingPages = FACINGPAGES, NOFACINGPAGES |
||
2465 | |||
2466 | firstSideLeft = FIRSTPAGELEFT, FIRSTPAGERIGHT |
||
2467 | |||
2468 | The values for width, height and the margins are expressed in the given unit |
||
2469 | for the document. PAPER_* constants are expressed in points. If your document |
||
2470 | is not in points, make sure to account for this. |
||
2471 | |||
2472 | example: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS, |
||
2473 | FACINGPAGES, FIRSTPAGERIGHT) |
||
2474 | </source> |
||
5328 | cbradney | 2475 | <translation>newDoc(size, margins, orientation, firstPageNumber, |
2476 | unit, facingPages, firstSideLeft) -> bool |
||
3823 | tsoots | 2477 | |
2478 | WARNING: Obsolete procedure! Use newDocument instead. |
||
2479 | |||
2480 | Creates a new document and returns true if successful. The parameters have the |
||
2481 | following meaning: |
||
2482 | |||
2483 | size = A tuple (width, height) describing the size of the document. You can |
||
5328 | cbradney | 2484 | use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc. |
3823 | tsoots | 2485 | |
2486 | margins = A tuple (left, right, top, bottom) describing the document |
||
2487 | margins |
||
2488 | |||
2489 | orientation = the page orientation - constants PORTRAIT, LANDSCAPE |
||
2490 | |||
2491 | firstPageNumer = is the number of the first page in the document used for |
||
5328 | cbradney | 2492 | pagenumbering. While you'll usually want 1, it's useful to have higher |
2493 | numbers if you're creating a document in several parts. |
||
3823 | tsoots | 2494 | |
2495 | unit: this value sets the measurement units used by the document. Use a |
||
2496 | predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS, |
||
2497 | UNIT_PICAS, UNIT_POINTS. |
||
2498 | |||
2499 | facingPages = FACINGPAGES, NOFACINGPAGES |
||
2500 | |||
2501 | firstSideLeft = FIRSTPAGELEFT, FIRSTPAGERIGHT |
||
2502 | |||
2503 | The values for width, height and the margins are expressed in the given unit |
||
2504 | for the document. PAPER_* constants are expressed in points. If your document |
||
2505 | is not in points, make sure to account for this. |
||
2506 | |||
2507 | example: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS, |
||
2508 | FACINGPAGES, FIRSTPAGERIGHT) |
||
2509 | </translation> |
||
171 | Franz | 2510 | </message> |
4141 | cbradney | 2511 | <message> |
5328 | cbradney | 2512 | <source>zoomDocument(double) |
4141 | cbradney | 2513 | |
4371 | tsoots | 2514 | Zoom the document in main GUI window. Actions have whole number |
2515 | values like 20.0, 100.0, etc. Zoom to Fit uses -100 as a marker. |
||
2516 | </source> |
||
5328 | cbradney | 2517 | <translation>zoomDocument(double) |
4371 | tsoots | 2518 | |
2519 | Zoom the document in main GUI window. Actions have whole number |
||
2520 | values like 20.0, 100.0, etc. Zoom to Fit uses -100 as a marker. |
||
2521 | </translation> |
||
2522 | </message> |
||
2523 | <message> |
||
5328 | cbradney | 2524 | <source>closeMasterPage() |
4371 | tsoots | 2525 | |
4141 | cbradney | 2526 | Closes the currently active master page, if any, and returns editing |
2527 | to normal. Begin editing with editMasterPage(). |
||
2528 | </source> |
||
5328 | cbradney | 2529 | <translation>closeMasterPage() |
4371 | tsoots | 2530 | |
2531 | Closes the currently active master page, if any, and returns editing |
||
2532 | to normal. Begin editing with editMasterPage(). |
||
2533 | </translation> |
||
4141 | cbradney | 2534 | </message> |
2535 | <message> |
||
5328 | cbradney | 2536 | <source>masterPageNames() |
4141 | cbradney | 2537 | |
2538 | Returns a list of the names of all master pages in the document. |
||
2539 | </source> |
||
5328 | cbradney | 2540 | <translation>masterPageNames() |
4371 | tsoots | 2541 | |
2542 | Returns a list of the names of all master pages in the document. |
||
2543 | </translation> |
||
4141 | cbradney | 2544 | </message> |
2545 | <message> |
||
5328 | cbradney | 2546 | <source>editMasterPage(pageName) |
4141 | cbradney | 2547 | |
2548 | Enables master page editing and opens the named master page |
||
2549 | for editing. Finish editing with closeMasterPage(). |
||
2550 | </source> |
||
5328 | cbradney | 2551 | <translation>editMasterPage(pageName) |
4371 | tsoots | 2552 | |
2553 | Enables master page editing and opens the named master page |
||
2554 | for editing. Finish editing with closeMasterPage(). |
||
2555 | </translation> |
||
4141 | cbradney | 2556 | </message> |
2557 | <message> |
||
5328 | cbradney | 2558 | <source>createMasterPage(pageName) |
4141 | cbradney | 2559 | |
2560 | Creates a new master page named pageName and opens it for |
||
2561 | editing. |
||
2562 | </source> |
||
5328 | cbradney | 2563 | <translation>createMasterPage(pageName) |
4371 | tsoots | 2564 | |
2565 | Creates a new master page named pageName and opens it for |
||
2566 | editing. |
||
2567 | </translation> |
||
4141 | cbradney | 2568 | </message> |
2569 | <message> |
||
5328 | cbradney | 2570 | <source>deleteMasterPage(pageName) |
4141 | cbradney | 2571 | |
2572 | Delete the named master page. |
||
2573 | </source> |
||
5328 | cbradney | 2574 | <translation>deleteMasterPage(pageName) |
4141 | cbradney | 2575 | |
4371 | tsoots | 2576 | Delete the named master page. |
2577 | </translation> |
||
4141 | cbradney | 2578 | </message> |
6261 | cbradney | 2579 | <message> |
2580 | <source>getFillTransparency(["name"]) -> float |
||
2581 | |||
2582 | Returns the fill transparency of the object "name". If "name" |
||
2583 | is not given the currently selected Item is used. |
||
2584 | </source> |
||
2585 | <translation type="unfinished"></translation> |
||
2586 | </message> |
||
2587 | <message> |
||
2588 | <source>getFillBlendmode(["name"]) -> integer |
||
2589 | |||
2590 | Returns the fill blendmode of the object "name". If "name" |
||
2591 | is not given the currently selected Item is used. |
||
2592 | </source> |
||
2593 | <translation type="unfinished"></translation> |
||
2594 | </message> |
||
2595 | <message> |
||
2596 | <source>getLineTransparency(["name"]) -> float |
||
2597 | |||
2598 | Returns the line transparency of the object "name". If "name" |
||
2599 | is not given the currently selected Item is used. |
||
2600 | </source> |
||
2601 | <translation type="unfinished"></translation> |
||
2602 | </message> |
||
2603 | <message> |
||
2604 | <source>getLineBlendmode(["name"]) -> integer |
||
2605 | |||
2606 | Returns the line blendmode of the object "name". If "name" |
||
2607 | is not given the currently selected Item is used. |
||
2608 | </source> |
||
2609 | <translation type="unfinished"></translation> |
||
2610 | </message> |
||
2611 | <message> |
||
2612 | <source>setLayerPrintable("layer", printable) |
||
2613 | |||
2614 | Sets the layer "layer" to be printable or not. If printable is set to |
||
2615 | false the layer won't be printed. |
||
2616 | |||
2617 | May raise NotFoundError if the layer can't be found. |
||
2618 | May raise ValueError if the layer name isn't acceptable. |
||
2619 | </source> |
||
2620 | <translation type="unfinished"></translation> |
||
2621 | </message> |
||
2622 | <message> |
||
2623 | <source>setLayerLocked("layer", locked) |
||
2624 | |||
2625 | Sets the layer "layer" to be locked or not. If locked is set to |
||
2626 | true the layer will be locked. |
||
2627 | |||
2628 | May raise NotFoundError if the layer can't be found. |
||
2629 | May raise ValueError if the layer name isn't acceptable. |
||
2630 | </source> |
||
2631 | <translation type="unfinished"></translation> |
||
2632 | </message> |
||
2633 | <message> |
||
2634 | <source>setLayerOutlined"layer", outline) |
||
2635 | |||
2636 | Sets the layer "layer" to be locked or not. If outline is set to |
||
2637 | true the layer will be displayed outlined. |
||
2638 | |||
2639 | May raise NotFoundError if the layer can't be found. |
||
2640 | May raise ValueError if the layer name isn't acceptable. |
||
2641 | </source> |
||
2642 | <translation type="unfinished"></translation> |
||
2643 | </message> |
||
2644 | <message> |
||
2645 | <source>setLayerFlow"layer", flow) |
||
2646 | |||
2647 | Sets the layers "layer" flowcontrol to flow. If flow is set to |
||
2648 | true text in layers above this one will flow around objects on this layer. |
||
2649 | |||
2650 | May raise NotFoundError if the layer can't be found. |
||
2651 | May raise ValueError if the layer name isn't acceptable. |
||
2652 | </source> |
||
2653 | <translation type="unfinished"></translation> |
||
2654 | </message> |
||
2655 | <message> |
||
2656 | <source>setLayerBlendmode"layer", blend) |
||
2657 | |||
2658 | Sets the layers "layer" blendmode to blend. |
||
2659 | |||
2660 | May raise NotFoundError if the layer can't be found. |
||
2661 | May raise ValueError if the layer name isn't acceptable. |
||
2662 | </source> |
||
2663 | <translation type="unfinished"></translation> |
||
2664 | </message> |
||
2665 | <message> |
||
2666 | <source>setLayerTransparency"layer", trans) |
||
2667 | |||
2668 | Sets the layers "layer" transparency to trans. |
||
2669 | |||
2670 | May raise NotFoundError if the layer can't be found. |
||
2671 | May raise ValueError if the layer name isn't acceptable. |
||
2672 | </source> |
||
2673 | <translation type="unfinished"></translation> |
||
2674 | </message> |
||
2675 | <message> |
||
2676 | <source>isLayerLocked("layer") -> bool |
||
2677 | |||
2678 | Returns whether the layer "layer" is locked or not, a value of True means |
||
2679 | that the layer "layer" is editable, a value of False means that the layer |
||
2680 | "layer" is locked. |
||
2681 | |||
2682 | May raise NotFoundError if the layer can't be found. |
||
2683 | May raise ValueError if the layer name isn't acceptable. |
||
2684 | </source> |
||
2685 | <translation type="unfinished"></translation> |
||
2686 | </message> |
||
2687 | <message> |
||
2688 | <source>isLayerOutlined("layer") -> bool |
||
2689 | |||
2690 | Returns whether the layer "layer" is outlined or not, a value of True means |
||
2691 | that the layer "layer" is outlined, a value of False means that the layer |
||
2692 | "layer" is normal. |
||
2693 | |||
2694 | May raise NotFoundError if the layer can't be found. |
||
2695 | May raise ValueError if the layer name isn't acceptable. |
||
2696 | </source> |
||
2697 | <translation type="unfinished"></translation> |
||
2698 | </message> |
||
2699 | <message> |
||
2700 | <source>isLayerFlow("layer") -> bool |
||
2701 | |||
2702 | Returns whether text flows around objects on layer "layer", a value of True means |
||
2703 | that text flows around, a value of False means that the text does not flow around. |
||
2704 | |||
2705 | May raise NotFoundError if the layer can't be found. |
||
2706 | May raise ValueError if the layer name isn't acceptable. |
||
2707 | </source> |
||
2708 | <translation type="unfinished"></translation> |
||
2709 | </message> |
||
2710 | <message> |
||
2711 | <source>getLayerBlendmode("layer") -> int |
||
2712 | |||
2713 | Returns the "layer" layer blendmode, |
||
2714 | |||
2715 | May raise NotFoundError if the layer can't be found. |
||
2716 | May raise ValueError if the layer name isn't acceptable. |
||
2717 | </source> |
||
2718 | <translation type="unfinished"></translation> |
||
2719 | </message> |
||
2720 | <message> |
||
2721 | <source>getLayerTransparency("layer") -> float |
||
2722 | |||
2723 | Returns the "layer" layer transparency, |
||
2724 | |||
2725 | May raise NotFoundError if the layer can't be found. |
||
2726 | May raise ValueError if the layer name isn't acceptable. |
||
2727 | </source> |
||
2728 | <translation type="unfinished"></translation> |
||
2729 | </message> |
||
2730 | <message> |
||
2731 | <source>textFlowMode("name" [, state]) |
||
2732 | |||
2733 | Enables/disables "Text Flows Around Frame" feature for object "name". |
||
2734 | Called with parameters string name and optional int "state" (0 <= state <= 3). |
||
2735 | Setting "state" to 0 will disable text flow. |
||
2736 | Setting "state" to 1 will make text flow around object frame. |
||
2737 | Setting "state" to 2 will make text flow around bounding box. |
||
2738 | Setting "state" to 3 will make text flow around contour line. |
||
2739 | If "state" is not passed, text flow is toggled. |
||
2740 | </source> |
||
2741 | <translation type="unfinished"></translation> |
||
2742 | </message> |
||
2743 | <message> |
||
2744 | <source>duplicateObject(["name"]) -> string |
||
2745 | |||
2746 | creates a Duplicate of the selected Object (or Selection Group). |
||
2747 | </source> |
||
2748 | <translation type="unfinished"></translation> |
||
2749 | </message> |
||
2750 | <message> |
||
2751 | <source>setFillTransparency(transparency, ["name"]) |
||
2752 | |||
2753 | Sets the fill transparency of the object "name" to transparency |
||
2754 | is the name of one of the defined colors. If "name" is not given the |
||
2755 | currently selected item is used. |
||
2756 | </source> |
||
2757 | <translation type="unfinished"></translation> |
||
2758 | </message> |
||
2759 | <message> |
||
2760 | <source>setFillBlendmode(blendmode, ["name"]) |
||
2761 | |||
2762 | Sets the fill blendmode of the object "name" to blendmode |
||
2763 | is the name of one of the defined colors. If "name" is not given the |
||
2764 | currently selected item is used. |
||
2765 | </source> |
||
2766 | <translation type="unfinished"></translation> |
||
2767 | </message> |
||
2768 | <message> |
||
2769 | <source>setLineTransparency(transparency, ["name"]) |
||
2770 | |||
2771 | Sets the line transparency of the object "name" to transparency |
||
2772 | is the name of one of the defined colors. If "name" is not given the |
||
2773 | currently selected item is used. |
||
2774 | </source> |
||
2775 | <translation type="unfinished"></translation> |
||
2776 | </message> |
||
2777 | <message> |
||
2778 | <source>setLineBlendmode(blendmode, ["name"]) |
||
2779 | |||
2780 | Sets the line blendmode of the object "name" to blendmode |
||
2781 | is the name of one of the defined colors. If "name" is not given the |
||
2782 | currently selected item is used. |
||
2783 | </source> |
||
2784 | <translation type="unfinished"></translation> |
||
2785 | </message> |
||
6434 | cbradney | 2786 | <message> |
2787 | <source>setInfo("author", "info", "description") -> bool |
||
2788 | |||
2789 | Sets the document information. "Author", "Info", "Description" are |
||
2790 | strings. |
||
2791 | </source> |
||
2792 | <translation type="unfinished"></translation> |
||
2793 | </message> |
||
2794 | <message> |
||
2795 | <source>getPageType() -> integer |
||
2796 | |||
2797 | Returns the type of the Page, 0 means left Page, 1 is a middle Page and 2 is a right Page |
||
2798 | </source> |
||
2799 | <translation type="unfinished"></translation> |
||
2800 | </message> |
||
2801 | <message> |
||
2802 | <source>getTextLines(["name"]) -> integer |
||
2803 | |||
2804 | Returns the number of lines of the text in the text frame "name". |
||
2805 | If "name" is not given the currently selected item is used. |
||
2806 | </source> |
||
2807 | <translation type="unfinished"></translation> |
||
2808 | </message> |
||
5328 | cbradney | 2809 | </context> |
2810 | <context> |
||
3823 | tsoots | 2811 | <name>About</name> |
171 | Franz | 2812 | <message> |
5328 | cbradney | 2813 | <source>Contributions from:</source> |
2814 | <translation>Työhön osallistuneita:</translation> |
||
171 | Franz | 2815 | </message> |
2816 | <message> |
||
5328 | cbradney | 2817 | <source>&About</source> |
2818 | <translation>T&ietoja</translation> |
||
171 | Franz | 2819 | </message> |
2820 | <message> |
||
5328 | cbradney | 2821 | <source>A&uthors</source> |
2822 | <translation>&Tekijät</translation> |
||
171 | Franz | 2823 | </message> |
2824 | <message> |
||
5328 | cbradney | 2825 | <source>&Translations</source> |
2826 | <translation>&Käännökset</translation> |
||
171 | Franz | 2827 | </message> |
2828 | <message> |
||
5328 | cbradney | 2829 | <source>&Online</source> |
2830 | <translation>&Verkossa</translation> |
||
171 | Franz | 2831 | </message> |
2832 | <message> |
||
5328 | cbradney | 2833 | <source>&Close</source> |
2834 | <translation>&Sulje</translation> |
||
171 | Franz | 2835 | </message> |
2836 | <message> |
||
5328 | cbradney | 2837 | <source>Development Team:</source> |
2838 | <translation>Kehitysryhmä:</translation> |
||
171 | Franz | 2839 | </message> |
2840 | <message> |
||
5328 | cbradney | 2841 | <source>Official Documentation:</source> |
2842 | <translation>Virallinen dokumentaatio:</translation> |
||
171 | Franz | 2843 | </message> |
2844 | <message> |
||
5328 | cbradney | 2845 | <source>Other Documentation:</source> |
2846 | <translation>Muu dokumentaatio:</translation> |
||
171 | Franz | 2847 | </message> |
2848 | <message> |
||
5328 | cbradney | 2849 | <source>Homepage</source> |
2850 | <translation>Kotisivu</translation> |
||
171 | Franz | 2851 | </message> |
2852 | <message> |
||
5328 | cbradney | 2853 | <source>Online Reference</source> |
2854 | <translation>Materiaali verkossa</translation> |
||
171 | Franz | 2855 | </message> |
2856 | <message> |
||
5328 | cbradney | 2857 | <source>Bugs and Feature Requests</source> |
2858 | <translation>Bugit ja parannusehdotukset</translation> |
||
171 | Franz | 2859 | </message> |
2860 | <message> |
||
5328 | cbradney | 2861 | <source>Mailing List</source> |
2862 | <translation>Postituslista</translation> |
||
171 | Franz | 2863 | </message> |
2864 | <message> |
||
5328 | cbradney | 2865 | <source>Official Translations and Translators:</source> |
2866 | <translation>Käännökset ja kääntäjät:</translation> |
||
171 | Franz | 2867 | </message> |
2868 | <message> |
||
5328 | cbradney | 2869 | <source>Previous Translation Contributors:</source> |
2870 | <translation>Aikaisempia kääntäjiä:</translation> |
||
171 | Franz | 2871 | </message> |
2872 | <message> |
||
5328 | cbradney | 2873 | <source>About Scribus %1</source> |
2874 | <translation>Tietoja Scribuksesta %1</translation> |
||
171 | Franz | 2875 | </message> |
2876 | <message> |
||
5328 | cbradney | 2877 | <source>Wiki</source> |
2878 | <translation>Wiki</translation> |
||
171 | Franz | 2879 | </message> |
2880 | <message> |
||
5328 | cbradney | 2881 | <source>%1 %2 %3</source> |
2882 | <translation>%1 %2 %3</translation> |
||
187 | Franz | 2883 | </message> |
237 | Franz | 2884 | <message> |
5328 | cbradney | 2885 | <source>%3-%2-%1 %4 %5</source> |
2886 | <translation>%3-%2-%1 %4 %5</translation> |
||
274 | Franz | 2887 | </message> |
286 | Franz | 2888 | <message> |
5328 | cbradney | 2889 | <source>Using Ghostscript version %1</source> |
2890 | <translation>Käytetään Ghostscriptin versiota %1</translation> |
||
286 | Franz | 2891 | </message> |
2892 | <message> |
||
5328 | cbradney | 2893 | <source>No Ghostscript version available</source> |
2894 | <translation>Ghostscriptiä ei löytynyt</translation> |
||
341 | Franz | 2895 | </message> |
2896 | <message> |
||
5328 | cbradney | 2897 | <source><b>Scribus Version %1</b><p>%2<br/>%3 %4<br/>%5</p></source> |
2898 | <translation><b>Scribus versio %1</b><p>%2<br/>%3 %4<br/>%5</p></translation> |
||
341 | Franz | 2899 | </message> |
2900 | <message> |
||
5328 | cbradney | 2901 | <source>Build ID:</source> |
2902 | <translation>Käännöstunnus</translation> |
||
341 | Franz | 2903 | </message> |
2904 | <message> |
||
5328 | cbradney | 2905 | <source>This panel shows the version, build date and compiled in library support in Scribus. The C-C-T-F equates to C=littlecms C=CUPS T=TIFF support F=Fontconfig support. Last Letter is the renderer C=cairo or A=libart Missing library support is indicated by a *. This also indicates the version of Ghostscript which Scribus has detected.</source> |
6261 | cbradney | 2906 | <translation type="obsolete">Tämä osa kertoo version, käännöspäivämäärän sekä mukaan käännetyt kirjastot. C-C-T-F-C/A muodostuu seuraavasti: C=LittleCMS - C=CUPS - T=TIFF - F=Fontconfig.- C=Cairo/A=libart. Kirjaston puuttuessa on sitä osoittavan kirjaimen tilalla merkki *. Scribuksen löytämä Ghostscript ja sen versio ovat myös esillä.</translation> |
341 | Franz | 2907 | </message> |
2908 | <message> |
||
5328 | cbradney | 2909 | <source>Mac OS&#174; X Aqua Port:</source> |
2910 | <translation>Mac OS&#174; X Aqua -versio:</translation> |
||
4409 | tsoots | 2911 | </message> |
2912 | <message> |
||
5328 | cbradney | 2913 | <source>Windows&#174; Port:</source> |
2914 | <translation>Windows&#174; -versio:</translation> |
||
4409 | tsoots | 2915 | </message> |
4759 | cbradney | 2916 | <message> |
5328 | cbradney | 2917 | <source>April</source> |
5485 | cbradney | 2918 | <translation type="obsolete">huhtikuu</translation> |
4759 | cbradney | 2919 | </message> |
5328 | cbradney | 2920 | <message> |
2921 | <source>Tango Project Icons:</source> |
||
2922 | <translation type="unfinished"></translation> |
||
2923 | </message> |
||
6261 | cbradney | 2924 | <message> |
2925 | <source>&Updates</source> |
||
2926 | <translation type="unfinished"></translation> |
||
2927 | </message> |
||
2928 | <message> |
||
2929 | <source>Check for &Updates</source> |
||
2930 | <translation type="unfinished"></translation> |
||
2931 | </message> |
||
2932 | <message> |
||
2933 | <source>This panel shows the version, build date and compiled in library support in Scribus. The C-C-T-F equates to C=littlecms C=CUPS T=TIFF support F=Fontconfig support. Last Letter is the renderer C=cairo or A=libart Missing library support is indicated by a *. This also indicates the version of Ghostscript which Scribus has detected. The Windows version does not use fontconfig or CUPS libraries.</source> |
||
2934 | <translation type="unfinished"></translation> |
||
2935 | </message> |
||
2936 | <message> |
||
2937 | <source>Check for updates to Scribus. No data from your machine will be transferred off it.</source> |
||
2938 | <translation type="unfinished"></translation> |
||
2939 | </message> |
||
5328 | cbradney | 2940 | </context> |
2941 | <context> |
||
3278 | cbradney | 2942 | <name>AboutPlugins</name> |
2943 | <message> |
||
5328 | cbradney | 2944 | <source>Yes</source> |
2945 | <translation>Kyllä</translation> |
||
3278 | cbradney | 2946 | </message> |
2947 | <message> |
||
5328 | cbradney | 2948 | <source>No</source> |
2949 | <translation>Ei</translation> |
||
3278 | cbradney | 2950 | </message> |
2951 | <message> |
||
5328 | cbradney | 2952 | <source>Filename:</source> |
2953 | <translation>Tiedostonimi:</translation> |
||
3278 | cbradney | 2954 | </message> |
2955 | <message> |
||
5328 | cbradney | 2956 | <source>Version:</source> |
2957 | <translation>Versio:</translation> |
||
3278 | cbradney | 2958 | </message> |
2959 | <message> |
||
5328 | cbradney | 2960 | <source>Enabled:</source> |
2961 | <translation>Käytössä:</translation> |
||
3278 | cbradney | 2962 | </message> |
2963 | <message> |
||
5328 | cbradney | 2964 | <source>Release Date:</source> |
2965 | <translation>Julkaisupäivämäärä:</translation> |
||
3278 | cbradney | 2966 | </message> |
2967 | <message> |
||
5328 | cbradney | 2968 | <source>Description:</source> |
2969 | <translation>Kuvaus:</translation> |
||
3278 | cbradney | 2970 | </message> |
2971 | <message> |
||
5328 | cbradney | 2972 | <source>Author(s):</source> |
2973 | <translation>Tekijät:</translation> |
||
3278 | cbradney | 2974 | </message> |
2975 | <message> |
||
5328 | cbradney | 2976 | <source>Copyright:</source> |
2977 | <translation>Copyright:</translation> |
||
3278 | cbradney | 2978 | </message> |
2979 | <message> |
||
5328 | cbradney | 2980 | <source>License:</source> |
2981 | <translation>Lisenssi:</translation> |
||
3278 | cbradney | 2982 | </message> |
5328 | cbradney | 2983 | </context> |
2984 | <context> |
||
4479 | tsoots | 2985 | <name>AboutPluginsBase</name> |
3278 | cbradney | 2986 | <message> |
5328 | cbradney | 2987 | <source>Scribus: About Plug-ins</source> |
2988 | <translation>Scribus: Tietoja liitännäisistä</translation> |
||
4479 | tsoots | 2989 | </message> |
2990 | <message> |
||
5328 | cbradney | 2991 | <source>&Close</source> |
2992 | <translation>&Sulje</translation> |
||
3278 | cbradney | 2993 | </message> |
2994 | <message> |
||
5328 | cbradney | 2995 | <source>Alt+C</source> |
2996 | <translation>Alt+C</translation> |
||
3278 | cbradney | 2997 | </message> |
5328 | cbradney | 2998 | </context> |
2999 | <context> |
||
3064 | cbradney | 3000 | <name>ActionManager</name> |
3001 | <message> |
||
5328 | cbradney | 3002 | <source>&New</source> |
3003 | <translation>&Uusi</translation> |
||
3064 | cbradney | 3004 | </message> |
3005 | <message> |
||
5328 | cbradney | 3006 | <source>&Open...</source> |
3007 | <translation>&Avaa...</translation> |
||
3064 | cbradney | 3008 | </message> |
3009 | <message> |
||
5328 | cbradney | 3010 | <source>&Close</source> |
3011 | <translation>&Sulje</translation> |
||
3064 | cbradney | 3012 | </message> |
3013 | <message> |
||
5328 | cbradney | 3014 | <source>&Save</source> |
3015 | <translation>&Tallenna</translation> |
||
3064 | cbradney | 3016 | </message> |
3017 | <message> |
||
5328 | cbradney | 3018 | <source>Save &As...</source> |
3019 | <translation>Tallenna &nimellä...</translation> |
||
3064 | cbradney | 3020 | </message> |
3021 | <message> |
||
5328 | cbradney | 3022 | <source>Re&vert to Saved</source> |
3023 | <translation>&Palauta tallennettu</translation> |
||
3064 | cbradney | 3024 | </message> |
3025 | <message> |
||
5328 | cbradney | 3026 | <source>Collect for O&utput...</source> |
3027 | <translation>&Kerää asiakirja...</translation> |
||
3064 | cbradney | 3028 | </message> |
3029 | <message> |
||
5328 | cbradney | 3030 | <source>Get Text...</source> |
3031 | <translation>Hae teksti...</translation> |
||
3064 | cbradney | 3032 | </message> |
3033 | <message> |
||
5328 | cbradney | 3034 | <source>Append &Text...</source> |
3035 | <translation>Jatka &tekstiä...</translation> |
||
3064 | cbradney | 3036 | </message> |
3037 | <message> |
||
5328 | cbradney | 3038 | <source>Get Image...</source> |
3039 | <translation>Hae kuva...</translation> |
||
3064 | cbradney | 3040 | </message> |
3041 | <message> |
||
5328 | cbradney | 3042 | <source>Save &Text...</source> |
3043 | <translation>Tallenna &teksti...</translation> |
||
3064 | cbradney | 3044 | </message> |
3045 | <message> |
||
5328 | cbradney | 3046 | <source>Save Page as &EPS...</source> |
5485 | cbradney | 3047 | <translation type="obsolete">Tallenna sivu &EPS:nä...</translation> |
3064 | cbradney | 3048 | </message> |
3049 | <message> |
||
5328 | cbradney | 3050 | <source>Save as P&DF...</source> |
3051 | <translation>Tallenna P&DF:nä...</translation> |
||
3064 | cbradney | 3052 | </message> |
3053 | <message> |
||
5328 | cbradney | 3054 | <source>Document &Setup...</source> |
3055 | <translation>A&siakirjan asettelu...</translation> |
||
3064 | cbradney | 3056 | </message> |
3057 | <message> |
||
5328 | cbradney | 3058 | <source>&Print...</source> |
3059 | <translation>T&ulosta...</translation> |
||
3064 | cbradney | 3060 | </message> |
3061 | <message> |
||
5328 | cbradney | 3062 | <source>&Quit</source> |
3063 | <translation>&Lopeta</translation> |
||
3064 | cbradney | 3064 | </message> |
3065 | <message> |
||
5328 | cbradney | 3066 | <source>&Undo</source> |
3067 | <translation>&Kumoa</translation> |
||
3064 | cbradney | 3068 | </message> |
3069 | <message> |
||
5328 | cbradney | 3070 | <source>&Redo</source> |
3071 | <translation>&Tee uudelleen</translation> |
||
3064 | cbradney | 3072 | </message> |
3073 | <message> |
||
5328 | cbradney | 3074 | <source>&Item Action Mode</source> |
3075 | <translation>&Objektikohtainen toimintohistoria</translation> |
||
3064 | cbradney | 3076 | </message> |
3077 | <message> |
||
5328 | cbradney | 3078 | <source>Cu&t</source> |
3079 | <translation>&Leikkaa</translation> |
||
3064 | cbradney | 3080 | </message> |
3081 | <message> |
||
5328 | cbradney | 3082 | <source>&Copy</source> |
3083 | <translation>&Kopioi</translation> |
||
3064 | cbradney | 3084 | </message> |
3085 | <message> |
||
5328 | cbradney | 3086 | <source>&Paste</source> |
3087 | <translation>L&iitä</translation> |
||
3064 | cbradney | 3088 | </message> |
3089 | <message> |
||
5328 | cbradney | 3090 | <source>Select &All</source> |
3091 | <translation>V&alitse kaikki</translation> |
||
3064 | cbradney | 3092 | </message> |
3093 | <message> |
||
5328 | cbradney | 3094 | <source>&Deselect All</source> |
3095 | <translation>&Poista valinnat</translation> |
||
3064 | cbradney | 3096 | </message> |
3097 | <message> |
||
5328 | cbradney | 3098 | <source>&Search/Replace...</source> |
3099 | <translation>Et&si/Korvaa...</translation> |
||
3064 | cbradney | 3100 | </message> |
3101 | <message> |
||
5328 | cbradney | 3102 | <source>Edit Image...</source> |
3103 | <translation>Muokkaa kuvaa...</translation> |
||
3064 | cbradney | 3104 | </message> |
3105 | <message> |
||
5328 | cbradney | 3106 | <source>C&olors...</source> |
3107 | <translation>&Värit...</translation> |
||
3064 | cbradney | 3108 | </message> |
3109 | <message> |
||
5328 | cbradney | 3110 | <source>&Paragraph Styles...</source> |
3111 | <translation>Ka&ppaletyylit...</translation> |
||
3064 | cbradney | 3112 | </message> |
3113 | <message> |
||
5328 | cbradney | 3114 | <source>&Line Styles...</source> |
3115 | <translation>Viivatyy&lit...</translation> |
||
3064 | cbradney | 3116 | </message> |
3117 | <message> |
||
5328 | cbradney | 3118 | <source>&Master Pages...</source> |
3119 | <translation>&Mallisivut...</translation> |
||
3064 | cbradney | 3120 | </message> |
3121 | <message> |
||
5328 | cbradney | 3122 | <source>P&references...</source> |
3123 | <translation>&Asetukset...</translation> |
||
3064 | cbradney | 3124 | </message> |
3125 | <message> |
||
5328 | cbradney | 3126 | <source>%1 pt</source> |
3127 | <translation>%1 pt</translation> |
||
3064 | cbradney | 3128 | </message> |
3129 | <message> |
||
5328 | cbradney | 3130 | <source>&Other...</source> |
3131 | <translation>M&uu...</translation> |
||
3064 | cbradney | 3132 | </message> |
3133 | <message> |
||
5328 | cbradney | 3134 | <source>&Left</source> |
3135 | <translation>&Vasen</translation> |
||
3064 | cbradney | 3136 | </message> |
3137 | <message> |
||
5328 | cbradney | 3138 | <source>&Center</source> |
3139 | <translation>&Keskitetty</translation> |
||
3064 | cbradney | 3140 | </message> |
3141 | <message> |
||
5328 | cbradney | 3142 | <source>&Right</source> |
3143 | <translation>&Oikea</translation> |
||
3064 | cbradney | 3144 | </message> |
3145 | <message> |
||
5328 | cbradney | 3146 | <source>&Block</source> |
3147 | <translation>&Molemmat reunat</translation> |
||
3064 | cbradney | 3148 | </message> |
3149 | <message> |
||
5328 | cbradney | 3150 | <source>&Forced</source> |
3151 | <translation>&Pakotettu</translation> |
||
3064 | cbradney | 3152 | </message> |
3153 | <message> |
||
5328 | cbradney | 3154 | <source>&%1 %</source> |
3155 | <translation>&%1 %</translation> |
||
3064 | cbradney | 3156 | </message> |
3157 | <message> |
||
5328 | cbradney | 3158 | <source>&Normal</source> |
3159 | <translation>&Normaali</translation> |
||
3064 | cbradney | 3160 | </message> |
3161 | <message> |
||
5328 | cbradney | 3162 | <source>&Underline</source> |
3163 | <translation>&Alleviivattu</translation> |
||
3064 | cbradney | 3164 | </message> |
3165 | <message> |
||
5328 | cbradney | 3166 | <source>Underline &Words</source> |
3167 | <translation>Alleviivaa &sanat</translation> |
||
3064 | cbradney | 3168 | </message> |
3169 | <message> |
||
5328 | cbradney | 3170 | <source>&Strike Through</source> |
3171 | <translation>&Yliviivaa</translation> |
||
3064 | cbradney | 3172 | </message> |
3173 | <message> |
||
5328 | cbradney | 3174 | <source>&All Caps</source> |
3175 | <translation>&Versaalit</translation> |
||
3064 | cbradney | 3176 | </message> |
3177 | <message> |
||
5328 | cbradney | 3178 | <source>Small &Caps</source> |
3179 | <translation>&Kapiteelit</translation> |
||
3064 | cbradney | 3180 | </message> |
3181 | <message> |
||
5328 | cbradney | 3182 | <source>Su&perscript</source> |
3183 | <translation>&Yläindeksi</translation> |
||
3064 | cbradney | 3184 | </message> |
3185 | <message> |
||
5328 | cbradney | 3186 | <source>Su&bscript</source> |
3187 | <translation>&Alaindeksi</translation> |
||
3064 | cbradney | 3188 | </message> |
3189 | <message> |
||
5328 | cbradney | 3190 | <source>S&hadow</source> |
3191 | <translation>&Varjo</translation> |
||
3064 | cbradney | 3192 | </message> |
3193 | <message> |
||
5328 | cbradney | 3194 | <source>&Image Effects</source> |
3195 | <translation>&Kuvaefektit</translation> |
||
3064 | cbradney | 3196 | </message> |
3197 | <message> |
||
5328 | cbradney | 3198 | <source>&Tabulators...</source> |
3199 | <translation>&Sarkaimet...</translation> |
||
3064 | cbradney | 3200 | </message> |
3201 | <message> |
||
5328 | cbradney | 3202 | <source>D&uplicate</source> |
3203 | <translation>&Kopioi</translation> |
||
3064 | cbradney | 3204 | </message> |
3205 | <message> |
||
5328 | cbradney | 3206 | <source>&Multiple Duplicate</source> |
3207 | <translation>&Useita kopioita</translation> |
||
3064 | cbradney | 3208 | </message> |
3209 | <message> |
||
5328 | cbradney | 3210 | <source>&Delete</source> |
3211 | <translation>&Poista</translation> |
||
3064 | cbradney | 3212 | </message> |
3213 | <message> |
||
5328 | cbradney | 3214 | <source>&Group</source> |
3215 | <translation>&Ryhmitä</translation> |
||
3064 | cbradney | 3216 | </message> |
3217 | <message> |
||
5328 | cbradney | 3218 | <source>&Ungroup</source> |
3219 | <translation>Pur&a ryhmitys</translation> |
||
3064 | cbradney | 3220 | </message> |
3221 | <message> |
||
5328 | cbradney | 3222 | <source>Is &Locked</source> |
3223 | <translation>On &lukittu</translation> |
||
3064 | cbradney | 3224 | </message> |
3225 | <message> |
||
5328 | cbradney | 3226 | <source>Si&ze is Locked</source> |
3227 | <translation>Koko on l&ukittu</translation> |
||
3064 | cbradney | 3228 | </message> |
3229 | <message> |
||
5328 | cbradney | 3230 | <source>Lower to &Bottom</source> |
3231 | <translation>Vie &alimmaiseksi</translation> |
||
3064 | cbradney | 3232 | </message> |
3233 | <message> |
||
5328 | cbradney | 3234 | <source>Raise to &Top</source> |
3235 | <translation>Tuo &päällimmäiseksi</translation> |
||
3064 | cbradney | 3236 | </message> |
3237 | <message> |
||
5328 | cbradney | 3238 | <source>&Lower</source> |
3239 | <translation>Vie a&laspäin</translation> |
||
3064 | cbradney | 3240 | </message> |
3241 | <message> |
||
5328 | cbradney | 3242 | <source>&Raise</source> |
3243 | <translation>&Tuo ylöspäin</translation> |
||
3064 | cbradney | 3244 | </message> |
3245 | <message> |
||
5328 | cbradney | 3246 | <source>Send to S&crapbook</source> |
3247 | <translation>&Vie leikekirjaan</translation> |
||
3064 | cbradney | 3248 | </message> |
3249 | <message> |
||
5328 | cbradney | 3250 | <source>&Attributes...</source> |
3251 | <translation>&Muuttujat...</translation> |
||
3064 | cbradney | 3252 | </message> |
3253 | <message> |
||
5328 | cbradney | 3254 | <source>I&mage Visible</source> |
3255 | <translation>Kuva &näkyvissä</translation> |
||
3064 | cbradney | 3256 | </message> |
3257 | <message> |
||
5328 | cbradney | 3258 | <source>&Update Image</source> |
3259 | <translation>&Päivitä kuva</translation> |
||
3064 | cbradney | 3260 | </message> |
3261 | <message> |
||
5328 | cbradney | 3262 | <source>Adjust Frame to Image</source> |
3263 | <translation>Sovita kehys kuvaan</translation> |
||
3064 | cbradney | 3264 | </message> |
3265 | <message> |
||
5328 | cbradney | 3266 | <source>Extended Image Properties</source> |
3267 | <translation>Kuvan ominaisuudet</translation> |
||
3064 | cbradney | 3268 | </message> |
3269 | <message> |
||
5328 | cbradney | 3270 | <source>&Low Resolution</source> |
3271 | <translation>&Alhainen tarkkuus</translation> |
||
3064 | cbradney | 3272 | </message> |
3273 | <message> |
||
5328 | cbradney | 3274 | <source>&Normal Resolution</source> |
3275 | <translation>&Normaali tarkkuus</translation> |
||
3064 | cbradney | 3276 | </message> |
3277 | <message> |
||
5328 | cbradney | 3278 | <source>&Full Resolution</source> |
3279 | <translation>&Täysi tarkkuus</translation> |
||
3064 | cbradney | 3280 | </message> |
3281 | <message> |
||
5328 | cbradney | 3282 | <source>Is PDF &Bookmark</source> |
3283 | <translation>&On PDF-kirjanmerkki</translation> |
||
3064 | cbradney | 3284 | </message> |
3285 | <message> |
||
5328 | cbradney | 3286 | <source>Is PDF A&nnotation</source> |
3287 | <translation>On PDF-&merkintä</translation> |
||
3064 | cbradney | 3288 | </message> |
3289 | <message> |
||
5328 | cbradney | 3290 | <source>Annotation P&roperties</source> |
3291 | <translation>Merkinnän &ominaisuudet</translation> |
||
3064 | cbradney | 3292 | </message> |
3293 | <message> |
||
5328 | cbradney | 3294 | <source>Field P&roperties</source> |
3295 | <translation>&Kentän ominaisuudet</translation> |
||
3064 | cbradney | 3296 | </message> |
3297 | <message> |
||
5328 | cbradney | 3298 | <source>&Edit Shape...</source> |
3299 | <translation>&Muokkaa kuviota...</translation> |
||
3064 | cbradney | 3300 | </message> |
3301 | <message> |
||
5328 | cbradney | 3302 | <source>&Attach Text to Path</source> |
3303 | <translation>K&iinnitä teksti polkuun</translation> |
||
3064 | cbradney | 3304 | </message> |
3305 | <message> |
||
5328 | cbradney | 3306 | <source>&Detach Text from Path</source> |
3307 | <translation>Poi&sta teksti polulta</translation> |
||
3064 | cbradney | 3308 | </message> |
3309 | <message> |
||
5328 | cbradney | 3310 | <source>&Combine Polygons</source> |
3311 | <translation>Y&hdistä monikulmiot</translation> |
||
3064 | cbradney | 3312 | </message> |
3313 | <message> |
||
5328 | cbradney | 3314 | <source>Split &Polygons</source> |
3315 | <translation>&Erota monikulmiot</translation> |
||
3064 | cbradney | 3316 | </message> |
3317 | <message> |
||
5328 | cbradney | 3318 | <source>&Bezier Curve</source> |
3319 | <translation>&Bezier-viiva</translation> |
||
3064 | cbradney | 3320 | </message> |
3321 | <message> |
||
5328 | cbradney | 3322 | <source>&Image Frame</source> |
3323 | <translation>&Kuvakehys</translation> |
||
3064 | cbradney | 3324 | </message> |
3325 | <message> |
||
5328 | cbradney | 3326 | <source>&Polygon</source> |
3327 | <translation>&Monikulmio</translation> |
||
3064 | cbradney | 3328 | </message> |
3329 | <message> |
||
5328 | cbradney | 3330 | <source>&Text Frame</source> |
3331 | <translation>&Tekstikehys</translation> |
||
3064 | cbradney | 3332 | </message> |
3333 | <message> |
||
5328 | cbradney | 3334 | <source>&Glyph...</source> |
3335 | <translation>&Merkki...</translation> |
||
3064 | cbradney | 3336 | </message> |
3337 | <message> |
||
5328 | cbradney | 3338 | <source>Sample Text</source> |
3339 | <translation>Esimerkkiteksti</translation> |
||
3064 | cbradney | 3340 | </message> |
3341 | <message> |
||
5328 | cbradney | 3342 | <source>&Insert...</source> |
3343 | <translation>&Lisää...</translation> |
||
3064 | cbradney | 3344 | </message> |
3345 | <message> |
||
5328 | cbradney | 3346 | <source>Im&port...</source> |
3347 | <translation>&Tuo...</translation> |
||
3064 | cbradney | 3348 | </message> |
3349 | <message> |
||
5328 | cbradney | 3350 | <source>&Delete...</source> |
3351 | <translation>&Poista...</translation> |
||
3064 | cbradney | 3352 | </message> |
3353 | <message> |
||
5328 | cbradney | 3354 | <source>&Copy...</source> |
3355 | <translation>&Kopioi...</translation> |
||
3064 | cbradney | 3356 | </message> |
3357 | <message> |
||
5328 | cbradney | 3358 | <source>&Move...</source> |
3359 | <translation>&Siirrä...</translation> |
||
3064 | cbradney | 3360 | </message> |
3361 | <message> |
||
5328 | cbradney | 3362 | <source>&Apply Master Page...</source> |
3363 | <translation>&Käytä mallisivua...</translation> |
||
3064 | cbradney | 3364 | </message> |
3365 | <message> |
||
5328 | cbradney | 3366 | <source>Manage &Guides...</source> |
3367 | <translation>&Apuviivojen hallinta...</translation> |
||
3064 | cbradney | 3368 | </message> |
3369 | <message> |
||
5328 | cbradney | 3370 | <source>&Fit in window</source> |
3371 | <translation>&Sovita ikkunaan</translation> |
||
3064 | cbradney | 3372 | </message> |
3373 | <message> |
||
5328 | cbradney | 3374 | <source>&50%</source> |
3375 | <translation>&50 %</translation> |
||
3064 | cbradney | 3376 | </message> |
3377 | <message> |
||
5328 | cbradney | 3378 | <source>&75%</source> |
3379 | <translation>&75 %</translation> |
||
3064 | cbradney | 3380 | </message> |
3381 | <message> |
||
5328 | cbradney | 3382 | <source>&100%</source> |
3383 | <translation>&100 %</translation> |
||
3064 | cbradney | 3384 | </message> |
3385 | <message> |
||
5328 | cbradney | 3386 | <source>&200%</source> |
3387 | <translation>&200 %</translation> |
||
3064 | cbradney | 3388 | </message> |
3389 | <message> |
||
5328 | cbradney | 3390 | <source>&Thumbnails</source> |
3391 | <translation>&Esikatselukuvat</translation> |
||
3064 | cbradney | 3392 | </message> |
3393 | <message> |
||
5328 | cbradney | 3394 | <source>Show &Margins</source> |
3395 | <translation>Näytä &reunukset</translation> |
||
3064 | cbradney | 3396 | </message> |
3397 | <message> |
||
5328 | cbradney | 3398 | <source>Show &Frames</source> |
3399 | <translation>Näytä &kehykset</translation> |
||
3064 | cbradney | 3400 | </message> |
3401 | <message> |
||
5328 | cbradney | 3402 | <source>Show &Images</source> |
3403 | <translation>Näytä &kuvat</translation> |
||
3064 | cbradney | 3404 | </message> |
3405 | <message> |
||
5328 | cbradney | 3406 | <source>Show &Grid</source> |
3407 | <translation>Näytä ruu&dukko</translation> |
||
3064 | cbradney | 3408 | </message> |
3409 | <message> |
||
5328 | cbradney | 3410 | <source>Show G&uides</source> |
3411 | <translation>Näytä &apuviivat</translation> |
||
3064 | cbradney | 3412 | </message> |
3413 | <message> |
||
5328 | cbradney | 3414 | <source>Show &Baseline Grid</source> |
3415 | <translation>Näytä p&eruslinja</translation> |
||
3064 | cbradney | 3416 | </message> |
3417 | <message> |
||
5328 | cbradney | 3418 | <source>Show &Text Chain</source> |
3419 | <translation>Näytä &tekstin kulku</translation> |
||
3064 | cbradney | 3420 | </message> |
3421 | <message> |
||
5328 | cbradney | 3422 | <source>Show Control Characters</source> |
3423 | <translation>Näytä tulostumattomat merkit</translation> |
||
3064 | cbradney | 3424 | </message> |
3425 | <message> |
||
5328 | cbradney | 3426 | <source>Sn&ap to Grid</source> |
3427 | <translation>Kiinnitä r&uudukkoon</translation> |
||
3064 | cbradney | 3428 | </message> |
3429 | <message> |
||
5328 | cbradney | 3430 | <source>Sna&p to Guides</source> |
3431 | <translation>Kiinnitä a&puviivoihin</translation> |
||
3064 | cbradney | 3432 | </message> |
3433 | <message> |
||
5328 | cbradney | 3434 | <source>&Properties</source> |
3435 | <translation>&Ominaisuudet</translation> |
||
3064 | cbradney | 3436 | </message> |
3437 | <message> |
||
5328 | cbradney | 3438 | <source>&Scrapbook</source> |
3439 | <translation>&Leikekirja</translation> |
||
3064 | cbradney | 3440 | </message> |
3441 | <message> |
||
5328 | cbradney | 3442 | <source>&Layers</source> |
3443 | <translation>&Tasot</translation> |
||
3064 | cbradney | 3444 | </message> |
3445 | <message> |
||
5328 | cbradney | 3446 | <source>&Arrange Pages</source> |
3447 | <translation>&Järjestä sivuja</translation> |
||
3064 | cbradney | 3448 | </message> |
3449 | <message> |
||
5328 | cbradney | 3450 | <source>&Bookmarks</source> |
3451 | <translation>&Kirjanmerkit</translation> |
||
3064 | cbradney | 3452 | </message> |
3453 | <message> |
||
5328 | cbradney | 3454 | <source>&Measurements</source> |
3455 | <translation>&Mittaus</translation> |
||
3064 | cbradney | 3456 | </message> |
3457 | <message> |
||
5328 | cbradney | 3458 | <source>Action &History</source> |
3459 | <translation>T&oimintohistoria</translation> |
||
3064 | cbradney | 3460 | </message> |
3461 | <message> |
||
5328 | cbradney | 3462 | <source>Preflight &Verifier</source> |
3463 | <translation>&Tarkastustyökalu</translation> |
||
3064 | cbradney | 3464 | </message> |
3465 | <message> |
||
5328 | cbradney | 3466 | <source>&Align and Distribute</source> |
3467 | <translation>&Jaa ja tasaa</translation> |
||
3064 | cbradney | 3468 | </message> |
3469 | <message> |
||
5328 | cbradney | 3470 | <source>&Tools</source> |
3471 | <translation>Työ&kalut</translation> |
||
3064 | cbradney | 3472 | </message> |
3473 | <message> |
||
5328 | cbradney | 3474 | <source>P&DF Tools</source> |
3475 | <translation>&PDF-työkalut</translation> |
||
3064 | cbradney | 3476 | </message> |
3477 | <message> |
||
5328 | cbradney | 3478 | <source>Select Item</source> |
3479 | <translation>Valitse kohde</translation> |
||
3064 | cbradney | 3480 | </message> |
3481 | <message> |
||
5328 | cbradney | 3482 | <source>T&able</source> |
3483 | <translation>T&aulukko</translation> |
||
3064 | cbradney | 3484 | </message> |
3485 | <message> |
||
5328 | cbradney | 3486 | <source>&Shape</source> |
3487 | <translation>&Kuvio</translation> |
||
3064 | cbradney | 3488 | </message> |
3489 | <message> |
||
5328 | cbradney | 3490 | <source>&Line</source> |
3491 | <translation>&Viiva</translation> |
||
3064 | cbradney | 3492 | </message> |
3493 | <message> |
||
5328 | cbradney | 3494 | <source>&Freehand Line</source> |
3495 | <translation>&Vapaa viiva</translation> |
||
3064 | cbradney | 3496 | </message> |
3497 | <message> |
||
5328 | cbradney | 3498 | <source>Rotate Item</source> |
3499 | <translation>Kierrä kohdetta</translation> |
||
3064 | cbradney | 3500 | </message> |
3501 | <message> |
||