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