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