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