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