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