Rev 14485 | 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"?> |
14474 | cbradney | 2 | <!DOCTYPE TS> |
3 | <TS version="2.0" language="es_ES"> |
||
3064 | cbradney | 4 | <context> |
12918 | cbradney | 5 | <name></name> |
952 | cbradney | 6 | <message> |
14474 | cbradney | 7 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="17"/> |
3064 | cbradney | 8 | <source>getColorNames() -> list |
952 | cbradney | 9 | |
10 | Returns a list containing the names of all defined colors in the document. |
||
11 | If no document is open, returns a list of the default document colors. |
||
12 | </source> |
||
12612 | cbradney | 13 | <translation type="unfinished">getColorNames() -> list |
974 | cbradney | 14 | |
15 | Devuelve una lista que contiene los nombres de todos los colores definidos |
||
11812 | mrdocs | 16 | en el documento. Si no hay abierto ningún documento, devuelve una lista de |
974 | cbradney | 17 | los colores del documento por defecto. |
18 | </translation> |
||
952 | cbradney | 19 | </message> |
20 | <message> |
||
14474 | cbradney | 21 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="27"/> |
12918 | cbradney | 22 | <source>getColor("name") -> tuple |
23 | |||
24 | Returns a tuple (C, M, Y, K) containing the four color components of the |
||
25 | color "name" from the current document. If no document is open, returns |
||
26 | the value of the named color from the default document colors. |
||
27 | |||
28 | May raise NotFoundError if the named color wasn't found. |
||
29 | May raise ValueError if an invalid color name is specified. |
||
30 | </source> |
||
31 | <translation type="unfinished">getColor("name") -> tuple |
||
32 | |||
33 | Devuelve un vector (C, M, Y, K) que tiene las cuatro componentes de |
||
34 | color del color "name" del documento actual. Si no hay un documento |
||
35 | abierto, usa los colores del documento por defecto. |
||
36 | |||
37 | Puede lanzar NotFoundError si no se encuentra el color indicado. |
||
38 | Puede lanzar ValueError si se especifica un nombre no válido. |
||
39 | </translation> |
||
40 | </message> |
||
41 | <message> |
||
14474 | cbradney | 42 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="41"/> |
12918 | cbradney | 43 | <source>getColorAsRGB("name") -> tuple |
44 | |||
45 | Returns a tuple (R,G,B) containing the three color components of the |
||
46 | color "name" from the current document, converted to the RGB color |
||
47 | space. If no document is open, returns the value of the named color |
||
48 | from the default document colors. |
||
49 | |||
50 | May raise NotFoundError if the named color wasn't found. |
||
51 | May raise ValueError if an invalid color name is specified. |
||
52 | </source> |
||
53 | <translation type="unfinished"></translation> |
||
54 | </message> |
||
55 | <message> |
||
14474 | cbradney | 56 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="56"/> |
12918 | cbradney | 57 | <source>changeColor("name", c, m, y, k) |
58 | |||
59 | Changes the color "name" to the specified CMYK value. The color value is |
||
60 | defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black. |
||
61 | Color components should be in the range from 0 to 255. |
||
62 | |||
63 | May raise NotFoundError if the named color wasn't found. |
||
64 | May raise ValueError if an invalid color name is specified. |
||
65 | </source> |
||
66 | <translation type="unfinished">changeColor("name", c, m, y, k) |
||
67 | |||
68 | Cambia el color "name" al valor CMYK especificado. El valor del color |
||
69 | se define mediante cuatro componentes: c = cian, m = magenta, |
||
70 | y = amarillo y k = negro. Las componentes deberían estar en el |
||
71 | rango 0 a 255. |
||
72 | |||
73 | Puede lanzar NotFoundError si no se encuentra el color indicado. |
||
74 | Puede lanzar ValueError si se especifica un nombre no válido. |
||
75 | </translation> |
||
76 | </message> |
||
77 | <message> |
||
14474 | cbradney | 78 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="70"/> |
12918 | cbradney | 79 | <source>defineColor("name", c, m, y, k) |
80 | |||
81 | Defines a new color "name". The color Value is defined via four components: |
||
82 | c = Cyan, m = Magenta, y = Yellow and k = Black. Color components should be in |
||
83 | the range from 0 to 255. |
||
84 | |||
85 | May raise ValueError if an invalid color name is specified. |
||
86 | </source> |
||
87 | <translation type="unfinished">defineColor("name", c, m, y, k) |
||
88 | |||
89 | Define un nuevo color llamado "name". El valor del color se define mediante |
||
90 | cuatro componentes: c = cian, m = magenta, y = amarillo y k = negro. |
||
91 | Las componentes deberían estar en el rango 0 a 255. |
||
92 | |||
93 | Puede lanzar ValueError si se especifica un nombre no válido. |
||
94 | </translation> |
||
95 | </message> |
||
96 | <message> |
||
14474 | cbradney | 97 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="83"/> |
12918 | cbradney | 98 | <source>deleteColor("name", "replace") |
99 | |||
100 | Deletes the color "name". Every occurence of that color is replaced by the |
||
101 | color "replace". If not specified, "replace" defaults to the color |
||
102 | "None" - transparent. |
||
103 | |||
104 | deleteColor works on the default document colors if there is no document open. |
||
105 | In that case, "replace", if specified, has no effect. |
||
106 | |||
107 | May raise NotFoundError if a named color wasn't found. |
||
108 | May raise ValueError if an invalid color name is specified. |
||
109 | </source> |
||
110 | <translation type="unfinished">deleteColor("name", "replace") |
||
111 | |||
112 | Borra el color "name". Cada aparición de ese color se reemplaza |
||
113 | con el color "replace". Si no se especifica, se reemplaza por el |
||
114 | color "Ninguno" - transparente. |
||
115 | |||
116 | Si no hay ningún documento abierto, deleteColor funciona sobre los |
||
117 | colores del documento por defecto. En ese caso, aunque se indique, |
||
118 | "replace" no tiene efecto. |
||
119 | |||
120 | Puede lanzar NotFoundError si no se encuentra el color indicado. |
||
121 | Puede lanzar ValueError si se especifica un nombre no válido. |
||
122 | </translation> |
||
123 | </message> |
||
124 | <message> |
||
14474 | cbradney | 125 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="100"/> |
12918 | cbradney | 126 | <source>replaceColor("name", "replace") |
127 | |||
128 | Every occurence of the color "name" is replaced by the color "replace". |
||
129 | |||
130 | May raise NotFoundError if a named color wasn't found. |
||
131 | May raise ValueError if an invalid color name is specified. |
||
132 | </source> |
||
133 | <translation type="unfinished">replaceColor("name", "replace") |
||
134 | |||
135 | Cada aparición del color "name" se reemplaza por el color "replace". |
||
136 | |||
137 | Puede lanzar NotFoundError si no se encuentra el color indicado. |
||
138 | Puede lanzar ValueError si se especifica un nombre no válido. |
||
139 | </translation> |
||
140 | </message> |
||
141 | <message> |
||
14474 | cbradney | 142 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="113"/> |
143 | <source>isSpotColor("name") -> bool |
||
144 | |||
145 | Returns True if the color "name" is a spot color. |
||
146 | See also setSpotColor() |
||
147 | |||
148 | May raise NotFoundError if a named color wasn't found. |
||
149 | May raise ValueError if an invalid color name is specified. |
||
150 | </source> |
||
151 | <translation type="unfinished"></translation> |
||
152 | </message> |
||
153 | <message> |
||
154 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="128"/> |
||
155 | <source>setSpotColor("name", spot) |
||
156 | |||
157 | Set the color "name" as a spot color if spot parameter is True. |
||
158 | See also isSpotColor() |
||
159 | |||
160 | May raise NotFoundError if a named color wasn't found. |
||
161 | May raise ValueError if an invalid color name is specified. |
||
162 | </source> |
||
163 | <translation type="unfinished"></translation> |
||
164 | </message> |
||
165 | <message> |
||
166 | <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="17"/> |
||
3064 | cbradney | 167 | <source>newDocDialog() -> bool |
952 | cbradney | 168 | |
169 | Displays the "New Document" dialog box. Creates a new document if the user |
||
170 | accepts the settings. Does not create a document if the user presses cancel. |
||
171 | Returns true if a new document was created. |
||
172 | </source> |
||
12612 | cbradney | 173 | <translation type="unfinished">newDocDialog() -> bool |
974 | cbradney | 174 | |
11812 | mrdocs | 175 | Muestra el diálogo "Nuevo Documento". Crea un nuevo documento si el |
176 | usuario presiona Aceptar. No lo crea si presiona Cancelar. Devuelve true |
||
974 | cbradney | 177 | si se crea un nuevo documento.</translation> |
952 | cbradney | 178 | </message> |
179 | <message> |
||
14474 | cbradney | 180 | <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="28"/> |
12918 | cbradney | 181 | <source>fileDialog("caption", ["filter", "defaultname", haspreview, issave, isdir]) -> string with filename |
182 | |||
183 | Shows a File Open dialog box with the caption "caption". Files are filtered |
||
184 | with the filter string "filter". A default filename or file path can also |
||
185 | supplied, leave this string empty when you don't want to use it. A value of |
||
186 | True for haspreview enables a small preview widget in the FileSelect box. When |
||
187 | the issave parameter is set to True the dialog acts like a "Save As" dialog |
||
188 | otherwise it acts like a "File Open Dialog". When the isdir parameter is True |
||
189 | the dialog shows and returns only directories. The default for all of the |
||
190 | optional parameters is False. |
||
191 | |||
192 | The filter, if specified, takes the form 'comment (*.type *.type2 ...)'. |
||
193 | For example 'Images (*.png *.xpm *.jpg)'. |
||
194 | |||
195 | Refer to the Qt-Documentation for QFileDialog for details on filters. |
||
196 | |||
197 | Example: fileDialog('Open input', 'CSV files (*.csv)') |
||
198 | Example: fileDialog('Save report', defaultname='report.txt', issave=True) |
||
199 | </source> |
||
200 | <translation type="unfinished"></translation> |
||
201 | </message> |
||
202 | <message> |
||
14474 | cbradney | 203 | <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="56"/> |
12918 | cbradney | 204 | <source>messageBox("caption", "message", |
205 | icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT, |
||
206 | button2=BUTTON_NONE, button3=BUTTON_NONE) -> integer |
||
207 | |||
208 | Displays a message box with the title "caption", the message "message", and |
||
209 | an icon "icon" and up to 3 buttons. By default no icon is used and a single |
||
210 | button, OK, is displayed. Only the caption and message arguments are required, |
||
211 | though setting an icon and appropriate button(s) is strongly |
||
212 | recommended. The message text may contain simple HTML-like markup. |
||
213 | |||
214 | Returns the number of the button the user pressed. Button numbers start |
||
215 | at 1. |
||
216 | |||
217 | For the icon and the button parameters there are predefined constants available |
||
218 | with the same names as in the Qt Documentation. These are the BUTTON_* and |
||
219 | ICON_* constants defined in the module. There are also two extra constants that |
||
220 | can be binary-ORed with button constants: |
||
221 | BUTTONOPT_DEFAULT Pressing enter presses this button. |
||
222 | BUTTONOPT_ESCAPE Pressing escape presses this button. |
||
223 | |||
224 | Usage examples: |
||
225 | result = messageBox('Script failed', |
||
226 | 'This script only works when you have a text frame selected.', |
||
227 | ICON_ERROR) |
||
228 | result = messageBox('Monkeys!', 'Something went ook! <i>Was it a monkey?</i>', |
||
229 | ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT, |
||
230 | BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE) |
||
231 | |||
232 | Defined button and icon constants: |
||
233 | BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO, |
||
234 | BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL, |
||
235 | ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL. |
||
236 | </source> |
||
237 | <translation type="unfinished">messageBox("caption", "message", |
||
238 | icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT, |
||
239 | button2=BUTTON_NONE, button3=BUTTON_NONE) -> integer |
||
240 | |||
241 | Muestra un cuadro de mensaje con el título "caption", el mensaje "message", |
||
242 | un icono "icon" y hasta 3 botones. Por defecto no se usa ningún icono y sólo |
||
243 | hay un botón, Aceptar. Sólo son obligatorios los parámetros caption y message, |
||
244 | sin embargo se recomienda definir un icono y el botón o botones apropiados. |
||
245 | El mensaje puede contener etiquetas simples similares a las de HTML. |
||
246 | |||
247 | Devuelve el número del botón que presionó el usuario. Los números de los |
||
248 | botones empiezan en 1. |
||
249 | |||
250 | Para los parámetros del icono y de los botones hay constantes predefinidas |
||
251 | disponibles con los mismos nombres que en la Documentación de Qt. Son las |
||
252 | constantes BUTTON_* e ICON_* definidas en el módulo. Hay también otras |
||
253 | dos constantes extra que pueden ser combinadas con un OR binario con las |
||
254 | constantes de los botones: |
||
255 | BUTTONOPT_DEFAULT Presionar intro presiona este botón. |
||
256 | BUTTONOPT_ESCAPE Presionar escape presiona este botón. |
||
257 | |||
258 | Ejemplos de uso: |
||
259 | result = messageBox('Error en Script', |
||
260 | 'Este scrpt sólo funciona cuando tienes un marco de texto seleccionado.', |
||
261 | ICON_ERROR) |
||
262 | result = messageBox('Monkeys!', 'Something went ook! <i>Was it a monkey?</i>', |
||
263 | ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT, |
||
264 | BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE) |
||
265 | |||
266 | Botones definidos y constantes de iconos: |
||
267 | BUTTON_NONE (ninguno), BUTTON_ABORT (abortar), BUTTON_CANCEL (cancelar), |
||
268 | BUTTON_IGNORE (ignorar), BUTTON_NO (no), BUTTON_NOALL (no a todo), |
||
269 | BUTTON_OK (aceptar), BUTTON_RETRY (reintentar), BUTTON_YES (sí), |
||
270 | BUTTON_YESALL (sí a todo), ICON_NONE (ninguno), ICON_INFORMATION (información), |
||
271 | ICON_WARNING (aviso). |
||
272 | </translation> |
||
273 | </message> |
||
274 | <message> |
||
14474 | cbradney | 275 | <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="95"/> |
12918 | cbradney | 276 | <source>valueDialog(caption, message [,defaultvalue]) -> string |
277 | |||
278 | Shows the common 'Ask for string' dialog and returns its value as a string |
||
279 | Parameters: window title, text in the window and optional 'default' value. |
||
280 | |||
281 | Example: valueDialog('title', 'text in the window', 'optional') |
||
282 | </source> |
||
283 | <translation type="unfinished">valueDialog(caption, message [,defaultvalue]) -> string |
||
284 | |||
285 | Muestra el diálogo 'Introducir una cadena' y devuelve su valor |
||
286 | como un string. |
||
287 | Parámetros: título de la ventana, texto de la ventana y un valor |
||
288 | por defecto opcional. |
||
289 | |||
290 | Ejemplo: valueDialog('título', 'texto de la ventana', 'opcional') |
||
291 | </translation> |
||
292 | </message> |
||
293 | <message> |
||
14474 | cbradney | 294 | <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="107"/> |
12918 | cbradney | 295 | <source>newStyleDialog() -> string |
296 | |||
297 | Shows 'Create new paragraph style' dialog. Function returns real |
||
298 | style name or None when user cancels the dialog. |
||
299 | </source> |
||
300 | <translation type="unfinished"></translation> |
||
301 | </message> |
||
302 | <message> |
||
14474 | cbradney | 303 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="16"/> |
12918 | cbradney | 304 | <source>newDocument(size, margins, orientation, firstPageNumber, |
305 | unit, pagesType, firstPageOrder, numPages) -> bool |
||
306 | |||
307 | Creates a new document and returns true if successful. The parameters have the |
||
308 | following meaning: |
||
309 | |||
310 | size = A tuple (width, height) describing the size of the document. You can |
||
311 | use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc. |
||
312 | |||
313 | margins = A tuple (left, right, top, bottom) describing the document |
||
314 | margins |
||
315 | |||
316 | orientation = the page orientation - constants PORTRAIT, LANDSCAPE |
||
317 | |||
318 | firstPageNumer = is the number of the first page in the document used for |
||
319 | pagenumbering. While you'll usually want 1, it's useful to have higher |
||
320 | numbers if you're creating a document in several parts. |
||
321 | |||
322 | unit: this value sets the measurement units used by the document. Use a |
||
323 | predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS, |
||
324 | UNIT_PICAS, UNIT_POINTS. |
||
325 | |||
326 | pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page, |
||
327 | PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and |
||
328 | PAGE_4 is 4-fold. |
||
329 | |||
330 | firstPageOrder = What is position of first page in the document. |
||
331 | Indexed from 0 (0 = first). |
||
332 | |||
333 | numPage = Number of pages to be created. |
||
334 | |||
335 | The values for width, height and the margins are expressed in the given unit |
||
336 | for the document. PAPER_* constants are expressed in points. If your document |
||
337 | is not in points, make sure to account for this. |
||
338 | |||
339 | example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS, |
||
340 | PAGE_4, 3, 1) |
||
341 | |||
342 | May raise ScribusError if is firstPageOrder bigger than allowed by pagesType. |
||
343 | </source> |
||
344 | <translation type="unfinished">newDocument(size, margins, orientation, firstPageNumber, |
||
345 | unit, pagesType, firstPageOrder, numPages) -> bool |
||
346 | |||
347 | Crea un nuevo documento y devuelve true si tiene éxito. Los parámetros tienen |
||
348 | el siguiente significado: |
||
349 | |||
350 | size = Un par (ancho, alto) que describe el tamaño del documento. Se |
||
351 | pueden usar constantes predefinidas llamadas PAPER_<tipo_de_papel> |
||
352 | p. ej. PAPER_A4 etc. |
||
353 | |||
354 | margins = Un vector (izquierda, derecha, arriba, abajo) que describe |
||
355 | los márgenes del documento |
||
356 | |||
357 | orientation = La orientación de la página - constantes PORTRAIT (vertical), |
||
358 | LANDSCAPE (apasaido) |
||
359 | |||
360 | firstPageNumber = Es el número de la primera página del documento |
||
361 | usado para la numeración de páginas. Aunque normalmente será 1, es útil |
||
362 | para tener números mayores si se crea un documento en varias partes. |
||
363 | |||
364 | unit: Este valor establece las unidades de medida usadas por el |
||
365 | documento. Usa una de estas constantes predefinidas para ello: |
||
366 | UNIT_INCHES (pulgadas), UNIT_MILLIMETERS (milímetros), |
||
367 | UNIT_PICAS (picas), UNIT_POINTS (puntos). |
||
368 | |||
369 | pagesType = Una de las constantes predefinidas PAGE_n. PAGE_1 es una |
||
370 | página simple, PAGE_2 es para documentos a doble página, PAGE_3 es para |
||
371 | trípticos y PAGE_4 es para cuatro páginas. |
||
372 | |||
373 | firstPageOrder = Cuál es la posición de la primera página del documento. |
||
374 | Indizadas desde 0 (0 = primera). |
||
375 | |||
376 | numPage = Número de páginas a crear. |
||
377 | |||
378 | Los valores para la anchura, altura y los márgenes están expresados en la unidad |
||
379 | dada para el documento. Las constantes PAPER_* están expresadas en puntos. Si |
||
380 | tu documento no está en puntos, asegurate de tenerlo en cuenta. |
||
381 | |||
382 | ejemplo: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS, |
||
383 | PAGE_4, 3, 1) |
||
384 | |||
385 | Puede lanzar ScribusError si firstPageOrder es mayor que el permitido por pagesType. |
||
386 | </translation> |
||
387 | </message> |
||
388 | <message> |
||
14474 | cbradney | 389 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="62"/> |
12918 | cbradney | 390 | <source>newDoc(size, margins, orientation, firstPageNumber, |
391 | unit, facingPages, firstSideLeft) -> bool |
||
392 | |||
393 | WARNING: Obsolete procedure! Use newDocument instead. |
||
394 | |||
395 | Creates a new document and returns true if successful. The parameters have the |
||
396 | following meaning: |
||
397 | |||
398 | size = A tuple (width, height) describing the size of the document. You can |
||
399 | use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc. |
||
400 | |||
401 | margins = A tuple (left, right, top, bottom) describing the document |
||
402 | margins |
||
403 | |||
404 | orientation = the page orientation - constants PORTRAIT, LANDSCAPE |
||
405 | |||
406 | firstPageNumer = is the number of the first page in the document used for |
||
407 | pagenumbering. While you'll usually want 1, it's useful to have higher |
||
408 | numbers if you're creating a document in several parts. |
||
409 | |||
410 | unit: this value sets the measurement units used by the document. Use a |
||
411 | predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS, |
||
412 | UNIT_PICAS, UNIT_POINTS. |
||
413 | |||
414 | facingPages = FACINGPAGES, NOFACINGPAGES |
||
415 | |||
416 | firstSideLeft = FIRSTPAGELEFT, FIRSTPAGERIGHT |
||
417 | |||
418 | The values for width, height and the margins are expressed in the given unit |
||
419 | for the document. PAPER_* constants are expressed in points. If your document |
||
420 | is not in points, make sure to account for this. |
||
421 | |||
422 | example: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS, |
||
423 | FACINGPAGES, FIRSTPAGERIGHT) |
||
424 | </source> |
||
425 | <translation type="unfinished"></translation> |
||
426 | </message> |
||
427 | <message> |
||
14474 | cbradney | 428 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="103"/> |
12918 | cbradney | 429 | <source>closeDoc() |
430 | |||
431 | Closes the current document without prompting to save. |
||
432 | |||
433 | May throw NoDocOpenError if there is no document to close |
||
434 | </source> |
||
435 | <translation type="unfinished">closeDoc() |
||
436 | |||
437 | Cierra el documento actual sin preguntar para guardar. |
||
438 | |||
439 | Puede lanzar NoDocOpenError si no hay ningún |
||
440 | documento que cerrar |
||
441 | </translation> |
||
442 | </message> |
||
443 | <message> |
||
14474 | cbradney | 444 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="114"/> |
12918 | cbradney | 445 | <source>haveDoc() -> bool |
446 | |||
447 | Returns true if there is a document open. |
||
448 | </source> |
||
449 | <translation type="unfinished">haveDoc() -> bool |
||
450 | |||
451 | Devuelve true si hay un documento abierto.</translation> |
||
452 | </message> |
||
453 | <message> |
||
14474 | cbradney | 454 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="123"/> |
12918 | cbradney | 455 | <source>openDoc("name") |
456 | |||
457 | Opens the document "name". |
||
458 | |||
459 | May raise ScribusError if the document could not be opened. |
||
460 | </source> |
||
461 | <translation type="unfinished">openDoc("name") |
||
462 | |||
463 | Abre el documento "name". |
||
464 | |||
465 | Puede lanzar la excepción ScribusError si el documento no se puede abrir. |
||
466 | </translation> |
||
467 | </message> |
||
468 | <message> |
||
14474 | cbradney | 469 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="134"/> |
12918 | cbradney | 470 | <source>saveDoc() |
471 | |||
472 | Saves the current document with its current name, returns true if successful. |
||
473 | If the document has not already been saved, this may bring up an interactive |
||
474 | save file dialog. |
||
475 | |||
476 | If the save fails, there is currently no way to tell. |
||
477 | </source> |
||
478 | <translation type="unfinished">saveDoc() |
||
479 | |||
480 | Guarda el documento actual con su nombre actual, y devuelve true si se |
||
481 | guarda correctamente. Si el documento no se había guardado todavía, |
||
482 | muestra un diálogo de guardar archivo. |
||
483 | |||
484 | Si se produce un error al guardar, actualmente no hay forma de informarlo. |
||
485 | </translation> |
||
486 | </message> |
||
487 | <message> |
||
14474 | cbradney | 488 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="146"/> |
489 | <source>getDocName() -> string |
||
490 | |||
491 | Returns the name the document was saved under. |
||
492 | If the document was not saved before the name is empty. |
||
493 | </source> |
||
494 | <translation type="unfinished"></translation> |
||
495 | </message> |
||
496 | <message> |
||
497 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="156"/> |
||
12918 | cbradney | 498 | <source>saveDocAs("name") |
499 | |||
500 | Saves the current document under the new name "name" (which may be a full or |
||
501 | relative path). |
||
502 | |||
503 | May raise ScribusError if the save fails. |
||
504 | </source> |
||
505 | <translation type="unfinished">saveDocAs("name") |
||
506 | |||
507 | Guarda el documento actual con el nombre "name" (que puede ser un ruta |
||
508 | absoluta o relativa). |
||
509 | |||
510 | Puede lanzar la excepción ScribusError si se produce un error al guardar. |
||
511 | </translation> |
||
512 | </message> |
||
513 | <message> |
||
14474 | cbradney | 514 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="168"/> |
12918 | cbradney | 515 | <source>setInfo("author", "info", "description") -> bool |
516 | |||
517 | Sets the document information. "Author", "Info", "Description" are |
||
518 | strings. |
||
519 | </source> |
||
520 | <translation type="unfinished"></translation> |
||
521 | </message> |
||
522 | <message> |
||
14474 | cbradney | 523 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="178"/> |
12918 | cbradney | 524 | <source>setMargins(lr, rr, tr, br) |
525 | |||
14474 | cbradney | 526 | Sets the margins of the document, Left(lr), Right(rr), Top(tr) and Bottom(br) |
12918 | cbradney | 527 | margins are given in the measurement units of the document - see UNIT_<type> |
528 | constants. |
||
529 | </source> |
||
530 | <translation type="unfinished"></translation> |
||
531 | </message> |
||
532 | <message> |
||
14474 | cbradney | 533 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="189"/> |
534 | <source>setBaseLine(grid, offset) |
||
535 | |||
536 | Sets the base line settings of the document, grid spacing(grid), grid offset(offset). |
||
537 | Values are given in the measurement units of the document - see UNIT_<type> |
||
538 | constants. |
||
539 | </source> |
||
540 | <translation type="unfinished"></translation> |
||
541 | </message> |
||
542 | <message> |
||
543 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="200"/> |
||
12918 | cbradney | 544 | <source>setUnit(type) |
545 | |||
546 | Changes the measurement unit of the document. Possible values for "unit" are |
||
547 | defined as constants UNIT_<type>. |
||
548 | |||
549 | May raise ValueError if an invalid unit is passed. |
||
550 | </source> |
||
551 | <translation type="unfinished">setUnit(type) |
||
552 | |||
553 | Cambia las unidades de medida del documento. Los valores posibles para "unit" |
||
554 | son las constantes UNIT_<tipo>. |
||
555 | |||
556 | Puede lanzar una excepción ValueError si se pasa una unidad no válida. |
||
557 | </translation> |
||
558 | </message> |
||
559 | <message> |
||
14474 | cbradney | 560 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="212"/> |
12918 | cbradney | 561 | <source>getUnit() -> integer (Scribus unit constant) |
562 | |||
563 | Returns the measurement units of the document. The returned value will be one |
||
564 | of the UNIT_* constants: |
||
565 | UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS. |
||
566 | </source> |
||
567 | <translation type="unfinished">getUnit() -> integer (constante de unidad de Scribus) |
||
568 | |||
569 | Devuelve las unidades de medida del documento. El valor devuelto será una |
||
570 | de las constantes UNIT_*: |
||
571 | UNIT_INCHES (pulgadas), UNIT_MILLIMETERS (milimetros), |
||
572 | UNIT_PICAS (picas), UNIT_POINTS (puntos). |
||
573 | </translation> |
||
574 | </message> |
||
575 | <message> |
||
14474 | cbradney | 576 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="223"/> |
12918 | cbradney | 577 | <source>loadStylesFromFile("filename") |
578 | |||
579 | Loads paragraph styles from the Scribus document at "filename" into the |
||
580 | current document. |
||
581 | </source> |
||
582 | <translation type="unfinished">loadStylesFromFile("filename") |
||
583 | |||
584 | Carga en el documento actual los estilos de párrafo del documento |
||
585 | de Scribus que se encuentra en "filename". |
||
586 | </translation> |
||
587 | </message> |
||
588 | <message> |
||
14474 | cbradney | 589 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="233"/> |
12918 | cbradney | 590 | <source>setDocType(facingPages, firstPageLeft) |
591 | |||
592 | Sets the document type. To get facing pages set the first parameter to |
||
593 | FACINGPAGES, to switch facingPages off use NOFACINGPAGES instead. If you want |
||
594 | to be the first page a left side set the second parameter to FIRSTPAGELEFT, for |
||
595 | a right page use FIRSTPAGERIGHT. |
||
596 | </source> |
||
597 | <translation type="unfinished">setDocType(facingPages, firstPageLeft) |
||
598 | |||
599 | Establece el tipo de documento. Para que las páginas se muestren enfrentadas |
||
600 | el primer parámetro debe ser FACINGPAGES, para desactivar las páginas |
||
601 | enfrentadas debe ser NOFACINGPAGES. Si se quiere que la primera página esté |
||
602 | a la izquierda el segundo parámetro debe ser FIRSTPAGELEFT, para que esté a |
||
603 | la derecha debe ser FIRSTPAGERIGHT. |
||
604 | </translation> |
||
605 | </message> |
||
606 | <message> |
||
14474 | cbradney | 607 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="243"/> |
12918 | cbradney | 608 | <source>closeMasterPage() |
609 | |||
610 | Closes the currently active master page, if any, and returns editing |
||
611 | to normal. Begin editing with editMasterPage(). |
||
612 | </source> |
||
613 | <translation type="unfinished"></translation> |
||
614 | </message> |
||
615 | <message> |
||
14474 | cbradney | 616 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="251"/> |
12918 | cbradney | 617 | <source>masterPageNames() |
618 | |||
619 | Returns a list of the names of all master pages in the document. |
||
620 | </source> |
||
621 | <translation type="unfinished"></translation> |
||
622 | </message> |
||
623 | <message> |
||
14474 | cbradney | 624 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="258"/> |
12918 | cbradney | 625 | <source>editMasterPage(pageName) |
626 | |||
627 | Enables master page editing and opens the named master page |
||
628 | for editing. Finish editing with closeMasterPage(). |
||
629 | </source> |
||
630 | <translation type="unfinished"></translation> |
||
631 | </message> |
||
632 | <message> |
||
14474 | cbradney | 633 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="266"/> |
12918 | cbradney | 634 | <source>createMasterPage(pageName) |
635 | |||
636 | Creates a new master page named pageName and opens it for |
||
637 | editing. |
||
638 | </source> |
||
639 | <translation type="unfinished"></translation> |
||
640 | </message> |
||
641 | <message> |
||
14474 | cbradney | 642 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="274"/> |
12918 | cbradney | 643 | <source>deleteMasterPage(pageName) |
644 | |||
645 | Delete the named master page. |
||
646 | </source> |
||
647 | <translation type="unfinished"></translation> |
||
648 | </message> |
||
649 | <message> |
||
14474 | cbradney | 650 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="17"/> |
3064 | cbradney | 651 | <source>getFillColor(["name"]) -> string |
952 | cbradney | 652 | |
653 | Returns the name of the fill color of the object "name". |
||
654 | If "name" is not given the currently selected item is used. |
||
655 | </source> |
||
12612 | cbradney | 656 | <translation type="unfinished">getFillColor(["name"]) -> string |
974 | cbradney | 657 | |
11812 | mrdocs | 658 | Devuelve el nombre del color de relleno del objeto con nombre"name". |
659 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
974 | cbradney | 660 | </translation> |
952 | cbradney | 661 | </message> |
662 | <message> |
||
14474 | cbradney | 663 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="27"/> |
12918 | cbradney | 664 | <source>getFillTransparency(["name"]) -> float |
665 | |||
666 | Returns the fill transparency of the object "name". If "name" |
||
667 | is not given the currently selected Item is used. |
||
668 | </source> |
||
669 | <translation type="unfinished"></translation> |
||
670 | </message> |
||
671 | <message> |
||
14474 | cbradney | 672 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="37"/> |
12918 | cbradney | 673 | <source>getFillBlendmode(["name"]) -> integer |
674 | |||
675 | Returns the fill blendmode of the object "name". If "name" |
||
676 | is not given the currently selected Item is used. |
||
677 | </source> |
||
678 | <translation type="unfinished"></translation> |
||
679 | </message> |
||
680 | <message> |
||
14474 | cbradney | 681 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="47"/> |
12918 | cbradney | 682 | <source>getLineColor(["name"]) -> string |
683 | |||
684 | Returns the name of the line color of the object "name". |
||
685 | If "name" is not given the currently selected item is used. |
||
686 | </source> |
||
687 | <translation type="unfinished">getLineColor(["name"]) -> string |
||
688 | |||
689 | Devuelve el nombre del color de línea del objeto "name". |
||
690 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
691 | </translation> |
||
692 | </message> |
||
693 | <message> |
||
14474 | cbradney | 694 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="57"/> |
12918 | cbradney | 695 | <source>getLineTransparency(["name"]) -> float |
696 | |||
697 | Returns the line transparency of the object "name". If "name" |
||
698 | is not given the currently selected Item is used. |
||
699 | </source> |
||
700 | <translation type="unfinished"></translation> |
||
701 | </message> |
||
702 | <message> |
||
14474 | cbradney | 703 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="67"/> |
12918 | cbradney | 704 | <source>getLineBlendmode(["name"]) -> integer |
705 | |||
706 | Returns the line blendmode of the object "name". If "name" |
||
707 | is not given the currently selected Item is used. |
||
708 | </source> |
||
709 | <translation type="unfinished"></translation> |
||
710 | </message> |
||
711 | <message> |
||
14474 | cbradney | 712 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="77"/> |
12918 | cbradney | 713 | <source>getLineWidth(["name"]) -> integer |
714 | |||
715 | Returns the line width of the object "name". If "name" |
||
716 | is not given the currently selected Item is used. |
||
717 | </source> |
||
718 | <translation type="unfinished">getLineWidth(["name"]) -> integer |
||
719 | |||
720 | Devuelve el ancho de línea del objeto "name". |
||
721 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
722 | </translation> |
||
723 | </message> |
||
724 | <message> |
||
14474 | cbradney | 725 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="87"/> |
12918 | cbradney | 726 | <source>getLineShade(["name"]) -> integer |
727 | |||
728 | Returns the shading value of the line color of the object "name". |
||
729 | If "name" is not given the currently selected item is used. |
||
730 | </source> |
||
731 | <translation type="unfinished">getLineShade(["name"]) -> integer |
||
732 | |||
733 | Devuelve la intesnsidad del color de línea del objeto "name". |
||
734 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
735 | </translation> |
||
736 | </message> |
||
737 | <message> |
||
14474 | cbradney | 738 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="97"/> |
12918 | cbradney | 739 | <source>getLineJoin(["name"]) -> integer (see constants) |
740 | |||
741 | Returns the line join style of the object "name". If "name" is not given |
||
742 | the currently selected item is used. The join types are: |
||
743 | JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND |
||
744 | </source> |
||
745 | <translation type="unfinished"></translation> |
||
746 | </message> |
||
747 | <message> |
||
14474 | cbradney | 748 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="108"/> |
12918 | cbradney | 749 | <source>getLineEnd(["name"]) -> integer (see constants) |
750 | |||
751 | Returns the line cap style of the object "name". If "name" is not given the |
||
752 | currently selected item is used. The cap types are: |
||
753 | CAP_FLAT, CAP_ROUND, CAP_SQUARE |
||
754 | </source> |
||
755 | <translation type="unfinished">getLineEnd(["name"]) -> integer (ver constantes) |
||
756 | |||
757 | Devuelve el estilo de extremo de línea del objeto "name". |
||
758 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
759 | Los tipos de extremo son: |
||
760 | CAP_FLAT (plano), CAP_ROUND (redondeado), CAP_SQUARE (cuadrado) |
||
761 | </translation> |
||
762 | </message> |
||
763 | <message> |
||
14474 | cbradney | 764 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="119"/> |
12918 | cbradney | 765 | <source>getLineStyle(["name"]) -> integer (see constants) |
766 | |||
767 | Returns the line style of the object "name". If "name" is not given the |
||
768 | currently selected item is used. Line style constants are: |
||
769 | LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID |
||
770 | </source> |
||
771 | <translation type="unfinished">getLineStyle(["name"]) -> integer (ver constantes) |
||
772 | |||
773 | Devuelve el estilo de línea del objeto "name". |
||
774 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
775 | Las constantes de estilos de línea son: |
||
776 | LINE_DASH (a trazos), LINE_DASHDOT (raya punto), |
||
777 | LINE_DASHDOTDOT (raya punto punto), LINE_DOT (a puntos), |
||
778 | LINE_SOLID (sólida) |
||
779 | </translation> |
||
780 | </message> |
||
781 | <message> |
||
14474 | cbradney | 782 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="130"/> |
12918 | cbradney | 783 | <source>getFillShade(["name"]) -> integer |
784 | |||
785 | Returns the shading value of the fill color of the object "name". |
||
786 | If "name" is not given the currently selected item is used. |
||
787 | </source> |
||
788 | <translation type="unfinished">getFillShade(["name"]) -> integer |
||
789 | |||
790 | Devuelve el valor de saturación del color de relleno del objeto "name". |
||
791 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
792 | </translation> |
||
793 | </message> |
||
794 | <message> |
||
14474 | cbradney | 795 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="140"/> |
12918 | cbradney | 796 | <source>getCornerRadius(["name"]) -> integer |
797 | |||
798 | Returns the corner radius of the object "name". The radius is |
||
799 | expressed in points. If "name" is not given the currently |
||
800 | selected item is used. |
||
801 | </source> |
||
802 | <translation type="unfinished">getCornerRadius(["name"]) -> integer |
||
803 | |||
804 | Devuelve el radio de las esquinas del objeto "name". |
||
805 | El radio se expresa en puntos. |
||
806 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
807 | </translation> |
||
808 | </message> |
||
809 | <message> |
||
14474 | cbradney | 810 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="151"/> |
12918 | cbradney | 811 | <source>getImageScale(["name"]) -> (x,y) |
812 | |||
813 | Returns a (x, y) tuple containing the scaling values of the image frame |
||
814 | "name". If "name" is not given the currently selected item is used. |
||
815 | </source> |
||
816 | <translation type="unfinished">getImageScale(["name"]) -> (x,y) |
||
817 | |||
818 | Devuelve un par (x, y) que contiene los valores de escalado del |
||
819 | marco de imagen "name". |
||
820 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
821 | </translation> |
||
822 | </message> |
||
823 | <message> |
||
14474 | cbradney | 824 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="161"/> |
12918 | cbradney | 825 | <source>getImageName(["name"]) -> string |
826 | |||
827 | Returns the filename for the image in the image frame. If "name" is not |
||
828 | given the currently selected item is used. |
||
829 | </source> |
||
830 | <translation type="unfinished">getImageName(["name"]) -> string |
||
831 | |||
832 | Devuelve el nombre de archivo de la imagen en el marco de imagen "name". |
||
833 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
834 | </translation> |
||
835 | </message> |
||
836 | <message> |
||
14474 | cbradney | 837 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="171"/> |
12918 | cbradney | 838 | <source>getPosition(["name"]) -> (x,y) |
839 | |||
840 | Returns a (x, y) tuple with the position of the object "name". |
||
841 | If "name" is not given the currently selected item is used. |
||
842 | The position is expressed in the actual measurement unit of the document |
||
843 | - see UNIT_<type> for reference. |
||
844 | </source> |
||
845 | <translation type="unfinished">getPosition(["name"]) -> (x,y) |
||
846 | |||
847 | Devuelve un par (x, y) con la posición del objeto "name". |
||
848 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
849 | Las posiciones están expresadas en las unidades actuales del documento |
||
850 | - ver UNIT_<tipo> para más referencias. |
||
851 | </translation> |
||
852 | </message> |
||
853 | <message> |
||
14474 | cbradney | 854 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="183"/> |
12918 | cbradney | 855 | <source>getSize(["name"]) -> (width,height) |
856 | |||
857 | Returns a (width, height) tuple with the size of the object "name". |
||
858 | If "name" is not given the currently selected item is used. The size is |
||
859 | expressed in the current measurement unit of the document - see UNIT_<type> |
||
860 | for reference. |
||
861 | </source> |
||
862 | <translation type="unfinished">getSize(["name"]) -> (width,height) |
||
863 | |||
864 | Devuelve un par (ancho, alto) con el tamaño del objeto "name". |
||
865 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
866 | El tamaño está expresado en las unidades actuales del documento |
||
867 | - ver UNIT_<tipo> para más referencias. |
||
868 | </translation> |
||
869 | </message> |
||
870 | <message> |
||
14474 | cbradney | 871 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="195"/> |
12918 | cbradney | 872 | <source>getRotation(["name"]) -> integer |
873 | |||
874 | Returns the rotation of the object "name". The value is expressed in degrees, |
||
875 | and clockwise is positive. If "name" is not given the currently selected item |
||
876 | is used. |
||
877 | </source> |
||
878 | <translation type="unfinished">getRotation(["name"]) -> integer |
||
879 | |||
880 | Devuelve la rotación del objeto "name". El valor está expresado |
||
881 | en grados y si es positivo es en el sentido de las agujas del reloj. |
||
882 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
883 | </translation> |
||
884 | </message> |
||
885 | <message> |
||
14474 | cbradney | 886 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="206"/> |
12918 | cbradney | 887 | <source>getAllObjects() -> list |
888 | |||
889 | Returns a list containing the names of all objects on the current page. |
||
890 | </source> |
||
891 | <translation type="unfinished">getAllObjects() -> list |
||
892 | |||
893 | Devuelve una lista que contiene los nombres de todos los objetos |
||
894 | de la página actual. |
||
895 | </translation> |
||
896 | </message> |
||
897 | <message> |
||
14474 | cbradney | 898 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="17"/> |
3064 | cbradney | 899 | <source>moveObject(dx, dy [, "name"]) |
952 | cbradney | 900 | |
901 | Moves the object "name" by dx and dy relative to its current position. The |
||
902 | distances are expressed in the current measurement unit of the document (see |
||
903 | UNIT constants). If "name" is not given the currently selected item is used. |
||
904 | If the object "name" belongs to a group, the whole group is moved. |
||
905 | </source> |
||
12612 | cbradney | 906 | <translation type="unfinished">moveObject(dx, dy [, "name"]) |
974 | cbradney | 907 | |
908 | Mueve el objeto de nombre "name" dx y dy unidades, relativo a su posición |
||
909 | actual. Las distancias se deben expresar en las unidades actuales del |
||
11812 | mrdocs | 910 | documento (ver constantes UNIT). Si no se pasa un nombre, se usa el objeto |
974 | cbradney | 911 | que esté seleccionado. Si el objeto "name" pertenece a un grupo, se |
912 | mueve el grupo entero. |
||
913 | </translation> |
||
952 | cbradney | 914 | </message> |
915 | <message> |
||
14474 | cbradney | 916 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="29"/> |
12918 | cbradney | 917 | <source>moveObjectAbs(x, y [, "name"]) |
918 | |||
919 | Moves the object "name" to a new location. The coordinates are expressed in |
||
920 | the current measurement unit of the document (see UNIT constants). If "name" |
||
921 | is not given the currently selected item is used. If the object "name" |
||
922 | belongs to a group, the whole group is moved. |
||
923 | </source> |
||
924 | <translation type="unfinished">moveObjectAbs(x, y [, "name"]) |
||
925 | |||
926 | Mueve el objeto "name" a una nueva posición. Las coordenadas están |
||
927 | expresadas en las unidades actuales del documento (ver constantes UNIT). |
||
928 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
929 | Si el objeto a mover pertenece a un grupo, se mueve todo el grupo. |
||
930 | </translation> |
||
931 | </message> |
||
932 | <message> |
||
14474 | cbradney | 933 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="41"/> |
12918 | cbradney | 934 | <source>rotateObject(rot [, "name"]) |
935 | |||
936 | Rotates the object "name" by "rot" degrees relatively. The object is |
||
937 | rotated by the vertex that is currently selected as the rotation point - by |
||
938 | default, the top left vertex at zero rotation. Positive values mean counter |
||
939 | clockwise rotation when the default rotation point is used. If "name" is not |
||
940 | given the currently selected item is used. |
||
941 | </source> |
||
942 | <translation type="unfinished"></translation> |
||
943 | </message> |
||
944 | <message> |
||
14474 | cbradney | 945 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="54"/> |
12918 | cbradney | 946 | <source>rotateObjectAbs(rot [, "name"]) |
947 | |||
948 | Sets the rotation of the object "name" to "rot". Positive values |
||
949 | mean counter clockwise rotation. If "name" is not given the currently |
||
950 | selected item is used. |
||
951 | </source> |
||
952 | <translation type="unfinished">rotateObjectAbs(rot [, "name"]) |
||
953 | |||
954 | Establece la rotación del objeto "name" a "rot". Los valores positivos |
||
955 | significan rotación en sentido contrario a las agujas del reloj. |
||
956 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
957 | </translation> |
||
958 | </message> |
||
959 | <message> |
||
14474 | cbradney | 960 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="65"/> |
12918 | cbradney | 961 | <source>sizeObject(width, height [, "name"]) |
962 | |||
963 | Resizes the object "name" to the given width and height. If "name" |
||
964 | is not given the currently selected item is used. |
||
965 | </source> |
||
966 | <translation type="unfinished">sizeObject(width, height [, "name"]) |
||
967 | |||
968 | Redimensiona el objeto "name" a la anchura (width) y altura (height) dados. |
||
969 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
970 | </translation> |
||
971 | </message> |
||
972 | <message> |
||
14474 | cbradney | 973 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="75"/> |
12918 | cbradney | 974 | <source>getSelectedObject([nr]) -> string |
975 | |||
976 | Returns the name of the selected object. "nr" if given indicates the number |
||
977 | of the selected object, e.g. 0 means the first selected object, 1 means the |
||
978 | second selected Object and so on. |
||
979 | </source> |
||
980 | <translation type="unfinished">getSelectedObject([nr]) -> string |
||
981 | |||
982 | Devuelve el nombre del objeto seleccionado. "nr", si se especifica, indica |
||
983 | el número del objeto seleccionado, p. ej. 0 significa el primer objeto |
||
984 | seleccionado, 1 el segundo objeto seleccionado, etc. |
||
985 | </translation> |
||
986 | </message> |
||
987 | <message> |
||
14474 | cbradney | 988 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="86"/> |
12918 | cbradney | 989 | <source>selectionCount() -> integer |
990 | |||
991 | Returns the number of selected objects. |
||
992 | </source> |
||
993 | <translation type="unfinished">selectionCount() -> integer |
||
994 | |||
995 | Devuelve el número de objetos seleccionados. |
||
996 | </translation> |
||
997 | </message> |
||
998 | <message> |
||
14474 | cbradney | 999 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="95"/> |
12918 | cbradney | 1000 | <source>selectObject("name") |
1001 | |||
1002 | Selects the object with the given "name". |
||
1003 | </source> |
||
1004 | <translation type="unfinished">selectObject("name") |
||
1005 | |||
1006 | Selecciona el objeto con el nombre "name". |
||
1007 | </translation> |
||
1008 | </message> |
||
1009 | <message> |
||
14474 | cbradney | 1010 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="104"/> |
12918 | cbradney | 1011 | <source>deselectAll() |
1012 | |||
1013 | Deselects all objects in the whole document. |
||
1014 | </source> |
||
1015 | <translation type="unfinished">deselectAll() |
||
1016 | |||
1017 | Deselecciona todos los objetos del documento entero. |
||
1018 | </translation> |
||
1019 | </message> |
||
1020 | <message> |
||
14474 | cbradney | 1021 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="113"/> |
14747 | cbradney | 1022 | <source>groupObjects(list) -> string |
1023 | |||
1024 | Groups the objects named in "list" together. "list" must contain the names |
||
1025 | of the objects to be grouped. If "list" is not given the currently selected |
||
1026 | items are used. Returns the group name for further referencing. |
||
1027 | </source> |
||
1028 | <translation type="unfinished"></translation> |
||
1029 | </message> |
||
1030 | <message> |
||
12918 | cbradney | 1031 | <source>groupObjects(list) |
1032 | |||
1033 | Groups the objects named in "list" together. "list" must contain the names |
||
1034 | of the objects to be grouped. If "list" is not given the currently selected |
||
1035 | items are used. |
||
1036 | </source> |
||
14747 | cbradney | 1037 | <translation type="obsolete">groupObjects(list) |
12918 | cbradney | 1038 | |
1039 | Agrupa los objetos nombrados en "list". "list" debe contener los nombres |
||
1040 | de los objetos a ser agrupados. |
||
1041 | Si no se pasa una lista se usan los objetos que estén seleccionados. |
||
1042 | </translation> |
||
1043 | </message> |
||
1044 | <message> |
||
14474 | cbradney | 1045 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="124"/> |
12918 | cbradney | 1046 | <source>unGroupObjects("name") |
1047 | |||
1048 | Destructs the group the object "name" belongs to.If "name" is not given the currently selected item is used.</source> |
||
1049 | <translation type="unfinished">unGroupObjects("name") |
||
1050 | |||
1051 | Destruye el grupo al que pertenece el objeto "name". |
||
1052 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
1053 | </translation> |
||
1054 | </message> |
||
1055 | <message> |
||
14474 | cbradney | 1056 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="132"/> |
12918 | cbradney | 1057 | <source>scaleGroup(factor [,"name"]) |
1058 | |||
1059 | Scales the group the object "name" belongs to. Values greater than 1 enlarge |
||
1060 | the group, values smaller than 1 make the group smaller e.g a value of 0.5 |
||
1061 | scales the group to 50 % of its original size, a value of 1.5 scales the group |
||
1062 | to 150 % of its original size. The value for "factor" must be greater than |
||
1063 | 0. If "name" is not given the currently selected item is used. |
||
1064 | |||
1065 | May raise ValueError if an invalid scale factor is passed. |
||
1066 | </source> |
||
1067 | <translation type="unfinished">scaleGroup(factor [,"name"]) |
||
1068 | |||
1069 | Escala el grupo al que pertenece el objeto "name". Los valores mayor de 1 |
||
1070 | agrandan el grupo, los menores de 1 lo hacen más pequeño, p. ej. un valor |
||
1071 | de 0.5 escala el grupo al 50% de su tamaño original, un valor de 1.5 escala |
||
1072 | el grupo a 150% de su tamaño original. |
||
1073 | El valor de "factor" debe ser mayor de cero. |
||
1074 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
1075 | |||
1076 | Puede lanzar la excepción ValueError si se pasa un factor de escala no válido. |
||
1077 | </translation> |
||
1078 | </message> |
||
1079 | <message> |
||
14474 | cbradney | 1080 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="147"/> |
12918 | cbradney | 1081 | <source>loadImage("filename" [, "name"]) |
1082 | |||
1083 | Loads the picture "picture" into the image frame "name". If "name" is |
||
1084 | not given the currently selected item is used. |
||
1085 | |||
1086 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
1087 | </source> |
||
1088 | <translation type="unfinished">loadImage("filename" [, "name"]) |
||
1089 | |||
1090 | Carga la imagen "filename" en el marco de imagen "name". |
||
1091 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
1092 | |||
1093 | Puede lanzar la excepción WrongFrameTypeError si el marco de destino |
||
1094 | no es un marco de imagen. |
||
1095 | </translation> |
||
1096 | </message> |
||
1097 | <message> |
||
14474 | cbradney | 1098 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="159"/> |
12918 | cbradney | 1099 | <source>scaleImage(x, y [, "name"]) |
1100 | |||
14474 | cbradney | 1101 | Sets the internal scaling factors of the picture in the image frame "name". |
1102 | If "name" is not given the currently selected item is used. A number of 1 |
||
1103 | means 100 %. Internal scaling factors are different from the values shown on |
||
1104 | properties palette. Note : deprecated, use setImageScale() instead. |
||
1105 | |||
1106 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
1107 | </source> |
||
1108 | <translation type="unfinished"></translation> |
||
1109 | </message> |
||
1110 | <message> |
||
1111 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="173"/> |
||
1112 | <source>setImageScale(x, y [, "name"]) |
||
1113 | |||
12918 | cbradney | 1114 | Sets the scaling factors of the picture in the image frame "name". |
1115 | If "name" is not given the currently selected item is used. A number of 1 |
||
14474 | cbradney | 1116 | means 100 %. Scaling factors are equal to the values shown on properties palette. |
1117 | |||
1118 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
1119 | </source> |
||
1120 | <translation type="unfinished"></translation> |
||
1121 | </message> |
||
1122 | <message> |
||
1123 | <source>scaleImage(x, y [, "name"]) |
||
1124 | |||
1125 | Sets the scaling factors of the picture in the image frame "name". |
||
1126 | If "name" is not given the currently selected item is used. A number of 1 |
||
12918 | cbradney | 1127 | means 100 %. |
1128 | |||
1129 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
1130 | </source> |
||
13279 | cbradney | 1131 | <translation type="obsolete">scaleImage(x, y [, "name"]) |
12918 | cbradney | 1132 | |
1133 | Establece los factores de escalado de la imagen en el marco de |
||
1134 | imagen "name". Un valor de 1 significa 100%. |
||
1135 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
1136 | |||
1137 | Puede lanzar la excepción WrongFrameTypeError si el marco de destino |
||
1138 | no es un marco de imagen. |
||
1139 | </translation> |
||
1140 | </message> |
||
1141 | <message> |
||
14474 | cbradney | 1142 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="186"/> |
12918 | cbradney | 1143 | <source>lockObject(["name"]) -> bool |
1144 | |||
1145 | Locks the object "name" if it's unlocked or unlock it if it's locked. |
||
1146 | If "name" is not given the currently selected item is used. Returns true |
||
1147 | if locked. |
||
1148 | </source> |
||
1149 | <translation type="unfinished">lockObject(["name"]) -> bool |
||
1150 | |||
1151 | Bloquea el objeto "name" si está desbloqueado o lo desbloquea en |
||
1152 | caso contrario. Devuelve true si se bloquea. |
||
1153 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
1154 | </translation> |
||
1155 | </message> |
||
1156 | <message> |
||
14474 | cbradney | 1157 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="197"/> |
12918 | cbradney | 1158 | <source>isLocked(["name"]) -> bool |
1159 | |||
1160 | Returns true if is the object "name" locked. If "name" is not given the |
||
1161 | currently selected item is used. |
||
1162 | </source> |
||
1163 | <translation type="unfinished">isLocked(["name"]) -> bool |
||
1164 | |||
1165 | Devuelve true si el objeto "name" está bloqueado. |
||
1166 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
1167 | </translation> |
||
1168 | </message> |
||
1169 | <message> |
||
14474 | cbradney | 1170 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="206"/> |
12918 | cbradney | 1171 | <source>setScaleImageToFrame(scaletoframe, proportional=None, name=<selection>) |
1172 | |||
1173 | Sets the scale to frame on the selected or specified image frame to `scaletoframe'. |
||
1174 | If `proportional' is specified, set fixed aspect ratio scaling to `proportional'. |
||
1175 | Both `scaletoframe' and `proportional' are boolean. |
||
1176 | |||
1177 | May raise WrongFrameTypeError. |
||
1178 | </source> |
||
1179 | <translation type="unfinished">setScaleImageToFrame(scaletoframe, proportional=None, name=<selection>) |
||
1180 | |||
1181 | Establece la opción escalar al tamaño del marco a "scaletoframe" en el marco de |
||
1182 | imagen seleccionado o especificado por "name". |
||
1183 | Si se especifica "proportional", establece la opción mantener la relación de aspecto |
||
1184 | a "proportional". |
||
1185 | Tanto "scaletoframe" como "proportional" son booleanos. |
||
1186 | |||
1187 | Puede lanzar la excepción WrongFrameTypeError. |
||
1188 | </translation> |
||
1189 | </message> |
||
1190 | <message> |
||
14474 | cbradney | 1191 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="19"/> |
3064 | cbradney | 1192 | <source>setRedraw(bool) |
952 | cbradney | 1193 | |
1194 | Disables page redraw when bool = False, otherwise redrawing is enabled. |
||
1195 | This change will persist even after the script exits, so make sure to call |
||
1196 | setRedraw(True) in a finally: clause at the top level of your script. |
||
1197 | </source> |
||
12612 | cbradney | 1198 | <translation type="unfinished">setRedraw(bool) |
974 | cbradney | 1199 | |
1200 | Desactiva el redibujado de la página si bool = False, de otro modo, se activa |
||
1201 | el redibujado. Este cambio permanecerá incluso después de que el script |
||
11812 | mrdocs | 1202 | termine, así que asegúrate de llamar a setRedraw(True) en una sentencia |
974 | cbradney | 1203 | finally: en el nivel superior del script. |
1204 | </translation> |
||
952 | cbradney | 1205 | </message> |
1206 | <message> |
||
14474 | cbradney | 1207 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="30"/> |
12918 | cbradney | 1208 | <source>getFontNames() -> list |
1209 | |||
1210 | Returns a list with the names of all available fonts. |
||
1211 | </source> |
||
1212 | <translation type="unfinished">getFontNames() -> list |
||
1213 | |||
1214 | Devuelve una lista con los nombres de todas las tipografías disponibles. |
||
1215 | </translation> |
||
1216 | </message> |
||
1217 | <message> |
||
14474 | cbradney | 1218 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="39"/> |
12918 | cbradney | 1219 | <source>getXFontNames() -> list of tuples |
1220 | |||
1221 | Returns a larger font info. It's a list of the tuples with: |
||
1222 | [ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ] |
||
1223 | </source> |
||
1224 | <translation type="unfinished">getXFontNames() -> list of tuples |
||
1225 | |||
1226 | Da una mayor información sobre las tipografías. Devuelve una lista de vectores con: |
||
1227 | [ (nombre de Scribus, Familia, Nombre real, empotrar subconjunto (1|0), |
||
1228 | empotrar PS (1|0), tipografía), (...), ...] |
||
1229 | </translation> |
||
1230 | </message> |
||
1231 | <message> |
||
14474 | cbradney | 1232 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="52"/> |
12918 | cbradney | 1233 | <source>renderFont("name", "filename", "sample", size, format="PPM") -> bool |
1234 | |||
1235 | Creates an image preview of font "name" with given text "sample" and size. |
||
1236 | If "filename" is not "", image is saved into "filename". Otherwise |
||
1237 | image data is returned as a string. The optional "format" argument |
||
1238 | specifies the image format to generate, and supports any format allowed |
||
1239 | by QPixmap.save(). Common formats are PPM, JPEG, PNG and XPM. |
||
1240 | |||
1241 | May raise NotFoundError if the specified font can't be found. |
||
1242 | May raise ValueError if an empty sample or filename is passed. |
||
1243 | </source> |
||
1244 | <translation type="unfinished">renderFont("name", "filename", "sample", size, format="PPM") -> bool |
||
1245 | |||
1246 | Crea una previsualización de la tipografía "name" con el texto "sample" y |
||
1247 | de tamaño "size". Si "filename" no es "", la imagen se guarda en"filename". |
||
1248 | De otra forma la imagen se devuelve como una cadena. El argumento |
||
1249 | opcional "format" especifica el formato de imagen a generar, y admite |
||
1250 | cualquier formato permitido por QPixmap.save(). Los formatos comunes |
||
1251 | son PPM, JPEG, PNG y XPM. |
||
1252 | |||
1253 | Puede lanzar la excepción NotFoundError si no se puede encontrar la |
||
1254 | tipografía indicada. |
||
1255 | Puede lanzar la excepción ValueError si "filename" o "sample" son |
||
1256 | cadenas vacías. |
||
1257 | </translation> |
||
1258 | </message> |
||
1259 | <message> |
||
14474 | cbradney | 1260 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="68"/> |
12918 | cbradney | 1261 | <source>getLayers() -> list |
1262 | |||
1263 | Returns a list with the names of all defined layers. |
||
1264 | </source> |
||
1265 | <translation type="unfinished">getLayers() -> list |
||
1266 | |||
1267 | Devuelve una lista con los nombres de todas las capas definidas. |
||
1268 | </translation> |
||
1269 | </message> |
||
1270 | <message> |
||
14474 | cbradney | 1271 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="77"/> |
12918 | cbradney | 1272 | <source>setActiveLayer("name") |
1273 | |||
1274 | Sets the active layer to the layer named "name". |
||
1275 | |||
1276 | May raise NotFoundError if the layer can't be found. |
||
1277 | May raise ValueError if the layer name isn't acceptable. |
||
1278 | </source> |
||
1279 | <translation type="unfinished">setActiveLayer("name") |
||
1280 | |||
1281 | Establece la capa activa a la capa con nombre "name". |
||
1282 | |||
1283 | Puede lanzar la excepción NotFoundError si no se puede encontrar la capa. |
||
1284 | Puede lanzar la excepción ValueError si la el nombre de la capa no es válido. |
||
1285 | </translation> |
||
1286 | </message> |
||
1287 | <message> |
||
14474 | cbradney | 1288 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="89"/> |
12918 | cbradney | 1289 | <source>getActiveLayer() -> string |
1290 | |||
1291 | Returns the name of the current active layer. |
||
1292 | </source> |
||
1293 | <translation type="unfinished">getActiveLayer() -> string |
||
1294 | |||
1295 | Devuelve el nombre de la capa activa actual. |
||
1296 | </translation> |
||
1297 | </message> |
||
1298 | <message> |
||
14474 | cbradney | 1299 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="98"/> |
12918 | cbradney | 1300 | <source>sentToLayer("layer" [, "name"]) |
1301 | |||
1302 | Sends the object "name" to the layer "layer". The layer must exist. |
||
1303 | If "name" is not given the currently selected item is used. |
||
1304 | |||
1305 | May raise NotFoundError if the layer can't be found. |
||
1306 | May raise ValueError if the layer name isn't acceptable. |
||
1307 | </source> |
||
1308 | <translation type="unfinished">sentToLayer("layer" [, "name"]) |
||
1309 | |||
1310 | Envía el objeto "name" a la capa "layer". La capa debe existir. |
||
1311 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
1312 | |||
1313 | Puede lanzar la excepción NotFoundError si no se puede encontrar la capa. |
||
1314 | Puede lanzar la excepción ValueError si el nombre de la capa no es válido. |
||
1315 | </translation> |
||
1316 | </message> |
||
1317 | <message> |
||
14474 | cbradney | 1318 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="111"/> |
12918 | cbradney | 1319 | <source>setLayerVisible("layer", visible) |
1320 | |||
1321 | Sets the layer "layer" to be visible or not. If is the visible set to false |
||
1322 | the layer is invisible. |
||
1323 | |||
1324 | May raise NotFoundError if the layer can't be found. |
||
1325 | May raise ValueError if the layer name isn't acceptable. |
||
1326 | </source> |
||
1327 | <translation type="unfinished">setLayerVisible("layer", visible) |
||
1328 | |||
1329 | Establece si la capa "layer" es visible o no. |
||
1330 | Si "visible" es false la capa será invisible. |
||
1331 | |||
1332 | Puede lanzar la excepción NotFoundError si no se puede encontrar la capa. |
||
1333 | Puede lanzar la excepción ValueError si el nombre de la capa no es válido. |
||
1334 | </translation> |
||
1335 | </message> |
||
1336 | <message> |
||
14474 | cbradney | 1337 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="124"/> |
12918 | cbradney | 1338 | <source>setLayerPrintable("layer", printable) |
1339 | |||
1340 | Sets the layer "layer" to be printable or not. If is the |
||
1341 | printable set to false the layer won't be printed. |
||
1342 | |||
1343 | May raise NotFoundError if the layer can't be found. |
||
1344 | May raise ValueError if the layer name isn't acceptable. |
||
1345 | </source> |
||
1346 | <translation type="unfinished"></translation> |
||
1347 | </message> |
||
1348 | <message> |
||
14474 | cbradney | 1349 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="137"/> |
12918 | cbradney | 1350 | <source>setLayerLocked("layer", locked) |
1351 | |||
1352 | Sets the layer "layer" to be locked or not. If locked is set to |
||
1353 | true the layer will be locked. |
||
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> |
||
1358 | <translation type="unfinished"></translation> |
||
1359 | </message> |
||
1360 | <message> |
||
14474 | cbradney | 1361 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="150"/> |
12918 | cbradney | 1362 | <source>setLayerOutlined("layer", outline) |
1363 | |||
1364 | Sets the layer "layer" to be locked or not. If outline is set to |
||
1365 | true the layer will be displayed outlined. |
||
1366 | |||
1367 | May raise NotFoundError if the layer can't be found. |
||
1368 | May raise ValueError if the layer name isn't acceptable. |
||
1369 | </source> |
||
1370 | <translation type="unfinished"></translation> |
||
1371 | </message> |
||
1372 | <message> |
||
14474 | cbradney | 1373 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="163"/> |
12918 | cbradney | 1374 | <source>setLayerFlow("layer", flow) |
1375 | |||
1376 | Sets the layers "layer" flowcontrol to flow. If flow is set to |
||
1377 | true text in layers above this one will flow around objects on this layer. |
||
1378 | |||
1379 | May raise NotFoundError if the layer can't be found. |
||
1380 | May raise ValueError if the layer name isn't acceptable. |
||
1381 | </source> |
||
1382 | <translation type="unfinished"></translation> |
||
1383 | </message> |
||
1384 | <message> |
||
14474 | cbradney | 1385 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="176"/> |
12918 | cbradney | 1386 | <source>setLayerBlendmode("layer", blend) |
1387 | |||
1388 | Sets the layers "layer" blendmode to blend. |
||
1389 | |||
1390 | May raise NotFoundError if the layer can't be found. |
||
1391 | May raise ValueError if the layer name isn't acceptable. |
||
1392 | </source> |
||
1393 | <translation type="unfinished"></translation> |
||
1394 | </message> |
||
1395 | <message> |
||
14474 | cbradney | 1396 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="188"/> |
12918 | cbradney | 1397 | <source>setLayerTransparency("layer", trans) |
1398 | |||
1399 | Sets the layers "layer" transparency to trans. |
||
1400 | |||
1401 | May raise NotFoundError if the layer can't be found. |
||
1402 | May raise ValueError if the layer name isn't acceptable. |
||
1403 | </source> |
||
1404 | <translation type="unfinished"></translation> |
||
1405 | </message> |
||
1406 | <message> |
||
14474 | cbradney | 1407 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="200"/> |
12918 | cbradney | 1408 | <source>isLayerVisible("layer") -> bool |
1409 | |||
1410 | Returns whether the layer "layer" is visible or not, a value of True means |
||
1411 | that the layer "layer" is visible, a value of False means that the layer |
||
1412 | "layer" is invisible. |
||
1413 | |||
1414 | May raise NotFoundError if the layer can't be found. |
||
1415 | May raise ValueError if the layer name isn't acceptable. |
||
1416 | </source> |
||
1417 | <translation type="unfinished">isLayerVisible("layer") -> bool |
||
1418 | |||
1419 | Devuelve si la capa "layer" es visible o no, un valor de True significa |
||
1420 | que la capa "layer" es visible, un valor de False significa que la capa |
||
1421 | "layer" es invisible. |
||
1422 | |||
1423 | Puede lanzar la excepción NotFoundError si no se puede encontrar la capa. |
||
1424 | Puede lanzar la excepción ValueError si el nombre de la capa no es válido. |
||
1425 | </translation> |
||
1426 | </message> |
||
1427 | <message> |
||
14474 | cbradney | 1428 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="214"/> |
12918 | cbradney | 1429 | <source>isLayerPrintable("layer") -> bool |
1430 | |||
1431 | Returns whether the layer "layer" is printable or not, a value of True means |
||
1432 | that the layer "layer" can be printed, a value of False means that printing |
||
1433 | the layer "layer" is disabled. |
||
1434 | |||
1435 | May raise NotFoundError if the layer can't be found. |
||
1436 | May raise ValueError if the layer name isn't acceptable. |
||
1437 | </source> |
||
1438 | <translation type="unfinished">isLayerPrintable("layer") -> bool |
||
1439 | |||
1440 | Devuelve si la capa "layer" es imprimible o no, un valor de True significa |
||
1441 | que la capa "layer" se puede imprimir, un valor de False significa que se |
||
1442 | ha desactivado la impresión de la capa"layer". |
||
1443 | |||
1444 | Puede lanzar la excepción NotFoundError si no se puede encontrar la capa. |
||
1445 | Puede lanzar la excepción ValueError si el nombre de la capa no es válido. |
||
1446 | </translation> |
||
1447 | </message> |
||
1448 | <message> |
||
14474 | cbradney | 1449 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="228"/> |
12918 | cbradney | 1450 | <source>isLayerLocked("layer") -> bool |
1451 | |||
1452 | Returns whether the layer "layer" is locked or not, a value of True means |
||
1453 | that the layer "layer" is editable, a value of False means that the layer |
||
1454 | "layer" is locked. |
||
1455 | |||
1456 | May raise NotFoundError if the layer can't be found. |
||
1457 | May raise ValueError if the layer name isn't acceptable. |
||
1458 | </source> |
||
1459 | <translation type="unfinished"></translation> |
||
1460 | </message> |
||
1461 | <message> |
||
14474 | cbradney | 1462 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="242"/> |
12918 | cbradney | 1463 | <source>isLayerOutlined("layer") -> bool |
1464 | |||
1465 | Returns whether the layer "layer" is outlined or not, a value of True means |
||
1466 | that the layer "layer" is outlined, a value of False means that the layer |
||
1467 | "layer" is normal. |
||
1468 | |||
1469 | May raise NotFoundError if the layer can't be found. |
||
1470 | May raise ValueError if the layer name isn't acceptable. |
||
1471 | </source> |
||
1472 | <translation type="unfinished"></translation> |
||
1473 | </message> |
||
1474 | <message> |
||
14474 | cbradney | 1475 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="256"/> |
12918 | cbradney | 1476 | <source>isLayerFlow("layer") -> bool |
1477 | |||
1478 | Returns whether text flows around objects on layer "layer", a value of True means |
||
1479 | that text flows around, a value of False means that the text does not flow around. |
||
1480 | |||
1481 | May raise NotFoundError if the layer can't be found. |
||
1482 | May raise ValueError if the layer name isn't acceptable. |
||
1483 | </source> |
||
1484 | <translation type="unfinished"></translation> |
||
1485 | </message> |
||
1486 | <message> |
||
14474 | cbradney | 1487 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="269"/> |
12918 | cbradney | 1488 | <source>getLayerBlendmode("layer") -> int |
1489 | |||
1490 | Returns the "layer" layer blendmode, |
||
1491 | |||
1492 | May raise NotFoundError if the layer can't be found. |
||
1493 | May raise ValueError if the layer name isn't acceptable. |
||
1494 | </source> |
||
1495 | <translation type="unfinished"></translation> |
||
1496 | </message> |
||
1497 | <message> |
||
14474 | cbradney | 1498 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="281"/> |
12918 | cbradney | 1499 | <source>getLayerTransparency("layer") -> float |
1500 | |||
1501 | Returns the "layer" layer transparency, |
||
1502 | |||
1503 | May raise NotFoundError if the layer can't be found. |
||
1504 | May raise ValueError if the layer name isn't acceptable. |
||
1505 | </source> |
||
1506 | <translation type="unfinished"></translation> |
||
1507 | </message> |
||
1508 | <message> |
||
14474 | cbradney | 1509 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="293"/> |
12918 | cbradney | 1510 | <source>deleteLayer("layer") |
1511 | |||
1512 | Deletes the layer with the name "layer". Nothing happens if the layer doesn't |
||
1513 | exists or if it's the only layer in the document. |
||
1514 | |||
1515 | May raise NotFoundError if the layer can't be found. |
||
1516 | May raise ValueError if the layer name isn't acceptable. |
||
1517 | </source> |
||
1518 | <translation type="unfinished">deleteLayer("layer") |
||
1519 | |||
1520 | Borra la capa con el nombre "layer". No ocurre nada si la capa no existe o |
||
1521 | si es la única capa del documento. |
||
1522 | |||
1523 | Puede lanzar la excepción NotFoundError si no se puede encontrar la capa. |
||
1524 | Puede lanzar la excepción ValueError si el nombre de la capa no es válido. |
||
1525 | </translation> |
||
1526 | </message> |
||
1527 | <message> |
||
14474 | cbradney | 1528 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="306"/> |
12918 | cbradney | 1529 | <source>createLayer(layer) |
1530 | |||
1531 | Creates a new layer with the name "name". |
||
1532 | |||
1533 | May raise ValueError if the layer name isn't acceptable. |
||
1534 | </source> |
||
1535 | <translation type="unfinished">createLayer(layer) |
||
1536 | |||
1537 | Crea una nueva capa co el nombre "name". |
||
1538 | |||
1539 | Puede lanzar la excepción ValueError si el nombre de la capa no es válido. |
||
1540 | </translation> |
||
1541 | </message> |
||
1542 | <message> |
||
14474 | cbradney | 1543 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="317"/> |
12918 | cbradney | 1544 | <source>getGuiLanguage() -> string |
1545 | |||
1546 | Returns a string with the -lang value. |
||
1547 | </source> |
||
1548 | <translation type="unfinished">getGuiLanguage() -> string |
||
1549 | |||
1550 | Devuelve una cadena con el código del idioma usado. |
||
1551 | </translation> |
||
1552 | </message> |
||
1553 | <message> |
||
14474 | cbradney | 1554 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="326"/> |
12918 | cbradney | 1555 | <source>moveSelectionToFront() |
1556 | |||
1557 | Moves current selection to front. |
||
1558 | </source> |
||
1559 | <translation type="unfinished"></translation> |
||
1560 | </message> |
||
1561 | <message> |
||
14474 | cbradney | 1562 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="335"/> |
12918 | cbradney | 1563 | <source>moveSelectionToFront() |
1564 | |||
1565 | Moves current selection to back. |
||
1566 | </source> |
||
1567 | <translation type="unfinished"></translation> |
||
1568 | </message> |
||
1569 | <message> |
||
14474 | cbradney | 1570 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="17"/> |
3064 | cbradney | 1571 | <source>createRect(x, y, width, height, ["name"]) -> string |
952 | cbradney | 1572 | |
1573 | Creates a new rectangle on the current page and returns its name. The |
||
1574 | coordinates are given in the current measurement units of the document |
||
1575 | (see UNIT constants). "name" should be a unique identifier for the object |
||
1576 | because you need this name to reference that object in future. If "name" |
||
1577 | is not given Scribus will create one for you. |
||
1578 | |||
3064 | cbradney | 1579 | May raise NameExistsError if you explicitly pass a name that's already used. |
952 | cbradney | 1580 | </source> |
12612 | cbradney | 1581 | <translation type="unfinished">createRect(x, y, width, height, ["name"]) -> string |
974 | cbradney | 1582 | |
1583 | Crea un nuevo rectángulo en la página actual y devuelve su nombre. Las |
||
1584 | coordenadas x, y, anchura y altura se expresan en las unidades actuales |
||
1585 | del documento (ver constantes UNIT). "name" debería ser un identificador |
||
1586 | único para el objeto porque el objeto se referenciará con ese nombre |
||
1587 | después. Si no se le da un nombre, Scribus creará uno. |
||
1588 | |||
11812 | mrdocs | 1589 | Puede lanzar NameExistsError si se pasa un nombre que ya se está usando. |
974 | cbradney | 1590 | </translation> |
952 | cbradney | 1591 | </message> |
1592 | <message> |
||
14474 | cbradney | 1593 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="34"/> |
12918 | cbradney | 1594 | <source>createEllipse(x, y, width, height, ["name"]) -> string |
1595 | |||
1596 | Creates a new ellipse on the current page and returns its name. |
||
1597 | The coordinates are given in the current measurement units of the document |
||
1598 | (see UNIT constants). "name" should be a unique identifier for the object |
||
1599 | because you need this name for further referencing of that object. If "name" |
||
1600 | is not given Scribus will create one for you. |
||
1601 | |||
1602 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1603 | </source> |
||
1604 | <translation type="unfinished">createEllipse(x, y, width, height, ["name"]) -> string |
||
1605 | |||
1606 | Crea una elipse en la página actual y devuelve su nombre. |
||
1607 | Las coordenadas x, y, anchura y altura se expresan en las unidades |
||
1608 | actuales del documento (ver constantes UNIT). "name" debería ser |
||
1609 | un identificador único para el objeto porque se referenciará con ese |
||
1610 | nombre después. Si no se le da un nombre, Scribus creará uno. |
||
1611 | |||
1612 | Puede lanzar la excepción NameExistsError si se pasa un nombre que |
||
1613 | ya se está usando. |
||
1614 | </translation> |
||
1615 | </message> |
||
1616 | <message> |
||
14474 | cbradney | 1617 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="51"/> |
12918 | cbradney | 1618 | <source>createImage(x, y, width, height, ["name"]) -> string |
1619 | |||
1620 | Creates a new picture frame on the current page and returns its name. The |
||
1621 | coordinates are given in the current measurement units of the document. |
||
1622 | "name" should be a unique identifier for the object because you need this |
||
1623 | name for further access to that object. If "name" is not given Scribus will |
||
1624 | create one for you. |
||
1625 | |||
1626 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1627 | </source> |
||
1628 | <translation type="unfinished">createImage(x, y, width, height, ["name"]) -> string |
||
1629 | |||
1630 | Crea un marco de imagen en la página actual y devuelve su nombre. |
||
1631 | Las coordenadas x, y, anchura y altura se expresan en las unidades |
||
1632 | actuales del documento. "name" debería ser un identificador único |
||
1633 | para el objeto porque se referenciará con ese nombre después. |
||
1634 | Si no se le da un nombre, Scribus creará uno. |
||
1635 | |||
1636 | Puede lanzar la excepción NameExistsError si se pasa un nombre que |
||
1637 | ya se está usando. |
||
1638 | </translation> |
||
1639 | </message> |
||
1640 | <message> |
||
14474 | cbradney | 1641 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="66"/> |
12918 | cbradney | 1642 | <source>createText(x, y, width, height, ["name"]) -> string |
1643 | |||
1644 | Creates a new text frame on the actual page and returns its name. |
||
1645 | The coordinates are given in the actual measurement unit of the document (see |
||
1646 | UNIT constants). "name" should be a unique identifier for the object because |
||
1647 | you need this name for further referencing of that object. If "name" is not |
||
1648 | given Scribus will create one for you. |
||
1649 | |||
1650 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1651 | </source> |
||
1652 | <translation type="unfinished">createText(x, y, width, height, ["name"]) -> string |
||
1653 | |||
1654 | Crea un marco de texto en la página actual y devuelve su nombre. |
||
1655 | Las coordenadas x, y, anchura y altura se expresan en las unidades |
||
1656 | actuales del documento (ver constantes UNIT). "name" debería ser |
||
1657 | un identificador único para el objeto porque se referenciará con ese |
||
1658 | nombre después. Si no se le da un nombre, Scribus creará uno. |
||
1659 | |||
1660 | Puede lanzar la excepción NameExistsError si se pasa un nombre que |
||
1661 | ya se está usando. |
||
1662 | </translation> |
||
1663 | </message> |
||
1664 | <message> |
||
14474 | cbradney | 1665 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="81"/> |
12918 | cbradney | 1666 | <source>createLine(x1, y1, x2, y2, ["name"]) -> string |
1667 | |||
1668 | Creates a new line from the point(x1, y1) to the point(x2, y2) and returns |
||
1669 | its name. The coordinates are given in the current measurement unit of the |
||
1670 | document (see UNIT constants). "name" should be a unique identifier for the |
||
1671 | object because you need this name for further access to that object. If |
||
1672 | "name" is not given Scribus will create one for you. |
||
1673 | |||
1674 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1675 | </source> |
||
1676 | <translation type="unfinished">createLine(x1, y1, x2, y2, ["name"]) -> string |
||
1677 | |||
1678 | Crea una línea del punto (x1, y1) al punto (x2, y2) y devuelve su |
||
1679 | nombre. Las coordenadas se expresan en las unidades actuales |
||
1680 | del documento (ver constantes UNIT). "name" debería ser un |
||
1681 | identificador único para el objeto porque se referenciará con ese |
||
1682 | nombre después. Si no se le da un nombre, Scribus creará uno. |
||
1683 | |||
1684 | Puede lanzar la excepción NameExistsError si se pasa un nombre que |
||
1685 | ya se está usando. |
||
1686 | </translation> |
||
1687 | </message> |
||
1688 | <message> |
||
14474 | cbradney | 1689 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="96"/> |
12918 | cbradney | 1690 | <source>createPolyLine(list, ["name"]) -> string |
1691 | |||
1692 | Creates a new polyline and returns its name. The points for the polyline are |
||
1693 | stored in the list "list" in the following order: [x1, y1, x2, y2...xn. yn]. |
||
1694 | The coordinates are given in the current measurement units of the document (see |
||
1695 | UNIT constants). "name" should be a unique identifier for the object because |
||
1696 | you need this name for further access to that object. If "name" is not given |
||
1697 | Scribus will create one for you. |
||
1698 | |||
1699 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1700 | May raise ValueError if an insufficient number of points is passed or if |
||
1701 | the number of values passed don't group into points without leftovers. |
||
1702 | </source> |
||
1703 | <translation type="unfinished">createPolyLine(list, ["name"]) -> string |
||
1704 | |||
1705 | Crea una polilínea y devuelve su nombre. Los puntos de la polilínea |
||
1706 | se almacenan en la lista "list" en el orden siguiente: [x1, y1, x2, y2, ...xn, yn]. |
||
1707 | Las coordenadas se expresan en las unidades actuales del documento |
||
1708 | (ver constantes UNIT). "name" debería ser un identificador único para el |
||
1709 | objeto porque se referenciará con ese nombre después. Si no se le da |
||
1710 | un nombre, Scribus creará uno. |
||
1711 | |||
1712 | Puede lanzar la excepción NameExistsError si se pasa un nombre que |
||
1713 | ya se está usando. |
||
1714 | Puede lanzar la excepción ValueError si se pasa un número de puntos |
||
1715 | insuficiente, o si el número de valores es impar. |
||
1716 | </translation> |
||
1717 | </message> |
||
1718 | <message> |
||
14474 | cbradney | 1719 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="114"/> |
12918 | cbradney | 1720 | <source>createPolygon(list, ["name"]) -> string |
1721 | |||
1722 | Creates a new polygon and returns its name. The points for the polygon are |
||
1723 | stored in the list "list" in the following order: [x1, y1, x2, y2...xn. yn]. |
||
1724 | At least three points are required. There is no need to repeat the first point |
||
1725 | to close the polygon. The polygon is automatically closed by connecting the |
||
1726 | first and the last point. The coordinates are given in the current measurement |
||
1727 | units of the document (see UNIT constants). "name" should be a unique |
||
1728 | identifier for the object because you need this name for further access to that |
||
1729 | 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 ValueError if an insufficient number of points is passed or if |
||
1733 | the number of values passed don't group into points without leftovers. |
||
1734 | </source> |
||
1735 | <translation type="unfinished">createPolygon(list, ["name"]) -> string |
||
1736 | |||
1737 | Crea un polígono y devuelve su nombre. Los puntos del polígono se |
||
1738 | almacenan en la lista "list" en el orden siguiente: [x1, y1, x2, y2, ...xn, yn]. |
||
1739 | Al menos se necesitan 3 puntos. No se necesita repetir el primer punto |
||
1740 | para cerrar el polígono, se cierra automáticamente conectando el primer |
||
1741 | punto con el último. Las coordenadas se expresan en las unidades actuales |
||
1742 | del documento (ver constantes UNIT). "name" debería ser un identificador |
||
1743 | único para el objeto porque se referenciará con ese nombre después. |
||
1744 | Si no se le da un nombre, Scribus creará uno. |
||
1745 | |||
1746 | Puede lanzar la excepción NameExistsError si se pasa un nombre que |
||
1747 | ya se está usando. |
||
1748 | Puede lanzar la excepción ValueError si se pasa un número de puntos |
||
1749 | insuficiente, o si el número de valores es impar. |
||
1750 | </translation> |
||
1751 | </message> |
||
1752 | <message> |
||
14474 | cbradney | 1753 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="134"/> |
12918 | cbradney | 1754 | <source>createBezierLine(list, ["name"]) -> string |
1755 | |||
1756 | Creates a new bezier curve and returns its name. The points for the bezier |
||
1757 | curve are stored in the list "list" in the following order: |
||
1758 | [x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn] |
||
1759 | In the points list, x and y mean the x and y coordinates of the point and kx |
||
1760 | and ky meaning the control point for the curve. The coordinates are given in |
||
1761 | the current measurement units of the document (see UNIT constants). "name" |
||
1762 | should be a unique identifier for the object because you need this name for |
||
1763 | further access to that object. If "name" is not given Scribus will create one |
||
1764 | for you. |
||
1765 | |||
1766 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1767 | May raise ValueError if an insufficient number of points is passed or if |
||
1768 | the number of values passed don't group into points without leftovers. |
||
1769 | </source> |
||
1770 | <translation type="unfinished">createBezierLine(list, ["name"]) -> string |
||
1771 | |||
1772 | Crea una curva de bezier y devuelve su nombre. Los puntos de la |
||
1773 | curva de bezier se almacenan en la lista "list" en el orden siguiente: |
||
1774 | [x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn, yn, kxn, kyn]. |
||
1775 | En la lista de puntos, x e y son las coordenadas del punto y kx y ky |
||
1776 | el punto de control de la curva. Las coordenadas se expresan en las |
||
1777 | unidades actuales del documento (ver constantes UNIT). "name" debería |
||
1778 | ser un identificador único para el objeto porque se referenciará con ese |
||
1779 | nombre después. Si no se le da un nombre, Scribus creará uno. |
||
1780 | |||
1781 | Puede lanzar la excepción NameExistsError si se pasa un nombre que |
||
1782 | ya se está usando. |
||
1783 | Puede lanzar la excepción ValueError si se pasa un número de puntos |
||
1784 | insuficiente, o si el número de valores es impar. |
||
1785 | </translation> |
||
1786 | </message> |
||
1787 | <message> |
||
14474 | cbradney | 1788 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="155"/> |
12918 | cbradney | 1789 | <source>createPathText(x, y, "textbox", "beziercurve", ["name"]) -> string |
1790 | |||
1791 | Creates a new pathText by merging the two objects "textbox" and |
||
1792 | "beziercurve" and returns its name. The coordinates are given in the current |
||
1793 | measurement unit of the document (see UNIT constants). "name" should be a |
||
1794 | unique identifier for the object because you need this name for further access |
||
1795 | to that object. If "name" is not given Scribus will create one for you. |
||
1796 | |||
1797 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1798 | May raise NotFoundError if one or both of the named base object don't exist. |
||
1799 | </source> |
||
1800 | <translation type="unfinished">createPathText(x, y, "textbox", "beziercurve", ["name"]) -> string |
||
1801 | |||
1802 | Crea un texto adjunto a un trazado, adjuntando el objeto"textbox" al objeto |
||
1803 | "beziercurve" y devuelve su nombre. Las coordenadas se expresan en las |
||
1804 | unidades actuales del documento (ver constantes UNIT). "name" debería |
||
1805 | ser un identificador único para el objeto porque se referenciará con ese |
||
1806 | nombre después. Si no se le da un nombre, Scribus creará uno. |
||
1807 | |||
1808 | Puede lanzar la excepción NameExistsError si se pasa un nombre que |
||
1809 | ya se está usando. |
||
1810 | Puede lanzar la excepción NotFoundError si alguno de los objetos no existe. |
||
1811 | </translation> |
||
1812 | </message> |
||
1813 | <message> |
||
14474 | cbradney | 1814 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="173"/> |
12918 | cbradney | 1815 | <source>deleteObject(["name"]) |
1816 | |||
1817 | Deletes the item with the name "name". If "name" is not given the currently |
||
1818 | selected item is deleted. |
||
1819 | </source> |
||
1820 | <translation type="unfinished">deleteObject(["name"]) |
||
1821 | |||
1822 | Borra el objeto con el nombre "name". |
||
1823 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
1824 | </translation> |
||
1825 | </message> |
||
1826 | <message> |
||
14474 | cbradney | 1827 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="184"/> |
12918 | cbradney | 1828 | <source>textFlowMode("name" [, state]) |
1829 | |||
1830 | Enables/disables "Text Flows Around Frame" feature for object "name". |
||
1831 | Called with parameters string name and optional int "state" (0 <= state <= 3). |
||
1832 | Setting "state" to 0 will disable text flow. |
||
1833 | Setting "state" to 1 will make text flow around object frame. |
||
1834 | Setting "state" to 2 will make text flow around bounding box. |
||
1835 | Setting "state" to 3 will make text flow around contour line. |
||
1836 | If "state" is not passed, text flow is toggled. |
||
1837 | </source> |
||
1838 | <translation type="unfinished"></translation> |
||
1839 | </message> |
||
1840 | <message> |
||
14474 | cbradney | 1841 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="206"/> |
12918 | cbradney | 1842 | <source>objectExists(["name"]) -> bool |
1843 | |||
1844 | Test if an object with specified name really exists in the document. |
||
1845 | The optional parameter is the object name. When no object name is given, |
||
1846 | returns True if there is something selected. |
||
1847 | </source> |
||
1848 | <translation type="unfinished">objectExists(["name"]) -> bool |
||
1849 | |||
1850 | Comprueba si existe en el documento un objeto con el nombre "name". |
||
1851 | Si no se pasa un nombre, devuelve true si hay algún objeto seleccionado. |
||
1852 | </translation> |
||
1853 | </message> |
||
1854 | <message> |
||
14474 | cbradney | 1855 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="223"/> |
12918 | cbradney | 1856 | <source>setStyle("style" [, "name"]) |
1857 | |||
14474 | cbradney | 1858 | Apply the named "style" to the object named "name". If object name is |
1859 | given, style is applied to the current text selection in object "name". |
||
1860 | If no object name is given, style is applied on selected object. |
||
1861 | </source> |
||
1862 | <translation type="unfinished"></translation> |
||
1863 | </message> |
||
1864 | <message> |
||
1865 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="250"/> |
||
1866 | <source>duplicateObject(["name"]) -> string |
||
1867 | |||
1868 | creates a Duplicate of the selected Object (or Selection Group). |
||
1869 | </source> |
||
1870 | <translation type="unfinished"></translation> |
||
1871 | </message> |
||
1872 | <message> |
||
1873 | <source>setStyle("style" [, "name"]) |
||
1874 | |||
12918 | cbradney | 1875 | Apply the named "style" to the object named "name". If is no object name |
1876 | given, it's applied on the selected object. |
||
1877 | </source> |
||
14474 | cbradney | 1878 | <translation type="obsolete">setStyle("style" [, "name"]) |
12918 | cbradney | 1879 | |
1880 | Aplica el estilo "style" al objeto "name". |
||
1881 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
1882 | </translation> |
||
1883 | </message> |
||
1884 | <message> |
||
14474 | cbradney | 1885 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="238"/> |
12918 | cbradney | 1886 | <source>getAllStyles() -> list |
1887 | |||
1888 | Return a list of the names of all paragraph styles in the current document. |
||
1889 | </source> |
||
1890 | <translation type="unfinished">getAllStyles() -> list |
||
1891 | |||
1892 | Devuelve una lista con los nombres de todos los estilos |
||
1893 | de párrafo del documento. |
||
1894 | </translation> |
||
1895 | </message> |
||
1896 | <message> |
||
14474 | cbradney | 1897 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="17"/> |
12918 | cbradney | 1898 | <source>newPage(where [,"masterpage"]) |
1899 | |||
1900 | Creates a new page. If "where" is -1 the new Page is appended to the |
||
1901 | document, otherwise the new page is inserted before "where". Page numbers are |
||
1902 | counted from 1 upwards, no matter what the displayed first page number of your |
||
1903 | document is. The optional parameter "masterpage" specifies the name of the |
||
1904 | master page for the new page. |
||
1905 | |||
1906 | May raise IndexError if the page number is out of range |
||
1907 | </source> |
||
1908 | <translation type="unfinished">newPage(where [,"masterpage"]) |
||
1909 | |||
1910 | Crea una nueva página. Si el lugar "where" es -1, la página nueva se añade al final |
||
1911 | del documento, en cualquier otro caso, se inserta antes de "where". Los números |
||
1912 | de página se cuentan desde 1 en adelante, sin importar cual es el primer número de |
||
1913 | página mostrado en tu documento. El parámetro opcional de página maestra |
||
1914 | "masterpage" especifica el nombre de la página maestra a aplicar en la nueva |
||
1915 | página. |
||
1916 | |||
1917 | Puede lanzar IndexError si el número de página esta fuera del rango |
||
1918 | </translation> |
||
1919 | </message> |
||
1920 | <message> |
||
14474 | cbradney | 1921 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="32"/> |
12918 | cbradney | 1922 | <source>currentPage() -> integer |
1923 | |||
1924 | Returns the number of the current working page. Page numbers are counted from 1 |
||
1925 | upwards, no matter what the displayed first page number of your document is. |
||
1926 | </source> |
||
1927 | <translation type="unfinished">currentPage() -> integer |
||
1928 | |||
1929 | Devuelve el número de la página actual. Los números de página van del 1 en |
||
1930 | adelante, independientemente del número mostrado en la primera página. |
||
1931 | </translation> |
||
1932 | </message> |
||
1933 | <message> |
||
14474 | cbradney | 1934 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="42"/> |
12918 | cbradney | 1935 | <source>redrawAll() |
1936 | |||
1937 | Redraws all pages. |
||
1938 | </source> |
||
1939 | <translation type="unfinished">redrawAll() |
||
1940 | |||
1941 | Redibuja todas las páginas. |
||
1942 | </translation> |
||
1943 | </message> |
||
1944 | <message> |
||
14474 | cbradney | 1945 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="51"/> |
12918 | cbradney | 1946 | <source>getPageType() -> integer |
1947 | |||
1948 | Returns the type of the Page, 0 means left Page, 1 is a middle Page and 2 is a right Page |
||
1949 | </source> |
||
1950 | <translation type="unfinished"></translation> |
||
1951 | </message> |
||
1952 | <message> |
||
14474 | cbradney | 1953 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="60"/> |
12918 | cbradney | 1954 | <source>savePageAsEPS("name") |
1955 | |||
1956 | Saves the current page as an EPS to the file "name". |
||
1957 | |||
1958 | May raise ScribusError if the save failed. |
||
1959 | </source> |
||
1960 | <translation type="unfinished">savePageAsEPS("name") |
||
1961 | |||
1962 | Guarda la página actual como un EPS al archivo "name". |
||
1963 | |||
1964 | Puede lanzar la excpeción ScribusError si hubo un error al guardar. |
||
1965 | </translation> |
||
1966 | </message> |
||
1967 | <message> |
||
14474 | cbradney | 1968 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="71"/> |
12918 | cbradney | 1969 | <source>deletePage(nr) |
1970 | |||
1971 | Deletes the given page. Does nothing if the document contains only one page. |
||
1972 | Page numbers are counted from 1 upwards, no matter what the displayed first |
||
1973 | page number is. |
||
1974 | |||
1975 | May raise IndexError if the page number is out of range |
||
1976 | </source> |
||
1977 | <translation type="unfinished">deletePage(nr) |
||
1978 | |||
1979 | Borra la página "nr". No hace nada si el documento sólo tiene una página. |
||
1980 | Los números de página van del 1 en adelante, independientemente del |
||
1981 | mostrado en la primera página. |
||
1982 | |||
1983 | Puede lanzar la excepción IndexError si el número de página está fuera de rango. |
||
1984 | </translation> |
||
1985 | </message> |
||
1986 | <message> |
||
14474 | cbradney | 1987 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="84"/> |
12918 | cbradney | 1988 | <source>gotoPage(nr) |
1989 | |||
1990 | Moves to the page "nr" (that is, makes the current page "nr"). Note that |
||
1991 | gotoPage doesn't (currently) change the page the user's view is displaying, it |
||
1992 | just sets the page that script commands will operates on. |
||
1993 | |||
1994 | May raise IndexError if the page number is out of range. |
||
1995 | </source> |
||
1996 | <translation type="unfinished"></translation> |
||
1997 | </message> |
||
1998 | <message> |
||
14474 | cbradney | 1999 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="97"/> |
12918 | cbradney | 2000 | <source>pageCount() -> integer |
2001 | |||
2002 | Returns the number of pages in the document. |
||
2003 | </source> |
||
2004 | <translation type="unfinished">pageCount() -> integer |
||
2005 | |||
2006 | Devuelve el número de páginas del documento. |
||
2007 | </translation> |
||
2008 | </message> |
||
2009 | <message> |
||
14474 | cbradney | 2010 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="106"/> |
12918 | cbradney | 2011 | <source>getHGuides() -> list |
2012 | |||
2013 | Returns a list containing positions of the horizontal guides. Values are in the |
||
2014 | document's current units - see UNIT_<type> constants. |
||
2015 | </source> |
||
2016 | <translation type="unfinished">getHGuides() -> list |
||
2017 | |||
2018 | Devuelve una lista que contiene las posiciones de las guías horizontales. |
||
2019 | Los valores están en las unidades actuales del documento - ver las |
||
2020 | constantes UNIT_<tipo>. |
||
2021 | </translation> |
||
2022 | </message> |
||
2023 | <message> |
||
14474 | cbradney | 2024 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="116"/> |
12918 | cbradney | 2025 | <source>setHGuides(list) |
2026 | |||
2027 | Sets horizontal guides. Input parameter must be a list of guide positions |
||
2028 | measured in the current document units - see UNIT_<type> constants. |
||
2029 | |||
2030 | Example: setHGuides(getHGuides() + [200.0, 210.0] # add new guides without any lost |
||
2031 | setHGuides([90,250]) # replace current guides entirely |
||
2032 | </source> |
||
2033 | <translation type="unfinished">setHGuides(list) |
||
2034 | |||
2035 | Establece las guías horizontales. El parámetro debe ser una lista de |
||
2036 | posiciones medidas en las unidades actuales del documento - ver |
||
2037 | las constantes UNIT_<tipo>. |
||
2038 | |||
2039 | Ejemplo: setHGuides(getHGuides() + [200.0, 210.0] # añade guías sin perder ninguna |
||
2040 | setHGuides([90,250]) # reemplaza las guías actuales |
||
2041 | </translation> |
||
2042 | </message> |
||
2043 | <message> |
||
14474 | cbradney | 2044 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="129"/> |
12918 | cbradney | 2045 | <source>getVGuides() |
2046 | |||
2047 | See getHGuides. |
||
2048 | </source> |
||
2049 | <translation type="unfinished">getVGuides() |
||
2050 | |||
2051 | Ver getHGuides. |
||
2052 | </translation> |
||
2053 | </message> |
||
2054 | <message> |
||
14474 | cbradney | 2055 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="138"/> |
12918 | cbradney | 2056 | <source>setVGuides() |
2057 | |||
2058 | See setHGuides. |
||
2059 | </source> |
||
2060 | <translation type="unfinished">setVGuides() |
||
2061 | |||
2062 | Ver setHGuides. |
||
2063 | </translation> |
||
2064 | </message> |
||
2065 | <message> |
||
14474 | cbradney | 2066 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="147"/> |
12918 | cbradney | 2067 | <source>getPageSize() -> tuple |
2068 | |||
2069 | Returns a tuple with page dimensions measured in the document's current units. |
||
2070 | See UNIT_<type> constants and getPageMargins() |
||
2071 | </source> |
||
2072 | <translation type="unfinished">getPageSize() -> tuple |
||
2073 | |||
2074 | Devuelve un vector con las dimensiones de página medidas en las unidades |
||
2075 | actuales del documento. Ver las constantes UNIT_<tipo> y getPageMargins() |
||
2076 | </translation> |
||
2077 | </message> |
||
2078 | <message> |
||
14474 | cbradney | 2079 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="161"/> |
2080 | <source>getPageNSize() -> tuple |
||
2081 | |||
2082 | Returns a tuple with a particular page's size measured in the document's current units. |
||
2083 | See UNIT_<type> constants and getPageMargins() |
||
2084 | </source> |
||
2085 | <translation type="unfinished"></translation> |
||
2086 | </message> |
||
2087 | <message> |
||
2088 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="174"/> |
||
2089 | <source>getPageNMargins() -> tuple |
||
2090 | |||
2091 | Returns a tuple with a particular page's margins measured in the document's current units. |
||
2092 | See UNIT_<type> constants and getPageMargins() |
||
2093 | </source> |
||
2094 | <translation type="unfinished"></translation> |
||
2095 | </message> |
||
2096 | <message> |
||
2097 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="187"/> |
||
12918 | cbradney | 2098 | <source>getPageItems() -> list |
2099 | |||
2100 | Returns a list of tuples with items on the current page. The tuple is: |
||
2101 | (name, objectType, order) E.g. [('Text1', 4, 0), ('Image1', 2, 1)] |
||
2102 | means that object named 'Text1' is a text frame (type 4) and is the first at |
||
2103 | the page... |
||
2104 | </source> |
||
2105 | <translation type="unfinished">getPageItems() -> list |
||
2106 | |||
2107 | Devuelve una lista de vectores con los objetos de la página actual. |
||
2108 | El vector es (nombre, tipoDeObjeto, orden). |
||
2109 | P. ej. [('Texto1', 4, 0), ('Imagen1', 2, 1)] significa que el objeto 'Texto1' |
||
2110 | es un marco de texto (tipo 4) y es el primero de la página... |
||
2111 | </translation> |
||
2112 | </message> |
||
2113 | <message> |
||
14474 | cbradney | 2114 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="203"/> |
12918 | cbradney | 2115 | <source>getPageMargins() |
2116 | |||
2117 | Returns the page margins as a (top, left, right, bottom) tuple in the current |
||
2118 | units. See UNIT_<type> constants and getPageSize(). |
||
2119 | </source> |
||
2120 | <translation type="unfinished">getPageMargins() |
||
2121 | |||
2122 | Devuelve los márgenes de página como un vector (arriba, izquierda, derecha, abajo) |
||
2123 | en las unidades actuales. Ver las constantes UNIT_<tipo> y getPageSize(). |
||
2124 | </translation> |
||
2125 | </message> |
||
2126 | <message> |
||
14474 | cbradney | 2127 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="216"/> |
12918 | cbradney | 2128 | <source>importPage("fromDoc", (pageList), [create, imortwhere, importwherePage]) |
2129 | |||
2130 | Imports a set of pages (given as a tuple) from an existing document (the file name must be given). This functions maps the "Page->Import" dropdown menu function. |
||
2131 | fromDoc: string; the filename of the document to import pages from |
||
2132 | pageList: tuple with page numbers of pages to import |
||
2133 | create: number; 0 to replace existing pages, 1 (default) to insert new pages |
||
2134 | importWhere: number; the page number (of the current document) at which import the pages |
||
2135 | importWherePage: number; used if create==1; 0 to create pages before selected page; 1 to create pages after selected page; 2 (default) to create pages at the end of the document |
||
2136 | </source> |
||
2137 | <translation type="unfinished"></translation> |
||
2138 | </message> |
||
2139 | <message> |
||
14474 | cbradney | 2140 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="17"/> |
3064 | cbradney | 2141 | <source>setGradientFill(type, "color1", shade1, "color2", shade2, ["name"]) |
952 | cbradney | 2142 | |
2143 | Sets the gradient fill of the object "name" to type. Color descriptions are |
||
2144 | the same as for setFillColor() and setFillShade(). See the constants for |
||
3064 | cbradney | 2145 | available types (FILL_<type>). |
952 | cbradney | 2146 | </source> |
12612 | cbradney | 2147 | <translation type="unfinished">setGradientFill(type, "color1", shade1, "color2", shade2, ["name"]) |
974 | cbradney | 2148 | |
2149 | Establece el degradado de relleno del objeto con nombre "name" como |
||
2150 | tipo "type". Las descripciones de color son las mismas que para setFillColor() |
||
3064 | cbradney | 2151 | y setFillShade(). Ver las constantes FILL_<tipo> para los tipos disponibles. |
974 | cbradney | 2152 | </translation> |
952 | cbradney | 2153 | </message> |
2154 | <message> |
||
14474 | cbradney | 2155 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="28"/> |
2156 | <source>setGradientStop("color", shade, opacity, ramppoint, ["name"]) |
||
2157 | |||
2158 | Set or add a gradient stop to the gradient fill of the object "name" at position ramppoint. |
||
2159 | Color descriptions are the same as for setFillColor() and setFillShade(). setGradientFill() |
||
2160 | must have been called previously for the gradient fill to be visible. |
||
2161 | </source> |
||
2162 | <translation type="unfinished"></translation> |
||
2163 | </message> |
||
2164 | <message> |
||
2165 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="39"/> |
||
12918 | cbradney | 2166 | <source>setFillColor("color", ["name"]) |
2167 | |||
2168 | Sets the fill color of the object "name" to the color "color". "color" |
||
2169 | is the name of one of the defined colors. If "name" is not given the |
||
2170 | currently selected item is used. |
||
2171 | </source> |
||
2172 | <translation type="unfinished">setFillColor("color", ["name"]) |
||
2173 | |||
2174 | Establece el color de relleno del objeto "name" al color "color". |
||
2175 | "color" es el nombre de uno de los colores definidos. |
||
2176 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2177 | </translation> |
||
2178 | </message> |
||
2179 | <message> |
||
14474 | cbradney | 2180 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="50"/> |
12918 | cbradney | 2181 | <source>setFillTransparency(transparency, ["name"]) |
2182 | |||
2183 | Sets the fill transparency of the object "name" to transparency |
||
2184 | If "name" is not given the currently selected item is used. |
||
2185 | </source> |
||
2186 | <translation type="unfinished"></translation> |
||
2187 | </message> |
||
2188 | <message> |
||
14474 | cbradney | 2189 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="60"/> |
12918 | cbradney | 2190 | <source>setFillBlendmode(blendmode, ["name"]) |
2191 | |||
2192 | Sets the fill blendmode of the object "name" to blendmode |
||
2193 | If "name" is not given the currently selected item is used. |
||
2194 | </source> |
||
2195 | <translation type="unfinished"></translation> |
||
2196 | </message> |
||
2197 | <message> |
||
14474 | cbradney | 2198 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="70"/> |
12918 | cbradney | 2199 | <source>setLineColor("color", ["name"]) |
2200 | |||
2201 | Sets the line color of the object "name" to the color "color". If "name" |
||
2202 | is not given the currently selected item is used. |
||
2203 | </source> |
||
2204 | <translation type="unfinished">setLineColor("color", ["name"]) |
||
2205 | |||
2206 | Establece el color de línea del objeto "name" al color "color". |
||
2207 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2208 | </translation> |
||
2209 | </message> |
||
2210 | <message> |
||
14474 | cbradney | 2211 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="80"/> |
12918 | cbradney | 2212 | <source>setLineTransparency(transparency, ["name"]) |
2213 | |||
2214 | Sets the line transparency of the object "name" to transparency |
||
2215 | If "name" is not given the currently selected item is used. |
||
2216 | </source> |
||
2217 | <translation type="unfinished"></translation> |
||
2218 | </message> |
||
2219 | <message> |
||
14474 | cbradney | 2220 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="90"/> |
12918 | cbradney | 2221 | <source>setLineBlendmode(blendmode, ["name"]) |
2222 | |||
2223 | Sets the line blendmode of the object "name" to blendmode |
||
2224 | If "name" is not given the currently selected item is used. |
||
2225 | </source> |
||
2226 | <translation type="unfinished"></translation> |
||
2227 | </message> |
||
2228 | <message> |
||
14474 | cbradney | 2229 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="100"/> |
12918 | cbradney | 2230 | <source>setLineWidth(width, ["name"]) |
2231 | |||
2232 | Sets line width of the object "name" to "width". "width" must be in the |
||
2233 | range from 0.0 to 12.0 inclusive, and is measured in points. If "name" is not |
||
2234 | given the currently selected item is used. |
||
2235 | |||
2236 | May raise ValueError if the line width is out of bounds. |
||
2237 | </source> |
||
2238 | <translation type="unfinished">setLineWidth(width, ["name"]) |
||
2239 | |||
2240 | Establece el ancho de línea del objeto "name" a "width". "width" debe estar |
||
2241 | en el rango de 0.0 a 12.0 inclusive, y se miede en puntos. |
||
2242 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2243 | |||
2244 | Puede lanzar la excepción ValueError si el ancho de línea está fuera de rango. |
||
2245 | </translation> |
||
2246 | </message> |
||
2247 | <message> |
||
14474 | cbradney | 2248 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="113"/> |
12918 | cbradney | 2249 | <source>setLineShade(shade, ["name"]) |
2250 | |||
2251 | Sets the shading of the line color of the object "name" to "shade". |
||
2252 | "shade" must be an integer value in the range from 0 (lightest) to 100 |
||
2253 | (full color intensity). If "name" is not given the currently selected item |
||
2254 | is used. |
||
2255 | |||
2256 | May raise ValueError if the line shade is out of bounds. |
||
2257 | </source> |
||
2258 | <translation type="unfinished">setLineShade(shade, ["name"]) |
||
2259 | |||
2260 | Establece la saturación del color de línea del objeto "name" a "shade". |
||
2261 | "shade" debe ser un valor entero en el rango de 0 (más claro) a 100 |
||
2262 | (color de mayor intensidad). |
||
2263 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2264 | |||
2265 | Puede lanzar la excepción ValueError si la saturación está fuera de rango. |
||
2266 | </translation> |
||
2267 | </message> |
||
2268 | <message> |
||
14474 | cbradney | 2269 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="127"/> |
12918 | cbradney | 2270 | <source>setLineJoin(join, ["name"]) |
2271 | |||
2272 | Sets the line join style of the object "name" to the style "join". |
||
2273 | If "name" is not given the currently selected item is used. There are |
||
2274 | predefined constants for join - JOIN_<type>. |
||
2275 | </source> |
||
2276 | <translation type="unfinished">setLineJoin(join, ["name"]) |
||
2277 | |||
2278 | Establece el estilo de unión de línea del objeto "name" al estilo "join". |
||
2279 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2280 | Hay constantes predefinidas para "join" - JOIN_<tipo>. |
||
2281 | </translation> |
||
2282 | </message> |
||
2283 | <message> |
||
14474 | cbradney | 2284 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="138"/> |
12918 | cbradney | 2285 | <source>setLineEnd(endtype, ["name"]) |
2286 | |||
2287 | Sets the line cap style of the object "name" to the style "cap". |
||
2288 | If "name" is not given the currently selected item is used. There are |
||
2289 | predefined constants for "cap" - CAP_<type>. |
||
2290 | </source> |
||
2291 | <translation type="unfinished">setLineEnd(endtype, ["name"]) |
||
2292 | |||
2293 | Establece el estilo de extremo de línea del objeto "name" al estilo "cap". |
||
2294 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2295 | Hay constantes predefinidas para "cap" - CAP_<tipo>. |
||
2296 | </translation> |
||
2297 | </message> |
||
2298 | <message> |
||
14474 | cbradney | 2299 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="149"/> |
12918 | cbradney | 2300 | <source>setLineStyle(style, ["name"]) |
2301 | |||
2302 | Sets the line style of the object "name" to the style "style". If "name" |
||
2303 | is not given the currently selected item is used. There are predefined |
||
2304 | constants for "style" - LINE_<style>. |
||
2305 | </source> |
||
2306 | <translation type="unfinished">setLineStyle(style, ["name"]) |
||
2307 | |||
2308 | Establece el estilo de línea del objeto "name" al estilo "style". |
||
2309 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2310 | Hay constantes predefinidas para "style" - LINE_<tipo>. |
||
2311 | </translation> |
||
2312 | </message> |
||
2313 | <message> |
||
14474 | cbradney | 2314 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="160"/> |
12918 | cbradney | 2315 | <source>setFillShade(shade, ["name"]) |
2316 | |||
2317 | Sets the shading of the fill color of the object "name" to "shade". |
||
2318 | "shade" must be an integer value in the range from 0 (lightest) to 100 |
||
2319 | (full Color intensity). If "name" is not given the currently selected |
||
2320 | Item is used. |
||
2321 | |||
2322 | May raise ValueError if the fill shade is out of bounds. |
||
2323 | </source> |
||
2324 | <translation type="unfinished">setFillShade(shade, ["name"]) |
||
2325 | |||
2326 | Establece la saturación del color de relleno del objeto "name" a "shade". |
||
2327 | "shade" debe ser un valor entero en el rango de 0 (más claro) a 100 |
||
2328 | (color de mayor intensidad). |
||
2329 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2330 | |||
2331 | Puede lanzar la excepción ValueError si la saturación está fuera de rango. |
||
2332 | </translation> |
||
2333 | </message> |
||
2334 | <message> |
||
14474 | cbradney | 2335 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="174"/> |
12918 | cbradney | 2336 | <source>setCornerRadius(radius, ["name"]) |
2337 | |||
2338 | Sets the corner radius of the object "name". The radius is expressed |
||
2339 | in points. If "name" is not given the currently selected item is used. |
||
2340 | |||
2341 | May raise ValueError if the corner radius is negative. |
||
2342 | </source> |
||
2343 | <translation type="unfinished">setCornerRadius(radius, ["name"]) |
||
2344 | |||
2345 | Establece el radio de las esquinas del objeto "name". El radio está |
||
2346 | expreado en puntos. |
||
2347 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2348 | |||
2349 | Puede lanzar la excepción ValueError si el radio está fuera de rango. |
||
2350 | </translation> |
||
2351 | </message> |
||
2352 | <message> |
||
14474 | cbradney | 2353 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="186"/> |
12918 | cbradney | 2354 | <source>setMultiLine("namedStyle", ["name"]) |
2355 | |||
2356 | Sets the line style of the object "name" to the named style "namedStyle". |
||
2357 | If "name" is not given the currently selected item is used. |
||
2358 | |||
2359 | May raise NotFoundError if the line style doesn't exist. |
||
2360 | </source> |
||
2361 | <translation type="unfinished">setMultiLine("namedStyle", ["name"]) |
||
2362 | |||
2363 | Establece el estilo de línea del objeto "name" al estilo de nombre "namedStyle". |
||
2364 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2365 | |||
2366 | Puede lanzar la excepción NotFoundError si el estilo de línea no existe. |
||
2367 | </translation> |
||
2368 | </message> |
||
2369 | <message> |
||
14474 | cbradney | 2370 | <location filename="../../../scribus/plugins/scriptplugin/cmdstyle.h" line="22"/> |
12918 | cbradney | 2371 | <source>createParagraphStyle(...) |
2372 | |||
2373 | Creates a paragraph style. This function takes the following keyword parameters: |
||
2374 | |||
2375 | "name" [required] -> specifies the name of the paragraphstyle to create |
||
2376 | |||
2377 | linespacingmode [optional] -> specifies the linespacing mode; possible modes are: |
||
2378 | |||
2379 | fixed linespacing: 0 |
||
2380 | |||
2381 | automatic linespacing: 1 |
||
2382 | |||
2383 | baseline grid linespacing: 2 |
||
2384 | |||
2385 | linespacing [optional] -> specifies the linespacing if using fixed linespacing |
||
2386 | |||
2387 | alignment [optional] -> specifies the alignment of the paragraph |
||
2388 | |||
2389 | -> left: 0 |
||
2390 | |||
2391 | -> center: 1 |
||
2392 | |||
2393 | -> right: 2 |
||
2394 | |||
2395 | -> justify: 3 |
||
2396 | |||
2397 | -> extend: 4 |
||
2398 | |||
2399 | leftmargin [optional], rightmargin [optional] -> specify the margin |
||
2400 | |||
2401 | gapbefore [optional], gapafter [optional] -> specify the gaps to the heading and following paragraphs |
||
2402 | |||
2403 | firstindent [optional] -> the indent of the first line |
||
2404 | |||
2405 | hasdropcap [optional] -> specifies if there are caps (1 = yes, 0 = no) |
||
2406 | |||
2407 | dropcaplines [optional] -> height (in lines) of the caps if used |
||
2408 | |||
2409 | dropcapoffset [optional] -> offset of the caps if used |
||
2410 | |||
2411 | "charstyle" [optional] -> char style to use |
||
2412 | |||
2413 | </source> |
||
2414 | <translation type="unfinished">createParagraphStyle(...) |
||
2415 | |||
2416 | Crea un estilo de párrafo. Esta función toma los siguientes parámetros: |
||
2417 | |||
2418 | "name" [requerido] -> especifica el nombre del estilo de párrafo a crear |
||
2419 | |||
2420 | linespacingmode [opcional] -> especifica el modo de interlineado; los modos posibles son: |
||
2421 | |||
2422 | interlineado corregido: 0 |
||
2423 | |||
2424 | interlineado automático: 1 |
||
2425 | |||
2426 | interlineado en base a rejilla: 2 |
||
2427 | |||
2428 | linespacing [opcional] -> especifica el interlineado si se usa interlineado corregido |
||
2429 | |||
2430 | alignment [opcional] -> especifica la alineación del párrafo |
||
2431 | |||
2432 | -> izquierda: 0 |
||
2433 | |||
2434 | -> centrado : 1 |
||
2435 | |||
2436 | -> derecha: 2 |
||
2437 | |||
2438 | -> justificado: 3 |
||
2439 | |||
2440 | -> forzado: 4 |
||
2441 | |||
2442 | leftmargin [opcional], rightmargin [opcional] -> especifica los márgenes |
||
2443 | |||
2444 | gapbefore [opcional], gapafter [opcional] -> especifica el espaciado con el párrafo anterior y posterior |
||
2445 | |||
2446 | firstindent [opcional] -> la sangría de la primera línea |
||
2447 | |||
2448 | hasdropcap [opcional] -> especifica si hay mayúsculas (1 = sí, 0 = no) |
||
2449 | |||
2450 | dropcaplines [opcional] -> altura (en líneas) de las mayúsculas si se usa |
||
2451 | |||
2452 | dropcapoffset [opcional] -> desplazamiento de las mayúsculas si se usa |
||
2453 | |||
2454 | "charstyle" [opcional] -> estilo de carácter a usar |
||
2455 | |||
2456 | </translation> |
||
2457 | </message> |
||
2458 | <message> |
||
14474 | cbradney | 2459 | <location filename="../../../scribus/plugins/scriptplugin/cmdstyle.h" line="52"/> |
12918 | cbradney | 2460 | <source>createCharStyle(...) |
2461 | |||
2462 | Creates a character style. This function takes the following keyword parameters: |
||
2463 | |||
2464 | "name" [required] -> name of the char style to create |
||
2465 | |||
2466 | "font" [optional] -> name of the font to use |
||
2467 | |||
2468 | fontsize [optional] -> font size to set (double) |
||
2469 | |||
2470 | "features" [optional] -> nearer typographic details can be defined by a string that might contain the following phrases comma-seperated (without spaces!): |
||
2471 | |||
2472 | -> inherit |
||
2473 | |||
2474 | -> bold |
||
2475 | |||
2476 | -> italic |
||
2477 | |||
2478 | -> underline |
||
2479 | |||
2480 | -> underlinewords |
||
2481 | |||
2482 | -> strike |
||
2483 | |||
2484 | -> superscript |
||
2485 | |||
2486 | -> subscript |
||
2487 | |||
2488 | -> outline |
||
2489 | |||
2490 | -> shadowed |
||
2491 | |||
2492 | -> allcaps |
||
2493 | |||
2494 | -> smallcaps |
||
2495 | |||
2496 | "fillcolor" [optional], "fillshade" [optional] -> specify fill options |
||
2497 | |||
2498 | "strokecolor" [optional], "strokeshade" [optional] -> specify stroke options |
||
2499 | |||
2500 | baselineoffset [optional] -> offset of the baseline |
||
2501 | |||
2502 | shadowxoffset [optional], shadowyoffset [optional] -> offset of the shadow if used |
||
2503 | |||
2504 | outlinewidth [optional] -> width of the outline if used |
||
2505 | |||
2506 | underlineoffset [optional], underlinewidth [optional] -> underline options if used |
||
2507 | |||
2508 | strikethruoffset [optional], strikethruwidth [optional] -> strikethru options if used |
||
2509 | |||
2510 | scaleh [optional], scalev [optional] -> scale of the chars |
||
2511 | |||
2512 | tracking [optional] -> tracking of the text |
||
2513 | |||
2514 | "language" [optional] -> language code |
||
2515 | |||
2516 | </source> |
||
2517 | <translation type="unfinished"></translation> |
||
2518 | </message> |
||
2519 | <message> |
||
14474 | cbradney | 2520 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="17"/> |
3064 | cbradney | 2521 | <source>getFontSize(["name"]) -> float |
952 | cbradney | 2522 | |
2523 | Returns the font size in points for the text frame "name". If this text |
||
2524 | frame has some text selected the value assigned to the first character of |
||
2525 | the selection is returned. |
||
2526 | If "name" is not given the currently selected item is used. |
||
2527 | </source> |
||
12612 | cbradney | 2528 | <translation type="unfinished">getFontSize(["name"]) -> float |
974 | cbradney | 2529 | |
11812 | mrdocs | 2530 | Devuelve el tamaño de tipografía en puntos del marco de texto con nombre |
974 | cbradney | 2531 | "name". Si el marco de texto tiene texto seleccionado, devuelve el del |
11812 | mrdocs | 2532 | primer carácter de la selección. |
2533 | Si no se le pasa un nombre, se usa el objeto que esté seleccionado. |
||
974 | cbradney | 2534 | </translation> |
952 | cbradney | 2535 | </message> |
2536 | <message> |
||
14474 | cbradney | 2537 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="29"/> |
12918 | cbradney | 2538 | <source>getFont(["name"]) -> string |
2539 | |||
2540 | Returns the font name for the text frame "name". If this text frame |
||
2541 | has some text selected the value assigned to the first character |
||
2542 | of the selection is returned. If "name" is not given the currently |
||
2543 | selected item is used. |
||
2544 | </source> |
||
2545 | <translation type="unfinished">getFont(["name"]) -> string |
||
2546 | |||
2547 | Devuelve el nombre de la tipografía del marco de texto "name". Si el |
||
2548 | marco de texto tiene texto seleccionado, devuelve el del primer |
||
2549 | caracter de la selección. |
||
2550 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2551 | </translation> |
||
2552 | </message> |
||
2553 | <message> |
||
14474 | cbradney | 2554 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="41"/> |
12918 | cbradney | 2555 | <source>getTextLength(["name"]) -> integer |
2556 | |||
2557 | Returns the length of the text in the text frame "name". |
||
2558 | If "name" is not given the currently selected item is used. |
||
2559 | </source> |
||
2560 | <translation type="unfinished">getTextLength(["name"]) -> integer |
||
2561 | |||
2562 | Devuelve la longitud del texto en el marco de texto "name". |
||
2563 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2564 | </translation> |
||
2565 | </message> |
||
2566 | <message> |
||
14474 | cbradney | 2567 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="51"/> |
12918 | cbradney | 2568 | <source>getTextLines(["name"]) -> integer |
2569 | |||
2570 | Returns the number of lines of the text in the text frame "name". |
||
2571 | If "name" is not given the currently selected item is used. |
||
2572 | </source> |
||
2573 | <translation type="unfinished"></translation> |
||
2574 | </message> |
||
2575 | <message> |
||
14474 | cbradney | 2576 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="61"/> |
12918 | cbradney | 2577 | <source>getText(["name"]) -> string |
2578 | |||
2579 | Returns the text of the text frame "name". If this text frame has some text |
||
2580 | selected, the selected text is returned. All text in the frame, not just |
||
2581 | currently visible text, is returned. If "name" is not given the currently |
||
2582 | selected item is used. |
||
2583 | </source> |
||
2584 | <translation type="unfinished">getText(["name"]) -> string |
||
2585 | |||
2586 | Devuelve el texto del marco de texto "name". Si el marco de texto |
||
2587 | tiene texto seleccionado, devuelve el texto seleccionado. Devuelve |
||
2588 | todo el texto del marco, no solo el que se ve actualmente. |
||
2589 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2590 | </translation> |
||
2591 | </message> |
||
2592 | <message> |
||
14474 | cbradney | 2593 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="73"/> |
12918 | cbradney | 2594 | <source>getAllText(["name"]) -> string |
2595 | |||
2596 | Returns the text of the text frame "name" and of all text frames which are |
||
2597 | linked with this frame. If this textframe has some text selected, the selected |
||
2598 | text is returned. If "name" is not given the currently selected item is |
||
2599 | used. |
||
2600 | </source> |
||
2601 | <translation type="unfinished">getAllText(["name"]) -> string |
||
2602 | |||
2603 | Devuelve el texto del marco de texto "name" y de todos los marcos de texto |
||
2604 | que están enlazados con este marco. Si el marco de texto tiene texto |
||
2605 | seleccionado, devuelve el texto seleccionado. |
||
2606 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2607 | </translation> |
||
2608 | </message> |
||
2609 | <message> |
||
14474 | cbradney | 2610 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="85"/> |
12918 | cbradney | 2611 | <source>getLineSpacing(["name"]) -> float |
2612 | |||
2613 | Returns the line spacing ("leading") of the text frame "name" expressed in |
||
2614 | points. If "name" is not given the currently selected item is used. |
||
2615 | </source> |
||
2616 | <translation type="unfinished">getLineSpacing(["name"]) -> float |
||
2617 | |||
2618 | Devuelve el interlineado del marco de texto "name" expresado en puntos. |
||
2619 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2620 | </translation> |
||
2621 | </message> |
||
2622 | <message> |
||
14474 | cbradney | 2623 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="95"/> |
12918 | cbradney | 2624 | <source>getTextDistances(["name"]) -> tuple |
2625 | |||
2626 | Returns the text distances of the text frame "name" expressed in points. The |
||
2627 | distances are returned as a tuple like (left, right, top, bottom). If "name" |
||
2628 | is not given the currently selected item is used. |
||
2629 | </source> |
||
2630 | <translation type="unfinished"></translation> |
||
2631 | </message> |
||
2632 | <message> |
||
14474 | cbradney | 2633 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="106"/> |
12918 | cbradney | 2634 | <source>getColumnGap(["name"]) -> float |
2635 | |||
2636 | Returns the column gap size of the text frame "name" expressed in points. If |
||
2637 | "name" is not given the currently selected item is used. |
||
2638 | </source> |
||
2639 | <translation type="unfinished">getColumnGap(["name"]) -> float |
||
2640 | |||
2641 | Devuelve la distancia entre columnas del marco de texto "name" expresado |
||
2642 | en puntos. Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2643 | |||
2644 | </translation> |
||
2645 | </message> |
||
2646 | <message> |
||
14474 | cbradney | 2647 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="116"/> |
12918 | cbradney | 2648 | <source>getColumns(["name"]) -> integer |
2649 | |||
2650 | Gets the number of columns of the text frame "name". If "name" is not |
||
2651 | given the currently selected item is used. |
||
2652 | </source> |
||
2653 | <translation type="unfinished">getColumns(["name"]) -> integer |
||
2654 | |||
2655 | Devuelve el número de columnas del marco de texto "name". |
||
2656 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2657 | </translation> |
||
2658 | </message> |
||
2659 | <message> |
||
14474 | cbradney | 2660 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="126"/> |
12918 | cbradney | 2661 | <source>setText("text", ["name"]) |
2662 | |||
2663 | Sets the text of the text frame "name" to the text of the string "text". |
||
2664 | Text must be UTF8 encoded - use e.g. unicode(text, 'iso-8859-2'). See the FAQ |
||
2665 | for more details. If "name" is not given the currently selected item is |
||
2666 | used. |
||
2667 | </source> |
||
2668 | <translation type="unfinished">setText("text", ["name"]) |
||
2669 | |||
2670 | Establece el texto del marco de texto "name" al texto de la cadena "text". |
||
2671 | El texto debe estar codificado en UTF8 - usa p. ej. unicode("text", 'iso-8859-2'). |
||
2672 | Ver las FAQ para más detalles. |
||
2673 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2674 | </translation> |
||
2675 | </message> |
||
2676 | <message> |
||
14474 | cbradney | 2677 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="138"/> |
12918 | cbradney | 2678 | <source>insertText("text", pos, ["name"]) |
2679 | |||
2680 | Inserts the text "text" at the position "pos" into the text frame "name". |
||
2681 | Text must be UTF encoded (see setText() as reference) The first character has an |
||
2682 | index of 0. Inserting text at position -1 appends it to the frame. If "name" is |
||
2683 | not given the currently selected Item is used. |
||
2684 | |||
2685 | May throw IndexError for an insertion out of bounds. |
||
2686 | </source> |
||
2687 | <translation type="unfinished"></translation> |
||
2688 | </message> |
||
2689 | <message> |
||
14474 | cbradney | 2690 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="152"/> |
12918 | cbradney | 2691 | <source>setFont("font", ["name"]) |
2692 | |||
2693 | Sets the font of the text frame "name" to "font". If there is some text |
||
2694 | selected only the selected text is changed. If "name" is not given the |
||
2695 | currently selected item is used. |
||
2696 | |||
2697 | May throw ValueError if the font cannot be found. |
||
2698 | </source> |
||
2699 | <translation type="unfinished">setFont("font", ["name"]) |
||
2700 | |||
2701 | Establece la tipografía del marco de texto "name" a "font". Si hay texto |
||
2702 | seleccionado sólo cambia la del texto seleccionado. |
||
2703 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2704 | |||
2705 | Puede lanzar la excepción ValueError si no se puede encontrar la tipografía. |
||
2706 | </translation> |
||
2707 | </message> |
||
2708 | <message> |
||
14474 | cbradney | 2709 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="165"/> |
12918 | cbradney | 2710 | <source>setFontSize(size, ["name"]) |
2711 | |||
2712 | Sets the font size of the text frame "name" to "size". "size" is treated |
||
2713 | as a value in points. If there is some text selected only the selected text is |
||
2714 | changed. "size" must be in the range 1 to 512. If "name" is not given the |
||
2715 | currently selected item is used. |
||
2716 | |||
2717 | May throw ValueError for a font size that's out of bounds. |
||
2718 | </source> |
||
2719 | <translation type="unfinished">setFontSize(size, ["name"]) |
||
2720 | |||
2721 | Establece el tamaño de tipografía del marco de texto "name" a "size". |
||
2722 | "size" debe ser un valor en puntos. Si hay texto seleccionado sólo |
||
2723 | cambia la del texto seleccionado. "size" debe ser un entero en el |
||
2724 | rango 1 a 512. |
||
2725 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2726 | |||
2727 | Puede lanzar la excepción ValueError si el tamaño está fuera de rango. |
||
2728 | </translation> |
||
2729 | </message> |
||
2730 | <message> |
||
14474 | cbradney | 2731 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="179"/> |
12918 | cbradney | 2732 | <source>setLineSpacing(size, ["name"]) |
2733 | |||
2734 | Sets the line spacing ("leading") of the text frame "name" to "size". |
||
2735 | "size" is a value in points. If "name" is not given the currently selected |
||
2736 | item is used. |
||
2737 | |||
2738 | May throw ValueError if the line spacing is out of bounds. |
||
2739 | </source> |
||
2740 | <translation type="unfinished">setLineSpacing(size, ["name"]) |
||
2741 | |||
2742 | Establece el interlineado del marco de texto "name" a "size". |
||
2743 | "size" es un valor en puntos. |
||
2744 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2745 | |||
2746 | Puede lanzar la excepción ValueError si el interlineado está fuera de rango. |
||
2747 | </translation> |
||
2748 | </message> |
||
2749 | <message> |
||
14474 | cbradney | 2750 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="192"/> |
2751 | <source>setLineSpacingMode(mode, ["name"]) |
||
2752 | |||
2753 | Sets the line spacing mode of the text frame "name" to "mode". |
||
2754 | If "name" is not given the currently selected |
||
2755 | item is used. |
||
2756 | Mode values are the same as in createParagraphStyle. |
||
2757 | |||
2758 | May throw ValueError if the mode is out of bounds. |
||
2759 | </source> |
||
2760 | <translation type="unfinished"></translation> |
||
2761 | </message> |
||
2762 | <message> |
||
2763 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="206"/> |
||
12918 | cbradney | 2764 | <source>setTextDistances(left, right, top, bottom, ["name"]) |
2765 | |||
2766 | Sets the text distances of the text frame "name" to the values "left" |
||
2767 | "right", "top" and "bottom". If "name" is not given the currently |
||
2768 | selected item is used. |
||
2769 | |||
2770 | May throw ValueError if any of the distances are out of bounds (must be positive). |
||
2771 | </source> |
||
2772 | <translation type="unfinished"></translation> |
||
2773 | </message> |
||
2774 | <message> |
||
14474 | cbradney | 2775 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="219"/> |
12918 | cbradney | 2776 | <source>setColumnGap(size, ["name"]) |
2777 | |||
2778 | Sets the column gap of the text frame "name" to the value "size". If |
||
2779 | "name" is not given the currently selected item is used. |
||
2780 | |||
2781 | May throw ValueError if the column gap is out of bounds (must be positive). |
||
2782 | </source> |
||
2783 | <translation type="unfinished">setColumnGap(size, ["name"]) |
||
2784 | |||
2785 | Establece la distancia entre columnas del marco de texto "name" al |
||
2786 | valor "size". |
||
2787 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2788 | |||
2789 | Puede lanzar la excepción ValueError si la distancia entre columnas |
||
2790 | está fuera de rango (debe ser positiva). |
||
2791 | </translation> |
||
2792 | </message> |
||
2793 | <message> |
||
14474 | cbradney | 2794 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="231"/> |
12918 | cbradney | 2795 | <source>setColumns(nr, ["name"]) |
2796 | |||
2797 | Sets the number of columns of the text frame "name" to the integer "nr". |
||
2798 | If "name" is not given the currently selected item is used. |
||
2799 | |||
2800 | May throw ValueError if number of columns is not at least one. |
||
2801 | </source> |
||
2802 | <translation type="unfinished">setColumns(nr, ["name"]) |
||
2803 | |||
2804 | Establece el número de columnas del marco de texto "name" al entero "nr". |
||
2805 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2806 | |||
2807 | Puede lanzar la excepción ValueError si el número de columnas es menor de uno. |
||
2808 | </translation> |
||
2809 | </message> |
||
2810 | <message> |
||
14474 | cbradney | 2811 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="243"/> |
12918 | cbradney | 2812 | <source>setTextAlignment(align, ["name"]) |
2813 | |||
2814 | Sets the text alignment of the text frame "name" to the specified alignment. |
||
2815 | If "name" is not given the currently selected item is used. "align" should |
||
2816 | be one of the ALIGN_ constants defined in this module - see dir(scribus). |
||
2817 | |||
2818 | May throw ValueError for an invalid alignment constant. |
||
2819 | </source> |
||
2820 | <translation type="unfinished">setTextAlignment(align, ["name"]) |
||
2821 | |||
2822 | Establece el alineamiento del marco de texto "name" al alineamiento |
||
2823 | indicado. "align" debería ser una de las constantes ALIGN_ definidas |
||
2824 | en este módulo - ver dir(scribus). |
||
2825 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2826 | |||
2827 | Puede lanzar la excepción ValueError si la constante de la alineamiento |
||
2828 | no es válida. |
||
2829 | </translation> |
||
2830 | </message> |
||
2831 | <message> |
||
14474 | cbradney | 2832 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="256"/> |
12918 | cbradney | 2833 | <source>selectText(start, count, ["name"]) |
2834 | |||
2835 | Selects "count" characters of text in the text frame "name" starting from the |
||
2836 | character "start". Character counting starts at 0. If "count" is zero, any |
||
2837 | text selection will be cleared. If "name" is not given the currently |
||
2838 | selected item is used. |
||
2839 | |||
2840 | May throw IndexError if the selection is outside the bounds of the text. |
||
2841 | </source> |
||
2842 | <translation type="unfinished"></translation> |
||
2843 | </message> |
||
2844 | <message> |
||
14474 | cbradney | 2845 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="270"/> |
12918 | cbradney | 2846 | <source>deleteText(["name"]) |
2847 | |||
2848 | Deletes any text in the text frame "name". If there is some text selected, |
||
2849 | only the selected text will be deleted. If "name" is not given the currently |
||
2850 | selected item is used. |
||
2851 | </source> |
||
2852 | <translation type="unfinished">deleteText(["name"]) |
||
2853 | |||
2854 | Borrar el texto del marco de texto "name". Si hay texto seleccionado sólo |
||
2855 | se borra el texto seleccionado. |
||
2856 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2857 | </translation> |
||
2858 | </message> |
||
2859 | <message> |
||
14474 | cbradney | 2860 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="281"/> |
12918 | cbradney | 2861 | <source>setTextColor("color", ["name"]) |
2862 | |||
2863 | Sets the text color of the text frame "name" to the color "color". If there |
||
2864 | is some text selected only the selected text is changed. If "name" is not |
||
2865 | given the currently selected item is used. |
||
2866 | </source> |
||
2867 | <translation type="unfinished">setTextColor("color", ["name"]) |
||
2868 | |||
2869 | Establece el color del texto marco de texto "name" al color "color". Si |
||
2870 | hay texto seleccionado sólo se cambia el texto seleccionado. |
||
2871 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2872 | </translation> |
||
2873 | </message> |
||
2874 | <message> |
||
14474 | cbradney | 2875 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="292"/> |
12918 | cbradney | 2876 | <source>setTextStroke("color", ["name"]) |
2877 | |||
2878 | Set "color" of the text stroke. If "name" is not given the currently |
||
2879 | selected item is used. |
||
2880 | </source> |
||
2881 | <translation type="unfinished">setTextStroke("color", ["name"]) |
||
2882 | |||
2883 | Establece el color del trazo del texto a "color". |
||
2884 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2885 | </translation> |
||
2886 | </message> |
||
2887 | <message> |
||
14474 | cbradney | 2888 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="302"/> |
2889 | <source>setTextScalingV(scale, ["name"]) |
||
2890 | |||
2891 | Sets the vertical character scaling of the object "name" to "scale" in percent. |
||
2892 | If "name" is not given the currently selected item is used. |
||
2893 | </source> |
||
2894 | <translation type="unfinished"></translation> |
||
2895 | </message> |
||
2896 | <message> |
||
2897 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="312"/> |
||
2898 | <source>setTextScalingH(scale, ["name"]) |
||
2899 | |||
2900 | Sets the horizontal character scaling of the object "name" to "scale" in percent. |
||
2901 | If "name" is not given the currently selected item is used. |
||
2902 | </source> |
||
2903 | <translation type="unfinished"></translation> |
||
2904 | </message> |
||
2905 | <message> |
||
2906 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="322"/> |
||
12918 | cbradney | 2907 | <source>setTextShade(shade, ["name"]) |
2908 | |||
2909 | Sets the shading of the text color of the object "name" to "shade". If |
||
2910 | there is some text selected only the selected text is changed. "shade" must |
||
2911 | be an integer value in the range from 0 (lightest) to 100 (full color |
||
2912 | intensity). If "name" is not given the currently selected item is |
||
2913 | used. |
||
2914 | </source> |
||
2915 | <translation type="unfinished">setTextShade(shade, ["name"]) |
||
2916 | |||
2917 | Establece la saturación del color del texto del objeto "name" a "shade". |
||
2918 | Si hay texto seleccionado, sólo cambia el texto seleccionado. "shade" |
||
2919 | debe ser un valor entero en el rango de 0 (más claro) a 100 (color de |
||
2920 | mayor intensidad). |
||
2921 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2922 | </translation> |
||
2923 | </message> |
||
2924 | <message> |
||
14474 | cbradney | 2925 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="335"/> |
12918 | cbradney | 2926 | <source>linkTextFrames("fromname", "toname") |
2927 | |||
2928 | Link two text frames. The frame named "fromname" is linked to the |
||
2929 | frame named "toname". The target frame must be an empty text frame |
||
2930 | and must not link to or be linked from any other frames already. |
||
2931 | |||
2932 | May throw ScribusException if linking rules are violated. |
||
2933 | </source> |
||
2934 | <translation type="unfinished">linkTextFrames("fromname", "toname") |
||
2935 | |||
2936 | Enlaza dos marcos de texto. El marco llamado "fromname" se enlaza al marco |
||
2937 | llamado "toname". El marco de destino debe ser un marco de texto vacío y |
||
2938 | no debe estar enlazado a otros ni desde otros marcos de texto. |
||
2939 | |||
2940 | Puede lanzar la excepción ScribusException si se violan las reglas de enlazado. |
||
2941 | </translation> |
||
2942 | </message> |
||
2943 | <message> |
||
14474 | cbradney | 2944 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="352"/> |
12918 | cbradney | 2945 | <source>unlinkTextFrames("name") |
2946 | |||
2947 | Remove the specified (named) object from the text frame flow/linkage. If the |
||
2948 | frame was in the middle of a chain, the previous and next frames will be |
||
2949 | connected, eg 'a->b->c' becomes 'a->c' when you unlinkTextFrames(b)' |
||
2950 | |||
2951 | May throw ScribusException if linking rules are violated. |
||
2952 | </source> |
||
2953 | <translation type="unfinished">unlinkTextFrames("name") |
||
2954 | |||
2955 | Elimina el objeto "name" del flujo de enlazado de marcos de texto. Si el |
||
2956 | marco estaba en medio de una cadena, los marcos anterior y siguiente |
||
2957 | se enlazarán, p. ej. 'a->b->c' pasa a ser 'a->c' al ejecutar unlinkTextFrames(b) |
||
2958 | |||
2959 | Puede lanzar la excepción ScribusException si se violan las reglas de enlazado. |
||
2960 | </translation> |
||
2961 | </message> |
||
2962 | <message> |
||
14474 | cbradney | 2963 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="369"/> |
12918 | cbradney | 2964 | <source>traceText(["name"]) |
2965 | |||
2966 | Convert the text frame "name" to outlines. If "name" is not given the |
||
2967 | currently selected item is used.</source> |
||
2968 | <translation type="unfinished">traceText(["name"]) |
||
2969 | |||
2970 | Convierte el marco de texto "name" a contornos. |
||
2971 | Si no se pasa un nombre, se aplica al objeto que esté seleccionado. |
||
2972 | </translation> |
||
2973 | </message> |
||
2974 | <message> |
||
14474 | cbradney | 2975 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="380"/> |
12918 | cbradney | 2976 | <source>textOverflows(["name", nolinks]) -> integer |
2977 | |||
2978 | Returns the actual number of overflowing characters in text frame "name". |
||
2979 | If is nolinks set to non zero value it takes only one frame - it doesn't |
||
2980 | use text frame linking. Without this parameter it search all linking chain. |
||
2981 | |||
2982 | May raise WrongFrameTypeError if the target frame is not an text frame |
||
2983 | </source> |
||
2984 | <translation type="unfinished"></translation> |
||
2985 | </message> |
||
2986 | <message> |
||
14474 | cbradney | 2987 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="393"/> |
12918 | cbradney | 2988 | <source>hyphenateText(["name"]) -> bool |
2989 | |||
2990 | Does hyphenation on text frame "name". |
||
2991 | If "name" is not given the currently selected item is used. |
||
2992 | |||
2993 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
2994 | </source> |
||
2995 | <translation type="unfinished"></translation> |
||
2996 | </message> |
||
2997 | <message> |
||
14474 | cbradney | 2998 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="407"/> |
12918 | cbradney | 2999 | <source>dehyphenateText(["name"]) -> bool |
3000 | |||
3001 | Does dehyphenation on text frame "name". |
||
3002 | If "name" is not given the currently selected item is used. |
||
3003 | |||
3004 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
3005 | </source> |
||
3006 | <translation type="unfinished"></translation> |
||
3007 | </message> |
||
3008 | <message> |
||
14474 | cbradney | 3009 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="422"/> |
12918 | cbradney | 3010 | <source>setPDFBookmark("toggle", ["name"]) |
3011 | |||
3012 | Sets whether (toggle = 1) the text frame "name" is a bookmark nor not. |
||
3013 | If "name" is not given the currently selected item is used. |
||
3014 | |||
3015 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
3016 | </source> |
||
3017 | <translation type="unfinished"></translation> |
||
3018 | </message> |
||
3019 | <message> |
||
14474 | cbradney | 3020 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="434"/> |
12918 | cbradney | 3021 | <source>isPDFBookmark(["name"]) -> bool |
3022 | |||
3023 | Returns true if the text frame "name" is a PDF bookmark. |
||
3024 | If "name" is not given the currently selected item is used. |
||
3025 | |||
3026 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
3027 | </source> |
||
3028 | <translation type="unfinished">isPDFBookmark(["name"]) -> bool |
||
3029 | |||
3030 | Devuelve si el marco de texto "name" es un marcador de PDF. |
||
3031 | Si no se pasa "name" se usa el objeto actualmente seleccionado. |
||
3032 | |||
3033 | Puede lanzar la excepción WrongFrameTypeError si el marco de destino |
||
3034 | no es un marco de texto. |
||
3035 | </translation> |
||
3036 | </message> |
||
3037 | <message> |
||
14474 | cbradney | 3038 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="17"/> |
3064 | cbradney | 3039 | <source>messagebarText("string") |
952 | cbradney | 3040 | |
3041 | Writes the "string" into the Scribus message bar (status line). The text |
||
3064 | cbradney | 3042 | must be UTF8 encoded or 'unicode' string(recommended). |
952 | cbradney | 3043 | </source> |
12612 | cbradney | 3044 | <translation type="unfinished">messagebarText("string") |
974 | cbradney | 3045 | |
3046 | Escribe la cadena "string" en la barra de mensaje (barra de estado) de Scribus. |
||
3064 | cbradney | 3047 | El texto debe estar codificado en UTF8 o 'unicode' (recomendado). |
974 | cbradney | 3048 | </translation> |
952 | cbradney | 3049 | </message> |
1525 | cbradney | 3050 | <message> |
14474 | cbradney | 3051 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="30"/> |
12918 | cbradney | 3052 | <source>progressReset() |
3053 | |||
3054 | Cleans up the Scribus progress bar previous settings. It is called before the |
||
3055 | new progress bar use. See progressSet. |
||
3056 | </source> |
||
3057 | <translation type="unfinished">progressReset() |
||
3058 | |||
3059 | Borra la barra de progreso de Scribus. Se llama antes de usar |
||
3060 | la barra de progreso. Ver progressSet. |
||
3061 | </translation> |
||
3062 | </message> |
||
3063 | <message> |
||
14474 | cbradney | 3064 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="43"/> |
12918 | cbradney | 3065 | <source>progressTotal(max) |
3066 | |||
3067 | Sets the progress bar's maximum steps value to the specified number. |
||
3068 | See progressSet. |
||
3069 | </source> |
||
3070 | <translation type="unfinished">progressTotal(max) |
||
3071 | |||
3072 | Establece el máximo número de pasos de la barra de progreso al |
||
3073 | número especificado. Ver progressSet. |
||
3074 | </translation> |
||
3075 | </message> |
||
3076 | <message> |
||
14474 | cbradney | 3077 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="52"/> |
12918 | cbradney | 3078 | <source>progressSet(nr) |
3079 | |||
3080 | Set the progress bar position to "nr", a value relative to the previously set |
||
3081 | progressTotal. The progress bar uses the concept of steps; you give it the |
||
3082 | total number of steps and the number of steps completed so far and it will |
||
3083 | display the percentage of steps that have been completed. You can specify the |
||
3084 | total number of steps with progressTotal(). The current number of steps is set |
||
3085 | with progressSet(). The progress bar can be rewound to the beginning with |
||
3086 | progressReset(). [based on info taken from Trolltech's Qt docs] |
||
3087 | </source> |
||
3088 | <translation type="unfinished">progressSet(nr) |
||
3089 | |||
3090 | Establece la posición de la barra de progreso a "nr", un valor relativo a |
||
3091 | lo puesto anteriormente con progressTotal. La barra de progreso usa el |
||
3092 | concepto de pasos, se le dice el número de pasos totales y el número |
||
3093 | pasos completado y mostrará el porcentaje de pasos que se han |
||
3094 | completado. Se puede especificar el número de pasos con progressTotal(). |
||
3095 | El número actual de pasos se establece con progressSet(). Se rebobina al |
||
3096 | principio con progressReset(). |
||
3097 | [basado en la información tomada de la documentación de Qt de Trolltech] |
||
3098 | </translation> |
||
3099 | </message> |
||
3100 | <message> |
||
14474 | cbradney | 3101 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="66"/> |
12918 | cbradney | 3102 | <source>setCursor() |
3103 | |||
3104 | [UNSUPPORTED!] This might break things, so steer clear for now. |
||
3105 | </source> |
||
3106 | <translation type="unfinished">setCursor() |
||
3107 | |||
3108 | [¡NO SOPORTADO!] |
||
3109 | Esto podría romper cosas, así que no se utiliza de momento. |
||
3110 | </translation> |
||
3111 | </message> |
||
3112 | <message> |
||
14474 | cbradney | 3113 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="78"/> |
12918 | cbradney | 3114 | <source>docChanged(bool) |
3115 | |||
3116 | Enable/disable save icon in the Scribus icon bar and the Save menu item. It's |
||
3117 | useful to call this procedure when you're changing the document, because Scribus |
||
3118 | won't automatically notice when you change the document using a script. |
||
3119 | </source> |
||
3120 | <translation type="unfinished">docChanged(bool) |
||
3121 | |||
3122 | Activa o desactiva el icono de guardar en la barra de iconos de Scribs y la |
||
3123 | opción de menú Guardar. Es útil llamarlo cuando estás cambiando el documento, |
||
3124 | porque Scribus no notará automáticamente cuando se cambie el documento |
||
3125 | con un script. |
||
3126 | </translation> |
||
3127 | </message> |
||
3128 | <message> |
||
14474 | cbradney | 3129 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="91"/> |
12918 | cbradney | 3130 | <source>zoomDocument(double) |
3131 | |||
3132 | Zoom the document in main GUI window. Actions have whole number |
||
3133 | values like 20.0, 100.0, etc. Zoom to Fit uses -100 as a marker. |
||
3134 | </source> |
||
3135 | <translation type="unfinished"></translation> |
||
3136 | </message> |
||
3137 | <message> |
||
14474 | cbradney | 3138 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="103"/> |
12918 | cbradney | 3139 | <source>scrollDocument(x,y) |
3140 | |||
3141 | Scroll the document in main GUI window by x and y. |
||
3142 | </source> |
||
3143 | <translation type="unfinished"></translation> |
||
3144 | </message> |
||
3145 | <message> |
||
14474 | cbradney | 3146 | <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="15"/> |
12918 | cbradney | 3147 | <source>placeSVG("filename", x, y) |
3148 | |||
3149 | Places the SVG "filename" onto the current page, |
||
3150 | x and y specify the coordinate of the topleft corner of the SVG placed on the page |
||
3151 | |||
3152 | If loading was successful, the selection contains the imported SVG |
||
3153 | </source> |
||
3154 | <translation type="unfinished">placeSVG("filename", x, y) |
||
3155 | |||
3156 | Inserta el archivo "filename" SVG en la página actual, |
||
3157 | x e y indican las coordenadas de la esquina superior derecha del SVG insertado en la página |
||
3158 | |||
3159 | Si la carga fue correta, la selección contiene el SVG importado |
||
3160 | </translation> |
||
3161 | </message> |
||
3162 | <message> |
||
14474 | cbradney | 3163 | <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="27"/> |
12918 | cbradney | 3164 | <source>placeEPS("filename", x, y) |
3165 | |||
3166 | Places the EPS "filename" onto the current page, |
||
3167 | x and y specify the coordinate of the topleft corner of the EPS placed on the page |
||
3168 | |||
3169 | If loading was successful, the selection contains the imported EPS |
||
3170 | </source> |
||
3171 | <translation type="unfinished"></translation> |
||
3172 | </message> |
||
3173 | <message> |
||
14474 | cbradney | 3174 | <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="39"/> |
12918 | cbradney | 3175 | <source>placeSXD("filename", x, y) |
3176 | |||
3177 | Places the SXD "filename" onto the current page, |
||
3178 | x and y specify the coordinate of the topleft corner of the SXD placed on the page |
||
3179 | |||
3180 | If loading was successful, the selection contains the imported SXD |
||
3181 | </source> |
||
3182 | <translation type="unfinished"></translation> |
||
3183 | </message> |
||
3184 | <message> |
||
14474 | cbradney | 3185 | <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="51"/> |
12918 | cbradney | 3186 | <source>placeODG("filename", x, y) |
3187 | |||
3188 | Places the ODG "filename" onto the current page, |
||
3189 | x and y specify the coordinate of the topleft corner of the ODG placed on the page |
||
3190 | |||
3191 | If loading was successful, the selection contains the imported ODG |
||
3192 | </source> |
||
3193 | <translation type="unfinished"></translation> |
||
3194 | </message> |
||
13279 | cbradney | 3195 | <message> |
14474 | cbradney | 3196 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="77"/> |
3197 | <source>getPropertyCType(object, property, includesuper=True) |
||
13279 | cbradney | 3198 | |
14474 | cbradney | 3199 | Returns the name of the C type of `property' of `object'. See getProperty() |
3200 | for details of arguments. |
||
13279 | cbradney | 3201 | |
14474 | cbradney | 3202 | If `includesuper' is true, search inherited properties too. |
13279 | cbradney | 3203 | </source> |
3204 | <translation type="unfinished"></translation> |
||
3205 | </message> |
||
3206 | <message> |
||
14474 | cbradney | 3207 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="96"/> |
3208 | <source>getPropertyNames(object, includesuper=True) |
||
13279 | cbradney | 3209 | |
14474 | cbradney | 3210 | Return a list of property names supported by `object'. |
3211 | If `includesuper' is true, return properties supported |
||
3212 | by parent classes as well. |
||
13279 | cbradney | 3213 | </source> |
3214 | <translation type="unfinished"></translation> |
||
3215 | </message> |
||
3216 | <message> |
||
14474 | cbradney | 3217 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="123"/> |
3218 | <source>getProperty(object, property) |
||
13279 | cbradney | 3219 | |
14474 | cbradney | 3220 | Return the value of the property `property' of the passed `object'. |
13279 | cbradney | 3221 | |
14474 | cbradney | 3222 | The `object' argument may be a string, in which case the named PageItem |
3223 | is searched for. It may also be a PyCObject, which may point to any |
||
3224 | C++ QObject instance. |
||
13279 | cbradney | 3225 | |
14474 | cbradney | 3226 | The `property' argument must be a string, and is the name of the property |
3227 | to look up on `object'. |
||
13279 | cbradney | 3228 | |
14474 | cbradney | 3229 | The return value varies depending on the type of the property. |
13279 | cbradney | 3230 | </source> |
3231 | <translation type="unfinished"></translation> |
||
3232 | </message> |
||
3233 | <message> |
||
14474 | cbradney | 3234 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="158"/> |
3235 | <source>setProperty(object, property, value) |
||
13279 | cbradney | 3236 | |
14474 | cbradney | 3237 | Set `property' of `object' to `value'. If `value' cannot be converted to a type |
3238 | compatible with the type of `property', an exception is raised. An exception may |
||
3239 | also be raised if the underlying setter fails. |
||
13279 | cbradney | 3240 | |
14474 | cbradney | 3241 | See getProperty() for more information. |
13279 | cbradney | 3242 | </source> |
3243 | <translation type="unfinished"></translation> |
||
3244 | </message> |
||
12918 | cbradney | 3245 | </context> |
3246 | <context> |
||
3247 | <name>@default</name> |
||
3248 | <message> |
||
3249 | <source>getColorNames() -> list |
||
3250 | |||
3251 | Returns a list containing the names of all defined colors in the document. |
||
3252 | If no document is open, returns a list of the default document colors. |
||
3253 | </source> |
||
3254 | <translation type="obsolete">getColorNames() -> list |
||
3255 | |||
3256 | Devuelve una lista que contiene los nombres de todos los colores definidos |
||
3257 | en el documento. Si no hay abierto ningún documento, devuelve una lista de |
||
3258 | los colores del documento por defecto. |
||
3259 | </translation> |
||
3260 | </message> |
||
3261 | <message> |
||
3262 | <source>newDocDialog() -> bool |
||
3263 | |||
3264 | Displays the "New Document" dialog box. Creates a new document if the user |
||
3265 | accepts the settings. Does not create a document if the user presses cancel. |
||
3266 | Returns true if a new document was created. |
||
3267 | </source> |
||
3268 | <translation type="obsolete">newDocDialog() -> bool |
||
3269 | |||
3270 | Muestra el diálogo "Nuevo Documento". Crea un nuevo documento si el |
||
3271 | usuario presiona Aceptar. No lo crea si presiona Cancelar. Devuelve true |
||
3272 | si se crea un nuevo documento.</translation> |
||
3273 | </message> |
||
3274 | <message> |
||
3275 | <source>getFillColor(["name"]) -> string |
||
3276 | |||
3277 | Returns the name of the fill color of the object "name". |
||
3278 | If "name" is not given the currently selected item is used. |
||
3279 | </source> |
||
3280 | <translation type="obsolete">getFillColor(["name"]) -> string |
||
3281 | |||
3282 | Devuelve el nombre del color de relleno del objeto con nombre"name". |
||
3283 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
3284 | </translation> |
||
3285 | </message> |
||
3286 | <message> |
||
3287 | <source>moveObject(dx, dy [, "name"]) |
||
3288 | |||
3289 | Moves the object "name" by dx and dy relative to its current position. The |
||
3290 | distances are expressed in the current measurement unit of the document (see |
||
3291 | UNIT constants). If "name" is not given the currently selected item is used. |
||
3292 | If the object "name" belongs to a group, the whole group is moved. |
||
3293 | </source> |
||
3294 | <translation type="obsolete">moveObject(dx, dy [, "name"]) |
||
3295 | |||
3296 | Mueve el objeto de nombre "name" dx y dy unidades, relativo a su posición |
||
3297 | actual. Las distancias se deben expresar en las unidades actuales del |
||
3298 | documento (ver constantes UNIT). Si no se pasa un nombre, se usa el objeto |
||
3299 | que esté seleccionado. Si el objeto "name" pertenece a un grupo, se |
||
3300 | mueve el grupo entero. |
||
3301 | </translation> |
||
3302 | </message> |
||
3303 | <message> |
||
3304 | <source>setRedraw(bool) |
||
3305 | |||
3306 | Disables page redraw when bool = False, otherwise redrawing is enabled. |
||
3307 | This change will persist even after the script exits, so make sure to call |
||
3308 | setRedraw(True) in a finally: clause at the top level of your script. |
||
3309 | </source> |
||
3310 | <translation type="obsolete">setRedraw(bool) |
||
3311 | |||
3312 | Desactiva el redibujado de la página si bool = False, de otro modo, se activa |
||
3313 | el redibujado. Este cambio permanecerá incluso después de que el script |
||
3314 | termine, así que asegúrate de llamar a setRedraw(True) en una sentencia |
||
3315 | finally: en el nivel superior del script. |
||
3316 | </translation> |
||
3317 | </message> |
||
3318 | <message> |
||
3319 | <source>createRect(x, y, width, height, ["name"]) -> string |
||
3320 | |||
3321 | Creates a new rectangle on the current page and returns its name. The |
||
3322 | coordinates are given in the current measurement units of the document |
||
3323 | (see UNIT constants). "name" should be a unique identifier for the object |
||
3324 | because you need this name to reference that object in future. If "name" |
||
3325 | is not given Scribus will create one for you. |
||
3326 | |||
3327 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
3328 | </source> |
||
3329 | <translation type="obsolete">createRect(x, y, width, height, ["name"]) -> string |
||
3330 | |||
3331 | Crea un nuevo rectángulo en la página actual y devuelve su nombre. Las |
||
3332 | coordenadas x, y, anchura y altura se expresan en las unidades actuales |
||
3333 | del documento (ver constantes UNIT). "name" debería ser un identificador |
||
3334 | único para el objeto porque el objeto se referenciará con ese nombre |
||
3335 | después. Si no se le da un nombre, Scribus creará uno. |
||
3336 | |||
3337 | Puede lanzar NameExistsError si se pasa un nombre que ya se está usando. |
||
3338 | </translation> |
||
3339 | </message> |
||
3340 | <message> |
||
3341 | <source>setGradientFill(type, "color1", shade1, "color2", shade2, ["name"]) |
||
3342 | |||
3343 | Sets the gradient fill of the object "name" to type. Color descriptions are |
||
3344 | the same as for setFillColor() and setFillShade(). See the constants for |
||
3345 | available types (FILL_<type>). |
||
3346 | </source> |
||
3347 | <translation type="obsolete">setGradientFill(type, "color1", shade1, "color2", shade2, ["name"]) |
||
3348 | |||
3349 | Establece el degradado de relleno del objeto con nombre "name" como |
||
3350 | tipo "type". Las descripciones de color son las mismas que para setFillColor() |
||
3351 | y setFillShade(). Ver las constantes FILL_<tipo> para los tipos disponibles. |
||
3352 | </translation> |
||
3353 | </message> |
||
3354 | <message> |
||
3355 | <source>getFontSize(["name"]) -> float |
||
3356 | |||
3357 | Returns the font size in points for the text frame "name". If this text |
||
3358 | frame has some text selected the value assigned to the first character of |
||
3359 | the selection is returned. |
||
3360 | If "name" is not given the currently selected item is used. |
||
3361 | </source> |
||
3362 | <translation type="obsolete">getFontSize(["name"]) -> float |
||
3363 | |||
3364 | Devuelve el tamaño de tipografía en puntos del marco de texto con nombre |
||
3365 | "name". Si el marco de texto tiene texto seleccionado, devuelve el del |
||
3366 | primer carácter de la selección. |
||
3367 | Si no se le pasa un nombre, se usa el objeto que esté seleccionado. |
||
3368 | </translation> |
||
3369 | </message> |
||
3370 | <message> |
||
3371 | <source>messagebarText("string") |
||
3372 | |||
3373 | Writes the "string" into the Scribus message bar (status line). The text |
||
3374 | must be UTF8 encoded or 'unicode' string(recommended). |
||
3375 | </source> |
||
3376 | <translation type="obsolete">messagebarText("string") |
||
3377 | |||
3378 | Escribe la cadena "string" en la barra de mensaje (barra de estado) de Scribus. |
||
3379 | El texto debe estar codificado en UTF8 o 'unicode' (recomendado). |
||
3380 | </translation> |
||
3381 | </message> |
||
3382 | <message> |
||
3064 | cbradney | 3383 | <source>newPage(where [,"masterpage"]) |
3384 | |||
3385 | Creates a new page. If "where" is -1 the new Page is appended to the |
||
3386 | document, otherwise the new page is inserted before "where". Page numbers are |
||
3387 | counted from 1 upwards, no matter what the displayed first page number of your |
||
3388 | document is. The optional parameter "masterpage" specifies the name of the |
||
3389 | master page for the new page. |
||
3390 | |||
3391 | May raise IndexError if the page number is out of range |
||
3392 | </source> |
||
12918 | cbradney | 3393 | <translation type="obsolete">newPage(where [,"masterpage"]) |
11812 | mrdocs | 3394 | |
3395 | Crea una nueva página. Si el lugar "where" es -1, la página nueva se añade al final |
||
3396 | del documento, en cualquier otro caso, se inserta antes de "where". Los números |
||
3397 | de página se cuentan desde 1 en adelante, sin importar cual es el primer número de |
||
3398 | página mostrado en tu documento. El parámetro opcional de página maestra |
||
3399 | "masterpage" especifica el nombre de la página maestra a aplicar en la nueva |
||
3400 | página. |
||
3401 | |||
3402 | Puede lanzar IndexError si el número de página esta fuera del rango |
||
3403 | </translation> |
||
3064 | cbradney | 3404 | </message> |
3405 | <message> |
||
3824 | cbradney | 3406 | <source>newDocument(size, margins, orientation, firstPageNumber, |
6434 | cbradney | 3407 | unit, pagesType, firstPageOrder, numPages) -> bool |
3824 | cbradney | 3408 | |
3409 | Creates a new document and returns true if successful. The parameters have the |
||
3410 | following meaning: |
||
3411 | |||
3412 | size = A tuple (width, height) describing the size of the document. You can |
||
3413 | use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc. |
||
3414 | |||
3415 | margins = A tuple (left, right, top, bottom) describing the document |
||
3416 | margins |
||
3417 | |||
3418 | orientation = the page orientation - constants PORTRAIT, LANDSCAPE |
||
3419 | |||
3420 | firstPageNumer = is the number of the first page in the document used for |
||
3421 | pagenumbering. While you'll usually want 1, it's useful to have higher |
||
3422 | numbers if you're creating a document in several parts. |
||
3423 | |||
3424 | unit: this value sets the measurement units used by the document. Use a |
||
3425 | predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS, |
||
3426 | UNIT_PICAS, UNIT_POINTS. |
||
3427 | |||
3428 | pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page, |
||
3429 | PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and |
||
3430 | PAGE_4 is 4-fold. |
||
3431 | |||
3432 | firstPageOrder = What is position of first page in the document. |
||
3433 | Indexed from 0 (0 = first). |
||
3434 | |||
6434 | cbradney | 3435 | numPage = Number of pages to be created. |
3436 | |||
3824 | cbradney | 3437 | The values for width, height and the margins are expressed in the given unit |
3438 | for the document. PAPER_* constants are expressed in points. If your document |
||
3439 | is not in points, make sure to account for this. |
||
3440 | |||
3441 | example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS, |
||
6434 | cbradney | 3442 | PAGE_4, 3, 1) |
3824 | cbradney | 3443 | |
3444 | May raise ScribusError if is firstPageOrder bigger than allowed by pagesType. |
||
3445 | </source> |
||
12918 | cbradney | 3446 | <translation type="obsolete">newDocument(size, margins, orientation, firstPageNumber, |
11812 | mrdocs | 3447 | unit, pagesType, firstPageOrder, numPages) -> bool |
3448 | |||
3449 | Crea un nuevo documento y devuelve true si tiene éxito. Los parámetros tienen |
||
3450 | el siguiente significado: |
||
3451 | |||
3452 | size = Un par (ancho, alto) que describe el tamaño del documento. Se |
||
3453 | pueden usar constantes predefinidas llamadas PAPER_<tipo_de_papel> |
||
3454 | p. ej. PAPER_A4 etc. |
||
3455 | |||
3456 | margins = Un vector (izquierda, derecha, arriba, abajo) que describe |
||
3457 | los márgenes del documento |
||
3458 | |||
3459 | orientation = La orientación de la página - constantes PORTRAIT (vertical), |
||
3460 | LANDSCAPE (apasaido) |
||
3461 | |||
3462 | firstPageNumber = Es el número de la primera página del documento |
||
3463 | usado para la numeración de páginas. Aunque normalmente será 1, es útil |
||
3464 | para tener números mayores si se crea un documento en varias partes. |
||
3465 | |||
3466 | unit: Este valor establece las unidades de medida usadas por el |
||
3467 | documento. Usa una de estas constantes predefinidas para ello: |
||
3468 | UNIT_INCHES (pulgadas), UNIT_MILLIMETERS (milímetros), |
||
3469 | UNIT_PICAS (picas), UNIT_POINTS (puntos). |
||
3470 | |||
3471 | pagesType = Una de las constantes predefinidas PAGE_n. PAGE_1 es una |
||
3472 | página simple, PAGE_2 es para documentos a doble página, PAGE_3 es para |
||
3473 | trípticos y PAGE_4 es para cuatro páginas. |
||
3474 | |||
3475 | firstPageOrder = Cuál es la posición de la primera página del documento. |
||
3476 | Indizadas desde 0 (0 = primera). |
||
3477 | |||
3478 | numPage = Número de páginas a crear. |
||
3479 | |||
3480 | Los valores para la anchura, altura y los márgenes están expresados en la unidad |
||
3481 | dada para el documento. Las constantes PAPER_* están expresadas en puntos. Si |
||
3482 | tu documento no está en puntos, asegurate de tenerlo en cuenta. |
||
3483 | |||
3484 | ejemplo: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS, |
||
3485 | PAGE_4, 3, 1) |
||
3486 | |||
3487 | Puede lanzar ScribusError si firstPageOrder es mayor que el permitido por pagesType. |
||
3488 | </translation> |
||
3824 | cbradney | 3489 | </message> |
9729 | cbradney | 3490 | <message> |
3491 | <source>placeSVG("filename", x, y) |
||
3492 | |||
3493 | Places the SVG "filename" onto the current page, |
||
3494 | x and y specify the coordinate of the topleft corner of the SVG placed on the page |
||
3495 | |||
3496 | If loading was successful, the selection contains the imported SVG |
||
3497 | </source> |
||
12918 | cbradney | 3498 | <translation type="obsolete">placeSVG("filename", x, y) |
11812 | mrdocs | 3499 | |
3500 | Inserta el archivo "filename" SVG en la página actual, |
||
3501 | x e y indican las coordenadas de la esquina superior derecha del SVG insertado en la página |
||
3502 | |||
3503 | Si la carga fue correta, la selección contiene el SVG importado |
||
3504 | </translation> |
||
9729 | cbradney | 3505 | </message> |
11652 | cbradney | 3506 | <message> |
3507 | <source>createParagraphStyle(...) |
||
3508 | |||
3509 | Creates a paragraph style. This function takes the following keyword parameters: |
||
3510 | |||
3511 | "name" [required] -> specifies the name of the paragraphstyle to create |
||
3512 | |||
3513 | linespacingmode [optional] -> specifies the linespacing mode; possible modes are: |
||
3514 | |||
3515 | fixed linespacing: 0 |
||
3516 | |||
3517 | automatic linespacing: 1 |
||
3518 | |||
3519 | baseline grid linespacing: 2 |
||
3520 | |||
3521 | linespacing [optional] -> specifies the linespacing if using fixed linespacing |
||
3522 | |||
3523 | alignment [optional] -> specifies the alignment of the paragraph |
||
3524 | |||
3525 | -> left: 0 |
||
3526 | |||
3527 | -> center: 1 |
||
3528 | |||
3529 | -> right: 2 |
||
3530 | |||
3531 | -> justify: 3 |
||
3532 | |||
3533 | -> extend: 4 |
||
3534 | |||
3535 | leftmargin [optional], rightmargin [optional] -> specify the margin |
||
3536 | |||
3537 | gapbefore [optional], gapafter [optional] -> specify the gaps to the heading and following paragraphs |
||
3538 | |||
3539 | firstindent [optional] -> the indent of the first line |
||
3540 | |||
3541 | hasdropcap [optional] -> specifies if there are caps (1 = yes, 0 = no) |
||
3542 | |||
3543 | dropcaplines [optional] -> height (in lines) of the caps if used |
||
3544 | |||
3545 | dropcapoffset [optional] -> offset of the caps if used |
||
3546 | |||
3547 | "charstyle" [optional] -> char style to use |
||
3548 | |||
3549 | </source> |
||
12918 | cbradney | 3550 | <translation type="obsolete">createParagraphStyle(...) |
11812 | mrdocs | 3551 | |
3552 | Crea un estilo de párrafo. Esta función toma los siguientes parámetros: |
||
3553 | |||
3554 | "name" [requerido] -> especifica el nombre del estilo de párrafo a crear |
||
3555 | |||
3556 | linespacingmode [opcional] -> especifica el modo de interlineado; los modos posibles son: |
||
3557 | |||
3558 | interlineado corregido: 0 |
||
3559 | |||
3560 | interlineado automático: 1 |
||
3561 | |||
3562 | interlineado en base a rejilla: 2 |
||
3563 | |||
3564 | linespacing [opcional] -> especifica el interlineado si se usa interlineado corregido |
||
3565 | |||
3566 | alignment [opcional] -> especifica la alineación del párrafo |
||
3567 | |||
3568 | -> izquierda: 0 |
||
3569 | |||
3570 | -> centrado : 1 |
||
3571 | |||
3572 | -> derecha: 2 |
||
3573 | |||
3574 | -> justificado: 3 |
||
3575 | |||
3576 | -> forzado: 4 |
||
3577 | |||
3578 | leftmargin [opcional], rightmargin [opcional] -> especifica los márgenes |
||
3579 | |||
3580 | gapbefore [opcional], gapafter [opcional] -> especifica el espaciado con el párrafo anterior y posterior |
||
3581 | |||
3582 | firstindent [opcional] -> la sangría de la primera línea |
||
3583 | |||
3584 | hasdropcap [opcional] -> especifica si hay mayúsculas (1 = sí, 0 = no) |
||
3585 | |||
3586 | dropcaplines [opcional] -> altura (en líneas) de las mayúsculas si se usa |
||
3587 | |||
3588 | dropcapoffset [opcional] -> desplazamiento de las mayúsculas si se usa |
||
3589 | |||
3590 | "charstyle" [opcional] -> estilo de carácter a usar |
||
3591 | |||
3592 | </translation> |
||
11652 | cbradney | 3593 | </message> |
952 | cbradney | 3594 | <message> |
3064 | cbradney | 3595 | <source>getColor("name") -> tuple |
952 | cbradney | 3596 | |
3597 | Returns a tuple (C, M, Y, K) containing the four color components of the |
||
3598 | color "name" from the current document. If no document is open, returns |
||
3599 | the value of the named color from the default document colors. |
||
3600 | |||
3064 | cbradney | 3601 | May raise NotFoundError if the named color wasn't found. |
952 | cbradney | 3602 | May raise ValueError if an invalid color name is specified. |
3603 | </source> |
||
12918 | cbradney | 3604 | <translation type="obsolete">getColor("name") -> tuple |
974 | cbradney | 3605 | |
3606 | Devuelve un vector (C, M, Y, K) que tiene las cuatro componentes de |
||
3607 | color del color "name" del documento actual. Si no hay un documento |
||
3608 | abierto, usa los colores del documento por defecto. |
||
3609 | |||
11812 | mrdocs | 3610 | Puede lanzar NotFoundError si no se encuentra el color indicado. |
3611 | Puede lanzar ValueError si se especifica un nombre no válido. |
||
974 | cbradney | 3612 | </translation> |
952 | cbradney | 3613 | </message> |
3614 | <message> |
||
3064 | cbradney | 3615 | <source>changeColor("name", c, m, y, k) |
952 | cbradney | 3616 | |
3617 | Changes the color "name" to the specified CMYK value. The color value is |
||
3618 | defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black. |
||
3619 | Color components should be in the range from 0 to 255. |
||
3620 | |||
3064 | cbradney | 3621 | May raise NotFoundError if the named color wasn't found. |
952 | cbradney | 3622 | May raise ValueError if an invalid color name is specified. |
3623 | </source> |
||
12918 | cbradney | 3624 | <translation type="obsolete">changeColor("name", c, m, y, k) |
974 | cbradney | 3625 | |
3626 | Cambia el color "name" al valor CMYK especificado. El valor del color |
||
3627 | se define mediante cuatro componentes: c = cian, m = magenta, |
||
3628 | y = amarillo y k = negro. Las componentes deberían estar en el |
||
3629 | rango 0 a 255. |
||
3630 | |||
11812 | mrdocs | 3631 | Puede lanzar NotFoundError si no se encuentra el color indicado. |
3632 | Puede lanzar ValueError si se especifica un nombre no válido. |
||
974 | cbradney | 3633 | </translation> |
952 | cbradney | 3634 | </message> |
3635 | <message> |
||
3064 | cbradney | 3636 | <source>defineColor("name", c, m, y, k) |
952 | cbradney | 3637 | |
3638 | Defines a new color "name". The color Value is defined via four components: |
||
3639 | c = Cyan, m = Magenta, y = Yellow and k = Black. Color components should be in |
||
3640 | the range from 0 to 255. |
||
3641 | |||
3642 | May raise ValueError if an invalid color name is specified. |
||
3643 | </source> |
||
12918 | cbradney | 3644 | <translation type="obsolete">defineColor("name", c, m, y, k) |
974 | cbradney | 3645 | |
3646 | Define un nuevo color llamado "name". El valor del color se define mediante |
||
3647 | cuatro componentes: c = cian, m = magenta, y = amarillo y k = negro. |
||
3648 | Las componentes deberían estar en el rango 0 a 255. |
||
3649 | |||
11812 | mrdocs | 3650 | Puede lanzar ValueError si se especifica un nombre no válido. |
974 | cbradney | 3651 | </translation> |
952 | cbradney | 3652 | </message> |
3653 | <message> |
||
3064 | cbradney | 3654 | <source>deleteColor("name", "replace") |
952 | cbradney | 3655 | |
3656 | Deletes the color "name". Every occurence of that color is replaced by the |
||
3657 | color "replace". If not specified, "replace" defaults to the color |
||
3658 | "None" - transparent. |
||
3659 | |||
3660 | deleteColor works on the default document colors if there is no document open. |
||
3661 | In that case, "replace", if specified, has no effect. |
||
3662 | |||
3064 | cbradney | 3663 | May raise NotFoundError if a named color wasn't found. |
952 | cbradney | 3664 | May raise ValueError if an invalid color name is specified. |
3665 | </source> |
||
12918 | cbradney | 3666 | <translation type="obsolete">deleteColor("name", "replace") |
974 | cbradney | 3667 | |
3668 | Borra el color "name". Cada aparición de ese color se reemplaza |
||
3669 | con el color "replace". Si no se especifica, se reemplaza por el |
||
3670 | color "Ninguno" - transparente. |
||
3671 | |||
11812 | mrdocs | 3672 | Si no hay ningún documento abierto, deleteColor funciona sobre los |
974 | cbradney | 3673 | colores del documento por defecto. En ese caso, aunque se indique, |
3674 | "replace" no tiene efecto. |
||
3675 | |||
11812 | mrdocs | 3676 | Puede lanzar NotFoundError si no se encuentra el color indicado. |
3677 | Puede lanzar ValueError si se especifica un nombre no válido. |
||
974 | cbradney | 3678 | </translation> |
952 | cbradney | 3679 | </message> |
3680 | <message> |
||
3064 | cbradney | 3681 | <source>replaceColor("name", "replace") |
952 | cbradney | 3682 | |
3683 | Every occurence of the color "name" is replaced by the color "replace". |
||
3684 | |||
3064 | cbradney | 3685 | May raise NotFoundError if a named color wasn't found. |
952 | cbradney | 3686 | May raise ValueError if an invalid color name is specified. |
3687 | </source> |
||
12918 | cbradney | 3688 | <translation type="obsolete">replaceColor("name", "replace") |
974 | cbradney | 3689 | |
3690 | Cada aparición del color "name" se reemplaza por el color "replace". |
||
3691 | |||
11812 | mrdocs | 3692 | Puede lanzar NotFoundError si no se encuentra el color indicado. |
3693 | Puede lanzar ValueError si se especifica un nombre no válido. |
||
974 | cbradney | 3694 | </translation> |
952 | cbradney | 3695 | </message> |
3696 | <message> |
||
3064 | cbradney | 3697 | <source>messageBox("caption", "message", |
952 | cbradney | 3698 | icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT, |
3064 | cbradney | 3699 | button2=BUTTON_NONE, button3=BUTTON_NONE) -> integer |
952 | cbradney | 3700 | |
3701 | Displays a message box with the title "caption", the message "message", and |
||
3702 | an icon "icon" and up to 3 buttons. By default no icon is used and a single |
||
3703 | button, OK, is displayed. Only the caption and message arguments are required, |
||
3704 | though setting an icon and appropriate button(s) is strongly |
||
3705 | recommended. The message text may contain simple HTML-like markup. |
||
3706 | |||
3707 | Returns the number of the button the user pressed. Button numbers start |
||
3708 | at 1. |
||
3709 | |||
3710 | For the icon and the button parameters there are predefined constants available |
||
3711 | with the same names as in the Qt Documentation. These are the BUTTON_* and |
||
3712 | ICON_* constants defined in the module. There are also two extra constants that |
||
3713 | can be binary-ORed with button constants: |
||
3714 | BUTTONOPT_DEFAULT Pressing enter presses this button. |
||
3715 | BUTTONOPT_ESCAPE Pressing escape presses this button. |
||
3716 | |||
3717 | Usage examples: |
||
3064 | cbradney | 3718 | result = messageBox('Script failed', |
3719 | 'This script only works when you have a text frame selected.', |
||
952 | cbradney | 3720 | ICON_ERROR) |
3064 | cbradney | 3721 | result = messageBox('Monkeys!', 'Something went ook! <i>Was it a monkey?</i>', |
952 | cbradney | 3722 | ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT, |
3723 | BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE) |
||
3724 | |||
3725 | Defined button and icon constants: |
||
3726 | BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO, |
||
3727 | BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL, |
||
3728 | ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL. |
||
3729 | </source> |
||
12918 | cbradney | 3730 | <translation type="obsolete">messageBox("caption", "message", |
974 | cbradney | 3731 | icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT, |
3064 | cbradney | 3732 | button2=BUTTON_NONE, button3=BUTTON_NONE) -> integer |
974 | cbradney | 3733 | |
3734 | Muestra un cuadro de mensaje con el título "caption", el mensaje "message", |
||
3735 | un icono "icon" y hasta 3 botones. Por defecto no se usa ningún icono y sólo |
||
3736 | hay un botón, Aceptar. Sólo son obligatorios los parámetros caption y message, |
||
3737 | sin embargo se recomienda definir un icono y el botón o botones apropiados. |
||
3738 | El mensaje puede contener etiquetas simples similares a las de HTML. |
||
3739 | |||
3740 | Devuelve el número del botón que presionó el usuario. Los números de los |
||
3741 | botones empiezan en 1. |
||
3742 | |||
11812 | mrdocs | 3743 | Para los parámetros del icono y de los botones hay constantes predefinidas |
974 | cbradney | 3744 | disponibles con los mismos nombres que en la Documentación de Qt. Son las |
3745 | constantes BUTTON_* e ICON_* definidas en el módulo. Hay también otras |
||
3746 | dos constantes extra que pueden ser combinadas con un OR binario con las |
||
3747 | constantes de los botones: |
||
3748 | BUTTONOPT_DEFAULT Presionar intro presiona este botón. |
||
3749 | BUTTONOPT_ESCAPE Presionar escape presiona este botón. |
||
3750 | |||
3751 | Ejemplos de uso: |
||
3064 | cbradney | 3752 | result = messageBox('Error en Script', |
3753 | 'Este scrpt sólo funciona cuando tienes un marco de texto seleccionado.', |
||
974 | cbradney | 3754 | ICON_ERROR) |
3064 | cbradney | 3755 | result = messageBox('Monkeys!', 'Something went ook! <i>Was it a monkey?</i>', |
974 | cbradney | 3756 | ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT, |
3757 | BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE) |
||
3758 | |||
11812 | mrdocs | 3759 | Botones definidos y constantes de iconos: |
974 | cbradney | 3760 | BUTTON_NONE (ninguno), BUTTON_ABORT (abortar), BUTTON_CANCEL (cancelar), |
3761 | BUTTON_IGNORE (ignorar), BUTTON_NO (no), BUTTON_NOALL (no a todo), |
||
3762 | BUTTON_OK (aceptar), BUTTON_RETRY (reintentar), BUTTON_YES (sí), |
||
11812 | mrdocs | 3763 | BUTTON_YESALL (sí a todo), ICON_NONE (ninguno), ICON_INFORMATION (información), |
3764 | ICON_WARNING (aviso). |
||
974 | cbradney | 3765 | </translation> |
952 | cbradney | 3766 | </message> |
3767 | <message> |
||
3064 | cbradney | 3768 | <source>valueDialog(caption, message [,defaultvalue]) -> string |
952 | cbradney | 3769 | |
3064 | cbradney | 3770 | Shows the common 'Ask for string' dialog and returns its value as a string |
3771 | Parameters: window title, text in the window and optional 'default' value. |
||
952 | cbradney | 3772 | |
3064 | cbradney | 3773 | Example: valueDialog('title', 'text in the window', 'optional') |
952 | cbradney | 3774 | </source> |
12918 | cbradney | 3775 | <translation type="obsolete">valueDialog(caption, message [,defaultvalue]) -> string |
974 | cbradney | 3776 | |
11812 | mrdocs | 3777 | Muestra el diálogo 'Introducir una cadena' y devuelve su valor |
974 | cbradney | 3778 | como un string. |
3779 | Parámetros: título de la ventana, texto de la ventana y un valor |
||
3780 | por defecto opcional. |
||
3781 | |||
3064 | cbradney | 3782 | Ejemplo: valueDialog('título', 'texto de la ventana', 'opcional') |
974 | cbradney | 3783 | </translation> |
952 | cbradney | 3784 | </message> |
3785 | <message> |
||
3064 | cbradney | 3786 | <source>closeDoc() |
952 | cbradney | 3787 | |
3788 | Closes the current document without prompting to save. |
||
3789 | |||
3790 | May throw NoDocOpenError if there is no document to close |
||
3791 | </source> |
||
12918 | cbradney | 3792 | <translation type="obsolete">closeDoc() |
974 | cbradney | 3793 | |
3794 | Cierra el documento actual sin preguntar para guardar. |
||
3795 | |||
11812 | mrdocs | 3796 | Puede lanzar NoDocOpenError si no hay ningún |
3797 | documento que cerrar |
||
974 | cbradney | 3798 | </translation> |
952 | cbradney | 3799 | </message> |
3800 | <message> |
||
3064 | cbradney | 3801 | <source>haveDoc() -> bool |
952 | cbradney | 3802 | |
3803 | Returns true if there is a document open. |
||
3804 | </source> |
||
12918 | cbradney | 3805 | <translation type="obsolete">haveDoc() -> bool |
974 | cbradney | 3806 | |
3807 | Devuelve true si hay un documento abierto.</translation> |
||
952 | cbradney | 3808 | </message> |
3809 | <message> |
||
3064 | cbradney | 3810 | <source>openDoc("name") |
952 | cbradney | 3811 | |
3812 | Opens the document "name". |
||
3813 | |||
3814 | May raise ScribusError if the document could not be opened. |
||
3815 | </source> |
||
12918 | cbradney | 3816 | <translation type="obsolete">openDoc("name") |
974 | cbradney | 3817 | |
3818 | Abre el documento "name". |
||
3819 | |||
3820 | Puede lanzar la excepción ScribusError si el documento no se puede abrir. |
||
3821 | </translation> |
||
952 | cbradney | 3822 | </message> |
3823 | <message> |
||
3064 | cbradney | 3824 | <source>saveDoc() |
952 | cbradney | 3825 | |
3826 | Saves the current document with its current name, returns true if successful. |
||
3827 | If the document has not already been saved, this may bring up an interactive |
||
3828 | save file dialog. |
||
3829 | |||
3830 | If the save fails, there is currently no way to tell. |
||
3831 | </source> |
||
12918 | cbradney | 3832 | <translation type="obsolete">saveDoc() |
974 | cbradney | 3833 | |
3834 | Guarda el documento actual con su nombre actual, y devuelve true si se |
||
3835 | guarda correctamente. Si el documento no se había guardado todavía, |
||
3836 | muestra un diálogo de guardar archivo. |
||
3837 | |||
3838 | Si se produce un error al guardar, actualmente no hay forma de informarlo. |
||
3839 | </translation> |
||
952 | cbradney | 3840 | </message> |
3841 | <message> |
||
3064 | cbradney | 3842 | <source>saveDocAs("name") |
952 | cbradney | 3843 | |
3844 | Saves the current document under the new name "name" (which may be a full or |
||
3845 | relative path). |
||
3846 | |||
3847 | May raise ScribusError if the save fails. |
||
3848 | </source> |
||
12918 | cbradney | 3849 | <translation type="obsolete">saveDocAs("name") |
974 | cbradney | 3850 | |
3851 | Guarda el documento actual con el nombre "name" (que puede ser un ruta |
||
3852 | absoluta o relativa). |
||
3853 | |||
3854 | Puede lanzar la excepción ScribusError si se produce un error al guardar. |
||
3855 | </translation> |
||
952 | cbradney | 3856 | </message> |
3857 | <message> |
||
3064 | cbradney | 3858 | <source>setUnit(type) |
952 | cbradney | 3859 | |
3860 | Changes the measurement unit of the document. Possible values for "unit" are |
||
3064 | cbradney | 3861 | defined as constants UNIT_<type>. |
952 | cbradney | 3862 | |
3863 | May raise ValueError if an invalid unit is passed. |
||
3864 | </source> |
||
12918 | cbradney | 3865 | <translation type="obsolete">setUnit(type) |
974 | cbradney | 3866 | |
3867 | Cambia las unidades de medida del documento. Los valores posibles para "unit" |
||
3064 | cbradney | 3868 | son las constantes UNIT_<tipo>. |
974 | cbradney | 3869 | |
3870 | Puede lanzar una excepción ValueError si se pasa una unidad no válida. |
||
3871 | </translation> |
||
952 | cbradney | 3872 | </message> |
3873 | <message> |
||
3064 | cbradney | 3874 | <source>getUnit() -> integer (Scribus unit constant) |
952 | cbradney | 3875 | |
3876 | Returns the measurement units of the document. The returned value will be one |
||
3877 | of the UNIT_* constants: |
||
3878 | UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS. |
||
3879 | </source> |
||
12918 | cbradney | 3880 | <translation type="obsolete">getUnit() -> integer (constante de unidad de Scribus) |
974 | cbradney | 3881 | |
3882 | Devuelve las unidades de medida del documento. El valor devuelto será una |
||
3883 | de las constantes UNIT_*: |
||
3884 | UNIT_INCHES (pulgadas), UNIT_MILLIMETERS (milimetros), |
||
3885 | UNIT_PICAS (picas), UNIT_POINTS (puntos). |
||
3886 | </translation> |
||
952 | cbradney | 3887 | </message> |
3888 | <message> |
||
3064 | cbradney | 3889 | <source>loadStylesFromFile("filename") |
952 | cbradney | 3890 | |
3891 | Loads paragraph styles from the Scribus document at "filename" into the |
||
3892 | current document. |
||
3893 | </source> |
||
12918 | cbradney | 3894 | <translation type="obsolete">loadStylesFromFile("filename") |
974 | cbradney | 3895 | |
3896 | Carga en el documento actual los estilos de párrafo del documento |
||
3897 | de Scribus que se encuentra en "filename". |
||
3898 | </translation> |
||
952 | cbradney | 3899 | </message> |
3900 | <message> |
||
3064 | cbradney | 3901 | <source>setDocType(facingPages, firstPageLeft) |
952 | cbradney | 3902 | |
3903 | Sets the document type. To get facing pages set the first parameter to |
||
3904 | FACINGPAGES, to switch facingPages off use NOFACINGPAGES instead. If you want |
||
3905 | to be the first page a left side set the second parameter to FIRSTPAGELEFT, for |
||
3906 | a right page use FIRSTPAGERIGHT. |
||
3907 | </source> |
||
12918 | cbradney | 3908 | <translation type="obsolete">setDocType(facingPages, firstPageLeft) |
974 | cbradney | 3909 | |
3910 | Establece el tipo de documento. Para que las páginas se muestren enfrentadas |
||
3911 | el primer parámetro debe ser FACINGPAGES, para desactivar las páginas |
||
3912 | enfrentadas debe ser NOFACINGPAGES. Si se quiere que la primera página esté |
||
3913 | a la izquierda el segundo parámetro debe ser FIRSTPAGELEFT, para que esté a |
||
3914 | la derecha debe ser FIRSTPAGERIGHT. |
||
3915 | </translation> |
||
952 | cbradney | 3916 | </message> |
3917 | <message> |
||
3064 | cbradney | 3918 | <source>getLineColor(["name"]) -> string |
952 | cbradney | 3919 | |
3920 | Returns the name of the line color of the object "name". |
||
3921 | If "name" is not given the currently selected item is used. |
||
3922 | </source> |
||
12918 | cbradney | 3923 | <translation type="obsolete">getLineColor(["name"]) -> string |
974 | cbradney | 3924 | |
3925 | Devuelve el nombre del color de línea del objeto "name". |
||
3926 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
3927 | </translation> |
||
952 | cbradney | 3928 | </message> |
3929 | <message> |
||
3064 | cbradney | 3930 | <source>getLineWidth(["name"]) -> integer |
952 | cbradney | 3931 | |
3932 | Returns the line width of the object "name". If "name" |
||
3933 | is not given the currently selected Item is used. |
||
3934 | </source> |
||
12918 | cbradney | 3935 | <translation type="obsolete">getLineWidth(["name"]) -> integer |
974 | cbradney | 3936 | |
3937 | Devuelve el ancho de línea del objeto "name". |
||
3938 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
3939 | </translation> |
||
952 | cbradney | 3940 | </message> |
3941 | <message> |
||
3064 | cbradney | 3942 | <source>getLineShade(["name"]) -> integer |
952 | cbradney | 3943 | |
3944 | Returns the shading value of the line color of the object "name". |
||
3945 | If "name" is not given the currently selected item is used. |
||
3946 | </source> |
||
12918 | cbradney | 3947 | <translation type="obsolete">getLineShade(["name"]) -> integer |
974 | cbradney | 3948 | |
3949 | Devuelve la intesnsidad del color de línea del objeto "name". |
||
3950 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
3951 | </translation> |
||
952 | cbradney | 3952 | </message> |
3953 | <message> |
||
3064 | cbradney | 3954 | <source>getLineEnd(["name"]) -> integer (see constants) |
952 | cbradney | 3955 | |
3956 | Returns the line cap style of the object "name". If "name" is not given the |
||
3957 | currently selected item is used. The cap types are: |
||
3958 | CAP_FLAT, CAP_ROUND, CAP_SQUARE |
||
3959 | </source> |
||
12918 | cbradney | 3960 | <translation type="obsolete">getLineEnd(["name"]) -> integer (ver constantes) |
974 | cbradney | 3961 | |
3962 | Devuelve el estilo de extremo de línea del objeto "name". |
||
3963 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
3964 | Los tipos de extremo son: |
||
3965 | CAP_FLAT (plano), CAP_ROUND (redondeado), CAP_SQUARE (cuadrado) |
||
3966 | </translation> |
||
952 | cbradney | 3967 | </message> |
3968 | <message> |
||
3064 | cbradney | 3969 | <source>getLineStyle(["name"]) -> integer (see constants) |
952 | cbradney | 3970 | |
3971 | Returns the line style of the object "name". If "name" is not given the |
||
3972 | currently selected item is used. Line style constants are: |
||
3973 | LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID |
||
3974 | </source> |
||
12918 | cbradney | 3975 | <translation type="obsolete">getLineStyle(["name"]) -> integer (ver constantes) |
974 | cbradney | 3976 | |
3977 | Devuelve el estilo de línea del objeto "name". |
||
3978 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
3979 | Las constantes de estilos de línea son: |
||
3980 | LINE_DASH (a trazos), LINE_DASHDOT (raya punto), |
||
3981 | LINE_DASHDOTDOT (raya punto punto), LINE_DOT (a puntos), |
||
3982 | LINE_SOLID (sólida) |
||
3983 | </translation> |
||
952 | cbradney | 3984 | </message> |
3985 | <message> |
||
3064 | cbradney | 3986 | <source>getFillShade(["name"]) -> integer |
952 | cbradney | 3987 | |
3988 | Returns the shading value of the fill color of the object "name". |
||
3989 | If "name" is not given the currently selected item is used. |
||
3990 | </source> |
||
12918 | cbradney | 3991 | <translation type="obsolete">getFillShade(["name"]) -> integer |
974 | cbradney | 3992 | |
3993 | Devuelve el valor de saturación del color de relleno del objeto "name". |
||
3994 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
3995 | </translation> |
||
952 | cbradney | 3996 | </message> |
3997 | <message> |
||
3064 | cbradney | 3998 | <source>getCornerRadius(["name"]) -> integer |
952 | cbradney | 3999 | |
4000 | Returns the corner radius of the object "name". The radius is |
||
4001 | expressed in points. If "name" is not given the currently |
||
4002 | selected item is used. |
||
4003 | </source> |
||
12918 | cbradney | 4004 | <translation type="obsolete">getCornerRadius(["name"]) -> integer |
974 | cbradney | 4005 | |
4006 | Devuelve el radio de las esquinas del objeto "name". |
||
4007 | El radio se expresa en puntos. |
||
4008 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
4009 | </translation> |
||
952 | cbradney | 4010 | </message> |
4011 | <message> |
||
3064 | cbradney | 4012 | <source>getImageScale(["name"]) -> (x,y) |
952 | cbradney | 4013 | |
4014 | Returns a (x, y) tuple containing the scaling values of the image frame |
||
4015 | "name". If "name" is not given the currently selected item is used. |
||
4016 | </source> |
||
12918 | cbradney | 4017 | <translation type="obsolete">getImageScale(["name"]) -> (x,y) |
974 | cbradney | 4018 | |
4019 | Devuelve un par (x, y) que contiene los valores de escalado del |
||
4020 | marco de imagen "name". |
||
4021 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
4022 | </translation> |
||
952 | cbradney | 4023 | </message> |
4024 | <message> |
||
3064 | cbradney | 4025 | <source>getImageName(["name"]) -> string |
952 | cbradney | 4026 | |
4027 | Returns the filename for the image in the image frame. If "name" is not |
||
4028 | given the currently selected item is used. |
||
4029 | </source> |
||
12918 | cbradney | 4030 | <translation type="obsolete">getImageName(["name"]) -> string |
974 | cbradney | 4031 | |
4032 | Devuelve el nombre de archivo de la imagen en el marco de imagen "name". |
||
4033 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
4034 | </translation> |
||
952 | cbradney | 4035 | </message> |
4036 | <message> |
||
3064 | cbradney | 4037 | <source>getPosition(["name"]) -> (x,y) |
952 | cbradney | 4038 | |
4039 | Returns a (x, y) tuple with the position of the object "name". |
||
4040 | If "name" is not given the currently selected item is used. |
||
4041 | The position is expressed in the actual measurement unit of the document |
||
3064 | cbradney | 4042 | - see UNIT_<type> for reference. |
952 | cbradney | 4043 | </source> |
12918 | cbradney | 4044 | <translation type="obsolete">getPosition(["name"]) -> (x,y) |
974 | cbradney | 4045 | |
4046 | Devuelve un par (x, y) con la posición del objeto "name". |
||
4047 | Si no se pasa un nombre, se usa el objeto que esté seleccionado. |
||
4048 | Las posiciones están expr |