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