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