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