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