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