Rev 6436 | Rev 6769 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4759 | cbradney | 1 | <!DOCTYPE TS><TS> |
2 | <context> |
||
3 | <name></name> |
||
1135 | cbradney | 4 | <message> |
4759 | cbradney | 5 | <source>getColorNames() -> list |
1135 | cbradney | 6 | |
7 | Returns a list containing the names of all defined colors in the document. |
||
8 | If no document is open, returns a list of the default document colors. |
||
9 | </source> |
||
4759 | cbradney | 10 | <translation type="unfinished"> |
11 | getColorNames() -> list |
||
4635 | cbradney | 12 | |
13 | 返回文档中所有预设的颜色名称的列表 |
||
14 | |||
15 | </translation> |
||
1135 | cbradney | 16 | </message> |
17 | <message> |
||
4759 | cbradney | 18 | <source>newDocDialog() -> bool |
1135 | cbradney | 19 | |
20 | Displays the "New Document" dialog box. Creates a new document if the user |
||
21 | accepts the settings. Does not create a document if the user presses cancel. |
||
22 | Returns true if a new document was created. |
||
23 | </source> |
||
4759 | cbradney | 24 | <translation type="unfinished"> |
25 | newDocDialog() -> bool |
||
4635 | cbradney | 26 | |
27 | 显示 "新建文档" 对话窗口。如果用户接受了设定,一个新文挡将被创建。如果用户按取消键,文档将不被创建。如果信文档被创建,返回真。 |
||
28 | </translation> |
||
1135 | cbradney | 29 | </message> |
30 | <message> |
||
4759 | cbradney | 31 | <source>getFillColor(["name"]) -> string |
1135 | cbradney | 32 | |
33 | Returns the name of the fill color of the object "name". |
||
34 | If "name" is not given the currently selected item is used. |
||
35 | </source> |
||
4759 | cbradney | 36 | <translation type="unfinished"></translation> |
1135 | cbradney | 37 | </message> |
38 | <message> |
||
4759 | cbradney | 39 | <source>moveObject(dx, dy [, "name"]) |
1135 | cbradney | 40 | |
41 | Moves the object "name" by dx and dy relative to its current position. The |
||
42 | distances are expressed in the current measurement unit of the document (see |
||
43 | UNIT constants). If "name" is not given the currently selected item is used. |
||
44 | If the object "name" belongs to a group, the whole group is moved. |
||
45 | </source> |
||
4759 | cbradney | 46 | <translation type="unfinished"></translation> |
1135 | cbradney | 47 | </message> |
48 | <message> |
||
4759 | cbradney | 49 | <source>setRedraw(bool) |
1135 | cbradney | 50 | |
51 | Disables page redraw when bool = False, otherwise redrawing is enabled. |
||
52 | This change will persist even after the script exits, so make sure to call |
||
53 | setRedraw(True) in a finally: clause at the top level of your script. |
||
54 | </source> |
||
4759 | cbradney | 55 | <translation type="unfinished"></translation> |
1135 | cbradney | 56 | </message> |
57 | <message> |
||
4759 | cbradney | 58 | <source>createRect(x, y, width, height, ["name"]) -> string |
1135 | cbradney | 59 | |
60 | Creates a new rectangle on the current page and returns its name. The |
||
61 | coordinates are given in the current measurement units of the document |
||
62 | (see UNIT constants). "name" should be a unique identifier for the object |
||
63 | because you need this name to reference that object in future. If "name" |
||
64 | is not given Scribus will create one for you. |
||
65 | |||
4759 | cbradney | 66 | May raise NameExistsError if you explicitly pass a name that's already used. |
1135 | cbradney | 67 | </source> |
4759 | cbradney | 68 | <translation type="unfinished"></translation> |
1135 | cbradney | 69 | </message> |
70 | <message> |
||
4759 | cbradney | 71 | <source>newPage(where [,"masterpage"]) |
4462 | cbradney | 72 | |
73 | Creates a new page. If "where" is -1 the new Page is appended to the |
||
74 | document, otherwise the new page is inserted before "where". Page numbers are |
||
75 | counted from 1 upwards, no matter what the displayed first page number of your |
||
76 | document is. The optional parameter "masterpage" specifies the name of the |
||
77 | master page for the new page. |
||
78 | |||
79 | May raise IndexError if the page number is out of range |
||
80 | </source> |
||
4759 | cbradney | 81 | <translation type="unfinished"></translation> |
4462 | cbradney | 82 | </message> |
83 | <message> |
||
4759 | cbradney | 84 | <source>setGradientFill(type, "color1", shade1, "color2", shade2, ["name"]) |
1135 | cbradney | 85 | |
86 | Sets the gradient fill of the object "name" to type. Color descriptions are |
||
87 | the same as for setFillColor() and setFillShade(). See the constants for |
||
4759 | cbradney | 88 | available types (FILL_<type>). |
1135 | cbradney | 89 | </source> |
4759 | cbradney | 90 | <translation type="unfinished"></translation> |
1135 | cbradney | 91 | </message> |
92 | <message> |
||
4759 | cbradney | 93 | <source>getFontSize(["name"]) -> float |
1135 | cbradney | 94 | |
95 | Returns the font size in points for the text frame "name". If this text |
||
96 | frame has some text selected the value assigned to the first character of |
||
97 | the selection is returned. |
||
98 | If "name" is not given the currently selected item is used. |
||
99 | </source> |
||
4759 | cbradney | 100 | <translation type="unfinished"></translation> |
1135 | cbradney | 101 | </message> |
102 | <message> |
||
4759 | cbradney | 103 | <source>messagebarText("string") |
1135 | cbradney | 104 | |
105 | Writes the "string" into the Scribus message bar (status line). The text |
||
4759 | cbradney | 106 | must be UTF8 encoded or 'unicode' string(recommended). |
1135 | cbradney | 107 | </source> |
4759 | cbradney | 108 | <translation type="unfinished"></translation> |
1135 | cbradney | 109 | </message> |
1525 | cbradney | 110 | <message> |
4759 | cbradney | 111 | <source>importSVG("string") |
3064 | cbradney | 112 | |
113 | The "string" must be a valid filename for a SVG image. The text |
||
4759 | cbradney | 114 | must be UTF8 encoded or 'unicode' string(recommended). |
3064 | cbradney | 115 | </source> |
4759 | cbradney | 116 | <translation type="unfinished"></translation> |
3064 | cbradney | 117 | </message> |
3824 | cbradney | 118 | <message> |
4759 | cbradney | 119 | <source>newDocument(size, margins, orientation, firstPageNumber, |
6434 | cbradney | 120 | unit, pagesType, firstPageOrder, numPages) -> bool |
3824 | cbradney | 121 | |
122 | Creates a new document and returns true if successful. The parameters have the |
||
123 | following meaning: |
||
124 | |||
125 | size = A tuple (width, height) describing the size of the document. You can |
||
4759 | cbradney | 126 | use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc. |
3824 | cbradney | 127 | |
128 | margins = A tuple (left, right, top, bottom) describing the document |
||
129 | margins |
||
130 | |||
131 | orientation = the page orientation - constants PORTRAIT, LANDSCAPE |
||
132 | |||
133 | firstPageNumer = is the number of the first page in the document used for |
||
4759 | cbradney | 134 | pagenumbering. While you'll usually want 1, it's useful to have higher |
135 | numbers if you're creating a document in several parts. |
||
3824 | cbradney | 136 | |
137 | unit: this value sets the measurement units used by the document. Use a |
||
138 | predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS, |
||
139 | UNIT_PICAS, UNIT_POINTS. |
||
140 | |||
141 | pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page, |
||
142 | PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and |
||
143 | PAGE_4 is 4-fold. |
||
144 | |||
145 | firstPageOrder = What is position of first page in the document. |
||
146 | Indexed from 0 (0 = first). |
||
147 | |||
6434 | cbradney | 148 | numPage = Number of pages to be created. |
149 | |||
3824 | cbradney | 150 | The values for width, height and the margins are expressed in the given unit |
151 | for the document. PAPER_* constants are expressed in points. If your document |
||
152 | is not in points, make sure to account for this. |
||
153 | |||
154 | example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS, |
||
6434 | cbradney | 155 | PAGE_4, 3, 1) |
3824 | cbradney | 156 | |
157 | May raise ScribusError if is firstPageOrder bigger than allowed by pagesType. |
||
158 | </source> |
||
4759 | cbradney | 159 | <translation type="unfinished"></translation> |
3824 | cbradney | 160 | </message> |
4759 | cbradney | 161 | </context> |
162 | <context> |
||
1135 | cbradney | 163 | <name>@default</name> |
164 | <message> |
||
4759 | cbradney | 165 | <source>getColor("name") -> tuple |
1135 | cbradney | 166 | |
167 | Returns a tuple (C, M, Y, K) containing the four color components of the |
||
168 | color "name" from the current document. If no document is open, returns |
||
169 | the value of the named color from the default document colors. |
||
170 | |||
4759 | cbradney | 171 | May raise NotFoundError if the named color wasn't found. |
1135 | cbradney | 172 | May raise ValueError if an invalid color name is specified. |
173 | </source> |
||
4759 | cbradney | 174 | <translation>getColor("name") -> tuple |
4462 | cbradney | 175 | |
176 | Returns a tuple (C, M, Y, K) containing the four colour components of the |
||
177 | colour "name" from the current document. If no document is open, returns |
||
178 | the value of the named colour from the default document colours. |
||
179 | |||
4759 | cbradney | 180 | May raise NotFoundError if the named colour wasn't found. |
4462 | cbradney | 181 | May raise ValueError if an invalid colour name is specified. |
182 | </translation> |
||
1135 | cbradney | 183 | </message> |
184 | <message> |
||
4759 | cbradney | 185 | <source>getColorAsRGB("name") -> tuple |
4462 | cbradney | 186 | |
187 | Returns a tuple (R,G,B) containing the three color components of the |
||
188 | color "name" from the current document, converted to the RGB color |
||
189 | space. If no document is open, returns the value of the named color |
||
190 | from the default document colors. |
||
191 | |||
4759 | cbradney | 192 | May raise NotFoundError if the named color wasn't found. |
4462 | cbradney | 193 | May raise ValueError if an invalid color name is specified. |
194 | </source> |
||
4759 | cbradney | 195 | <translation>getColorAsRGB("name") -> tuple |
4462 | cbradney | 196 | |
197 | Returns a tuple (R,G,B) containing the three colour components of the |
||
198 | colour "name" from the current document, converted to the RGB colour |
||
199 | space. If no document is open, returns the value of the named colour |
||
200 | from the default document colours. |
||
201 | |||
4759 | cbradney | 202 | May raise NotFoundError if the named colour wasn't found. |
4462 | cbradney | 203 | May raise ValueError if an invalid colour name is specified. |
204 | </translation> |
||
205 | </message> |
||
206 | <message> |
||
4759 | cbradney | 207 | <source>changeColor("name", c, m, y, k) |
1135 | cbradney | 208 | |
209 | Changes the color "name" to the specified CMYK value. The color value is |
||
210 | defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black. |
||
211 | Color components should be in the range from 0 to 255. |
||
212 | |||
4759 | cbradney | 213 | May raise NotFoundError if the named color wasn't found. |
1135 | cbradney | 214 | May raise ValueError if an invalid color name is specified. |
215 | </source> |
||
4759 | cbradney | 216 | <translation>changeColour("name", c, m, y, k) |
4462 | cbradney | 217 | |
218 | Changes the colour "name" to the specified CMYK value. The colour value is |
||
219 | defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black. |
||
220 | Colour components should be in the range from 0 to 255. |
||
221 | |||
4759 | cbradney | 222 | May raise NotFoundError if the named colour wasn't found. |
4462 | cbradney | 223 | May raise ValueError if an invalid colour name is specified. |
224 | </translation> |
||
1135 | cbradney | 225 | </message> |
226 | <message> |
||
4759 | cbradney | 227 | <source>defineColor("name", c, m, y, k) |
4462 | cbradney | 228 | |
229 | Defines a new color "name". The color Value is defined via four components: |
||
230 | c = Cyan, m = Magenta, y = Yello and k = Black. Color components should be in |
||
231 | the range from 0 to 255. |
||
232 | |||
233 | May raise ValueError if an invalid color name is specified. |
||
234 | </source> |
||
4759 | cbradney | 235 | <translation>defineColor("name", c, m, y, k) |
4462 | cbradney | 236 | |
237 | Defines a new colour "name". The colour Value is defined via four components: |
||
238 | c = Cyan, m = Magenta, y = Yello and k = Black. Colour components should be in |
||
239 | the range from 0 to 255. |
||
240 | |||
241 | May raise ValueError if an invalid colour name is specified. |
||
242 | </translation> |
||
243 | </message> |
||
244 | <message> |
||
4759 | cbradney | 245 | <source>deleteColor("name", "replace") |
1135 | cbradney | 246 | |
247 | Deletes the color "name". Every occurence of that color is replaced by the |
||
248 | color "replace". If not specified, "replace" defaults to the color |
||
249 | "None" - transparent. |
||
250 | |||
251 | deleteColor works on the default document colors if there is no document open. |
||
252 | In that case, "replace", if specified, has no effect. |
||
253 | |||
4759 | cbradney | 254 | May raise NotFoundError if a named color wasn't found. |
1135 | cbradney | 255 | May raise ValueError if an invalid color name is specified. |
256 | </source> |
||
4759 | cbradney | 257 | <translation>deleteColor("name", "replace") |
4462 | cbradney | 258 | |
259 | Deletes the colour "name". Every occurence of that colour is replaced by the |
||
260 | colour "replace". If not specified, "replace" defaults to the colour |
||
261 | "None" - transparent. |
||
262 | |||
263 | deleteColor works on the default document colours if there is no document open. |
||
264 | In that case, "replace", if specified, has no effect. |
||
265 | |||
4759 | cbradney | 266 | May raise NotFoundError if a named colour wasn't found. |
4462 | cbradney | 267 | May raise ValueError if an invalid colour name is specified. |
268 | </translation> |
||
1135 | cbradney | 269 | </message> |
270 | <message> |
||
4759 | cbradney | 271 | <source>replaceColor("name", "replace") |
1135 | cbradney | 272 | |
273 | Every occurence of the color "name" is replaced by the color "replace". |
||
274 | |||
4759 | cbradney | 275 | May raise NotFoundError if a named color wasn't found. |
1135 | cbradney | 276 | May raise ValueError if an invalid color name is specified. |
277 | </source> |
||
4759 | cbradney | 278 | <translation>replaceColor("name", "replace") |
4462 | cbradney | 279 | |
280 | Every occurence of the colour "name" is replaced by the colour "replace". |
||
281 | |||
4759 | cbradney | 282 | May raise NotFoundError if a named colour wasn't found. |
4462 | cbradney | 283 | May raise ValueError if an invalid colour name is specified. |
284 | </translation> |
||
1135 | cbradney | 285 | </message> |
286 | <message> |
||
4759 | cbradney | 287 | <source>fileDialog("caption", ["filter", "defaultname", haspreview, issave, isdir]) -> string with filename |
4462 | cbradney | 288 | |
289 | Shows a File Open dialog box with the caption "caption". Files are filtered |
||
290 | with the filter string "filter". A default filename or file path can also |
||
4759 | cbradney | 291 | supplied, leave this string empty when you don't want to use it. A value of |
4462 | cbradney | 292 | True for haspreview enables a small preview widget in the FileSelect box. When |
293 | the issave parameter is set to True the dialog acts like a "Save As" dialog |
||
294 | otherwise it acts like a "File Open Dialog". When the isdir parameter is True |
||
295 | the dialog shows and returns only directories. The default for all of the |
||
296 | opional parameters is False. |
||
297 | |||
4759 | cbradney | 298 | The filter, if specified, takes the form 'comment (*.type *.type2 ...)'. |
299 | For example 'Images (*.png *.xpm *.jpg)'. |
||
4462 | cbradney | 300 | |
301 | Refer to the Qt-Documentation for QFileDialog for details on filters. |
||
302 | |||
4759 | cbradney | 303 | Example: fileDialog('Open input', 'CSV files (*.csv)') |
304 | Example: fileDialog('Save report', defaultname='report.txt', issave=True) |
||
4462 | cbradney | 305 | </source> |
4759 | cbradney | 306 | <translation type="unfinished">fileDialog("caption", ["filter", "defaultname", haspreview, issave, isdir]) -> string with filename |
4462 | cbradney | 307 | |
308 | Shows a File Open dialog box with the caption "caption". Files are filtered |
||
309 | with the filter string "filter". A default filename or file path can also |
||
4759 | cbradney | 310 | supplied, leave this string empty when you don't want to use it. A value of |
4462 | cbradney | 311 | True for haspreview enables a small preview widget in the FileSelect box. When |
312 | the issave parameter is set to True the dialog acts like a "Save As" dialog |
||
313 | otherwise it acts like a "File Open Dialog". When the isdir parameter is True |
||
314 | the dialog shows and returns only directories. The default for all of the |
||
315 | opional parameters is False. |
||
316 | |||
4759 | cbradney | 317 | The filter, if specified, takes the form 'comment (*.type *.type2 ...)'. |
318 | For example 'Images (*.png *.xpm *.jpg)'. |
||
4462 | cbradney | 319 | |
320 | Refer to the Qt-Documentation for QFileDialog for details on filters. |
||
321 | |||
4759 | cbradney | 322 | Example: fileDialog('Open input', 'CSV files (*.csv)') |
323 | Example: fileDialog('Save report', defaultname='report.txt', issave=True) |
||
4462 | cbradney | 324 | </translation> |
325 | </message> |
||
326 | <message> |
||
4759 | cbradney | 327 | <source>messageBox("caption", "message", |
1135 | cbradney | 328 | icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT, |
4759 | cbradney | 329 | button2=BUTTON_NONE, button3=BUTTON_NONE) -> integer |
1135 | cbradney | 330 | |
331 | Displays a message box with the title "caption", the message "message", and |
||
332 | an icon "icon" and up to 3 buttons. By default no icon is used and a single |
||
333 | button, OK, is displayed. Only the caption and message arguments are required, |
||
334 | though setting an icon and appropriate button(s) is strongly |
||
335 | recommended. The message text may contain simple HTML-like markup. |
||
336 | |||
337 | Returns the number of the button the user pressed. Button numbers start |
||
338 | at 1. |
||
339 | |||
340 | For the icon and the button parameters there are predefined constants available |
||
341 | with the same names as in the Qt Documentation. These are the BUTTON_* and |
||
342 | ICON_* constants defined in the module. There are also two extra constants that |
||
343 | can be binary-ORed with button constants: |
||
344 | BUTTONOPT_DEFAULT Pressing enter presses this button. |
||
345 | BUTTONOPT_ESCAPE Pressing escape presses this button. |
||
346 | |||
347 | Usage examples: |
||
4759 | cbradney | 348 | result = messageBox('Script failed', |
349 | 'This script only works when you have a text frame selected.', |
||
1135 | cbradney | 350 | ICON_ERROR) |
4759 | cbradney | 351 | result = messageBox('Monkeys!', 'Something went ook! <i>Was it a monkey?</i>', |
1135 | cbradney | 352 | ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT, |
353 | BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE) |
||
354 | |||
355 | Defined button and icon constants: |
||
356 | BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO, |
||
357 | BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL, |
||
358 | ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL. |
||
359 | </source> |
||
4759 | cbradney | 360 | <translation type="unfinished">messageBox("caption", "message", |
4462 | cbradney | 361 | icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT, |
4759 | cbradney | 362 | button2=BUTTON_NONE, button3=BUTTON_NONE) -> integer |
4462 | cbradney | 363 | |
364 | Displays a message box with the title "caption", the message "message", and |
||
365 | an icon "icon" and up to 3 buttons. By default no icon is used and a single |
||
366 | button, OK, is displayed. Only the caption and message arguments are required, |
||
367 | though setting an icon and appropriate button(s) is strongly |
||
368 | recommended. The message text may contain simple HTML-like markup. |
||
369 | |||
370 | Returns the number of the button the user pressed. Button numbers start |
||
371 | at 1. |
||
372 | |||
373 | For the icon and the button parameters there are predefined constants available |
||
374 | with the same names as in the Qt Documentation. These are the BUTTON_* and |
||
375 | ICON_* constants defined in the module. There are also two extra constants that |
||
376 | can be binary-ORed with button constants: |
||
377 | BUTTONOPT_DEFAULT Pressing enter presses this button. |
||
378 | BUTTONOPT_ESCAPE Pressing escape presses this button. |
||
379 | |||
380 | Usage examples: |
||
4759 | cbradney | 381 | result = messageBox('Script failed', |
382 | 'This script only works when you have a text frame selected.', |
||
4462 | cbradney | 383 | ICON_ERROR) |
4759 | cbradney | 384 | result = messageBox('Monkeys!', 'Something went ook! <i>Was it a monkey?</i>', |
4462 | cbradney | 385 | ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT, |
386 | BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE) |
||
387 | |||
388 | Defined button and icon constants: |
||
389 | BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO, |
||
390 | BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL, |
||
391 | ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL. |
||
392 | </translation> |
||
1135 | cbradney | 393 | </message> |
394 | <message> |
||
4759 | cbradney | 395 | <source>valueDialog(caption, message [,defaultvalue]) -> string |
1135 | cbradney | 396 | |
4759 | cbradney | 397 | Shows the common 'Ask for string' dialog and returns its value as a string |
398 | Parameters: window title, text in the window and optional 'default' value. |
||
1135 | cbradney | 399 | |
4759 | cbradney | 400 | Example: valueDialog('title', 'text in the window', 'optional') |
1135 | cbradney | 401 | </source> |
4759 | cbradney | 402 | <translation type="unfinished">valueDialog(caption, message [,defaultvalue]) -> string |
4462 | cbradney | 403 | |
4759 | cbradney | 404 | Shows the common 'Ask for string' dialog and returns its value as a string |
405 | Parameters: window title, text in the window and optional 'default' value. |
||
4462 | cbradney | 406 | |
4759 | cbradney | 407 | Example: valueDialog('title', 'text in the window', 'optional') |
4462 | cbradney | 408 | </translation> |
1135 | cbradney | 409 | </message> |
410 | <message> |
||
4759 | cbradney | 411 | <source>closeDoc() |
1135 | cbradney | 412 | |
413 | Closes the current document without prompting to save. |
||
414 | |||
415 | May throw NoDocOpenError if there is no document to close |
||
416 | </source> |
||
4759 | cbradney | 417 | <translation type="unfinished">closeDoc() |
4462 | cbradney | 418 | |
419 | Closes the current document without prompting to save. |
||
420 | |||
421 | May throw NoDocOpenError if there is no document to close |
||
422 | </translation> |
||
1135 | cbradney | 423 | </message> |
424 | <message> |
||
4759 | cbradney | 425 | <source>haveDoc() -> bool |
1135 | cbradney | 426 | |
427 | Returns true if there is a document open. |
||
428 | </source> |
||
4759 | cbradney | 429 | <translation type="unfinished">haveDoc() -> bool |
4462 | cbradney | 430 | |
431 | Returns true if there is a document open. |
||
432 | </translation> |
||
1135 | cbradney | 433 | </message> |
434 | <message> |
||
4759 | cbradney | 435 | <source>openDoc("name") |
1135 | cbradney | 436 | |
437 | Opens the document "name". |
||
438 | |||
439 | May raise ScribusError if the document could not be opened. |
||
440 | </source> |
||
4759 | cbradney | 441 | <translation type="unfinished">openDoc("name") |
4462 | cbradney | 442 | |
443 | Opens the document "name". |
||
444 | |||
445 | May raise ScribusError if the document could not be opened. |
||
446 | </translation> |
||
1135 | cbradney | 447 | </message> |
448 | <message> |
||
4759 | cbradney | 449 | <source>saveDoc() |
1135 | cbradney | 450 | |
451 | Saves the current document with its current name, returns true if successful. |
||
452 | If the document has not already been saved, this may bring up an interactive |
||
453 | save file dialog. |
||
454 | |||
455 | If the save fails, there is currently no way to tell. |
||
456 | </source> |
||
4759 | cbradney | 457 | <translation type="unfinished">saveDoc() |
4462 | cbradney | 458 | |
459 | Saves the current document with its current name, returns true if successful. |
||
460 | If the document has not already been saved, this may bring up an interactive |
||
461 | save file dialog. |
||
462 | |||
463 | If the save fails, there is currently no way to tell. |
||
464 | </translation> |
||
1135 | cbradney | 465 | </message> |
466 | <message> |
||
4759 | cbradney | 467 | <source>saveDocAs("name") |
1135 | cbradney | 468 | |
469 | Saves the current document under the new name "name" (which may be a full or |
||
470 | relative path). |
||
471 | |||
472 | May raise ScribusError if the save fails. |
||
473 | </source> |
||
4759 | cbradney | 474 | <translation type="unfinished">saveDocAs("name") |
4462 | cbradney | 475 | |
476 | Saves the current document under the new name "name" (which may be a full or |
||
477 | relative path). |
||
478 | |||
479 | May raise ScribusError if the save fails. |
||
480 | </translation> |
||
1135 | cbradney | 481 | </message> |
482 | <message> |
||
4759 | cbradney | 483 | <source>saveDocAs("author", "info", "description") -> bool |
1135 | cbradney | 484 | |
485 | Sets the document information. "Author", "Info", "Description" are |
||
486 | strings. |
||
487 | </source> |
||
6434 | cbradney | 488 | <translation type="obsolete">saveDocAs("author", "info", "description") -> bool |
4462 | cbradney | 489 | |
490 | Sets the document information. "Author", "Info", "Description" are |
||
491 | strings. |
||
492 | </translation> |
||
1135 | cbradney | 493 | </message> |
494 | <message> |
||
4759 | cbradney | 495 | <source>setMargins(lr, rr, tr, br) |
1135 | cbradney | 496 | |
497 | Sets the margins of the document, Left(lr), Right(rr), Top(tr) and Bottom(br) |
||
4759 | cbradney | 498 | margins are given in the measurement units of the document - see UNIT_<type> |
1135 | cbradney | 499 | constants. |
500 | </source> |
||
4759 | cbradney | 501 | <translation type="unfinished">setMargins(lr, rr, tr, br) |
4462 | cbradney | 502 | |
503 | Sets the margins of the document, Left(lr), Right(rr), Top(tr) and Bottom(br) |
||
4759 | cbradney | 504 | margins are given in the measurement units of the document - see UNIT_<type> |
4462 | cbradney | 505 | constants. |
506 | </translation> |
||
1135 | cbradney | 507 | </message> |
508 | <message> |
||
4759 | cbradney | 509 | <source>setUnit(type) |
1135 | cbradney | 510 | |
511 | Changes the measurement unit of the document. Possible values for "unit" are |
||
4759 | cbradney | 512 | defined as constants UNIT_<type>. |
1135 | cbradney | 513 | |
514 | May raise ValueError if an invalid unit is passed. |
||
515 | </source> |
||
4759 | cbradney | 516 | <translation type="unfinished">setUnit(type) |
4462 | cbradney | 517 | |
518 | Changes the measurement unit of the document. Possible values for "unit" are |
||
4759 | cbradney | 519 | defined as constants UNIT_<type>. |
4462 | cbradney | 520 | |
521 | May raise ValueError if an invalid unit is passed. |
||
522 | </translation> |
||
1135 | cbradney | 523 | </message> |
524 | <message> |
||
4759 | cbradney | 525 | <source>getUnit() -> integer (Scribus unit constant) |
1135 | cbradney | 526 | |
527 | Returns the measurement units of the document. The returned value will be one |
||
528 | of the UNIT_* constants: |
||
529 | UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS. |
||
530 | </source> |
||
4759 | cbradney | 531 | <translation type="unfinished">getUnit() -> integer (Scribus unit constant) |
4462 | cbradney | 532 | |
533 | Returns the measurement units of the document. The returned value will be one |
||
534 | of the UNIT_* constants: |
||
535 | UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS. |
||
536 | </translation> |
||
1135 | cbradney | 537 | </message> |
538 | <message> |
||
4759 | cbradney | 539 | <source>loadStylesFromFile("filename") |
1135 | cbradney | 540 | |
541 | Loads paragraph styles from the Scribus document at "filename" into the |
||
542 | current document. |
||
543 | </source> |
||
4759 | cbradney | 544 | <translation type="unfinished">loadStylesFromFile("filename") |
4462 | cbradney | 545 | |
546 | Loads paragraph styles from the Scribus document at "filename" into the |
||
547 | current document. |
||
548 | </translation> |
||
1135 | cbradney | 549 | </message> |
550 | <message> |
||
4759 | cbradney | 551 | <source>setDocType(facingPages, firstPageLeft) |
1135 | cbradney | 552 | |
553 | Sets the document type. To get facing pages set the first parameter to |
||
554 | FACINGPAGES, to switch facingPages off use NOFACINGPAGES instead. If you want |
||
555 | to be the first page a left side set the second parameter to FIRSTPAGELEFT, for |
||
556 | a right page use FIRSTPAGERIGHT. |
||
557 | </source> |
||
4759 | cbradney | 558 | <translation type="unfinished">setDocType(facingPages, firstPageLeft) |
4462 | cbradney | 559 | |
560 | Sets the document type. To get facing pages set the first parameter to |
||
561 | FACINGPAGES, to switch facingPages off use NOFACINGPAGES instead. If you want |
||
562 | to be the first page a left side set the second parameter to FIRSTPAGELEFT, for |
||
563 | a right page use FIRSTPAGERIGHT. |
||
564 | </translation> |
||
1135 | cbradney | 565 | </message> |
566 | <message> |
||
4759 | cbradney | 567 | <source>getLineColor(["name"]) -> string |
1135 | cbradney | 568 | |
569 | Returns the name of the line color of the object "name". |
||
570 | If "name" is not given the currently selected item is used. |
||
571 | </source> |
||
4759 | cbradney | 572 | <translation>getLineColor(["name"]) -> string |
4462 | cbradney | 573 | |
574 | Returns the name of the line colour of the object "name". |
||
575 | If "name" is not given the currently selected item is used. |
||
576 | </translation> |
||
1135 | cbradney | 577 | </message> |
578 | <message> |
||
4759 | cbradney | 579 | <source>getLineWidth(["name"]) -> integer |
1135 | cbradney | 580 | |
581 | Returns the line width of the object "name". If "name" |
||
582 | is not given the currently selected Item is used. |
||
583 | </source> |
||
4759 | cbradney | 584 | <translation type="unfinished">getLineWidth(["name"]) -> integer |
4462 | cbradney | 585 | |
586 | Returns the line width of the object "name". If "name" |
||
587 | is not given the currently selected Item is used. |
||
588 | </translation> |
||
1135 | cbradney | 589 | </message> |
590 | <message> |
||
4759 | cbradney | 591 | <source>getLineShade(["name"]) -> integer |
1135 | cbradney | 592 | |
593 | Returns the shading value of the line color of the object "name". |
||
594 | If "name" is not given the currently selected item is used. |
||
595 | </source> |
||
4759 | cbradney | 596 | <translation>getLineShade(["name"]) -> integer |
4462 | cbradney | 597 | |
598 | Returns the shading value of the line colour of the object "name". |
||
599 | If "name" is not given the currently selected item is used. |
||
600 | </translation> |
||
1135 | cbradney | 601 | </message> |
602 | <message> |
||
4759 | cbradney | 603 | <source>getLineJoin(["name"]) -> integer (see contants) |
1135 | cbradney | 604 | |
605 | Returns the line join style of the object "name". If "name" is not given |
||
606 | the currently selected item is used. The join types are: |
||
607 | JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND |
||
608 | </source> |
||
4759 | cbradney | 609 | <translation type="unfinished">getLineJoin(["name"]) -> integer (see contants) |
4462 | cbradney | 610 | |
611 | Returns the line join style of the object "name". If "name" is not given |
||
612 | the currently selected item is used. The join types are: |
||
613 | JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND |
||
614 | </translation> |
||
1135 | cbradney | 615 | </message> |
616 | <message> |
||
4759 | cbradney | 617 | <source>getLineEnd(["name"]) -> integer (see constants) |
1135 | cbradney | 618 | |
619 | Returns the line cap style of the object "name". If "name" is not given the |
||
620 | currently selected item is used. The cap types are: |
||
621 | CAP_FLAT, CAP_ROUND, CAP_SQUARE |
||
622 | </source> |
||
4759 | cbradney | 623 | <translation type="unfinished">getLineEnd(["name"]) -> integer (see constants) |
4462 | cbradney | 624 | |
625 | Returns the line cap style of the object "name". If "name" is not given the |
||
626 | currently selected item is used. The cap types are: |
||
627 | CAP_FLAT, CAP_ROUND, CAP_SQUARE |
||
628 | </translation> |
||
1135 | cbradney | 629 | </message> |
630 | <message> |
||
4759 | cbradney | 631 | <source>getLineStyle(["name"]) -> integer (see constants) |
1135 | cbradney | 632 | |
633 | Returns the line style of the object "name". If "name" is not given the |
||
634 | currently selected item is used. Line style constants are: |
||
635 | LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID |
||
636 | </source> |
||
4759 | cbradney | 637 | <translation type="unfinished">getLineStyle(["name"]) -> integer (see constants) |
4462 | cbradney | 638 | |
639 | Returns the line style of the object "name". If "name" is not given the |
||
640 | currently selected item is used. Line style constants are: |
||
641 | LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID |
||
642 | </translation> |
||
1135 | cbradney | 643 | </message> |
644 | <message> |
||
4759 | cbradney | 645 | <source>getFillShade(["name"]) -> integer |
1135 | cbradney | 646 | |
647 | Returns the shading value of the fill color of the object "name". |
||
648 | If "name" is not given the currently selected item is used. |
||
649 | </source> |
||
4759 | cbradney | 650 | <translation>getFillShade(["name"]) -> integer |
4462 | cbradney | 651 | |
652 | Returns the shading value of the fill colour of the object "name". |
||
653 | If "name" is not given the currently selected item is used. |
||
654 | </translation> |
||
1135 | cbradney | 655 | </message> |
656 | <message> |
||
4759 | cbradney | 657 | <source>getCornerRadius(["name"]) -> integer |
4462 | cbradney | 658 | |
659 | Returns the corner radius of the object "name". The radius isexpressed in points. If "name" is not given the currentlyselected item is used. |
||
660 | </source> |
||
4759 | cbradney | 661 | <translation type="unfinished">getCornerRadius(["name"]) -> integer |
4462 | cbradney | 662 | |
663 | Returns the corner radius of the object "name". The radius isexpressed in points. If "name" is not given the currentlyselected item is used. |
||
664 | </translation> |
||
665 | </message> |
||
666 | <message> |
||
4759 | cbradney | 667 | <source>getImageScale(["name"]) -> (x,y) |
1135 | cbradney | 668 | |
669 | Returns a (x, y) tuple containing the scaling values of the image frame |
||
670 | "name". If "name" is not given the currently selected item is used. |
||
671 | </source> |
||
4759 | cbradney | 672 | <translation type="unfinished">getImageScale(["name"]) -> (x,y) |
4462 | cbradney | 673 | |
674 | Returns a (x, y) tuple containing the scaling values of the image frame |
||
675 | "name". If "name" is not given the currently selected item is used. |
||
676 | </translation> |
||
1135 | cbradney | 677 | </message> |
678 | <message> |
||
4759 | cbradney | 679 | <source>getImageName(["name"]) -> string |
1135 | cbradney | 680 | |
681 | Returns the filename for the image in the image frame. If "name" is not |
||
682 | given the currently selected item is used. |
||
683 | </source> |
||
4759 | cbradney | 684 | <translation type="unfinished">getImageName(["name"]) -> string |
4462 | cbradney | 685 | |
686 | Returns the filename for the image in the image frame. If "name" is not |
||
687 | given the currently selected item is used. |
||
688 | </translation> |
||
1135 | cbradney | 689 | </message> |
690 | <message> |
||
4759 | cbradney | 691 | <source>getPosition(["name"]) -> (x,y) |
4462 | cbradney | 692 | |
693 | Returns a (x, y) tuple with the position of the object "name". |
||
694 | If "name" is not given the currently selected item is used.The position is expressed in the actual measurement unit of the document |
||
4759 | cbradney | 695 | - see UNIT_<type> for reference. |
4462 | cbradney | 696 | </source> |
4759 | cbradney | 697 | <translation type="unfinished">getPosition(["name"]) -> (x,y) |
4462 | cbradney | 698 | |
699 | Returns a (x, y) tuple with the position of the object "name". |
||
700 | If "name" is not given the currently selected item is used.The position is expressed in the actual measurement unit of the document |
||
4759 | cbradney | 701 | - see UNIT_<type> for reference. |
4462 | cbradney | 702 | </translation> |
703 | </message> |
||
704 | <message> |
||
4759 | cbradney | 705 | <source>getSize(["name"]) -> (width,height) |
1135 | cbradney | 706 | |
707 | Returns a (width, height) tuple with the size of the object "name". |
||
708 | If "name" is not given the currently selected item is used. The size is |
||
4759 | cbradney | 709 | expressed in the current measurement unit of the document - see UNIT_<type> |
1135 | cbradney | 710 | for reference. |
711 | </source> |
||
4759 | cbradney | 712 | <translation type="unfinished">getSize(["name"]) -> (width,height) |
4462 | cbradney | 713 | |
714 | Returns a (width, height) tuple with the size of the object "name". |
||
715 | If "name" is not given the currently selected item is used. The size is |
||
4759 | cbradney | 716 | expressed in the current measurement unit of the document - see UNIT_<type> |
4462 | cbradney | 717 | for reference. |
718 | </translation> |
||
1135 | cbradney | 719 | </message> |
720 | <message> |
||
4759 | cbradney | 721 | <source>getRotation(["name"]) -> integer |
1135 | cbradney | 722 | |
723 | Returns the rotation of the object "name". The value is expressed in degrees, |
||
724 | and clockwise is positive. If "name" is not given the currently selected item |
||
725 | is used. |
||
726 | </source> |
||
4759 | cbradney | 727 | <translation type="unfinished">getRotation(["name"]) -> integer |
4462 | cbradney | 728 | |
729 | Returns the rotation of the object "name". The value is expressed in degrees, |
||
730 | and clockwise is positive. If "name" is not given the currently selected item |
||
731 | is used. |
||
732 | </translation> |
||
1135 | cbradney | 733 | </message> |
734 | <message> |
||
4759 | cbradney | 735 | <source>getAllObjects() -> list |
1135 | cbradney | 736 | |
737 | Returns a list containing the names of all objects on the current page. |
||
738 | </source> |
||
4759 | cbradney | 739 | <translation type="unfinished">getAllObjects() -> list |
4462 | cbradney | 740 | |
741 | Returns a list containing the names of all objects on the current page. |
||
742 | </translation> |
||
1135 | cbradney | 743 | </message> |
744 | <message> |
||
4759 | cbradney | 745 | <source>getPropertyCType(object, property, includesuper=True) |
4462 | cbradney | 746 | |
4759 | cbradney | 747 | Returns the name of the C type of `property' of `object'. See getProperty() |
4462 | cbradney | 748 | for details of arguments. |
749 | |||
4759 | cbradney | 750 | If `includesuper' is true, search inherited properties too. |
4462 | cbradney | 751 | </source> |
4759 | cbradney | 752 | <translation type="unfinished">getPropertyCType(object, property, includesuper=True) |
4462 | cbradney | 753 | |
4759 | cbradney | 754 | Returns the name of the C type of `property' of `object'. See getProperty() |
4462 | cbradney | 755 | for details of arguments. |
756 | |||
4759 | cbradney | 757 | If `includesuper' is true, search inherited properties too. |
4462 | cbradney | 758 | </translation> |
759 | </message> |
||
760 | <message> |
||
4759 | cbradney | 761 | <source>getPropertyNames(object, includesuper=True) |
4462 | cbradney | 762 | |
4759 | cbradney | 763 | Return a list of property names supported by `object'. |
764 | If `includesuper' is true, return properties supported |
||
4462 | cbradney | 765 | by parent classes as well. |
766 | </source> |
||
4759 | cbradney | 767 | <translation type="unfinished">getPropertyNames(object, includesuper=True) |
4462 | cbradney | 768 | |
4759 | cbradney | 769 | Return a list of property names supported by `object'. |
770 | If `includesuper' is true, return properties supported |
||
4462 | cbradney | 771 | by parent classes as well. |
772 | </translation> |
||
773 | </message> |
||
774 | <message> |
||
4759 | cbradney | 775 | <source>getProperty(object, property) |
4462 | cbradney | 776 | |
4759 | cbradney | 777 | Return the value of the property `property' of the passed `object'. |
4462 | cbradney | 778 | |
4759 | cbradney | 779 | The `object' argument may be a string, in which case the named PageItem |
4462 | cbradney | 780 | is searched for. It may also be a PyCObject, which may point to any |
781 | C++ QObject instance. |
||
782 | |||
4759 | cbradney | 783 | The `property' argument must be a string, and is the name of the property |
784 | to look up on `object'. |
||
4462 | cbradney | 785 | |
786 | The return value varies depending on the type of the property. |
||
787 | </source> |
||
4759 | cbradney | 788 | <translation type="unfinished">getProperty(object, property) |
4462 | cbradney | 789 | |
4759 | cbradney | 790 | Return the value of the property `property' of the passed `object'. |
4462 | cbradney | 791 | |
4759 | cbradney | 792 | The `object' argument may be a string, in which case the named PageItem |
4462 | cbradney | 793 | is searched for. It may also be a PyCObject, which may point to any |
794 | C++ QObject instance. |
||
795 | |||
4759 | cbradney | 796 | The `property' argument must be a string, and is the name of the property |
797 | to look up on `object'. |
||
4462 | cbradney | 798 | |
799 | The return value varies depending on the type of the property. |
||
800 | </translation> |
||
801 | </message> |
||
802 | <message> |
||
4759 | cbradney | 803 | <source>setProperty(object, property, value) |
4462 | cbradney | 804 | |
4759 | cbradney | 805 | Set `property' of `object' to `value'. If `value' cannot be converted to a type |
806 | compatible with the type of `property', an exception is raised. An exception may |
||
4462 | cbradney | 807 | also be raised if the underlying setter fails. |
808 | |||
809 | See getProperty() for more information. |
||
810 | </source> |
||
4759 | cbradney | 811 | <translation type="unfinished">setProperty(object, property, value) |
4462 | cbradney | 812 | |
4759 | cbradney | 813 | Set `property' of `object' to `value'. If `value' cannot be converted to a type |
814 | compatible with the type of `property', an exception is raised. An exception may |
||
4462 | cbradney | 815 | also be raised if the underlying setter fails. |
816 | |||
817 | See getProperty() for more information. |
||
818 | </translation> |
||
819 | </message> |
||
820 | <message> |
||
4759 | cbradney | 821 | <source>getChildren(object, ofclass=None, ofname=None, regexpmatch=False, recursive=True) |
4462 | cbradney | 822 | |
4759 | cbradney | 823 | Return a list of children of `object', possibly restricted to children |
824 | of class named `ofclass' or children named `ofname'. If `recursive' is true, |
||
4462 | cbradney | 825 | search recursively through children, grandchildren, etc. |
826 | |||
827 | See QObject::children() in the Qt docs for more information. |
||
828 | </source> |
||
4759 | cbradney | 829 | <translation type="unfinished">getChildren(object, ofclass=None, ofname=None, regexpmatch=False, recursive=True) |
4462 | cbradney | 830 | |
4759 | cbradney | 831 | Return a list of children of `object', possibly restricted to children |
832 | of class named `ofclass' or children named `ofname'. If `recursive' is true, |
||
4462 | cbradney | 833 | search recursively through children, grandchildren, etc. |
834 | |||
835 | See QObject::children() in the Qt docs for more information. |
||
836 | </translation> |
||
837 | </message> |
||
838 | <message> |
||
4759 | cbradney | 839 | <source>getChild(object, childname, ofclass=None, recursive=True) |
4462 | cbradney | 840 | |
4759 | cbradney | 841 | Return the first child of `object' named `childname', possibly restricting |
842 | the search to children of type name `ofclass'. If `recursive' is true, |
||
4462 | cbradney | 843 | search recursively through children, grandchildren, etc. |
844 | </source> |
||
4759 | cbradney | 845 | <translation type="unfinished">getChild(object, childname, ofclass=None, recursive=True) |
4462 | cbradney | 846 | |
4759 | cbradney | 847 | Return the first child of `object' named `childname', possibly restricting |
848 | the search to children of type name `ofclass'. If `recursive' is true, |
||
4462 | cbradney | 849 | search recursively through children, grandchildren, etc. |
850 | </translation> |
||
851 | </message> |
||
852 | <message> |
||
4759 | cbradney | 853 | <source>moveObjectAbs(x, y [, "name"]) |
1135 | cbradney | 854 | |
855 | Moves the object "name" to a new location. The coordinates are expressed in |
||
856 | the current measurement unit of the document (see UNIT constants). If "name" |
||
857 | is not given the currently selected item is used. If the object "name" |
||
858 | belongs to a group, the whole group is moved. |
||
859 | </source> |
||
4759 | cbradney | 860 | <translation type="unfinished">moveObjectAbs(x, y [, "name"]) |
4462 | cbradney | 861 | |
862 | Moves the object "name" to a new location. The coordinates are expressed in |
||
863 | the current measurement unit of the document (see UNIT constants). If "name" |
||
864 | is not given the currently selected item is used. If the object "name" |
||
865 | belongs to a group, the whole group is moved. |
||
866 | </translation> |
||
1135 | cbradney | 867 | </message> |
868 | <message> |
||
4759 | cbradney | 869 | <source>rotateObject(rot [, "name"]) |
1135 | cbradney | 870 | |
871 | Rotates the object "name" by "rot" degrees relatively. The object is |
||
872 | rotated by the vertex that is currently selected as the rotation point - by |
||
873 | default, the top left vertext at zero rotation. Positive values mean counter |
||
874 | clockwise rotation when the default rotation point is used. If "name" is not |
||
875 | given the currently selected item is used. |
||
876 | </source> |
||
4759 | cbradney | 877 | <translation type="unfinished">rotateObject(rot [, "name"]) |
4462 | cbradney | 878 | |
879 | Rotates the object "name" by "rot" degrees relatively. The object is |
||
880 | rotated by the vertex that is currently selected as the rotation point - by |
||
881 | default, the top left vertext at zero rotation. Positive values mean counter |
||
882 | clockwise rotation when the default rotation point is used. If "name" is not |
||
883 | given the currently selected item is used. |
||
884 | </translation> |
||
1135 | cbradney | 885 | </message> |
886 | <message> |
||
4759 | cbradney | 887 | <source>rotateObjectAbs(rot [, "name"]) |
4462 | cbradney | 888 | |
889 | Sets the rotation of the object "name" to "rot". Positve values |
||
890 | mean counter clockwise rotation. If "name" is not given the currently |
||
891 | selected item is used. |
||
892 | </source> |
||
4759 | cbradney | 893 | <translation type="unfinished">rotateObjectAbs(rot [, "name"]) |
4462 | cbradney | 894 | |
895 | Sets the rotation of the object "name" to "rot". Positve values |
||
896 | mean counter clockwise rotation. If "name" is not given the currently |
||
897 | selected item is used. |
||
898 | </translation> |
||
899 | </message> |
||
900 | <message> |
||
4759 | cbradney | 901 | <source>sizeObject(width, height [, "name"]) |
1135 | cbradney | 902 | |
903 | Resizes the object "name" to the given width and height. If "name" |
||
904 | is not given the currently selected item is used. |
||
905 | </source> |
||
4759 | cbradney | 906 | <translation type="unfinished">sizeObject(width, height [, "name"]) |
4462 | cbradney | 907 | |
908 | Resizes the object "name" to the given width and height. If "name" |
||
909 | is not given the currently selected item is used. |
||
910 | </translation> |
||
1135 | cbradney | 911 | </message> |
912 | <message> |
||
4759 | cbradney | 913 | <source>getSelectedObject([nr]) -> string |
1135 | cbradney | 914 | |
915 | Returns the name of the selected object. "nr" if given indicates the number |
||
916 | of the selected object, e.g. 0 means the first selected object, 1 means the |
||
917 | second selected Object and so on. |
||
918 | </source> |
||
4759 | cbradney | 919 | <translation type="unfinished">getSelectedObject([nr]) -> string |
4462 | cbradney | 920 | |
921 | Returns the name of the selected object. "nr" if given indicates the number |
||
922 | of the selected object, e.g. 0 means the first selected object, 1 means the |
||
923 | second selected Object and so on. |
||
924 | </translation> |
||
1135 | cbradney | 925 | </message> |
926 | <message> |
||
4759 | cbradney | 927 | <source>selectionCount() -> integer |
1135 | cbradney | 928 | |
929 | Returns the number of selected objects. |
||
930 | </source> |
||
4759 | cbradney | 931 | <translation type="unfinished">selectionCount() -> integer |
4462 | cbradney | 932 | |
933 | Returns the number of selected objects. |
||
934 | </translation> |
||
1135 | cbradney | 935 | </message> |
936 | <message> |
||
4759 | cbradney | 937 | <source>selectObject("name") |
1135 | cbradney | 938 | |
939 | Selects the object with the given "name". |
||
940 | </source> |
||
4759 | cbradney | 941 | <translation type="unfinished">selectObject("name") |
4462 | cbradney | 942 | |
943 | Selects the object with the given "name". |
||
944 | </translation> |
||
1135 | cbradney | 945 | </message> |
946 | <message> |
||
4759 | cbradney | 947 | <source>deselectAll() |
1135 | cbradney | 948 | |
949 | Deselects all objects in the whole document. |
||
950 | </source> |
||
4759 | cbradney | 951 | <translation type="unfinished">deselectAll() |
4462 | cbradney | 952 | |
953 | Deselects all objects in the whole document. |
||
954 | </translation> |
||
1135 | cbradney | 955 | </message> |
956 | <message> |
||
4759 | cbradney | 957 | <source>groupObjects(list) |
1135 | cbradney | 958 | |
959 | Groups the objects named in "list" together. "list" must contain the names |
||
960 | of the objects to be grouped. If "list" is not given the currently selected |
||
961 | items are used. |
||
962 | </source> |
||
4759 | cbradney | 963 | <translation type="unfinished">groupObjects(list) |
4462 | cbradney | 964 | |
965 | Groups the objects named in "list" together. "list" must contain the names |
||
966 | of the objects to be grouped. If "list" is not given the currently selected |
||
967 | items are used. |
||
968 | </translation> |
||
1135 | cbradney | 969 | </message> |
970 | <message> |
||
4759 | cbradney | 971 | <source>unGroupObjects("name") |
1135 | cbradney | 972 | |
973 | Destructs the group the object "name" belongs to.If "name" is not given the currently selected item is used.</source> |
||
4759 | cbradney | 974 | <translation type="unfinished">unGroupObjects("name") |
4462 | cbradney | 975 | |
976 | Destructs the group the object "name" belongs to.If "name" is not given the currently selected item is used.</translation> |
||
1135 | cbradney | 977 | </message> |
978 | <message> |
||
4759 | cbradney | 979 | <source>scaleGroup(factor [,"name"]) |
1135 | cbradney | 980 | |
981 | Scales the group the object "name" belongs to. Values greater than 1 enlarge |
||
982 | the group, values smaller than 1 make the group smaller e.g a value of 0.5 |
||
983 | scales the group to 50 % of its original size, a value of 1.5 scales the group |
||
984 | to 150 % of its original size. The value for "factor" must be greater than |
||
985 | 0. If "name" is not given the currently selected item is used. |
||
986 | |||
987 | May raise ValueError if an invalid scale factor is passed. |
||
988 | </source> |
||
4759 | cbradney | 989 | <translation type="unfinished">scaleGroup(factor [,"name"]) |
4462 | cbradney | 990 | |
991 | Scales the group the object "name" belongs to. Values greater than 1 enlarge |
||
992 | the group, values smaller than 1 make the group smaller e.g a value of 0.5 |
||
993 | scales the group to 50 % of its original size, a value of 1.5 scales the group |
||
994 | to 150 % of its original size. The value for "factor" must be greater than |
||
995 | 0. If "name" is not given the currently selected item is used. |
||
996 | |||
997 | May raise ValueError if an invalid scale factor is passed. |
||
998 | </translation> |
||
1135 | cbradney | 999 | </message> |
1000 | <message> |
||
4759 | cbradney | 1001 | <source>loadImage("filename" [, "name"]) |
1135 | cbradney | 1002 | |
1003 | Loads the picture "picture" into the image frame "name". If "name" is |
||
1004 | not given the currently selected item is used. |
||
1005 | |||
1006 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
1007 | </source> |
||
4759 | cbradney | 1008 | <translation type="unfinished">loadImage("filename" [, "name"]) |
4462 | cbradney | 1009 | |
1010 | Loads the picture "picture" into the image frame "name". If "name" is |
||
1011 | not given the currently selected item is used. |
||
1012 | |||
1013 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
1014 | </translation> |
||
1135 | cbradney | 1015 | </message> |
1016 | <message> |
||
4759 | cbradney | 1017 | <source>scaleImage(x, y [, "name"]) |
1135 | cbradney | 1018 | |
1019 | Sets the scaling factors of the picture in the image frame "name". |
||
1020 | If "name" is not given the currently selected item is used. A number of 1 |
||
1021 | means 100 %. |
||
1022 | |||
1023 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
1024 | </source> |
||
4759 | cbradney | 1025 | <translation type="unfinished">scaleImage(x, y [, "name"]) |
4462 | cbradney | 1026 | |
1027 | Sets the scaling factors of the picture in the image frame "name". |
||
1028 | If "name" is not given the currently selected item is used. A number of 1 |
||
1029 | means 100 %. |
||
1030 | |||
1031 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
1032 | </translation> |
||
1135 | cbradney | 1033 | </message> |
1034 | <message> |
||
4759 | cbradney | 1035 | <source>lockObject(["name"]) -> bool |
1135 | cbradney | 1036 | |
4759 | cbradney | 1037 | Locks the object "name" if it's unlocked or unlock it if it's locked. |
1135 | cbradney | 1038 | If "name" is not given the currently selected item is used. Returns true |
1039 | if locked. |
||
1040 | </source> |
||
4759 | cbradney | 1041 | <translation type="unfinished">lockObject(["name"]) -> bool |
4462 | cbradney | 1042 | |
4759 | cbradney | 1043 | Locks the object "name" if it's unlocked or unlock it if it's locked. |
4462 | cbradney | 1044 | If "name" is not given the currently selected item is used. Returns true |
1045 | if locked. |
||
1046 | </translation> |
||
1135 | cbradney | 1047 | </message> |
1048 | <message> |
||
4759 | cbradney | 1049 | <source>isLocked(["name"]) -> bool |
1135 | cbradney | 1050 | |
1051 | Returns true if is the object "name" locked. If "name" is not given the |
||
1052 | currently selected item is used. |
||
1053 | </source> |
||
4759 | cbradney | 1054 | <translation type="unfinished">isLocked(["name"]) -> bool |
4462 | cbradney | 1055 | |
1056 | Returns true if is the object "name" locked. If "name" is not given the |
||
1057 | currently selected item is used. |
||
1058 | </translation> |
||
1135 | cbradney | 1059 | </message> |
1060 | <message> |
||
4759 | cbradney | 1061 | <source>setScaleImageToFrame(scaletoframe, proportional=None, name=<selection>) |
4462 | cbradney | 1062 | |
4759 | cbradney | 1063 | Sets the scale to frame on the selected or specified image frame to `scaletoframe'. |
1064 | If `proportional' is specified, set fixed aspect ratio scaling to `proportional'. |
||
1065 | Both `scaletoframe' and `proportional' are boolean. |
||
4462 | cbradney | 1066 | |
1067 | May raise WrongFrameTypeError. |
||
1068 | </source> |
||
4759 | cbradney | 1069 | <translation type="unfinished">setScaleImageToFrame(scaletoframe, proportional=None, name=<selection>) |
4462 | cbradney | 1070 | |
4759 | cbradney | 1071 | Sets the scale to frame on the selected or specified image frame to `scaletoframe'. |
1072 | If `proportional' is specified, set fixed aspect ratio scaling to `proportional'. |
||
1073 | Both `scaletoframe' and `proportional' are boolean. |
||
4462 | cbradney | 1074 | |
1075 | May raise WrongFrameTypeError. |
||
1076 | </translation> |
||
1077 | </message> |
||
1078 | <message> |
||
4759 | cbradney | 1079 | <source>getFontNames() -> list |
1135 | cbradney | 1080 | |
1081 | Returns a list with the names of all available fonts. |
||
1082 | </source> |
||
4759 | cbradney | 1083 | <translation type="unfinished">getFontNames() -> list |
4462 | cbradney | 1084 | |
1085 | Returns a list with the names of all available fonts. |
||
1086 | </translation> |
||
1135 | cbradney | 1087 | </message> |
1088 | <message> |
||
4759 | cbradney | 1089 | <source>getXFontNames() -> list of tuples |
1135 | cbradney | 1090 | |
4759 | cbradney | 1091 | Returns a larger font info. It's a list of the tuples with: |
1135 | cbradney | 1092 | [ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ] |
1093 | </source> |
||
4759 | cbradney | 1094 | <translation type="unfinished">getXFontNames() -> list of tuples |
4462 | cbradney | 1095 | |
4759 | cbradney | 1096 | Returns a larger font info. It's a list of the tuples with: |
4462 | cbradney | 1097 | [ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ] |
1098 | </translation> |
||
1135 | cbradney | 1099 | </message> |
1100 | <message> |
||
4759 | cbradney | 1101 | <source>renderFont("name", "filename", "sample", size, format="PPM") -> bool |
4462 | cbradney | 1102 | |
1103 | Creates an image preview of font "name" with given text "sample" and size. |
||
1104 | If "filename" is not "", image is saved into "filename". Otherwise |
||
1105 | image data is returned as a string. The optional "format" argument |
||
1106 | specifies the image format to generate, and supports any format allowed |
||
1107 | by QPixmap.save(). Common formats are PPM, JPEG, PNG and XPM. |
||
1108 | |||
4759 | cbradney | 1109 | May raise NotFoundError if the specified font can't be found. |
4462 | cbradney | 1110 | May raise ValueError if an empty sample or filename is passed. |
1111 | </source> |
||
4759 | cbradney | 1112 | <translation type="unfinished">renderFont("name", "filename", "sample", size, format="PPM") -> bool |
4462 | cbradney | 1113 | |
1114 | Creates an image preview of font "name" with given text "sample" and size. |
||
1115 | If "filename" is not "", image is saved into "filename". Otherwise |
||
1116 | image data is returned as a string. The optional "format" argument |
||
1117 | specifies the image format to generate, and supports any format allowed |
||
1118 | by QPixmap.save(). Common formats are PPM, JPEG, PNG and XPM. |
||
1119 | |||
4759 | cbradney | 1120 | May raise NotFoundError if the specified font can't be found. |
4462 | cbradney | 1121 | May raise ValueError if an empty sample or filename is passed. |
1122 | </translation> |
||
1123 | </message> |
||
1124 | <message> |
||
4759 | cbradney | 1125 | <source>getLayers() -> list |
1135 | cbradney | 1126 | |
1127 | Returns a list with the names of all defined layers. |
||
1128 | </source> |
||
4759 | cbradney | 1129 | <translation type="unfinished">getLayers() -> list |
4462 | cbradney | 1130 | |
1131 | Returns a list with the names of all defined layers. |
||
1132 | </translation> |
||
1135 | cbradney | 1133 | </message> |
1134 | <message> |
||
4759 | cbradney | 1135 | <source>setActiveLayer("name") |
1135 | cbradney | 1136 | |
1137 | Sets the active layer to the layer named "name". |
||
1138 | |||
4759 | cbradney | 1139 | May raise NotFoundError if the layer can't be found. |
1140 | May raise ValueError if the layer name isn't acceptable. |
||
1135 | cbradney | 1141 | </source> |
4759 | cbradney | 1142 | <translation type="unfinished">setActiveLayer("name") |
4462 | cbradney | 1143 | |
1144 | Sets the active layer to the layer named "name". |
||
1145 | |||
4759 | cbradney | 1146 | May raise NotFoundError if the layer can't be found. |
1147 | May raise ValueError if the layer name isn't acceptable. |
||
4462 | cbradney | 1148 | </translation> |
1135 | cbradney | 1149 | </message> |
1150 | <message> |
||
4759 | cbradney | 1151 | <source>getActiveLayer() -> string |
1135 | cbradney | 1152 | |
1153 | Returns the name of the current active layer. |
||
1154 | </source> |
||
4759 | cbradney | 1155 | <translation type="unfinished">getActiveLayer() -> string |
4462 | cbradney | 1156 | |
1157 | Returns the name of the current active layer. |
||
1158 | </translation> |
||
1135 | cbradney | 1159 | </message> |
1160 | <message> |
||
4759 | cbradney | 1161 | <source>sentToLayer("layer" [, "name"]) |
1135 | cbradney | 1162 | |
1163 | Sends the object "name" to the layer "layer". The layer must exist. |
||
1164 | If "name" is not given the currently selected item is used. |
||
1165 | |||
4759 | cbradney | 1166 | May raise NotFoundError if the layer can't be found. |
1167 | May raise ValueError if the layer name isn't acceptable. |
||
1135 | cbradney | 1168 | </source> |
4759 | cbradney | 1169 | <translation type="unfinished">sentToLayer("layer" [, "name"]) |
4462 | cbradney | 1170 | |
1171 | Sends the object "name" to the layer "layer". The layer must exist. |
||
1172 | If "name" is not given the currently selected item is used. |
||
1173 | |||
4759 | cbradney | 1174 | May raise NotFoundError if the layer can't be found. |
1175 | May raise ValueError if the layer name isn't acceptable. |
||
4462 | cbradney | 1176 | </translation> |
1135 | cbradney | 1177 | </message> |
1178 | <message> |
||
4759 | cbradney | 1179 | <source>setLayerVisible("layer", visible) |
1135 | cbradney | 1180 | |
1181 | Sets the layer "layer" to be visible or not. If is the visible set to false |
||
1182 | the layer is invisible. |
||
1183 | |||
4759 | cbradney | 1184 | May raise NotFoundError if the layer can't be found. |
1185 | May raise ValueError if the layer name isn't acceptable. |
||
1135 | cbradney | 1186 | </source> |
4759 | cbradney | 1187 | <translation type="unfinished">setLayerVisible("layer", visible) |
4462 | cbradney | 1188 | |
1189 | Sets the layer "layer" to be visible or not. If is the visible set to false |
||
1190 | the layer is invisible. |
||
1191 | |||
4759 | cbradney | 1192 | May raise NotFoundError if the layer can't be found. |
1193 | May raise ValueError if the layer name isn't acceptable. |
||
4462 | cbradney | 1194 | </translation> |
1135 | cbradney | 1195 | </message> |
1196 | <message> |
||
4759 | cbradney | 1197 | <source>setLayerPrintable("layer", printable) |
1135 | cbradney | 1198 | |
1199 | Sets the layer "layer" to be printable or not. If is the printable set to |
||
4759 | cbradney | 1200 | false the layer won't be printed. |
1135 | cbradney | 1201 | |
4759 | cbradney | 1202 | May raise NotFoundError if the layer can't be found. |
1203 | May raise ValueError if the layer name isn't acceptable. |
||
1135 | cbradney | 1204 | </source> |
6261 | cbradney | 1205 | <translation type="obsolete">setLayerPrintable("layer", printable) |
4462 | cbradney | 1206 | |
1207 | Sets the layer "layer" to be printable or not. If is the printable set to |
||
4759 | cbradney | 1208 | false the layer won't be printed. |
4462 | cbradney | 1209 | |
4759 | cbradney | 1210 | May raise NotFoundError if the layer can't be found. |
1211 | May raise ValueError if the layer name isn't acceptable. |
||
4462 | cbradney | 1212 | </translation> |
1135 | cbradney | 1213 | </message> |
1214 | <message> |
||
4759 | cbradney | 1215 | <source>isLayerPrintable("layer") -> bool |
4462 | cbradney | 1216 | |
1217 | Returns whether the layer "layer" is visible or not, a value of True means |
||
1218 | that the layer "layer" is visible, a value of False means that the layer |
||
1219 | "layer" is invisible. |
||
1220 | |||
4759 | cbradney | 1221 | May raise NotFoundError if the layer can't be found. |
1222 | May raise ValueError if the layer name isn't acceptable. |
||
4462 | cbradney | 1223 | </source> |
4759 | cbradney | 1224 | <translation type="unfinished">isLayerPrintable("layer") -> bool |
4462 | cbradney | 1225 | |
1226 | Returns whether the layer "layer" is visible or not, a value of True means |
||
1227 | that the layer "layer" is visible, a value of False means that the layer |
||
1228 | "layer" is invisible. |
||
1229 | |||
4759 | cbradney | 1230 | May raise NotFoundError if the layer can't be found. |
1231 | May raise ValueError if the layer name isn't acceptable. |
||
4462 | cbradney | 1232 | </translation> |
1233 | </message> |
||
1234 | <message> |
||
4759 | cbradney | 1235 | <source>isLayerPrintable("layer") -> bool |
4462 | cbradney | 1236 | |
1237 | Returns whether the layer "layer" is printable or not, a value of True means |
||
1238 | that the layer "layer" can be printed, a value of False means that printing |
||
1239 | the layer "layer" is disabled. |
||
1240 | |||
4759 | cbradney | 1241 | May raise NotFoundError if the layer can't be found. |
1242 | May raise ValueError if the layer name isn't acceptable. |
||
4462 | cbradney | 1243 | </source> |
4759 | cbradney | 1244 | <translation type="unfinished">isLayerPrintable("layer") -> bool |
4462 | cbradney | 1245 | |
1246 | Returns whether the layer "layer" is printable or not, a value of True means |
||
1247 | that the layer "layer" can be printed, a value of False means that printing |
||
1248 | the layer "layer" is disabled. |
||
1249 | |||
4759 | cbradney | 1250 | May raise NotFoundError if the layer can't be found. |
1251 | May raise ValueError if the layer name isn't acceptable. |
||
4462 | cbradney | 1252 | </translation> |
1253 | </message> |
||
1254 | <message> |
||
4759 | cbradney | 1255 | <source>deleteLayer("layer") |
1135 | cbradney | 1256 | |
4759 | cbradney | 1257 | Deletes the layer with the name "layer". Nothing happens if the layer doesn't |
1258 | exists or if it's the only layer in the document. |
||
1135 | cbradney | 1259 | |
4759 | cbradney | 1260 | May raise NotFoundError if the layer can't be found. |
1261 | May raise ValueError if the layer name isn't acceptable. |
||
1135 | cbradney | 1262 | </source> |
4759 | cbradney | 1263 | <translation type="unfinished">deleteLayer("layer") |
4462 | cbradney | 1264 | |
4759 | cbradney | 1265 | Deletes the layer with the name "layer". Nothing happens if the layer doesn't |
1266 | exists or if it's the only layer in the document. |
||
4462 | cbradney | 1267 | |
4759 | cbradney | 1268 | May raise NotFoundError if the layer can't be found. |
1269 | May raise ValueError if the layer name isn't acceptable. |
||
4462 | cbradney | 1270 | </translation> |
1135 | cbradney | 1271 | </message> |
1272 | <message> |
||
4759 | cbradney | 1273 | <source>createLayer(layer) |
1135 | cbradney | 1274 | |
1275 | Creates a new layer with the name "name". |
||
1276 | |||
4759 | cbradney | 1277 | May raise ValueError if the layer name isn't acceptable. |
1135 | cbradney | 1278 | </source> |
4759 | cbradney | 1279 | <translation type="unfinished">createLayer(layer) |
4462 | cbradney | 1280 | |
1281 | Creates a new layer with the name "name". |
||
1282 | |||
4759 | cbradney | 1283 | May raise ValueError if the layer name isn't acceptable. |
4462 | cbradney | 1284 | </translation> |
1135 | cbradney | 1285 | </message> |
1286 | <message> |
||
4759 | cbradney | 1287 | <source>getGuiLanguage() -> string |
1135 | cbradney | 1288 | |
1289 | Returns a string with the -lang value. |
||
1290 | </source> |
||
4759 | cbradney | 1291 | <translation type="unfinished">getGuiLanguage() -> string |
4462 | cbradney | 1292 | |
1293 | Returns a string with the -lang value. |
||
1294 | </translation> |
||
1135 | cbradney | 1295 | </message> |
1296 | <message> |
||
4759 | cbradney | 1297 | <source>createEllipse(x, y, width, height, ["name"]) -> string |
1135 | cbradney | 1298 | |
1299 | Creates a new ellipse on the current page and returns its name. |
||
1300 | The coordinates are given in the current measurement units of the document |
||
1301 | (see UNIT constants). "name" should be a unique identifier for the object |
||
1302 | because you need this name for further referencing of that object. If "name" |
||
1303 | is not given Scribus will create one for you. |
||
1304 | |||
4759 | cbradney | 1305 | May raise NameExistsError if you explicitly pass a name that's already used. |
1135 | cbradney | 1306 | </source> |
4759 | cbradney | 1307 | <translation type="unfinished">createEllipse(x, y, width, height, ["name"]) -> string |
4462 | cbradney | 1308 | |
1309 | Creates a new ellipse on the current page and returns its name. |
||
1310 | The coordinates are given in the current measurement units of the document |
||
1311 | (see UNIT constants). "name" should be a unique identifier for the object |
||
1312 | because you need this name for further referencing of that object. If "name" |
||
1313 | is not given Scribus will create one for you. |
||
1314 | |||
4759 | cbradney | 1315 | May raise NameExistsError if you explicitly pass a name that's already used. |
4462 | cbradney | 1316 | </translation> |
1135 | cbradney | 1317 | </message> |
1318 | <message> |
||
4759 | cbradney | 1319 | <source>createImage(x, y, width, height, ["name"]) -> string |
1135 | cbradney | 1320 | |
1321 | Creates a new picture frame on the current page and returns its name. The |
||
1322 | coordinates are given in the current measurement units of the document. |
||
1323 | "name" should be a unique identifier for the object because you need this |
||
1324 | name for further access to that object. If "name" is not given Scribus will |
||
1325 | create one for you. |
||
1326 | |||
4759 | cbradney | 1327 | May raise NameExistsError if you explicitly pass a name that's already used. |
1135 | cbradney | 1328 | </source> |
4759 | cbradney | 1329 | <translation type="unfinished">createImage(x, y, width, height, ["name"]) -> string |
4462 | cbradney | 1330 | |
1331 | Creates a new picture frame on the current page and returns its name. The |
||
1332 | coordinates are given in the current measurement units of the document. |
||
1333 | "name" should be a unique identifier for the object because you need this |
||
1334 | name for further access to that object. If "name" is not given Scribus will |
||
1335 | create one for you. |
||
1336 | |||
4759 | cbradney | 1337 | May raise NameExistsError if you explicitly pass a name that's already used. |
4462 | cbradney | 1338 | </translation> |
1135 | cbradney | 1339 | </message> |
1340 | <message> |
||
4759 | cbradney | 1341 | <source>createText(x, y, width, height, ["name"]) -> string |
1135 | cbradney | 1342 | |
1343 | Creates a new text frame on the actual page and returns its name. |
||
1344 | The coordinates are given in the actual measurement unit of the document (see |
||
1345 | UNIT constants). "name" should be a unique identifier for the object because |
||
1346 | you need this name for further referencing of that object. If "name" is not |
||
1347 | given Scribus will create one for you. |
||
1348 | |||
4759 | cbradney | 1349 | May raise NameExistsError if you explicitly pass a name that's already used. |
1135 | cbradney | 1350 | </source> |
4759 | cbradney | 1351 | <translation type="unfinished">createText(x, y, width, height, ["name"]) -> string |
4462 | cbradney | 1352 | |
1353 | Creates a new text frame on the actual page and returns its name. |
||
1354 | The coordinates are given in the actual measurement unit of the document (see |
||
1355 | UNIT constants). "name" should be a unique identifier for the object because |
||
1356 | you need this name for further referencing of that object. If "name" is not |
||
1357 | given Scribus will create one for you. |
||
1358 | |||
4759 | cbradney | 1359 | May raise NameExistsError if you explicitly pass a name that's already used. |
4462 | cbradney | 1360 | </translation> |
1135 | cbradney | 1361 | </message> |
1362 | <message> |
||
4759 | cbradney | 1363 | <source>createLine(x1, y1, x2, y2, ["name"]) -> string |
1135 | cbradney | 1364 | |
1365 | Creates a new line from the point(x1, y1) to the point(x2, y2) and returns |
||
1366 | its name. The coordinates are given in the current measurement unit of the |
||
1367 | document (see UNIT constants). "name" should be a unique identifier for the |
||
1368 | object because you need this name for further access to that object. If |
||
1369 | "name" is not given Scribus will create one for you. |
||
1370 | |||
4759 | cbradney | 1371 | May raise NameExistsError if you explicitly pass a name that's already used. |
1135 | cbradney | 1372 | </source> |
4759 | cbradney | 1373 | <translation type="unfinished">createLine(x1, y1, x2, y2, ["name"]) -> string |
4462 | cbradney | 1374 | |
1375 | Creates a new line from the point(x1, y1) to the point(x2, y2) and returns |
||
1376 | its name. The coordinates are given in the current measurement unit of the |
||
1377 | document (see UNIT constants). "name" should be a unique identifier for the |
||
1378 | object because you need this name for further access to that object. If |
||
1379 | "name" is not given Scribus will create one for you. |
||
1380 | |||
4759 | cbradney | 1381 | May raise NameExistsError if you explicitly pass a name that's already used. |
4462 | cbradney | 1382 | </translation> |
1135 | cbradney | 1383 | </message> |
1384 | <message> |
||
4759 | cbradney | 1385 | <source>createPolyLine(list, ["name"]) -> string |
1135 | cbradney | 1386 | |
1387 | Creates a new polyline and returns its name. The points for the polyline are |
||
1388 | stored in the list "list" in the following order: [x1, y1, x2, y2...xn. yn]. |
||
1389 | The coordinates are given in the current measurement units of the document (see |
||
1390 | UNIT constants). "name" should be a unique identifier for the object because |
||
1391 | you need this name for further access to that object. If "name" is not given |
||
1392 | Scribus will create one for you. |
||
1393 | |||
4759 | cbradney | 1394 | May raise NameExistsError if you explicitly pass a name that's already used. |
1135 | cbradney | 1395 | May raise ValueError if an insufficient number of points is passed or if |
4759 | cbradney | 1396 | the number of values passed don't group into points without leftovers. |
1135 | cbradney | 1397 | </source> |
4759 | cbradney | 1398 | <translation type="unfinished">createPolyLine(list, ["name"]) -> string |
4462 | cbradney | 1399 | |
1400 | Creates a new polyline and returns its name. The points for the polyline are |
||
1401 | stored in the list "list" in the following order: [x1, y1, x2, y2...xn. yn]. |
||
1402 | The coordinates are given in the current measurement units of the document (see |
||
1403 | UNIT constants). "name" should be a unique identifier for the object because |
||
1404 | you need this name for further access to that object. If "name" is not given |
||
1405 | Scribus will create one for you. |
||
1406 | |||
4759 | cbradney | 1407 | May raise NameExistsError if you explicitly pass a name that's already used. |
4462 | cbradney | 1408 | May raise ValueError if an insufficient number of points is passed or if |
4759 | cbradney | 1409 | the number of values passed don't group into points without leftovers. |
4462 | cbradney | 1410 | </translation> |
1135 | cbradney | 1411 | </message> |
1412 | <message> |
||
4759 | cbradney | 1413 | <source>createPolygon(list, ["name"]) -> string |
1135 | cbradney | 1414 | |
1415 | Creates a new polygon and returns its name. The points for the polygon are |
||
1416 | stored in the list "list" in the following order: [x1, y1, x2, y2...xn. yn]. |
||
1417 | At least three points are required. There is no need to repeat the first point |
||
1418 | to close the polygon. The polygon is automatically closed by connecting the |
||
1419 | first and the last point. The coordinates are given in the current measurement |
||
1420 | units of the document (see UNIT constants). "name" should be a unique |
||
1421 | identifier for the object because you need this name for further access to that |
||
1422 | object. If "name" is not given Scribus will create one for you. |
||
1423 | |||
4759 | cbradney | 1424 | May raise NameExistsError if you explicitly pass a name that's already used. |
1135 | cbradney | 1425 | May raise ValueError if an insufficient number of points is passed or if |
4759 | cbradney | 1426 | the number of values passed don't group into points without leftovers. |
1135 | cbradney | 1427 | </source> |
4759 | cbradney | 1428 | <translation type="unfinished">createPolygon(list, ["name"]) -> string |
4462 | cbradney | 1429 | |
1430 | Creates a new polygon and returns its name. The points for the polygon are |
||
1431 | stored in the list "list" in the following order: [x1, y1, x2, y2...xn. yn]. |
||
1432 | At least three points are required. There is no need to repeat the first point |
||
1433 | to close the polygon. The polygon is automatically closed by connecting the |
||
1434 | first and the last point. The coordinates are given in the current measurement |
||
1435 | units of the document (see UNIT constants). "name" should be a unique |
||
1436 | identifier for the object because you need this name for further access to that |
||
1437 | object. If "name" is not given Scribus will create one for you. |
||
1438 | |||
4759 | cbradney | 1439 | May raise NameExistsError if you explicitly pass a name that's already used. |
4462 | cbradney | 1440 | May raise ValueError if an insufficient number of points is passed or if |
4759 | cbradney | 1441 | the number of values passed don't group into points without leftovers. |
4462 | cbradney | 1442 | </translation> |
1135 | cbradney | 1443 | </message> |
1444 | <message> |
||
4759 | cbradney | 1445 | <source>createBezierLine(list, ["name"]) -> string |
1135 | cbradney | 1446 | |
1447 | Creates a new bezier curve and returns its name. The points for the bezier |
||
1448 | curve are stored in the list "list" in the following order: |
||
1449 | [x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn] |
||
1450 | In the points list, x and y mean the x and y coordinates of the point and kx |
||
1451 | and ky meaning the control point for the curve. The coordinates are given in |
||
1452 | the current measurement units of the document (see UNIT constants). "name" |
||
1453 | should be a unique identifier for the object because you need this name for |
||
1454 | further access to that object. If "name" is not given Scribus will create one |
||
1455 | for you. |
||
1456 | |||
4759 | cbradney | 1457 | May raise NameExistsError if you explicitly pass a name that's already used. |
1135 | cbradney | 1458 | May raise ValueError if an insufficient number of points is passed or if |
4759 | cbradney | 1459 | the number of values passed don't group into points without leftovers. |
1135 | cbradney | 1460 | </source> |
4759 | cbradney | 1461 | <translation type="unfinished">createBezierLine(list, ["name"]) -> string |
4462 | cbradney | 1462 | |
1463 | Creates a new bezier curve and returns its name. The points for the bezier |
||
1464 | curve are stored in the list "list" in the following order: |
||
1465 | [x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn] |
||
1466 | In the points list, x and y mean the x and y coordinates of the point and kx |
||
1467 | and ky meaning the control point for the curve. The coordinates are given in |
||
1468 | the current measurement units of the document (see UNIT constants). "name" |
||
1469 | should be a unique identifier for the object because you need this name for |
||
1470 | further access to that object. If "name" is not given Scribus will create one |
||
1471 | for you. |
||
1472 | |||
4759 | cbradney | 1473 | May raise NameExistsError if you explicitly pass a name that's already used. |
4462 | cbradney | 1474 | May raise ValueError if an insufficient number of points is passed or if |
4759 | cbradney | 1475 | the number of values passed don't group into points without leftovers. |
4462 | cbradney | 1476 | </translation> |
1135 | cbradney | 1477 | </message> |
1478 | <message> |
||
4759 | cbradney | 1479 | <source>createPathText(x, y, "textbox", "beziercurve", ["name"]) -> string |
1135 | cbradney | 1480 | |
1481 | Creates a new pathText by merging the two objects "textbox" and |
||
1482 | "beziercurve" and returns its name. The coordinates are given in the current |
||
1483 | measurement unit of the document (see UNIT constants). "name" should be a |
||
1484 | unique identifier for the object because you need this name for further access |
||
1485 | to that object. If "name" is not given Scribus will create one for you. |
||
1486 | |||
4759 | cbradney | 1487 | May raise NameExistsError if you explicitly pass a name that's already used. |
1488 | May raise NotFoundError if one or both of the named base object don't exist. |
||
1135 | cbradney | 1489 | </source> |
4759 | cbradney | 1490 | <translation type="unfinished">createPathText(x, y, "textbox", "beziercurve", ["name"]) -> string |
4462 | cbradney | 1491 | |
1492 | Creates a new pathText by merging the two objects "textbox" and |
||
1493 | "beziercurve" and returns its name. The coordinates are given in the current |
||
1494 | measurement unit of the document (see UNIT constants). "name" should be a |
||
1495 | unique identifier for the object because you need this name for further access |
||
1496 | to that object. If "name" is not given Scribus will create one for you. |
||
1497 | |||
4759 | cbradney | 1498 | May raise NameExistsError if you explicitly pass a name that's already used. |
1499 | May raise NotFoundError if one or both of the named base object don't exist. |
||
4462 | cbradney | 1500 | </translation> |
1135 | cbradney | 1501 | </message> |
1502 | <message> |
||
4759 | cbradney | 1503 | <source>deleteObject(["name"]) |
1135 | cbradney | 1504 | |
1505 | Deletes the item with the name "name". If "name" is not given the currently |
||
1506 | selected item is deleted. |
||
1507 | </source> |
||
4759 | cbradney | 1508 | <translation type="unfinished">deleteObject(["name"]) |
4462 | cbradney | 1509 | |
1510 | Deletes the item with the name "name". If "name" is not given the currently |
||
1511 | selected item is deleted. |
||
1512 | </translation> |
||
1135 | cbradney | 1513 | </message> |
1514 | <message> |
||
4759 | cbradney | 1515 | <source>textFlowsAroundFrame("name" [, state]) |
1135 | cbradney | 1516 | |
1517 | Enables/disables "Text Flows Around Frame" feature for object "name". |
||
1518 | Called with parameters string name and optional boolean "state". If "state" |
||
1519 | is not passed, text flow is toggled. |
||
1520 | </source> |
||
6261 | cbradney | 1521 | <translation type="obsolete">textFlowsAroundFrame("name" [, state]) |
4462 | cbradney | 1522 | |
1523 | Enables/disables "Text Flows Around Frame" feature for object "name". |
||
1524 | Called with parameters string name and optional boolean "state". If "state" |
||
1525 | is not passed, text flow is toggled. |
||
1526 | </translation> |
||
1135 | cbradney | 1527 | </message> |
1528 | <message> |
||
4759 | cbradney | 1529 | <source>objectExists(["name"]) -> bool |
1135 | cbradney | 1530 | |
1531 | Test if an object with specified name really exists in the document. |
||
1532 | The optional parameter is the object name. When no object name is given, |
||
1533 | returns True if there is something selected. |
||
1534 | </source> |
||
4759 | cbradney | 1535 | <translation type="unfinished">objectExists(["name"]) -> bool |
4462 | cbradney | 1536 | |
1537 | Test if an object with specified name really exists in the document. |
||
1538 | The optional parameter is the object name. When no object name is given, |
||
1539 | returns True if there is something selected. |
||
1540 | </translation> |
||
1135 | cbradney | 1541 | </message> |
1542 | <message> |
||
4759 | cbradney | 1543 | <source>setStyle("style" [, "name"]) |
1135 | cbradney | 1544 | |
1545 | Apply the named "style" to the object named "name". If is no object name |
||
4759 | cbradney | 1546 | given, it's applied on the selected object. |
1135 | cbradney | 1547 | </source> |
4759 | cbradney | 1548 | <translation type="unfinished">setStyle("style" [, "name"]) |
4462 | cbradney | 1549 | |
1550 | Apply the named "style" to the object named "name". If is no object name |
||
4759 | cbradney | 1551 | given, it's applied on the selected object. |
4462 | cbradney | 1552 | </translation> |
1135 | cbradney | 1553 | </message> |
1554 | <message> |
||
4759 | cbradney | 1555 | <source>getAllStyles() -> list |
1135 | cbradney | 1556 | |
1557 | Return a list of the names of all paragraph styles in the current document. |
||
1558 | </source> |
||
4759 | cbradney | 1559 | <translation type="unfinished">getAllStyles() -> list |
4462 | cbradney | 1560 | |
1561 | Return a list of the names of all paragraph styles in the current document. |
||
1562 | </translation> |
||
1135 | cbradney | 1563 | </message> |
1564 | <message> |
||
4759 | cbradney | 1565 | <source>currentPage() -> integer |
1135 | cbradney | 1566 | |
1567 | Returns the number of the current working page. Page numbers are counted from 1 |
||
1568 | upwards, no matter what the displayed first page number of your document is. |
||
1569 | </source> |
||
4759 | cbradney | 1570 | <translation type="unfinished">currentPage() -> integer |
4462 | cbradney | 1571 | |
1572 | Returns the number of the current working page. Page numbers are counted from 1 |
||
1573 | upwards, no matter what the displayed first page number of your document is. |
||
1574 | </translation> |
||
1135 | cbradney | 1575 | </message> |
1576 | <message> |
||
4759 | cbradney | 1577 | <source>redrawAll() |
1135 | cbradney | 1578 | |
1579 | Redraws all pages. |
||
1580 | </source> |
||
4759 | cbradney | 1581 | <translation type="unfinished">redrawAll() |
4462 | cbradney | 1582 | |
1583 | Redraws all pages. |
||
1584 | </translation> |
||
1135 | cbradney | 1585 | </message> |
1586 | <message> |
||
4759 | cbradney | 1587 | <source>savePageAsEPS("name") |
1135 | cbradney | 1588 | |
1589 | Saves the current page as an EPS to the file "name". |
||
1590 | |||
1591 | May raise ScribusError if the save failed. |
||
1592 | </source> |
||
4759 | cbradney | 1593 | <translation type="unfinished">savePageAsEPS("name") |
4462 | cbradney | 1594 | |
1595 | Saves the current page as an EPS to the file "name". |
||
1596 | |||
1597 | May raise ScribusError if the save failed. |
||
1598 | </translation> |
||
1135 | cbradney | 1599 | </message> |
1600 | <message> |
||
4759 | cbradney | 1601 | <source>deletePage(nr) |
1135 | cbradney | 1602 | |
1603 | Deletes the given page. Does nothing if the document contains only one page. |
||
1604 | Page numbers are counted from 1 upwards, no matter what the displayed first |
||
1605 | page number is. |
||
1606 | |||
1607 | May raise IndexError if the page number is out of range |
||
1608 | </source> |
||
4759 | cbradney | 1609 | <translation type="unfinished">deletePage(nr) |
4462 | cbradney | 1610 | |
1611 | Deletes the given page. Does nothing if the document contains only one page. |
||
1612 | Page numbers are counted from 1 upwards, no matter what the displayed first |
||
1613 | page number is. |
||
1614 | |||
1615 | May raise IndexError if the page number is out of range |
||
1616 | </translation> |
||
1135 | cbradney | 1617 | </message> |
1618 | <message> |
||
4759 | cbradney | 1619 | <source>gotoPage(nr) |
1135 | cbradney | 1620 | |
1621 | Moves to the page "nr" (that is, makes the current page "nr"). Note that |
||
4759 | cbradney | 1622 | gotoPage doesn't (curently) change the page the user's view is displaying, it |
1135 | cbradney | 1623 | just sets the page that script commands will operates on. |
1624 | |||
1625 | May raise IndexError if the page number is out of range. |
||
1626 | </source> |
||
4759 | cbradney | 1627 | <translation type="unfinished">gotoPage(nr) |
4462 | cbradney | 1628 | |
1629 | Moves to the page "nr" (that is, makes the current page "nr"). Note that |
||
4759 | cbradney | 1630 | gotoPage doesn't (curently) change the page the user's view is displaying, it |
4462 | cbradney | 1631 | just sets the page that script commands will operates on. |
1632 | |||
1633 | May raise IndexError if the page number is out of range. |
||
1634 | </translation> |
||
1135 | cbradney | 1635 | </message> |
1636 | <message> |
||
4759 | cbradney | 1637 | <source>pageCount() -> integer |
1135 | cbradney | 1638 | |
1639 | Returns the number of pages in the document. |
||
1640 | </source> |
||
4759 | cbradney | 1641 | <translation type="unfinished">pageCount() -> integer |
4462 | cbradney | 1642 | |
1643 | Returns the number of pages in the document. |
||
1644 | </translation> |
||
1135 | cbradney | 1645 | </message> |
1646 | <message> |
||
4759 | cbradney | 1647 | <source>getHGuides() -> list |
1135 | cbradney | 1648 | |
1649 | Returns a list containing positions of the horizontal guides. Values are in the |
||
4759 | cbradney | 1650 | document's current units - see UNIT_<type> constants. |
1135 | cbradney | 1651 | </source> |
4759 | cbradney | 1652 | <translation type="unfinished">getHGuides() -> list |
4462 | cbradney | 1653 | |
1654 | Returns a list containing positions of the horizontal guides. Values are in the |
||
4759 | cbradney | 1655 | document's current units - see UNIT_<type> constants. |
4462 | cbradney | 1656 | </translation> |
1135 | cbradney | 1657 | </message> |
1658 | <message> |
||
4759 | cbradney | 1659 | <source>setHGuides(list) |
1135 | cbradney | 1660 | |
1661 | Sets horizontal guides. Input parameter must be a list of guide positions |
||
4759 | cbradney | 1662 | measured in the current document units - see UNIT_<type> constants. |
1135 | cbradney | 1663 | |
1664 | Example: setHGuides(getHGuides() + [200.0, 210.0] # add new guides without any lost |
||
1665 | setHGuides([90,250]) # replace current guides entirely |
||
1666 | </source> |
||
4759 | cbradney | 1667 | <translation type="unfinished">setHGuides(list) |
4462 | cbradney | 1668 | |
1669 | Sets horizontal guides. Input parameter must be a list of guide positions |
||
4759 | cbradney | 1670 | measured in the current document units - see UNIT_<type> constants. |
4462 | cbradney | 1671 | |
1672 | Example: setHGuides(getHGuides() + [200.0, 210.0] # add new guides without any lost |
||
1673 | setHGuides([90,250]) # replace current guides entirely |
||
1674 | </translation> |
||
1135 | cbradney | 1675 | </message> |
1676 | <message> |
||
4759 | cbradney | 1677 | <source>getVGuides() |
1135 | cbradney | 1678 | |
1679 | See getHGuides. |
||
1680 | </source> |
||
4759 | cbradney | 1681 | <translation type="unfinished">getVGuides() |
4462 | cbradney | 1682 | |
1683 | See getHGuides. |
||
1684 | </translation> |
||
1135 | cbradney | 1685 | </message> |
1686 | <message> |
||
4759 | cbradney | 1687 | <source>setVGuides() |
1135 | cbradney | 1688 | |
1689 | See setHGuides. |
||
1690 | </source> |
||
4759 | cbradney | 1691 | <translation type="unfinished">setVGuides() |
4462 | cbradney | 1692 | |
1693 | See setHGuides. |
||
1694 | </translation> |
||
1135 | cbradney | 1695 | </message> |
1696 | <message> |
||
4759 | cbradney | 1697 | <source>getPageSize() -> tuple |
1135 | cbradney | 1698 | |
4759 | cbradney | 1699 | Returns a tuple with page dimensions measured in the document's current units. |
1700 | See UNIT_<type> constants and getPageMargins() |
||
1135 | cbradney | 1701 | </source> |
4759 | cbradney | 1702 | <translation type="unfinished">getPageSize() -> tuple |
4462 | cbradney | 1703 | |
4759 | cbradney | 1704 | Returns a tuple with page dimensions measured in the document's current units. |
1705 | See UNIT_<type> constants and getPageMargins() |
||
4462 | cbradney | 1706 | </translation> |
1135 | cbradney | 1707 | </message> |
1708 | <message> |
||
4759 | cbradney | 1709 | <source>getPageItems() -> list |
1135 | cbradney | 1710 | |
1711 | Returns a list of tuples with items on the current page. The tuple is: |
||
4759 | cbradney | 1712 | (name, objectType, order) E.g. [('Text1', 4, 0), ('Image1', 2, 1)] |
1713 | means that object named 'Text1' is a text frame (type 4) and is the first at |
||
1135 | cbradney | 1714 | the page... |
1715 | </source> |
||
4759 | cbradney | 1716 | <translation type="unfinished">getPageItems() -> list |
4462 | cbradney | 1717 | |
1718 | Returns a list of tuples with items on the current page. The tuple is: |
||
4759 | cbradney | 1719 | (name, objectType, order) E.g. [('Text1', 4, 0), ('Image1', 2, 1)] |
1720 | means that object named 'Text1' is a text frame (type 4) and is the first at |
||
4462 | cbradney | 1721 | the page... |
1722 | </translation> |
||
1135 | cbradney | 1723 | </message> |
1724 | <message> |
||
4759 | cbradney | 1725 | <source>getPageMargins() |
4462 | cbradney | 1726 | |
1727 | Returns the page margins as a (top, left, right, bottom) tuple in the current |
||
4759 | cbradney | 1728 | units. See UNIT_<type> constants and getPageSize(). |
4462 | cbradney | 1729 | </source> |
4759 | cbradney | 1730 | <translation type="unfinished">getPageMargins() |
4462 | cbradney | 1731 | |
1732 | Returns the page margins as a (top, left, right, bottom) tuple in the current |
||
4759 | cbradney | 1733 | units. See UNIT_<type> constants and getPageSize(). |
4462 | cbradney | 1734 | </translation> |
1735 | </message> |
||
1736 | <message> |
||
4759 | cbradney | 1737 | <source>setFillColor("color", ["name"]) |
1135 | cbradney | 1738 | |
1739 | Sets the fill color of the object "name" to the color "color". "color" |
||
1740 | is the name of one of the defined colors. If "name" is not given the |
||
1741 | currently selected item is used. |
||
1742 | </source> |
||
4759 | cbradney | 1743 | <translation>setFillColor("color", ["name"]) |
4462 | cbradney | 1744 | |
1745 | Sets the fill colour of the object "name" to the colour "color". "color" |
||
1746 | is the name of one of the defined colours. If "name" is not given the |
||
1747 | currently selected item is used. |
||
1748 | </translation> |
||
1135 | cbradney | 1749 | </message> |
1750 | <message> |
||
4759 | cbradney | 1751 | <source>setLineColor("color", ["name"]) |
1135 | cbradney | 1752 | |
1753 | Sets the line color of the object "name" to the color "color". If "name" |
||
1754 | is not given the currently selected item is used. |
||
1755 | </source> |
||
4759 | cbradney | 1756 | <translation>setLineColor("color", ["name"]) |
4462 | cbradney | 1757 | |
1758 | Sets the line colour of the object "name" to the colour "color". If "name" |
||
1759 | is not given the currently selected item is used. |
||
1760 | </translation> |
||
1135 | cbradney | 1761 | </message> |
1762 | <message> |
||
4759 | cbradney | 1763 | <source>setLineWidth(width, ["name"]) |
1135 | cbradney | 1764 | |
1765 | Sets line width of the object "name" to "width". "width" must be in the |
||
1766 | range from 0.0 to 12.0 inclusive, and is measured in points. If "name" is not |
||
1767 | given the currently selected item is used. |
||
1768 | |||
1769 | May raise ValueError if the line width is out of bounds. |
||
1770 | </source> |
||
4759 | cbradney | 1771 | <translation type="unfinished">setLineWidth(width, ["name"]) |
4462 | cbradney | 1772 | |
1773 | Sets line width of the object "name" to "width". "width" must be in the |
||
1774 | range from 0.0 to 12.0 inclusive, and is measured in points. If "name" is not |
||
1775 | given the currently selected item is used. |
||
1776 | |||
1777 | May raise ValueError if the line width is out of bounds. |
||
1778 | </translation> |
||
1135 | cbradney | 1779 | </message> |
1780 | <message> |
||
4759 | cbradney | 1781 | <source>setLineShade(shade, ["name"]) |
1135 | cbradney | 1782 | |
1783 | Sets the shading of the line color of the object "name" to "shade". |
||
1784 | "shade" must be an integer value in the range from 0 (lightest) to 100 |
||
1785 | (full color intensity). If "name" is not given the currently selected item |
||
1786 | is used. |
||
1787 | |||
1788 | May raise ValueError if the line shade is out of bounds. |
||
1789 | </source> |
||
4759 | cbradney | 1790 | <translation>setLineShade(shade, ["name"]) |
4462 | cbradney | 1791 | |
1792 | Sets the shading of the line colour of the object "name" to "shade". |
||
1793 | "shade" must be an integer value in the range from 0 (lightest) to 100 |
||
1794 | (full colour intensity). If "name" is not given the currently selected item |
||
1795 | is used. |
||
1796 | |||
1797 | May raise ValueError if the line shade is out of bounds. |
||
1798 | </translation> |
||
1135 | cbradney | 1799 | </message> |
1800 | <message> |
||
4759 | cbradney | 1801 | <source>setLineJoin(join, ["name"]) |
1135 | cbradney | 1802 | |
1803 | Sets the line join style of the object "name" to the style "join". |
||
1804 | If "name" is not given the currently selected item is used. There are |
||
4759 | cbradney | 1805 | predefined constants for join - JOIN_<type>. |
1135 | cbradney | 1806 | </source> |
4759 | cbradney | 1807 | <translation type="unfinished">setLineJoin(join, ["name"]) |
4462 | cbradney | 1808 | |
1809 | Sets the line join style of the object "name" to the style "join". |
||
1810 | If "name" is not given the currently selected item is used. There are |
||
4759 | cbradney | 1811 | predefined constants for join - JOIN_<type>. |
4462 | cbradney | 1812 | </translation> |
1135 | cbradney | 1813 | </message> |
1814 | <message> |
||
4759 | cbradney | 1815 | <source>setLineEnd(endtype, ["name"]) |
1135 | cbradney | 1816 | |
1817 | Sets the line cap style of the object "name" to the style "cap". |
||
1818 | If "name" is not given the currently selected item is used. There are |
||
4759 | cbradney | 1819 | predefined constants for "cap" - CAP_<type>. |
1135 | cbradney | 1820 | </source> |
4759 | cbradney | 1821 | <translation type="unfinished">setLineEnd(endtype, ["name"]) |
4462 | cbradney | 1822 | |
1823 | Sets the line cap style of the object "name" to the style "cap". |
||
1824 | If "name" is not given the currently selected item is used. There are |
||
4759 | cbradney | 1825 | predefined constants for "cap" - CAP_<type>. |
4462 | cbradney | 1826 | </translation> |
1135 | cbradney | 1827 | </message> |
1828 | <message> |
||
4759 | cbradney | 1829 | <source>setLineStyle(style, ["name"]) |
1135 | cbradney | 1830 | |
1831 | Sets the line style of the object "name" to the style "style". If "name" |
||
1832 | is not given the currently selected item is used. There are predefined |
||
4759 | cbradney | 1833 | constants for "style" - LINE_<style>. |
1135 | cbradney | 1834 | </source> |
4759 | cbradney | 1835 | <translation type="unfinished">setLineStyle(style, ["name"]) |
4462 | cbradney | 1836 | |
1837 | Sets the line style of the object "name" to the style "style". If "name" |
||
1838 | is not given the currently selected item is used. There are predefined |
||
4759 | cbradney | 1839 | constants for "style" - LINE_<style>. |
4462 | cbradney | 1840 | </translation> |
1135 | cbradney | 1841 | </message> |
1842 | <message> |
||
4759 | cbradney | 1843 | <source>setFillShade(shade, ["name"]) |
1135 | cbradney | 1844 | |
1845 | Sets the shading of the fill color of the object "name" to "shade". |
||
1846 | "shade" must be an integer value in the range from 0 (lightest) to 100 |
||
1847 | (full Color intensity). If "name" is not given the currently selected |
||
1848 | Item is used. |
||
1849 | |||
1850 | May raise ValueError if the fill shade is out of bounds. |
||
1851 | </source> |
||
4759 | cbradney | 1852 | <translation>setFillShade(shade, ["name"]) |
4462 | cbradney | 1853 | |
1854 | Sets the shading of the fill colour of the object "name" to "shade". |
||
1855 | "shade" must be an integer value in the range from 0 (lightest) to 100 |
||
1856 | (full Colour intensity). If "name" is not given the currently selected |
||
1857 | Item is used. |
||
1858 | |||
1859 | May raise ValueError if the fill shade is out of bounds. |
||
1860 | </translation> |
||
1135 | cbradney | 1861 | </message> |
1862 | <message> |
||
4759 | cbradney | 1863 | <source>setCornerRadius(radius, ["name"]) |
1135 | cbradney | 1864 | |
1865 | Sets the corner radius of the object "name". The radius is expressed |
||
1866 | in points. If "name" is not given the currently selected item is used. |
||
1867 | |||
1868 | May raise ValueError if the corner radius is negative. |
||
1869 | </source> |
||
4759 | cbradney | 1870 | <translation type="unfinished">setCornerRadius(radius, ["name"]) |
4462 | cbradney | 1871 | |
1872 | Sets the corner radius of the object "name". The radius is expressed |
||
1873 | in points. If "name" is not given the currently selected item is used. |
||
1874 | |||
1875 | May raise ValueError if the corner radius is negative. |
||
1876 | </translation> |
||
1135 | cbradney | 1877 | </message> |
1878 | <message> |
||
4759 | cbradney | 1879 | <source>setMultiLine("namedStyle", ["name"]) |
1135 | cbradney | 1880 | |
1881 | Sets the line style of the object "name" to the named style "namedStyle". |
||
1882 | If "name" is not given the currently selected item is used. |
||
1883 | |||
4759 | cbradney | 1884 | May raise NotFoundError if the line style doesn't exist. |
1135 | cbradney | 1885 | </source> |
4759 | cbradney | 1886 | <translation type="unfinished">setMultiLine("namedStyle", ["name"]) |
4462 | cbradney | 1887 | |
1888 | Sets the line style of the object "name" to the named style "namedStyle". |
||
1889 | If "name" is not given the currently selected item is used. |
||
1890 | |||
4759 | cbradney | 1891 | May raise NotFoundError if the line style doesn't exist. |
4462 | cbradney | 1892 | </translation> |
1135 | cbradney | 1893 | </message> |
1894 | <message> |
||
4759 | cbradney | 1895 | <source>getFont(["name"]) -> string |
1135 | cbradney | 1896 | |
1897 | Returns the font name for the text frame "name". If this text frame |
||
1898 | has some text selected the value assigned to the first character |
||
1899 | of the selection is returned. If "name" is not given the currently |
||
1900 | selected item is used. |
||
1901 | </source> |
||
4759 | cbradney | 1902 | <translation type="unfinished">getFont(["name"]) -> string |
4462 | cbradney | 1903 | |
1904 | Returns the font name for the text frame "name". If this text frame |
||
1905 | has some text selected the value assigned to the first character |
||
1906 | of the selection is returned. If "name" is not given the currently |
||
1907 | selected item is used. |
||
1908 | </translation> |
||
1135 | cbradney | 1909 | </message> |
1910 | <message> |
||
4759 | cbradney | 1911 | <source>getTextLength(["name"]) -> integer |
1135 | cbradney | 1912 | |
1913 | Returns the length of the text in the text frame "name". |
||
1914 | If "name" is not given the currently selected item is used. |
||
1915 | </source> |
||
4759 | cbradney | 1916 | <translation type="unfinished">getTextLength(["name"]) -> integer |
4462 | cbradney | 1917 | |
1918 | Returns the length of the text in the text frame "name". |
||
1919 | If "name" is not given the currently selected item is used. |
||
1920 | </translation> |
||
1135 | cbradney | 1921 | </message> |
1922 | <message> |
||
4759 | cbradney | 1923 | <source>getText(["name"]) -> string |
1135 | cbradney | 1924 | |
1925 | Returns the text of the text frame "name". If this text frame has some text |
||
1926 | selected, the selected text is returned. All text in the frame, not just |
||
1927 | currently visible text, is returned. If "name" is not given the currently |
||
1928 | selected item is used. |
||
1929 | </source> |
||
4759 | cbradney | 1930 | <translation type="unfinished">getText(["name"]) -> string |
4462 | cbradney | 1931 | |
1932 | Returns the text of the text frame "name". If this text frame has some text |
||
1933 | selected, the selected text is returned. All text in the frame, not just |
||
1934 | currently visible text, is returned. If "name" is not given the currently |
||
1935 | selected item is used. |
||
1936 | </translation> |
||
1135 | cbradney | 1937 | </message> |
1938 | <message> |
||
4759 | cbradney | 1939 | <source>getAllText(["name"]) -> string |
1135 | cbradney | 1940 | |
1941 | Returns the text of the text frame "name" and of all text frames which are |
||
1942 | linked with this frame. If this textframe has some text selected, the selected |
||
1943 | text is returned. If "name" is not given the currently selected item is |
||
1944 | used. |
||
1945 | </source> |
||
4759 | cbradney | 1946 | <translation type="unfinished">getAllText(["name"]) -> string |
4462 | cbradney | 1947 | |
1948 | Returns the text of the text frame "name" and of all text frames which are |
||
1949 | linked with this frame. If this textframe has some text selected, the selected |
||
1950 | text is returned. If "name" is not given the currently selected item is |
||
1951 | used. |
||
1952 | </translation> |
||
1135 | cbradney | 1953 | </message> |
1954 | <message> |
||
4759 | cbradney | 1955 | <source>getLineSpacing(["name"]) -> float |
1135 | cbradney | 1956 | |
1957 | Returns the line spacing ("leading") of the text frame "name" expressed in |
||
1958 | points. If "name" is not given the currently selected item is used. |
||
1959 | </source> |
||
4759 | cbradney | 1960 | <translation type="unfinished">getLineSpacing(["name"]) -> float |
4462 | cbradney | 1961 | |
1962 | Returns the line spacing ("leading") of the text frame "name" expressed in |
||
1963 | points. If "name" is not given the currently selected item is used. |
||
1964 | </translation> |
||
1135 | cbradney | 1965 | </message> |
1966 | <message> |
||
4759 | cbradney | 1967 | <source>getColumnGap(["name"]) -> float |
1135 | cbradney | 1968 | |
1969 | Returns the column gap size of the text frame "name" expressed in points. If |
||
1970 | "name" is not given the currently selected item is used. |
||
1971 | </source> |
||
4759 | cbradney | 1972 | <translation type="unfinished">getColumnGap(["name"]) -> float |
4462 | cbradney | 1973 | |
1974 | Returns the column gap size of the text frame "name" expressed in points. If |
||
1975 | "name" is not given the currently selected item is used. |
||
1976 | </translation> |
||
1135 | cbradney | 1977 | </message> |
1978 | <message> |
||
4759 | cbradney | 1979 | <source>getColumns(["name"]) -> integer |
1135 | cbradney | 1980 | |
1981 | Gets the number of columns of the text frame "name". If "name" is not |
||
1982 | given the currently selected item is used. |
||
1983 | </source> |
||
4759 | cbradney | 1984 | <translation type="unfinished">getColumns(["name"]) -> integer |
4462 | cbradney | 1985 | |
1986 | Gets the number of columns of the text frame "name". If "name" is not |
||
1987 | given the currently selected item is used. |
||
1988 | </translation> |
||
1135 | cbradney | 1989 | </message> |
1990 | <message> |
||
4759 | cbradney | 1991 | <source>setText("text", ["name"]) |
1135 | cbradney | 1992 | |
1993 | Sets the text of the text frame "name" to the text of the string "text". |
||
4759 | cbradney | 1994 | Text must be UTF8 encoded - use e.g. unicode(text, 'iso-8859-2'). See the FAQ |
1135 | cbradney | 1995 | for more details. If "name" is not given the currently selected item is |
1996 | used. |
||
1997 | </source> |
||
4759 | cbradney | 1998 | <translation type="unfinished">setText("text", ["name"]) |
4462 | cbradney | 1999 | |
2000 | Sets the text of the text frame "name" to the text of the string "text". |
||
4759 | cbradney | 2001 | Text must be UTF8 encoded - use e.g. unicode(text, 'iso-8859-2'). See the FAQ |
4462 | cbradney | 2002 | for more details. If "name" is not given the currently selected item is |
2003 | used. |
||
2004 | </translation> |
||
1135 | cbradney | 2005 | </message> |
2006 | <message> |
||
4759 | cbradney | 2007 | <source>insertText("text", pos, ["name"]) |
4462 | cbradney | 2008 | |
2009 | Inserts the text "text" at the position "pos" into the text frame "name". |
||
2010 | Text must be UTF encoded (see setText() as reference) The first character has an |
||
2011 | index of 0. Inserting at position -1 appends text to the frame. If "name" is |
||
2012 | not given the currently selected Item is used. |
||
2013 | |||
2014 | May throw IndexError for an insertion out of bounds. |
||
2015 | </source> |
||
4759 | cbradney | 2016 | <translation type="unfinished">insertText("text", pos, ["name"]) |
4462 | cbradney | 2017 | |
2018 | Inserts the text "text" at the position "pos" into the text frame "name". |
||
2019 | Text must be UTF encoded (see setText() as reference) The first character has an |
||
2020 | index of 0. Inserting at position -1 appends text to the frame. If "name" is |
||
2021 | not given the currently selected Item is used. |
||
2022 | |||
2023 | May throw IndexError for an insertion out of bounds. |
||
2024 | </translation> |
||
2025 | </message> |
||
2026 | <message> |
||
4759 | cbradney | 2027 | <source>setFont("font", ["name"]) |
1135 | cbradney | 2028 | |
2029 | Sets the font of the text frame "name" to "font". If there is some text |
||
2030 | selected only the selected text is changed. If "name" is not given the |
||
2031 | currently selected item is used. |
||
2032 | |||
2033 | May throw ValueError if the font cannot be found. |
||
2034 | </source> |
||
4759 | cbradney | 2035 | <translation type="unfinished">setFont("font", ["name"]) |
4462 | cbradney | 2036 | |
2037 | Sets the font of the text frame "name" to "font". If there is some text |
||
2038 | selected only the selected text is changed. If "name" is not given the |
||
2039 | currently selected item is used. |
||
2040 | |||
2041 | May throw ValueError if the font cannot be found. |
||
2042 | </translation> |
||
1135 | cbradney | 2043 | </message> |
2044 | <message> |
||
4759 | cbradney | 2045 | <source>setFontSize(size, ["name"]) |
1135 | cbradney | 2046 | |
2047 | Sets the font size of the text frame "name" to "size". "size" is treated |
||
2048 | as a value in points. If there is some text selected only the selected text is |
||
2049 | changed. "size" must be in the range 1 to 512. If "name" is not given the |
||
2050 | currently selected item is used. |
||
2051 | |||
4759 | cbradney | 2052 | May throw ValueError for a font size that's out of bounds. |
1135 | cbradney | 2053 | </source> |
4759 | cbradney | 2054 | <translation type="unfinished">setFontSize(size, ["name"]) |
4462 | cbradney | 2055 | |
2056 | Sets the font size of the text frame "name" to "size". "size" is treated |
||
2057 | as a value in points. If there is some text selected only the selected text is |
||
2058 | changed. "size" must be in the range 1 to 512. If "name" is not given the |
||
2059 | currently selected item is used. |
||
2060 | |||
4759 | cbradney | 2061 | May throw ValueError for a font size that's out of bounds. |
4462 | cbradney | 2062 | </translation> |
1135 | cbradney | 2063 | </message> |
2064 | <message> |
||
4759 | cbradney | 2065 | <source>setLineSpacing(size, ["name"]) |
1135 | cbradney | 2066 | |
2067 | Sets the line spacing ("leading") of the text frame "name" to "size". |
||
2068 | "size" is a value in points. If "name" is not given the currently selected |
||
2069 | item is used. |
||
2070 | |||
2071 | May throw ValueError if the line spacing is out of bounds. |
||
2072 | </source> |
||
4759 | cbradney | 2073 | <translation type="unfinished">setLineSpacing(size, ["name"]) |
4462 | cbradney | 2074 | |
2075 | Sets the line spacing ("leading") of the text frame "name" to "size". |
||
2076 | "size" is a value in points. If "name" is not given the currently selected |
||
2077 | item is used. |
||
2078 | |||
2079 | May throw ValueError if the line spacing is out of bounds. |
||
2080 | </translation> |
||
1135 | cbradney | 2081 | </message> |
2082 | <message> |
||
4759 | cbradney | 2083 | <source>setColumnGap(size, ["name"]) |
1135 | cbradney | 2084 | |
2085 | Sets the column gap of the text frame "name" to the value "size". If |
||
2086 | "name" is not given the currently selected item is used. |
||
2087 | |||
2088 | May throw ValueError if the column gap is out of bounds (must be positive). |
||
2089 | </source> |
||
4759 | cbradney | 2090 | <translation type="unfinished">setColumnGap(size, ["name"]) |
4462 | cbradney | 2091 | |
2092 | Sets the column gap of the text frame "name" to the value "size". If |
||
2093 | "name" is not given the currently selected item is used. |
||
2094 | |||
2095 | May throw ValueError if the column gap is out of bounds (must be positive). |
||
2096 | </translation> |
||
1135 | cbradney | 2097 | </message> |
2098 | <message> |
||
4759 | cbradney | 2099 | <source>setColumns(nr, ["name"]) |
1135 | cbradney | 2100 | |
2101 | Sets the number of columns of the text frame "name" to the integer "nr". |
||
2102 | If "name" is not given the currently selected item is used. |
||
2103 | |||
2104 | May throw ValueError if number of columns is not at least one. |
||
2105 | </source> |
||
4759 | cbradney | 2106 | <translation type="unfinished">setColumns(nr, ["name"]) |
4462 | cbradney | 2107 | |
2108 | Sets the number of columns of the text frame "name" to the integer "nr". |
||
2109 | If "name" is not given the currently selected item is used. |
||
2110 | |||
2111 | May throw ValueError if number of columns is not at least one. |
||
2112 | </translation> |
||
1135 | cbradney | 2113 | </message> |
2114 | <message> |
||
4759 | cbradney | 2115 | <source>setTextAlignment(align, ["name"]) |
1135 | cbradney | 2116 | |
2117 | Sets the text alignment of the text frame "name" to the specified alignment. |
||
2118 | If "name" is not given the currently selected item is used. "align" should |
||
2119 | be one of the ALIGN_ constants defined in this module - see dir(scribus). |
||
2120 | |||
2121 | May throw ValueError for an invalid alignment constant. |
||
2122 | </source> |
||
4759 | cbradney | 2123 | <translation type="unfinished">setTextAlignment(align, ["name"]) |
4462 | cbradney | 2124 | |
2125 | Sets the text alignment of the text frame "name" to the specified alignment. |
||
2126 | If "name" is not given the currently selected item is used. "align" should |
||
2127 | be one of the ALIGN_ constants defined in this module - see dir(scribus). |
||
2128 | |||
2129 | May throw ValueError for an invalid alignment constant. |
||
2130 | </translation> |
||
1135 | cbradney | 2131 | </message> |
2132 | <message> |
||
4759 | cbradney | 2133 | <source>selectText(start, count, ["name"]) |
4462 | cbradney | 2134 | |
2135 | Selects "count" characters of text in the text frame "name" starting from the |
||
2136 | character "start". Character counting starts at 0. If "count" is zero, any |
||
2137 | text selection will be cleared. If "name" is not given the currently |
||
2138 | selected item is used. |
||
2139 | |||
2140 | May throw IndexError if the selection is outside the bounds of the text. |
||
2141 | </source> |
||
4759 | cbradney | 2142 | <translation type="unfinished">selectText(start, count, ["name"]) |
4462 | cbradney | 2143 | |
2144 | Selects "count" characters of text in the text frame "name" starting from the |
||
2145 | character "start". Character counting starts at 0. If "count" is zero, any |
||
2146 | text selection will be cleared. If "name" is not given the currently |
||
2147 | selected item is used. |
||
2148 | |||
2149 | May throw IndexError if the selection is outside the bounds of the text. |
||
2150 | </translation> |
||
2151 | </message> |
||
2152 | <message> |
||
4759 | cbradney | 2153 | <source>deleteText(["name"]) |
1135 | cbradney | 2154 | |
2155 | Deletes any text in the text frame "name". If there is some text selected, |
||
2156 | only the selected text will be deleted. If "name" is not given the currently |
||
2157 | selected item is used. |
||
2158 | </source> |
||
4759 | cbradney | 2159 | <translation type="unfinished">deleteText(["name"]) |
4462 | cbradney | 2160 | |
2161 | Deletes any text in the text frame "name". If there is some text selected, |
||
2162 | only the selected text will be deleted. If "name" is not given the currently |
||
2163 | selected item is used. |
||
2164 | </translation> |
||
1135 | cbradney | 2165 | </message> |
2166 | <message> |
||
4759 | cbradney | 2167 | <source>setTextColor("color", ["name"]) |
1135 | cbradney | 2168 | |
2169 | Sets the text color of the text frame "name" to the color "color". If there |
||
2170 | is some text selected only the selected text is changed. If "name" is not |
||
2171 | given the currently selected item is used. |
||
2172 | </source> |
||
4759 | cbradney | 2173 | <translation>setTextColor("color", ["name"]) |
4462 | cbradney | 2174 | |
2175 | Sets the text colour of the text frame "name" to the colour "color". If there |
||
2176 | is some text selected only the selected text is changed. If "name" is not |
||
2177 | given the currently selected item is used. |
||
2178 | </translation> |
||
1135 | cbradney | 2179 | </message> |
2180 | <message> |
||
4759 | cbradney | 2181 | <source>setTextStroke("color", ["name"]) |
1135 | cbradney | 2182 | |
2183 | Set "color" of the text stroke. If "name" is not given the currently |
||
2184 | selected item is used. |
||
2185 | </source> |
||
4759 | cbradney | 2186 | <translation type="unfinished">setTextStroke("color", ["name"]) |
4462 | cbradney | 2187 | |
2188 | Set "color" of the text stroke. If "name" is not given the currently |
||
2189 | selected item is used. |
||
2190 | </translation> |
||
1135 | cbradney | 2191 | </message> |
2192 | <message> |
||
4759 | cbradney | 2193 | <source>setTextShade(shade, ["name"]) |
1135 | cbradney | 2194 | |
2195 | Sets the shading of the text color of the object "name" to "shade". If |
||
2196 | there is some text selected only the selected text is changed. "shade" must |
||
2197 | be an integer value in the range from 0 (lightest) to 100 (full color |
||
2198 | intensity). If "name" is not given the currently selected item is |
||
2199 | used. |
||
2200 | </source> |
||
4759 | cbradney | 2201 | <translation>setTextShade(shade, ["name"]) |
4462 | cbradney | 2202 | |
2203 | Sets the shading of the text colour of the object "name" to "shade". If |
||
2204 | there is some text selected only the selected text is changed. "shade" must |
||
2205 | be an integer value in the range from 0 (lightest) to 100 (full colour |
||
2206 | intensity). If "name" is not given the currently selected item is |
||
2207 | used. |
||
2208 | </translation> |
||
1135 | cbradney | 2209 | </message> |
2210 | <message> |
||
4759 | cbradney | 2211 | <source>linkTextFrames("fromname", "toname") |
1135 | cbradney | 2212 | |
2213 | Link two text frames. The frame named "fromname" is linked to the |
||
2214 | frame named "toname". The target frame must be an empty text frame |
||
2215 | and must not link to or be linked from any other frames already. |
||
2216 | |||
2217 | May throw ScribusException if linking rules are violated. |
||
2218 | </source> |
||
4759 | cbradney | 2219 | <translation type="unfinished">linkTextFrames("fromname", "toname") |
4462 | cbradney | 2220 | |
2221 | Link two text frames. The frame named "fromname" is linked to the |
||
2222 | frame named "toname". The target frame must be an empty text frame |
||
2223 | and must not link to or be linked from any other frames already. |
||
2224 | |||
2225 | May throw ScribusException if linking rules are violated. |
||
2226 | </translation> |
||
1135 | cbradney | 2227 | </message> |
2228 | <message> |
||
4759 | cbradney | 2229 | <source>unlinkTextFrames("name") |
1135 | cbradney | 2230 | |
2231 | Remove the specified (named) object from the text frame flow/linkage. If the |
||
2232 | frame was in the middle of a chain, the previous and next frames will be |
||
4759 | cbradney | 2233 | connected, eg 'a->b->c' becomes 'a->c' when you unlinkTextFrames(b)' |
1135 | cbradney | 2234 | |
2235 | May throw ScribusException if linking rules are violated. |
||
2236 | </source> |
||
4759 | cbradney | 2237 | <translation type="unfinished">unlinkTextFrames("name") |
4462 | cbradney | 2238 | |
2239 | Remove the specified (named) object from the text frame flow/linkage. If the |
||
2240 | frame was in the middle of a chain, the previous and next frames will be |
||
4759 | cbradney | 2241 | connected, eg 'a->b->c' becomes 'a->c' when you unlinkTextFrames(b)' |
4462 | cbradney | 2242 | |
2243 | May throw ScribusException if linking rules are violated. |
||
2244 | </translation> |
||
1135 | cbradney | 2245 | </message> |
2246 | <message> |
||
4759 | cbradney | 2247 | <source>traceText(["name"]) |
1135 | cbradney | 2248 | |
2249 | Convert the text frame "name" to outlines. If "name" is not given the |
||
2250 | currently selected item is used.</source> |
||
4759 | cbradney | 2251 | <translation type="unfinished">traceText(["name"]) |
1135 | cbradney | 2252 | |
4462 | cbradney | 2253 | Convert the text frame "name" to outlines. If "name" is not given the |
2254 | currently selected item is used.</translation> |
||
1135 | cbradney | 2255 | </message> |
2256 | <message> |
||
4759 | cbradney | 2257 | <source>textOverflows(["name", nolinks]) -> integer |
1135 | cbradney | 2258 | |
4462 | cbradney | 2259 | Returns the actual number of overflowing characters in text frame "name". |
4759 | cbradney | 2260 | If is nolinks set to non zero value it takes only one frame - it doesn't |
4462 | cbradney | 2261 | use text frame linking. Without this parameter it search all linking chain. |
1135 | cbradney | 2262 | |
4462 | cbradney | 2263 | May raise WrongFrameTypeError if the target frame is not an text frame |
1135 | cbradney | 2264 | </source> |
4759 | cbradney | 2265 | <translation type="unfinished">textOverflows(["name", nolinks]) -> integer |
1135 | cbradney | 2266 | |
4462 | cbradney | 2267 | Returns the actual number of overflowing characters in text frame "name". |
4759 | cbradney | 2268 | If is nolinks set to non zero value it takes only one frame - it doesn't |
4462 | cbradney | 2269 | use text frame linking. Without this parameter it search all linking chain. |
1135 | cbradney | 2270 | |
4462 | cbradney | 2271 | May raise WrongFrameTypeError if the target frame is not an text frame |
2272 | </translation> |
||
1135 | cbradney | 2273 | </message> |
1525 | cbradney | 2274 | <message> |
4759 | cbradney | 2275 | <source>setPDFBookmark("toggle", ["name"]) |
1525 | cbradney | 2276 | |
4462 | cbradney | 2277 | Sets wether (toggle = 1) the text frame "name" is a bookmark nor not. |
2278 | If "name" is not given the currently selected item is used. |
||
1525 | cbradney | 2279 | |
4462 | cbradney | 2280 | May raise WrongFrameTypeError if the target frame is not a text frame |
1525 | cbradney | 2281 | </source> |
4759 | cbradney | 2282 | <translation type="unfinished">setPDFBookmark("toggle", ["name"]) |
1525 | cbradney | 2283 | |
4462 | cbradney | 2284 | Sets wether (toggle = 1) the text frame "name" is a bookmark nor not. |
2285 | If "name" is not given the currently selected item is used. |
||
1525 | cbradney | 2286 | |
4462 | cbradney | 2287 | May raise WrongFrameTypeError if the target frame is not a text frame |
2288 | </translation> |
||
1525 | cbradney | 2289 | </message> |
2290 | <message> |
||
4759 | cbradney | 2291 | <source>isPDFBookmark(["name"]) -> bool |
1525 | cbradney | 2292 | |
4462 | cbradney | 2293 | Returns true if the text frame "name" is a PDF bookmark. |
2294 | If "name" is not given the currently selected item is used. |
||
1525 | cbradney | 2295 | |
4462 | cbradney | 2296 | May raise WrongFrameTypeError if the target frame is not a text frame |
1525 | cbradney | 2297 | </source> |
4759 | cbradney | 2298 | <translation type="unfinished">isPDFBookmark(["name"]) -> bool |
1525 | cbradney | 2299 | |
4462 | cbradney | 2300 | Returns true if the text frame "name" is a PDF bookmark. |
2301 | If "name" is not given the currently selected item is used. |
||
1525 | cbradney | 2302 | |
4462 | cbradney | 2303 | May raise WrongFrameTypeError if the target frame is not a text frame |
2304 | </translation> |
||
1525 | cbradney | 2305 | </message> |
2306 | <message> |
||
4759 | cbradney | 2307 | <source>progressReset() |
1525 | cbradney | 2308 | |
4462 | cbradney | 2309 | Cleans up the Scribus progress bar previous settings. It is called before the |
2310 | new progress bar use. See progressSet. |
||
1525 | cbradney | 2311 | </source> |
4759 | cbradney | 2312 | <translation type="unfinished">progressReset() |
1525 | cbradney | 2313 | |
4462 | cbradney | 2314 | Cleans up the Scribus progress bar previous settings. It is called before the |
2315 | new progress bar use. See progressSet. |
||
2316 | </translation> |
||
1525 | cbradney | 2317 | </message> |
2318 | <message> |
||
4759 | cbradney | 2319 | <source>progressTotal(max) |
1525 | cbradney | 2320 | |
4759 | cbradney | 2321 | Sets the progress bar's maximum steps value to the specified number. |
4462 | cbradney | 2322 | See progressSet. |
1525 | cbradney | 2323 | </source> |
4759 | cbradney | 2324 | <translation type="unfinished">progressTotal(max) |
1525 | cbradney | 2325 | |
4759 | cbradney | 2326 | Sets the progress bar's maximum steps value to the specified number. |
4462 | cbradney | 2327 | See progressSet. |
2328 | </translation> |
||
1525 | cbradney | 2329 | </message> |
2330 | <message> |
||
4759 | cbradney | 2331 | <source>progressSet(nr) |
1525 | cbradney | 2332 | |
4462 | cbradney | 2333 | Set the progress bar position to "nr", a value relative to the previously set |
2334 | progressTotal. The progress bar uses the concept of steps; you give it the |
||
2335 | total number of steps and the number of steps completed so far and it will |
||
2336 | display the percentage of steps that have been completed. You can specify the |
||
2337 | total number of steps with progressTotal(). The current number of steps is set |
||
2338 | with progressSet(). The progress bar can be rewound to the beginning with |
||
4759 | cbradney | 2339 | progressReset(). [based on info taken from Trolltech's Qt docs] |
1525 | cbradney | 2340 | </source> |
4759 | cbradney | 2341 | <translation type="unfinished">progressSet(nr) |
1525 | cbradney | 2342 | |
4462 | cbradney | 2343 | Set the progress bar position to "nr", a value relative to the previously set |
2344 | progressTotal. The progress bar uses the concept of steps; you give it the |
||
2345 | total number of steps and the number of steps completed so far and it will |
||
2346 | display the percentage of steps that have been completed. You can specify the |
||
2347 | total number of steps with progressTotal(). The current number of steps is set |
||
2348 | with progressSet(). The progress bar can be rewound to the beginning with |
||
4759 | cbradney | 2349 | progressReset(). [based on info taken from Trolltech's Qt docs] |
4462 | cbradney | 2350 | </translation> |
1525 | cbradney | 2351 | </message> |
2352 | <message> |
||
4759 | cbradney | 2353 | <source>setCursor() |
1525 | cbradney | 2354 | |
4462 | cbradney | 2355 | [UNSUPPORTED!] This might break things, so steer clear for now. |
1525 | cbradney | 2356 | </source> |
4759 | cbradney | 2357 | <translation type="unfinished">setCursor() |
1525 | cbradney | 2358 | |
4462 | cbradney | 2359 | [UNSUPPORTED!] This might break things, so steer clear for now. |
2360 | </translation> |
||
1525 | cbradney | 2361 | </message> |
2362 | <message> |
||
4759 | cbradney | 2363 | <source>docChanged(bool) |
1525 | cbradney | 2364 | |
4759 | cbradney | 2365 | Enable/disable save icon in the Scribus icon bar and the Save menu item. It's |
2366 | useful to call this procedure when you're changing the document, because Scribus |
||
2367 | won't automatically notice when you change the document using a script. |
||
1525 | cbradney | 2368 | </source> |
4759 | cbradney | 2369 | <translation type="unfinished">docChanged(bool) |
1525 | cbradney | 2370 | |
4759 | cbradney | 2371 | Enable/disable save icon in the Scribus icon bar and the Save menu item. It's |
2372 | useful to call this procedure when you're changing the document, because Scribus |
||
2373 | won't automatically notice when you change the document using a script. |
||
4462 | cbradney | 2374 | </translation> |
1525 | cbradney | 2375 | </message> |
2376 | <message> |
||
4759 | cbradney | 2377 | <source>newStyleDialog() -> string |
1525 | cbradney | 2378 | |
4759 | cbradney | 2379 | Shows 'Create new paragraph style' dialog. Function returns real |
4462 | cbradney | 2380 | style name or None when user cancels the dialog. |
1525 | cbradney | 2381 | </source> |
4759 | cbradney | 2382 | <translation type="unfinished">newStyleDialog() -> string |
1525 | cbradney | 2383 | |
4759 | cbradney | 2384 | Shows 'Create new paragraph style' dialog. Function returns real |
4462 | cbradney | 2385 | style name or None when user cancels the dialog. |
2386 | </translation> |
||
1525 | cbradney | 2387 | </message> |
2388 | <message> |
||
4759 | cbradney | 2389 | <source>newDoc(size, margins, orientation, firstPageNumber, |
2390 | unit, facingPages, firstSideLeft) -> bool |
||
1525 | cbradney | 2391 | |
4462 | cbradney | 2392 | WARNING: Obsolete procedure! Use newDocument instead. |
1525 | cbradney | 2393 | |
4462 | cbradney | 2394 | Creates a new document and returns true if successful. The parameters have the |
2395 | following meaning: |
||
3064 | cbradney | 2396 | |
4462 | cbradney | 2397 | size = A tuple (width, height) describing the size of the document. You can |
4759 | cbradney | 2398 | use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc. |
3064 | cbradney | 2399 | |
4462 | cbradney | 2400 | margins = A tuple (left, right, top, bottom) describing the document |
2401 | margins |
||
3064 | cbradney | 2402 | |
4462 | cbradney | 2403 | orientation = the page orientation - constants PORTRAIT, LANDSCAPE |
3064 | cbradney | 2404 | |
4462 | cbradney | 2405 | firstPageNumer = is the number of the first page in the document used for |
4759 | cbradney | 2406 | pagenumbering. While you'll usually want 1, it's useful to have higher |
2407 | numbers if you're creating a document in several parts. |
||
3064 | cbradney | 2408 | |
4462 | cbradney | 2409 | unit: this value sets the measurement units used by the document. Use a |
2410 | predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS, |
||
2411 | UNIT_PICAS, UNIT_POINTS. |
||
3064 | cbradney | 2412 | |
4462 | cbradney | 2413 | facingPages = FACINGPAGES, NOFACINGPAGES |
3064 | cbradney | 2414 | |
4462 | cbradney | 2415 | firstSideLeft = FIRSTPAGELEFT, FIRSTPAGERIGHT |
3064 | cbradney | 2416 | |
4462 | cbradney | 2417 | The values for width, height and the margins are expressed in the given unit |
2418 | for the document. PAPER_* constants are expressed in points. If your document |
||
2419 | is not in points, make sure to account for this. |
||
3064 | cbradney | 2420 | |
4462 | cbradney | 2421 | example: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS, |
2422 | FACINGPAGES, FIRSTPAGERIGHT) |
||
3064 | cbradney | 2423 | </source> |
4759 | cbradney | 2424 | <translation type="unfinished">newDoc(size, margins, orientation, firstPageNumber, |
2425 | unit, facingPages, firstSideLeft) -> bool |
||
3824 | cbradney | 2426 | |
2427 | WARNING: Obsolete procedure! Use newDocument instead. |
||
2428 | |||
2429 | Creates a new document and returns true if successful. The parameters have the |
||
2430 | following meaning: |
||
2431 | |||
2432 | size = A tuple (width, height) describing the size of the document. You can |
||
4759 | cbradney | 2433 | use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc. |
3824 | cbradney | 2434 | |
2435 | margins = A tuple (left, right, top, bottom) describing the document |
||
2436 | margins |
||
2437 | |||
2438 | orientation = the page orientation - constants PORTRAIT, LANDSCAPE |
||
2439 | |||
2440 | firstPageNumer = is the number of the first page in the document used for |
||
4759 | cbradney | 2441 | pagenumbering. While you'll usually want 1, it's useful to have higher |
2442 | numbers if you're creating a document in several parts. |
||
3824 | cbradney | 2443 | |
2444 | unit: this value sets the measurement units used by the document. Use a |
||
2445 | predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS, |
||
2446 | UNIT_PICAS, UNIT_POINTS. |
||
2447 | |||
2448 | facingPages = FACINGPAGES, NOFACINGPAGES |
||
2449 | |||
2450 | firstSideLeft = FIRSTPAGELEFT, FIRSTPAGERIGHT |
||
2451 | |||
2452 | The values for width, height and the margins are expressed in the given unit |
||
2453 | for the document. PAPER_* constants are expressed in points. If your document |
||
2454 | is not in points, make sure to account for this. |
||
2455 | |||
2456 | example: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS, |
||
2457 | FACINGPAGES, FIRSTPAGERIGHT) |
||
4462 | cbradney | 2458 | </translation> |
3824 | cbradney | 2459 | </message> |
4141 | cbradney | 2460 | <message> |
4759 | cbradney | 2461 | <source>closeMasterPage() |
4141 | cbradney | 2462 | |
2463 | Closes the currently active master page, if any, and returns editing |
||
2464 | to normal. Begin editing with editMasterPage(). |
||
2465 | </source> |
||
4759 | cbradney | 2466 | <translation type="unfinished">closeMasterPage() |
4462 | cbradney | 2467 | |
2468 | Closes the currently active master page, if any, and returns editing |
||
2469 | to normal. Begin editing with editMasterPage(). |
||
2470 | </translation> |
||
4141 | cbradney | 2471 | </message> |
2472 | <message> |
||
4759 | cbradney | 2473 | <source>masterPageNames() |
4141 | cbradney | 2474 | |
2475 | Returns a list of the names of all master pages in the document. |
||
2476 | </source> |
||
4759 | cbradney | 2477 | <translation type="unfinished">masterPageNames() |
4462 | cbradney | 2478 | |
2479 | Returns a list of the names of all master pages in the document. |
||
2480 | </translation> |
||
4141 | cbradney | 2481 | </message> |
2482 | <message> |
||
4759 | cbradney | 2483 | <source>editMasterPage(pageName) |
4141 | cbradney | 2484 | |
2485 | Enables master page editing and opens the named master page |
||
2486 | for editing. Finish editing with closeMasterPage(). |
||
2487 | </source> |
||
4759 | cbradney | 2488 | <translation type="unfinished">editMasterPage(pageName) |
4462 | cbradney | 2489 | |
2490 | Enables master page editing and opens the named master page |
||
2491 | for editing. Finish editing with closeMasterPage(). |
||
2492 | </translation> |
||
4141 | cbradney | 2493 | </message> |
2494 | <message> |
||
4759 | cbradney | 2495 | <source>createMasterPage(pageName) |
4141 | cbradney | 2496 | |
2497 | Creates a new master page named pageName and opens it for |
||
2498 | editing. |
||
2499 | </source> |
||
4759 | cbradney | 2500 | <translation>createMasterPage(pageName) |
4462 | cbradney | 2501 | |
2502 | 生成一个叫 pageName 的新母页,并且打开它来编辑 |
||
2503 | </translation> |
||
4141 | cbradney | 2504 | </message> |
2505 | <message> |
||
4759 | cbradney | 2506 | <source>deleteMasterPage(pageName) |
4141 | cbradney | 2507 | |
2508 | Delete the named master page. |
||
2509 | </source> |
||
4759 | cbradney | 2510 | <translation>deleteMasterPage(pageName) |
4462 | cbradney | 2511 | |
2512 | 删除命名的母页 |
||
2513 | </translation> |
||
4141 | cbradney | 2514 | </message> |
2515 | <message> |
||
4759 | cbradney | 2516 | <source>zoomDocument(double) |
4141 | cbradney | 2517 | |
2518 | Zoom the document in main GUI window. Actions have whole number |
||
2519 | values like 20.0, 100.0, etc. Zoom to Fit uses -100 as a marker. |
||
2520 | </source> |
||
4759 | cbradney | 2521 | <translation>zoomDocument(double) |
4462 | cbradney | 2522 | |
2523 | 在主图形界面窗口缩放文件。动作包括整数值如20.0,100.0,等待。缩放以-100作为记号。 |
||
2524 | </translation> |
||
4141 | cbradney | 2525 | </message> |
6261 | cbradney | 2526 | <message> |
2527 | <source>getFillTransparency(["name"]) -> float |
||
2528 | |||
2529 | Returns the fill transparency of the object "name". If "name" |
||
2530 | is not given the currently selected Item is used. |
||
2531 | </source> |
||
2532 | <translation type="unfinished"></translation> |
||
2533 | </message> |
||
2534 | <message> |
||
2535 | <source>getFillBlendmode(["name"]) -> integer |
||
2536 | |||
2537 | Returns the fill blendmode of the object "name". If "name" |
||
2538 | is not given the currently selected Item is used. |
||
2539 | </source> |
||
2540 | <translation type="unfinished"></translation> |
||
2541 | </message> |
||
2542 | <message> |
||
2543 | <source>getLineTransparency(["name"]) -> float |
||
2544 | |||
2545 | Returns the line transparency of the object "name". If "name" |
||
2546 | is not given the currently selected Item is used. |
||
2547 | </source> |
||
2548 | <translation type="unfinished"></translation> |
||
2549 | </message> |
||
2550 | <message> |
||
2551 | <source>getLineBlendmode(["name"]) -> integer |
||
2552 | |||
2553 | Returns the line blendmode of the object "name". If "name" |
||
2554 | is not given the currently selected Item is used. |
||
2555 | </source> |
||
2556 | <translation type="unfinished"></translation> |
||
2557 | </message> |
||
2558 | <message> |
||
2559 | <source>setLayerPrintable("layer", printable) |
||
2560 | |||
2561 | Sets the layer "layer" to be printable or not. If printable is set to |
||
2562 | false the layer won't be printed. |
||
2563 | |||
2564 | May raise NotFoundError if the layer can't be found. |
||
2565 | May raise ValueError if the layer name isn't acceptable. |
||
2566 | </source> |
||
2567 | <translation type="unfinished"></translation> |
||
2568 | </message> |
||
2569 | <message> |
||
2570 | <source>setLayerLocked("layer", locked) |
||
2571 | |||
2572 | Sets the layer "layer" to be locked or not. If locked is set to |
||
2573 | true the layer will be locked. |
||
2574 | |||
2575 | May raise NotFoundError if the layer can't be found. |
||
2576 | May raise ValueError if the layer name isn't acceptable. |
||
2577 | </source> |
||
2578 | <translation type="unfinished"></translation> |
||
2579 | </message> |
||
2580 | <message> |
||
2581 | <source>setLayerOutlined"layer", outline) |
||
2582 | |||
2583 | Sets the layer "layer" to be locked or not. If outline is set to |
||
2584 | true the layer will be displayed outlined. |
||
2585 | |||
2586 | May raise NotFoundError if the layer can't be found. |
||
2587 | May raise ValueError if the layer name isn't acceptable. |
||
2588 | </source> |
||
2589 | <translation type="unfinished"></translation> |
||
2590 | </message> |
||
2591 | <message> |
||
2592 | <source>setLayerFlow"layer", flow) |
||
2593 | |||
2594 | Sets the layers "layer" flowcontrol to flow. If flow is set to |
||
2595 | true text in layers above this one will flow around objects on this layer. |
||
2596 | |||
2597 | May raise NotFoundError if the layer can't be found. |
||
2598 | May raise ValueError if the layer name isn't acceptable. |
||
2599 | </source> |
||
2600 | <translation type="unfinished"></translation> |
||
2601 | </message> |
||
2602 | <message> |
||
2603 | <source>setLayerBlendmode"layer", blend) |
||
2604 | |||
2605 | Sets the layers "layer" blendmode to blend. |
||
2606 | |||
2607 | May raise NotFoundError if the layer can't be found. |
||
2608 | May raise ValueError if the layer name isn't acceptable. |
||
2609 | </source> |
||
2610 | <translation type="unfinished"></translation> |
||
2611 | </message> |
||
2612 | <message> |
||
2613 | <source>setLayerTransparency"layer", trans) |
||
2614 | |||
2615 | Sets the layers "layer" transparency to trans. |
||
2616 | |||
2617 | May raise NotFoundError if the layer can't be found. |
||
2618 | May raise ValueError if the layer name isn't acceptable. |
||
2619 | </source> |
||
2620 | <translation type="unfinished"></translation> |
||
2621 | </message> |
||
2622 | <message> |
||
2623 | <source>isLayerLocked("layer") -> bool |
||
2624 | |||
2625 | Returns whether the layer "layer" is locked or not, a value of True means |
||
2626 | that the layer "layer" is editable, a value of False means that the layer |
||
2627 | "layer" is locked. |
||
2628 | |||
2629 | May raise NotFoundError if the layer can't be found. |
||
2630 | May raise ValueError if the layer name isn't acceptable. |
||
2631 | </source> |
||
2632 | <translation type="unfinished"></translation> |
||
2633 | </message> |
||
2634 | <message> |
||
2635 | <source>isLayerOutlined("layer") -> bool |
||
2636 | |||
2637 | Returns whether the layer "layer" is outlined or not, a value of True means |
||
2638 | that the layer "layer" is outlined, a value of False means that the layer |
||
2639 | "layer" is normal. |
||
2640 | |||
2641 | May raise NotFoundError if the layer can't be found. |
||
2642 | May raise ValueError if the layer name isn't acceptable. |
||
2643 | </source> |
||
2644 | <translation type="unfinished"></translation> |
||
2645 | </message> |
||
2646 | <message> |
||
2647 | <source>isLayerFlow("layer") -> bool |
||
2648 | |||
2649 | Returns whether text flows around objects on layer "layer", a value of True means |
||
2650 | that text flows around, a value of False means that the text does not flow around. |
||
2651 | |||
2652 | May raise NotFoundError if the layer can't be found. |
||
2653 | May raise ValueError if the layer name isn't acceptable. |
||
2654 | </source> |
||
2655 | <translation type="unfinished"></translation> |
||
2656 | </message> |
||
2657 | <message> |
||
2658 | <source>getLayerBlendmode("layer") -> int |
||
2659 | |||
2660 | Returns the "layer" layer blendmode, |
||
2661 | |||
2662 | May raise NotFoundError if the layer can't be found. |
||
2663 | May raise ValueError if the layer name isn't acceptable. |
||
2664 | </source> |
||
2665 | <translation type="unfinished"></translation> |
||
2666 | </message> |
||
2667 | <message> |
||
2668 | <source>getLayerTransparency("layer") -> float |
||
2669 | |||
2670 | Returns the "layer" layer transparency, |
||
2671 | |||
2672 | May raise NotFoundError if the layer can't be found. |
||
2673 | May raise ValueError if the layer name isn't acceptable. |
||
2674 | </source> |
||
2675 | <translation type="unfinished"></translation> |
||
2676 | </message> |
||
2677 | <message> |
||
2678 | <source>textFlowMode("name" [, state]) |
||
2679 | |||
2680 | Enables/disables "Text Flows Around Frame" feature for object "name". |
||
2681 | Called with parameters string name and optional int "state" (0 <= state <= 3). |
||
2682 | Setting "state" to 0 will disable text flow. |
||
2683 | Setting "state" to 1 will make text flow around object frame. |
||
2684 | Setting "state" to 2 will make text flow around bounding box. |
||
2685 | Setting "state" to 3 will make text flow around contour line. |
||
2686 | If "state" is not passed, text flow is toggled. |
||
2687 | </source> |
||
2688 | <translation type="unfinished"></translation> |
||
2689 | </message> |
||
2690 | <message> |
||
2691 | <source>duplicateObject(["name"]) -> string |
||
2692 | |||
2693 | creates a Duplicate of the selected Object (or Selection Group). |
||
2694 | </source> |
||
2695 | <translation type="unfinished"></translation> |
||
2696 | </message> |
||
2697 | <message> |
||
2698 | <source>setFillTransparency(transparency, ["name"]) |
||
2699 | |||
2700 | Sets the fill transparency of the object "name" to transparency |
||
2701 | is the name of one of the defined colors. If "name" is not given the |
||
2702 | currently selected item is used. |
||
2703 | </source> |
||
2704 | <translation type="unfinished"></translation> |
||
2705 | </message> |
||
2706 | <message> |
||
2707 | <source>setFillBlendmode(blendmode, ["name"]) |
||
2708 | |||
2709 | Sets the fill blendmode of the object "name" to blendmode |
||
2710 | is the name of one of the defined colors. If "name" is not given the |
||
2711 | currently selected item is used. |
||
2712 | </source> |
||
2713 | <translation type="unfinished"></translation> |
||
2714 | </message> |
||
2715 | <message> |
||
2716 | <source>setLineTransparency(transparency, ["name"]) |
||
2717 | |||
2718 | Sets the line transparency of the object "name" to transparency |
||
2719 | is the name of one of the defined colors. If "name" is not given the |
||
2720 | currently selected item is used. |
||
2721 | </source> |
||
2722 | <translation type="unfinished"></translation> |
||
2723 | </message> |
||
2724 | <message> |
||
2725 | <source>setLineBlendmode(blendmode, ["name"]) |
||
2726 | |||
2727 | Sets the line blendmode of the object "name" to blendmode |
||
2728 | is the name of one of the defined colors. If "name" is not given the |
||
2729 | currently selected item is used. |
||
2730 | </source> |
||
2731 | <translation type="unfinished"></translation> |
||
2732 | </message> |
||
6434 | cbradney | 2733 | <message> |
2734 | <source>setInfo("author", "info", "description") -> bool |
||
2735 | |||
2736 | Sets the document information. "Author", "Info", "Description" are |
||
2737 | strings. |
||
2738 | </source> |
||
2739 | <translation type="unfinished"></translation> |
||
2740 | </message> |
||
2741 | <message> |
||
2742 | <source>getPageType() -> integer |
||
2743 | |||
2744 | Returns the type of the Page, 0 means left Page, 1 is a middle Page and 2 is a right Page |
||
2745 | </source> |
||
2746 | <translation type="unfinished"></translation> |
||
2747 | </message> |
||
2748 | <message> |
||
2749 | <source>getTextLines(["name"]) -> integer |
||
2750 | |||
2751 | Returns the number of lines of the text in the text frame "name". |
||
2752 | If "name" is not given the currently selected item is used. |
||
2753 | </source> |
||
2754 | <translation type="unfinished"></translation> |
||
2755 | </message> |
||
4759 | cbradney | 2756 | </context> |
2757 | <context> |
||
890 | cbradney | 2758 | <name>About</name> |
2759 | <message> |
||
4759 | cbradney | 2760 | <source>Contributions from:</source> |
2761 | <translation>贡献者:</translation> |
||
890 | cbradney | 2762 | </message> |
2763 | <message> |
||
4759 | cbradney | 2764 | <source>&About</source> |
2765 | <translation>&A 关于</translation> |
||
890 | cbradney | 2766 | </message> |
2767 | <message> |
||
4759 | cbradney | 2768 | <source>A&uthors</source> |
2769 | <translation>&U 作者</translation> |
||
890 | cbradney | 2770 | </message> |
2771 | <message> |
||
4759 | cbradney | 2772 | <source>&Translations</source> |
2773 | <translation>&T 翻译</translation> |
||
890 | cbradney | 2774 | </message> |
2775 | <message> |
||
4759 | cbradney | 2776 | <source>&Online</source> |
2777 | <translation>&O 在线资料</translation> |
||
890 | cbradney | 2778 | </message> |
2779 | <message> |
||
4759 | cbradney | 2780 | <source>&Close</source> |
2781 | <translation>&C 关闭</translation> |
||
890 | cbradney | 2782 | </message> |
2783 | <message> |
||
4759 | cbradney | 2784 | <source>Development Team:</source> |
2785 | <translation>开发团队</translation> |
||
890 | cbradney | 2786 | </message> |
2787 | <message> |
||
4759 | cbradney | 2788 | <source>Official Documentation:</source> |
2789 | <translation>官方文档:</translation> |
||
890 | cbradney | 2790 | </message> |
2791 | <message> |
||
4759 | cbradney | 2792 | <source>Other Documentation:</source> |
2793 | <translation>其他文档:</translation> |
||
890 | cbradney | 2794 | </message> |
2795 | <message> |
||
4759 | cbradney | 2796 | <source>Homepage</source> |
2797 | <translation>主页</translation> |
||
890 | cbradney | 2798 | </message> |
2799 | <message> |
||
4759 | cbradney | 2800 | <source>Online Reference</source> |
2801 | <translation>在线参考</translation> |
||
890 | cbradney | 2802 | </message> |
2803 | <message> |
||
4759 | cbradney | 2804 | <source>Bugs and Feature Requests</source> |
2805 | <translation>纠错和功能请求</translation> |
||
890 | cbradney | 2806 | </message> |
2807 | <message> |
||
4759 | cbradney | 2808 | <source>Mailing List</source> |
2809 | <translation>邮件列表</translation> |
||
890 | cbradney | 2810 | </message> |
2811 | <message> |
||
4759 | cbradney | 2812 | <source>Official Translations and Translators:</source> |
2813 | <translation>官方翻译和翻译者:</translation> |
||
890 | cbradney | 2814 | </message> |
2815 | <message> |
||
4759 | cbradney | 2816 | <source>Previous Translation Contributors:</source> |
2817 | <translation>先前翻译贡献者:</translation> |
||
890 | cbradney | 2818 | </message> |
2819 | <message> |
||
4759 | cbradney | 2820 | <source>About Scribus %1</source> |
2821 | <translation>关于 %1</translation> |
||
1135 | cbradney | 2822 | </message> |
2823 | <message> |
||
4759 | cbradney | 2824 | <source>Windows Port:</source> |
2825 | <translation type="obsolete">Windows 移植:</translation> |
||
1135 | cbradney | 2826 | </message> |
2827 | <message> |
||
4759 | cbradney | 2828 | <source>Mac OSX Aqua Port:</source> |
2829 | <translation type="obsolete">Mac OSX Aqua 移植:</translation> |
||
1525 | cbradney | 2830 | </message> |
2831 | <message> |
||
4759 | cbradney | 2832 | <source>Wiki</source> |
2833 | <translation type="unfinished">Wiki</translation> |
||
1525 | cbradney | 2834 | </message> |
2835 | <message> |
||
4759 | cbradney | 2836 | <source>%1 %2 %3</source> |
2837 | <translation type="unfinished">%1 %2 %3</translation> |
||
3064 | cbradney | 2838 | </message> |
2839 | <message> |
||
4759 | cbradney | 2840 | <source>%3-%2-%1 %4 %5</source> |
2841 | <translation type="unfinished">%3-%2-%1 %4 %5</translation> |
||
3064 | cbradney | 2842 | </message> |
2843 | <message> |
||
4759 | cbradney | 2844 | <source>Using Ghostscript version %1</source> |
2845 | <translation>当前Ghostscript版本 %1</translation> |
||
3064 | cbradney | 2846 | </message> |
2847 | <message> |
||
4759 | cbradney | 2848 | <source>No Ghostscript version available</source> |
2849 | <translation>Ghostscript不可知 </translation> |
||
3064 | cbradney | 2850 | </message> |
3824 | cbradney | 2851 | <message> |
4759 | cbradney | 2852 | <source><b>Scribus Version %1</b><p>%2<br/>%3 %4<br/>%5</p></source> |
2853 | <translation type="unfinished"><b>Scribus Version %1</b><p>%2<br/>%3 %4<br/>%5</p></translation> |
||
3824 | cbradney | 2854 | </message> |
2855 | <message> |
||
4759 | cbradney | 2856 | <source>Build ID:</source> |
2857 | <translation>编译 ID:</translation> |
||
3824 | cbradney | 2858 | </message> |
2859 | <message> |
||
4759 | cbradney | 2860 | <source>This panel shows the version, build date and compiled in library support in Scribus. The C-C-T-F equates to C=littlecms C=CUPS T=TIFF support F=Fontconfig support. Last Letter is the renderer C=cairo or A=libart Missing library support is indicated by a *. This also indicates the version of Ghostscript which Scribus has detected.</source> |
6261 | cbradney | 2861 | <translation type="obsolete">这个面板显示Scribus版本,编译日期以及编译进去的库支持。这里C-C-T-F指的是C=littlecms C=CUPS T=TIFF 支持 F=Fontconfig 支持。最后一个字母是渲染器 C=cairo 或者 A=libart。不存在的库支持以*号表示。这个也注明了Scribus检测到的Ghostscript版本号</translation> |
3824 | cbradney | 2862 | </message> |
4141 | cbradney | 2863 | <message> |
4870 | mrdocs | 2864 | <source>Mac OS&#174; X Aqua Port:</source> |
4759 | cbradney | 2865 | <translation type="unfinished"></translation> |
4141 | cbradney | 2866 | </message> |
4759 | cbradney | 2867 | <message> |
4870 | mrdocs | 2868 | <source>Windows&#174; Port:</source> |
4759 | cbradney | 2869 | <translation type="unfinished"></translation> |
2870 | </message> |
||
2871 | <message> |
||
5328 | cbradney | 2872 | <source>Tango Project Icons:</source> |
2873 | <translation type="unfinished"></translation> |
||
2874 | </message> |
||
6261 | cbradney | 2875 | <message> |
2876 | <source>&Updates</source> |
||
2877 | <translation type="unfinished"></translation> |
||
2878 | </message> |
||
2879 | <message> |
||
2880 | <source>Check for &Updates</source> |
||
2881 | <translation type="unfinished"></translation> |
||
2882 | </message> |
||
2883 | <message> |
||
2884 | <source>This panel shows the version, build date and compiled in library support in Scribus. The C-C-T-F equates to C=littlecms C=CUPS T=TIFF support F=Fontconfig support. Last Letter is the renderer C=cairo or A=libart Missing library support is indicated by a *. This also indicates the version of Ghostscript which Scribus has detected. The Windows version does not use fontconfig or CUPS libraries.</source> |
||
2885 | <translation type="unfinished"></translation> |
||
2886 | </message> |
||
2887 | <message> |
||
2888 | <source>Check for updates to Scribus. No data from your machine will be transferred off it.</source> |
||
2889 | <translation type="unfinished"></translation> |
||
2890 | </message> |
||
4759 | cbradney | 2891 | </context> |
2892 | <context> |
||
3278 | cbradney | 2893 | <name>AboutPlugins</name> |
2894 | <message> |
||
4759 | cbradney | 2895 | <source>Yes</source> |
2896 | <translation>是</translation> |
||
3278 | cbradney | 2897 | </message> |
2898 | <message> |
||
4759 | cbradney | 2899 | <source>No</source> |
2900 | <translation>否</translation> |
||
3278 | cbradney | 2901 | </message> |
4759 | cbradney | 2902 | <message> |
2903 | <source>Filename:</source> |
||
2904 | <translation type="unfinished"></translation> |
||
2905 | </message> |
||
2906 | <message> |
||
2907 | <source>Version:</source> |
||
2908 | <translation type="unfinished">版本:</translation> |
||
2909 | </message> |
||
2910 | <message> |
||
2911 | <source>Enabled:</source> |
||
2912 | <translation type="unfinished">启用:</translation> |
||
2913 | </message> |
||
2914 | <message> |
||
2915 | <source>Release Date:</source> |
||
2916 | <translation type="unfinished">发布日期:</translation> |
||
2917 | </message> |
||
2918 | <message> |
||
2919 | <source>Description:</source> |
||
2920 | <translation type="unfinished">描述:</translation> |
||
2921 | </message> |
||
2922 | <message> |
||
2923 | <source>Author(s):</source> |
||
2924 | <translation type="unfinished">作者:</translation> |
||
2925 | </message> |
||
2926 | <message> |
||
2927 | <source>Copyright:</source> |
||
2928 | <translation type="unfinished">版权:</translation> |
||
2929 | </message> |
||
2930 | <message> |
||
2931 | <source>License:</source> |
||
2932 | <translation type="unfinished">授权:</translation> |
||
2933 | </message> |
||
2934 | </context> |
||
2935 | <context> |
||
3278 | cbradney | 2936 | <name>AboutPluginsBase</name> |
2937 | <message> |
||
4759 | cbradney | 2938 | <source>Scribus: About Plug-ins</source> |
2939 | <translation>Scribus: 关于插件</translation> |
||
3278 | cbradney | 2940 | </message> |
2941 | <message> |
||
4759 | cbradney | 2942 | <source>File Name:</source> |
2943 | <translation type="obsolete">文件名:</translation> |
||
3278 | cbradney | 2944 | </message> |
2945 | <message> |
||
4759 | cbradney | 2946 | <source>Version:</source> |
2947 | <translation type="obsolete">版本:</translation> |
||
3278 | cbradney | 2948 | </message> |
2949 | <message> |
||
4759 | cbradney | 2950 | <source>Enabled:</source> |
2951 | <translation type="obsolete">启用:</translation> |
||
3278 | cbradney | 2952 | </message> |
2953 | <message> |
||
4759 | cbradney | 2954 | <source>Release Date:</source> |
2955 | <translation type="obsolete">发布日期:</translation> |
||
3278 | cbradney | 2956 | </message> |
2957 | <message> |
||
4759 | cbradney | 2958 | <source>Copyright:</source> |
2959 | <translation type="obsolete">版权:</translation> |
||
3278 | cbradney | 2960 | </message> |
2961 | <message> |
||
4759 | cbradney | 2962 | <source>Author(s):</source> |
2963 | <translation type="obsolete">作者:</translation> |
||
3278 | cbradney | 2964 | </message> |
2965 | <message> |
||
4759 | cbradney | 2966 | <source>Description:</source> |
2967 | <translation type="obsolete">描述:</translation> |
||
3278 | cbradney | 2968 | </message> |
2969 | <message> |
||
4759 | cbradney | 2970 | <source>License:</source> |
2971 | <translation type="obsolete">授权:</translation> |
||
3278 | cbradney | 2972 | </message> |
2973 | <message> |
||
4759 | cbradney | 2974 | <source>&Close</source> |
2975 | <translation>&C 关闭</translation> |
||
3278 | cbradney | 2976 | </message> |
2977 | <message> |
||
4759 | cbradney | 2978 | <source>Alt+C</source> |
2979 | <translation type="unfinished">Alt+C</translation> |
||
3278 | cbradney | 2980 | </message> |
4759 | cbradney | 2981 | </context> |
2982 | <context> |
||
3064 | cbradney | 2983 | <name>ActionManager</name> |
2984 | <message> |
||
4759 | cbradney | 2985 | <source>&Image Effects</source> |
2986 | <translation>&I 图像效果</translation> |
||
4462 | cbradney | 2987 | </message> |
2988 | <message> |
||
4759 | cbradney | 2989 | <source>&Tabulators...</source> |
2990 | <translation>&T 制表符...</translation> |
||
4462 | cbradney | 2991 | </message> |
2992 | <message> |
||
4759 | cbradney | 2993 | <source>&New</source> |
2994 | <translation>&N 新建</translation> |
||
3064 | cbradney | 2995 | </message> |
2996 | <message> |
||
4759 | cbradney | 2997 | <source>&Open...</source> |
2998 | <translation>&O 打开...</translation> |
||
3064 | cbradney | 2999 | </message> |
3000 | <message> |
||
4759 | cbradney | 3001 | <source>&Close</source> |
3002 | <translation>&C 关闭</translation> |
||
3064 | cbradney | 3003 | </message> |
3004 | <message> |
||
4759 | cbradney | 3005 | <source>&Save</source> |
3006 | <translation>&S 保存</translation> |
||
3064 | cbradney | 3007 | </message> |
3008 | <message> |
||
4759 | cbradney | 3009 | <source>Save &As...</source> |
3010 | <translation>&A 另存为...</translation> |
||
3064 | cbradney | 3011 | </message> |
3012 | <message> |
||
4759 | cbradney | 3013 | <source>Re&vert to Saved</source> |
3014 | <translation>&V 恢复到已保存</translation> |
||
3064 | cbradney | 3015 | </message> |
3016 | <message> |
||
4759 | cbradney | 3017 | <source>Collect for O&utput...</source> |
3018 | <translation>&U 准备输出...</translation> |
||
3064 | cbradney | 3019 | </message> |
3020 | <message> |
||
4759 | cbradney | 3021 | <source>Get Text...</source> |
3022 | <translation> 导入文本...</translation> |
||
3064 | cbradney | 3023 | </message> |
3024 | <message> |
||
4759 | cbradney | 3025 | <source>Append &Text...</source> |
3026 | <translation>&T 追加文本...</translation> |
||
3064 | cbradney | 3027 | </message> |
3028 | <message> |
||
4759 | cbradney | 3029 | <source>Get Image...</source> |
3030 | <translation> 导入图像...</translation> |
||
3064 | cbradney | 3031 | </message> |
3032 | <message> |
||
4759 | cbradney | 3033 | <source>Save &Text...</source> |
3034 | <translation>&T 保存文本...</translation> |
||
3064 | cbradney | 3035 | </message> |
3036 | <message> |
||
4759 | cbradney | 3037 | <source>Save Page as &EPS...</source> |
5485 | cbradney | 3038 | <translation type="obsolete">&E 页面存为EPS...</translation> |
3064 | cbradney | 3039 | </message> |
3040 | <message> |
||
4759 | cbradney | 3041 | <source>Save as P&DF...</source> |
3042 | <translation>&D 保存为PDF...</translation> |
||
3064 | cbradney | 3043 | </message> |
3044 | <message> |
||
4759 | cbradney | 3045 | <source>Document &Setup...</source> |
3046 | <translation>&S 文档设置...</translation> |
||
3064 | cbradney | 3047 | </message> |
3048 | <message> |
||
4759 | cbradney | 3049 | <source>&Print...</source> |
3050 | <translation>&P 打印...</translation> |
||
3064 | cbradney | 3051 | </message> |
3052 | <message> |
||
4759 | cbradney | 3053 | <source>&Quit</source> |
3054 | <translation>&Q 退出</translation> |
||
3064 | cbradney | 3055 | </message> |
3056 | <message> |
||
4759 | cbradney | 3057 | <source>&Undo</source> |
3058 | <translation>&U 撤销</translation> |
||
3064 | cbradney | 3059 | </message> |
3060 | <message> |
||
4759 | cbradney | 3061 | <source>&Redo</source> |
3062 | <translation>&R 重做</translation> |
||
3064 | cbradney | 3063 | </message> |
3064 | <message> |
||
4759 | cbradney | 3065 | <source>&Item Action Mode</source> |
3066 | <translation>&I 项目动作模式</translation> |
||
3064 | cbradney | 3067 | </message> |
3068 | <message> |
||
4759 | cbradney | 3069 | <source>Cu&t</source> |
3070 | <translation>&t 剪切</translation> |
||
3064 | cbradney | 3071 | </message> |
3072 | <message> |
||
4759 | cbradney | 3073 | <source>&Copy</source> |
3074 | <translation>&C 复制</translation> |
||
3064 | cbradney | 3075 | </message> |
3076 | <message> |
||
4759 | cbradney | 3077 | <source>&Paste</source> |
3078 | <translation>&P 粘贴</translation> |
||
3064 | cbradney | 3079 | </message> |
3080 | <message> |
||
4759 | cbradney | 3081 | <source>C&lear Contents</source> |
5328 | cbradney | 3082 | <translation type="obsolete">&L 清除内容</translation> |
3064 | cbradney | 3083 | </message> |
3084 | <message> |
||
4759 | cbradney | 3085 | <source>Select &All</source> |
3086 | <translation>&A 全选</translation> |
||
3064 | cbradney | 3087 | </message> |
3088 | <message> |
||
4759 | cbradney | 3089 | <source>&Deselect All</source> |
3090 | <translation>&D 取消全选</translation> |
||
3064 | cbradney | 3091 | </message> |
3092 | <message> |
||
4759 | cbradney | 3093 | <source>&Search/Replace...</source> |
3094 | <translation>&S 查找/替换...</translation> |
||
3064 | cbradney | 3095 | </message> |
3096 | <message> |
||
4759 | cbradney | 3097 | <source>C&olors...</source> |
3098 | <translation>&O 颜色...</translation> |
||
3064 | cbradney | 3099 | </message> |
3100 | <message> |
||
4759 | cbradney | 3101 | <source>&Paragraph Styles...</source> |
3102 | <translation>&P 段落样式...</translation> |
||
3064 | cbradney | 3103 | </message> |
3104 | <message> |
||
4759 | cbradney | 3105 | <source>&Line Styles...</source> |
3106 | <translation>&L 线条样式...</translation> |
||
3064 | cbradney | 3107 | </message> |
3108 | <message> |
||
4759 | cbradney | 3109 | <source>&Master Pages...</source> |
3110 | <translation>&M 母页...</translation> |
||
3064 | cbradney | 3111 | </message> |
3112 | <message> |
||
4759 | cbradney | 3113 | <source>P&references...</source> |
3114 | <translation>&R 首选项...</translation> |
||
3064 | cbradney | 3115 | </message> |
3116 | <message> |
||
4759 | cbradney | 3117 | <source>%1 pt</source> |
3118 | <translation type="unfinished">%1 pt</translation> |
||
3064 | cbradney | 3119 | </message> |
3120 | <message> |
||
4759 | cbradney | 3121 | <source>&Other...</source> |
3122 | <translation>&O 其他...</translation> |
||
3064 | cbradney | 3123 | </message> |
3124 | <message> |
||
4759 | cbradney | 3125 | <source>&Left</source> |
3126 | <translation>&L 左边</translation> |
||
3064 | cbradney | 3127 | </message> |
3128 | <message> |
||
4759 | cbradney | 3129 | <source>&Center</source> |
3130 | <translation>&C 中间</translation> |
||
3064 | cbradney | 3131 | </message> |
3132 | <message> |
||
4759 | cbradney | 3133 | <source>&Right</source> |
3134 | <translation>&R 右边</translation> |
||
3064 | cbradney | 3135 | </message> |
3136 | <message> |
||
4759 | cbradney | 3137 | <source>&Block</source> |
3138 | <translation>&B 区块</translation> |
||
3064 | cbradney | 3139 | </message> |
3140 | <message> |
||
4759 | cbradney | 3141 | <source>&Forced</source> |
3142 | <translation>&F 强制</translation> |
||
3064 | cbradney | 3143 | </message> |
3144 | <message> |
||
4759 | cbradney | 3145 | <source>&%1 %</source> |
3146 | <translation type="unfinished">&%1 %</translation> |
||
3064 | cbradney | 3147 | </message> |
3148 | <message> |
||
4759 | cbradney | 3149 | <source>&Normal</source> |
3150 | <translation>&N 普通</translation> |
||
3064 | cbradney | 3151 | </message> |
3152 | <message> |
||
4759 | cbradney | 3153 | <source>&Underline</source> |
3154 | <translation>&U 下划线</translation> |
||
3064 | cbradney | 3155 | </message> |
3156 | <message> |
||
4759 | cbradney | 3157 | <source>Underline &Words</source> |
3158 | <translation>&W 添加下划线</translation> |
||
3064 | cbradney | 3159 | </message> |
3160 | <message> |
||
4759 | cbradney | 3161 | <source>&Strike Through</source> |
3162 | <translation>&S 中划线</translation> |
||
3064 | cbradney | 3163 | </message> |
3164 | <message> |
||
4759 | cbradney | 3165 | <source>&All Caps</source> |
3166 | <translation>&A 全部大写</translation> |
||
3064 | cbradney | 3167 | </message> |
3168 | <message> |
||
4759 | cbradney | 3169 | <source>Small &Caps</source> |
3170 | <translation>&C 小写</translation> |
||
3064 | cbradney | 3171 | </message> |
3172 | <message> |
||
4759 | cbradney | 3173 | <source>Su&perscript</source> |
3174 | <translation>&P 上标</translation> |
||
3064 | cbradney | 3175 | </message> |
3176 | <message> |
||
4759 | cbradney | 3177 | <source>Su&bscript</source> |
3178 | <translation>&B 下标</translation> |
||
3064 | cbradney | 3179 | </message> |
3180 | <message> |
||
4759 | cbradney | 3181 | <source>&Outline</source> |
4870 | mrdocs | 3182 | <translation type="obsolete">&O 文档结构树</translation> |
3064 | cbradney | 3183 | </message> |
3184 | <message> |
||
4759 | cbradney | 3185 | <source>D&uplicate</source> |
3186 | <translation>&U 复制</translation> |
||
3064 | cbradney | 3187 | </message> |
3188 | <message> |
||
4759 | cbradney | 3189 | <source>&Multiple Duplicate</source> |
3190 | <translation>&M 多重复制</translation> |
||
3064 | cbradney | 3191 | </message> |
3192 | <message> |
||
4759 | cbradney | 3193 | <source>&Delete</source> |
3194 | <translation>&D 删除</translation> |
||
3064 | cbradney | 3195 | </message> |
3196 | <message> |
||
4759 | cbradney | 3197 | <source>&Group</source> |
3198 | <translation>&G 群组</translation> |
||
3064 | cbradney | 3199 | </message> |
3200 | <message> |
||
4759 | cbradney | 3201 | <source>&Ungroup</source> |
3202 | <translation>&U 解散群组</translation> |
||
3064 | cbradney | 3203 | </message> |
3204 | <message> |
||
4759 | cbradney | 3205 | <source>Is &Locked</source> |
3206 | <translation>&L 锁定</translation> |
||
3064 | cbradney | 3207 | </message> |
3208 | <message> |
||
4759 | cbradney | 3209 | <source>Si&ze is Locked</source> |
3210 | <translation>&Z 大小锁定</translation> |
||
3064 | cbradney | 3211 | </message> |
3212 | <message> |
||
4759 | cbradney | 3213 | <source>Lower to &Bottom</source> |
3214 | <translation type="unfinished">&B 降低到底部</translation> |
||
3064 | cbradney | 3215 | </message> |
3216 | <message> |
||
4759 | cbradney | 3217 | <source>Raise to &Top</source> |
3218 | <translation>&T 升高到顶部</translation> |
||
3064 | cbradney | 3219 | </message> |
3220 | <message> |
||
4759 | cbradney | 3221 | <source>&Lower</source> |
3222 | <translation>&L 降低</translation> |
||
3064 | cbradney | 3223 | </message> |
3224 | <message> |
||
4759 | cbradney | 3225 | <source>&Raise</source> |
3226 | <translation>&R 升高</translation> |
||
3064 | cbradney | 3227 | </message> |
3228 | <message> |
||
4759 | cbradney | 3229 | <source>Send to S&crapbook</source> |
3230 | <translation>&C发送到寄存本</translation> |
||
3064 | cbradney | 3231 | </message> |
3232 | <message> |
||
4759 | cbradney | 3233 | <source>&Attributes...</source> |
3234 | <translation>&A 属性...</translation> |
||
3064 | cbradney | 3235 | </message> |
3236 | <message> |
||
4759 | cbradney | 3237 | <source>I&mage Visible</source> |
3238 | <translation>&M 显示图像</translation> |
||
3064 | cbradney | 3239 | </message> |
3240 | <message> |
||
4759 | cbradney | 3241 | <source>Is PDF &Bookmark</source> |
3242 | <translation>&B 为PDF书签</translation> |
||
3064 | cbradney | 3243 | </message> |
3244 | <message> |
||
4759 | cbradney | 3245 | <source>Is PDF A&nnotation</source> |
3246 | <translation>&N 为PDF注释</translation> |
||
3064 | cbradney | 3247 | </message> |
3248 | <message> |
||
4759 | cbradney | 3249 | <source>Annotation P&roperties</source> |
3250 | <translation>&R 注释属性</translation> |
||
3064 | cbradney | 3251 | </message> |
3252 | <message> |
||
4759 | cbradney | 3253 | <source>Field P&roperties</source> |
3254 | <translation>&R 文字域属性</translation> |
||
3064 | cbradney | 3255 | </message> |
3256 | <message> |
||
4759 | cbradney | 3257 | <source>&Edit Shape...</source> |
3258 | <translation>&E 编辑形状...</translation> |
||
3064 | cbradney | 3259 | </message> |
3260 | <message> |
||
4759 | cbradney | 3261 | <source>&Attach Text to Path</source> |
3262 | <translation>&A 附文字到路径</translation> |
||
3064 | cbradney | 3263 | </message> |
3264 | <message> |
||
4759 | cbradney | 3265 | <source>&Detach Text from Path</source> |
3266 | <translation>&D 从路径分离文字</translation> |
||
3064 | cbradney | 3267 | </message> |
3268 | <message> |
||
4759 | cbradney | 3269 | <source>&Combine Polygons</source> |
3270 | <translation>&C 合并多边形</translation> |
||
3064 | cbradney | 3271 | </message> |
3272 | <message> |
||
4759 | cbradney | 3273 | <source>Split &Polygons</source> |
3274 | <translation>&P 分离多边形</translation> |
||
3064 | cbradney | 3275 | </message> |
3276 | <message> |
||
4759 | cbradney | 3277 | <source>&Bezier Curve</source> |
3278 | <translation>&B 齐贝尔曲线</translation> |
||
3064 | cbradney | 3279 | </message> |
3280 | <message> |
||
4759 | cbradney | 3281 | <source>&Image Frame</source> |
3282 | <translation>&I 图像框</translation> |
||
3064 | cbradney | 3283 | </message> |
3284 | <message> |
||
4759 | cbradney | 3285 | <source>&Outlines</source> |
4870 | mrdocs | 3286 | <translation type="obsolete">&O 轮廓</translation> |
3064 | cbradney | 3287 | </message> |
3288 | <message> |
||
4759 | cbradney | 3289 | <source>&Polygon</source> |
3290 | <translation>&P 多边形</translation> |
||
3064 | cbradney | 3291 | </message> |
3292 | <message> |
||
4759 | cbradney | 3293 | <source>&Text Frame</source> |
3294 | <translation>&T 文本框</translation> |
||
3064 | cbradney | 3295 | </message> |
3296 | <message> |
||
4759 | cbradney | 3297 | <source>&Glyph...</source> |
3298 | <translation>&G 符号...</translation> |
||
3064 | cbradney | 3299 | </message> |
3300 | <message> |
||
4759 | cbradney | 3301 | <source>Sample Text</source> |
3302 | <translation>文本字样</translation> |
||
3064 | cbradney | 3303 | </message> |
3304 | <message> |
||
4759 | cbradney | 3305 | <source>&Insert...</source> |
3306 | <translation>&I 插入...</translation> |
||
3064 | cbradney | 3307 | </message> |
3308 | <message> |
||
4759 | cbradney | 3309 | <source>Im&port...</source> |
3310 | <translation>&P 导入...</translation> |
||
3064 | cbradney | 3311 | </message> |
3312 | <message> |
||
4759 | cbradney | 3313 | <source>&Delete...</source> |
3314 | <translation>&D 删除...</translation> |
||
3064 | cbradney | 3315 | </message> |
3316 | <message> |
||
4759 | cbradney | 3317 | <source>&Copy...</source> |
3318 | <translation>&C 复制...</translation> |
||
3064 | cbradney | 3319 | </message> |
3320 | <message> |
||
4759 | cbradney | 3321 | <source>&Move...</source> |
3322 | <translation>&M 移动...</translation> |
||
3064 | cbradney | 3323 | </message> |
3324 | <message> |
||
4759 | cbradney | 3325 | <source>&Apply Master Page...</source> |
3326 | <translation>&A 应用母页...</translation> |
||
3064 | cbradney | 3327 | </message> |
3328 | <message> |
||
4759 | cbradney | 3329 | <source>Manage &Guides...</source> |
3330 | <translation>&G 管理参考线...</translation> |
||
3064 | cbradney | 3331 | </message> |
3332 | <message> |
||
4759 | cbradney | 3333 | <source>&Fit in window</source> |
3334 | <translation>&F 符合窗口</translation> |
||
3064 | cbradney | 3335 | </message> |
3336 | <message> |
||
4759 | cbradney | 3337 | <source>&50%</source> |
3338 | <translation type="unfinished">&50%</translation> |
||
3064 | cbradney | 3339 | </message> |
3340 | <message> |
||
4759 | cbradney | 3341 | <source>&75%</source> |
3342 | <translation type="unfinished">&75%</translation> |
||
3064 | cbradney | 3343 | </message> |
3344 | <message> |
||
4759 | cbradney | 3345 | <source>&100%</source> |
3346 | <translation type="unfinished">&100%</translation> |
||
3064 | cbradney | 3347 | </message> |
3348 | <message> |
||
4759 | cbradney | 3349 | <source>&200%</source> |
3350 | <translation type="unfinished">&200%</translation> |
||
3064 | cbradney | 3351 | </message> |
3352 | <message> |
||
4759 | cbradney | 3353 | <source>&Thumbnails</source> |
3354 | <translation>&T 缩图</translation> |
||
3064 | cbradney | 3355 | </message> |
3356 | <message> |
||
4759 | cbradney | 3357 | <source>Show &Margins</source> |
3358 | <translation>&M 显示边距</translation> |
||
3064 | cbradney | 3359 | </message> |
3360 | <message> |
||
4759 | cbradney | 3361 | <source>Show &Frames</source> |
3362 | <translation>&F 显示框体</translation> |
||
3064 | cbradney | 3363 | </message> |
3364 | <message> |
||
4759 | cbradney | 3365 | <source>Show &Images</source> |
3366 | <translation>&I 显示图像</translation> |
||
3064 | cbradney | 3367 | </message> |
3368 | <message> |
||
4759 | cbradney | 3369 | <source>Show &Grid</source> |
3370 | <translation>&G 显示网格</translation> |
||
3064 | cbradney | 3371 | </message> |
3372 | <message> |
||
4759 | cbradney | 3373 | <source>Show G&uides</source> |
3374 | <translation>&U 显示参考线</translation> |
||
3064 | cbradney | 3375 | </message> |
3376 | <message> |
||
4759 | cbradney | 3377 | <source>Show &Baseline Grid</source> |
3378 | <translation>&B 显示底线网格</translation> |
||
3064 | cbradney | 3379 | </message> |
3380 | <message> |
||
4759 | cbradney | 3381 | <source>Show &Text Chain</source> |
3382 | <translation>&T 显示文本链</translation> |
||
3064 | cbradney | 3383 | </message> |
3384 | <message> |
||
4759 | cbradney | 3385 | <source>Sn&ap to Grid</source> |
3386 | <translation>&A 吸附到网格</translation> |
||
3064 | cbradney | 3387 | </message> |
3388 | <message> |
||
4759 | cbradney | 3389 | <source>Sna&p to Guides</source> |
3390 | <translation>&P 吸附到参考线</translation> |
||
3064 | cbradney | 3391 | </message> |
3392 | <message> |
||
4759 | cbradney | 3393 | <source>&Properties</source> |
3394 | <translation>&P 属性</translation> |
||
3064 | cbradney | 3395 | </message> |
3396 | <message> |
||
4759 | cbradney | 3397 | <source>&Scrapbook</source> |
3398 | <translation>&S 寄存本</translation> |
||
3064 | cbradney | 3399 | </message> |
3400 | <message> |
||
4759 | cbradney | 3401 | <source>&Layers</source> |
3402 | <translation>&L 图层</translation> |
||
3064 | cbradney | 3403 | </message> |
3404 | <message> |
||
4759 | cbradney | 3405 | <source>&Bookmarks</source> |
3406 | <translation>&B 书签</translation> |
||
3064 | cbradney | 3407 | </message> |
3408 | <message> |
||
4759 | cbradney | 3409 | <source>&Measurements</source> |
3410 | <translation>&M 尺寸</translation> |
||
3064 | cbradney | 3411 | </message> |
3412 | <message> |
||
4759 | cbradney | 3413 | <source>Action &History</source> |
3414 | <translation>&H 动作历史</translation> |
||
3064 | cbradney | 3415 | </message> |
3416 | <message> |
||
4759 | cbradney | 3417 | <source>Preflight &Verifier</source> |
3418 | <translation>&V 印前检验器</translation> |
||
3064 | cbradney | 3419 | </message> |
3420 | <message> |
||
4759 | cbradney | 3421 | <source>&Tools</source> |
3422 | <translation>&工具</translation> |
||
3064 | cbradney | 3423 | </message> |
3424 | <message> |
||
4759 | cbradney | 3425 | <source>P&DF Tools</source> |
3426 | <translation>P&DF 工具</translation> |
||
3064 | cbradney | 3427 | </message> |
3428 | <message> |
||
4759 | cbradney | 3429 | <source>Select Item</source> |
3430 | <translation>选择项目</translation> |
||
3064 | cbradney | 3431 | </message> |
3432 | <message> |
||
4759 | cbradney | 3433 | <source>T&able</source> |
3434 | <translation>&A 表格</translation> |
||
3064 | cbradney | 3435 | </message> |
3436 | <message> |
||
4759 | cbradney | 3437 | <source>&Shape</source> |
3438 | <translation>&S 形状</translation> |
||
3064 | cbradney | 3439 | </message> |
3440 | <message> |
||
4759 | cbradney | 3441 | <source>&Line</source> |
3442 | <translation>&L 线条</translation> |
||
3064 | cbradney | 3443 | </message> |
3444 | <message> |
||
4759 | cbradney | 3445 | <source>&Freehand Line</source> |
3446 | <translation>&F 手绘线</translation> |
||
3064 | cbradney | 3447 | </message> |
3448 | <message> |
||
4759 | cbradney | 3449 | <source>Rotate Item</source> |
3450 | <translation>旋转项目</translation> |
||
3064 | cbradney | 3451 | </message> |
3452 | <message> |
||
4759 | cbradney | 3453 | <source>Zoom in or out</source> |
3454 | <translation>放大或缩小</translation> |
||
3064 | cbradney | 3455 | </message> |
3456 | <message> |
||
4759 |