Rev 14748 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
9729 | cbradney | 1 | <?xml version="1.0" encoding="utf-8"?> |
14474 | cbradney | 2 | <!DOCTYPE TS> |
3 | <TS version="2.0" language="da_DK"> |
||
201 | Franz | 4 | <context> |
12918 | cbradney | 5 | <name></name> |
1135 | cbradney | 6 | <message> |
14474 | cbradney | 7 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="17"/> |
1135 | cbradney | 8 | <source>getColorNames() -> list |
9 | |||
10 | Returns a list containing the names of all defined colors in the document. |
||
11 | If no document is open, returns a list of the default document colors. |
||
12 | </source> |
||
14474 | cbradney | 13 | <translation type="unfinished">getColorNames() -> liste |
1135 | cbradney | 14 | |
15 | Returnerer en liste, som indeholder navnene på alle definerede farver i dokumentet. |
||
13499 | cbradney | 16 | Hvis ikke et dokument er åbnet, så returneres en liste over standard dokumentets farver. |
1135 | cbradney | 17 | </translation> |
18 | </message> |
||
19 | <message> |
||
14474 | cbradney | 20 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="27"/> |
12918 | cbradney | 21 | <source>getColor("name") -> tuple |
22 | |||
23 | Returns a tuple (C, M, Y, K) containing the four color components of the |
||
24 | color "name" from the current document. If no document is open, returns |
||
25 | the value of the named color from the default document colors. |
||
26 | |||
27 | May raise NotFoundError if the named color wasn't found. |
||
28 | May raise ValueError if an invalid color name is specified. |
||
29 | </source> |
||
14474 | cbradney | 30 | <translation type="unfinished">getColor("navn") -> tuple |
12918 | cbradney | 31 | |
13499 | cbradney | 32 | Returnerer en tuple (C, M, Y, K), som indeholder de fire farvekomponenter af |
33 | farven "navn" fra det aktive dokument. Hvis ingen dokumenter er åbne, så |
||
34 | returneres værdien af den navngivne farve fra standard dokumentets farver. |
||
12918 | cbradney | 35 | |
36 | Kan rejse NotFoundError hvis den navngivne farve ikke findes. |
||
37 | Kan rejse ValueError hvis et ugyldigt farve-navn er angivet. |
||
38 | </translation> |
||
39 | </message> |
||
40 | <message> |
||
14474 | cbradney | 41 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="41"/> |
12918 | cbradney | 42 | <source>getColorAsRGB("name") -> tuple |
43 | |||
44 | Returns a tuple (R,G,B) containing the three color components of the |
||
45 | color "name" from the current document, converted to the RGB color |
||
46 | space. If no document is open, returns the value of the named color |
||
47 | from the default document colors. |
||
48 | |||
49 | May raise NotFoundError if the named color wasn't found. |
||
50 | May raise ValueError if an invalid color name is specified. |
||
51 | </source> |
||
14474 | cbradney | 52 | <translation type="unfinished">getColorAsRGB("navn") -> tuple |
12918 | cbradney | 53 | |
13499 | cbradney | 54 | Returnerer en tuple (R, G, B), som indeholder de tre farvekomponenter |
12918 | cbradney | 55 | af farven "navn" fra det aktive dokument. Konverteret til RGB farve rum. |
56 | Hvis ingen dokumenter er åben, så returneres værdien af den navngivne |
||
13499 | cbradney | 57 | farve fra standard dokumentets farver. |
12918 | cbradney | 58 | |
59 | Kan rejse NotFoundError hvis den navngivne farve ikke findes. |
||
60 | Kan rejse ValueError hvis et ugyldigt farve-navn er angivet. |
||
61 | </translation> |
||
62 | </message> |
||
63 | <message> |
||
14474 | cbradney | 64 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="56"/> |
12918 | cbradney | 65 | <source>changeColor("name", c, m, y, k) |
66 | |||
67 | Changes the color "name" to the specified CMYK value. The color value is |
||
68 | defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black. |
||
69 | Color components should be in the range from 0 to 255. |
||
15099 | cbradney | 70 | Note : deprecated, use changeColorCMYK() instead. |
12918 | cbradney | 71 | |
72 | May raise NotFoundError if the named color wasn't found. |
||
73 | May raise ValueError if an invalid color name is specified. |
||
74 | </source> |
||
15099 | cbradney | 75 | <translation type="unfinished"></translation> |
76 | </message> |
||
77 | <message> |
||
78 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="71"/> |
||
79 | <source>changeColorCMYK("name", c, m, y, k) |
||
12918 | cbradney | 80 | |
15099 | cbradney | 81 | Changes the color "name" to the specified CMYK value. The color value is |
82 | defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black. |
||
83 | Color components should be in the range from 0 to 255. |
||
84 | |||
85 | May raise NotFoundError if the named color wasn't found. |
||
86 | May raise ValueError if an invalid color name is specified. |
||
87 | </source> |
||
88 | <translation type="unfinished"></translation> |
||
89 | </message> |
||
90 | <message> |
||
91 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="85"/> |
||
92 | <source>changeColorRGB("name", r, g, b) |
||
93 | |||
94 | Changes the color "name" to the specified RGB value. The color value is |
||
95 | defined via three components r = red, g = green, b = blue. |
||
96 | Color components should be in the range from 0 to 255. |
||
97 | |||
98 | May raise NotFoundError if the named color wasn't found. |
||
99 | May raise ValueError if an invalid color name is specified. |
||
100 | </source> |
||
101 | <translation type="unfinished"></translation> |
||
102 | </message> |
||
103 | <message> |
||
104 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="99"/> |
||
105 | <source>defineColor("name", c, m, y, k) |
||
106 | |||
107 | Defines a new color "name". The color Value is defined via four components: |
||
108 | c = Cyan, m = Magenta, y = Yellow and k = Black. Color components should be in |
||
109 | the range from 0 to 255. |
||
110 | Note : deprecated, use defineColorCMYK() instead. |
||
111 | |||
112 | May raise ValueError if an invalid color name is specified. |
||
113 | </source> |
||
114 | <translation type="unfinished"></translation> |
||
115 | </message> |
||
116 | <message> |
||
117 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="113"/> |
||
118 | <source>defineColorCMYK("name", c, m, y, k) |
||
119 | |||
120 | Defines a new color "name". The color Value is defined via four components: |
||
121 | c = Cyan, m = Magenta, y = Yellow and k = Black. Color components should be in |
||
122 | the range from 0 to 255. |
||
123 | |||
124 | May raise ValueError if an invalid color name is specified. |
||
125 | </source> |
||
126 | <translation type="unfinished"></translation> |
||
127 | </message> |
||
128 | <message> |
||
129 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="126"/> |
||
130 | <source>defineColorRGB("name", r, g, b) |
||
131 | |||
132 | Defines a new color "name". The color Value is defined via three components: |
||
133 | r = red, g = green, b = blue. Color components should be in |
||
134 | the range from 0 to 255. |
||
135 | |||
136 | May raise ValueError if an invalid color name is specified. |
||
137 | </source> |
||
138 | <translation type="unfinished"></translation> |
||
139 | </message> |
||
140 | <message> |
||
141 | <source>changeColor("name", c, m, y, k) |
||
142 | |||
143 | Changes the color "name" to the specified CMYK value. The color value is |
||
144 | defined via four components c = Cyan, m = Magenta, y = Yellow and k = Black. |
||
145 | Color components should be in the range from 0 to 255. |
||
146 | |||
147 | May raise NotFoundError if the named color wasn't found. |
||
148 | May raise ValueError if an invalid color name is specified. |
||
149 | </source> |
||
150 | <translation type="obsolete">changeColor("navn", c, m, y, k) |
||
151 | |||
12918 | cbradney | 152 | Ændrer farven "navn " til den angivne C, M, Y, K værdi. Farveværdien er |
153 | defineret via fire komponenter c = Cyan, m = Magenta, y = Gul og k = sort. |
||
154 | Farve-komponenterne skal være i området fra 0 til 255. |
||
155 | |||
156 | Kan rejse NotFoundError hvis den navngivne farve ikke findes. |
||
157 | Kan rejse ValueError hvis et ugyldigt farve-navn er angivet. |
||
158 | </translation> |
||
159 | </message> |
||
160 | <message> |
||
161 | <source>defineColor("name", c, m, y, k) |
||
162 | |||
163 | Defines a new color "name". The color Value is defined via four components: |
||
164 | c = Cyan, m = Magenta, y = Yellow and k = Black. Color components should be in |
||
165 | the range from 0 to 255. |
||
166 | |||
167 | May raise ValueError if an invalid color name is specified. |
||
168 | </source> |
||
15099 | cbradney | 169 | <translation type="obsolete">defineColor("navn", c, m, y, k) |
12918 | cbradney | 170 | |
171 | Definerer en ny farve "navn ". Farveværdien er defineret via fire komponenter: |
||
172 | c = Cyan, m = Magenta, y = Gul og k = sort. Farve-komponenterne skal være |
||
173 | i området fra 0 til 255. |
||
174 | |||
175 | Kan rejse ValueError hvis et ugyldigt farve-navn er angivet. |
||
176 | </translation> |
||
177 | </message> |
||
178 | <message> |
||
15099 | cbradney | 179 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="139"/> |
12918 | cbradney | 180 | <source>deleteColor("name", "replace") |
181 | |||
182 | Deletes the color "name". Every occurence of that color is replaced by the |
||
183 | color "replace". If not specified, "replace" defaults to the color |
||
184 | "None" - transparent. |
||
185 | |||
186 | deleteColor works on the default document colors if there is no document open. |
||
187 | In that case, "replace", if specified, has no effect. |
||
188 | |||
189 | May raise NotFoundError if a named color wasn't found. |
||
190 | May raise ValueError if an invalid color name is specified. |
||
191 | </source> |
||
14474 | cbradney | 192 | <translation type="unfinished">deleteColor("navn", "erstat") |
12918 | cbradney | 193 | |
194 | Sletter farven "navn ". Enhver forekomst af denne farve er erstattet |
||
195 | af farven "erstat". Hvis "erstat" ikke er angivet, så sættes farven til |
||
196 | "NONE" - transparent. |
||
197 | |||
13499 | cbradney | 198 | |
199 | å |
||
200 | å |
||
201 | |||
202 | æ |
||
203 | "er |
||
204 | " |
||
205 | |||
12918 | cbradney | 206 | Kan rejse NotFoundError hvis den navngivne farve ikke findes. |
207 | Kan rejse ValueError hvis et ugyldigt farve-navn er angivet. |
||
208 | </translation> |
||
209 | </message> |
||
210 | <message> |
||
15099 | cbradney | 211 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="156"/> |
12918 | cbradney | 212 | <source>replaceColor("name", "replace") |
213 | |||
214 | Every occurence of the color "name" is replaced by the color "replace". |
||
215 | |||
216 | May raise NotFoundError if a named color wasn't found. |
||
217 | May raise ValueError if an invalid color name is specified. |
||
218 | </source> |
||
14474 | cbradney | 219 | <translation type="unfinished">replaceColor("navn", "erstat") |
12918 | cbradney | 220 | |
221 | Enhver forekomst af farven "navn" bliver erstattet af farven "erstat". |
||
222 | |||
223 | Kan rejse NotFoundError hvis den navngivne farve ikke findes. |
||
224 | Kan rejse ValueError hvis et ugyldigt farve-navn er angivet. |
||
225 | </translation> |
||
226 | </message> |
||
227 | <message> |
||
14474 | cbradney | 228 | <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="17"/> |
1135 | cbradney | 229 | <source>newDocDialog() -> bool |
230 | |||
231 | Displays the "New Document" dialog box. Creates a new document if the user |
||
232 | accepts the settings. Does not create a document if the user presses cancel. |
||
233 | Returns true if a new document was created. |
||
234 | </source> |
||
14474 | cbradney | 235 | <translation type="unfinished">newDocDialog() -> bool |
1135 | cbradney | 236 | |
13499 | cbradney | 237 | Viser "Ny dokument" dialog-boks. opretter et nyt dokument, hvis brugeren |
238 | accepterer indstillingerne. Opretter ikke et dokument, hvis brugeren trykker på annullér. |
||
239 | Returnerer "true" hvis der blev oprettet et nyt dokument. |
||
1135 | cbradney | 240 | </translation> |
241 | </message> |
||
242 | <message> |
||
14474 | cbradney | 243 | <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="28"/> |
12918 | cbradney | 244 | <source>fileDialog("caption", ["filter", "defaultname", haspreview, issave, isdir]) -> string with filename |
245 | |||
246 | Shows a File Open dialog box with the caption "caption". Files are filtered |
||
247 | with the filter string "filter". A default filename or file path can also |
||
248 | supplied, leave this string empty when you don't want to use it. A value of |
||
249 | True for haspreview enables a small preview widget in the FileSelect box. When |
||
250 | the issave parameter is set to True the dialog acts like a "Save As" dialog |
||
251 | otherwise it acts like a "File Open Dialog". When the isdir parameter is True |
||
252 | the dialog shows and returns only directories. The default for all of the |
||
253 | optional parameters is False. |
||
254 | |||
255 | The filter, if specified, takes the form 'comment (*.type *.type2 ...)'. |
||
256 | For example 'Images (*.png *.xpm *.jpg)'. |
||
257 | |||
258 | Refer to the Qt-Documentation for QFileDialog for details on filters. |
||
259 | |||
260 | Example: fileDialog('Open input', 'CSV files (*.csv)') |
||
261 | Example: fileDialog('Save report', defaultname='report.txt', issave=True) |
||
262 | </source> |
||
14474 | cbradney | 263 | <translation type="unfinished">fileDialog("overskrift", ["filter", "standardnavn" ,har-previsning, er-gem, er-mappe]) -> streng med fil-navn |
13499 | cbradney | 264 | |
265 | Viser en "Fil-åbn" dialog-boks med overskriften "overskrift". Filer er filtreret |
||
266 | med filter-strengen "filter". Et standard fil-navn eller fil-sti kan også |
||
267 | angives, lad denne streng være tom, når du ikke ønsker at bruge den. |
||
268 | Hvis har-previsning er "TRUE" aktiveres et lille visningsvindue i fil-valg-boksen. |
||
269 | Når er-gem værdien er sat til "True", så fungerer dialogboksen som en "Gem som" |
||
270 | dialog, ellers fungerer den som en "Fil åbn" dialog. Når er-mappe værdien er |
||
271 | "True", så viser og returnerer dialogboksen kun mapper. Standardværdien for |
||
272 | alle de valgfri parametre er "False". |
||
273 | |||
274 | Filteret, hvis specificeret, har formen 'kommentar (*.type *.type2 ...)'. |
||
275 | For eksempel 'billeder' (*.png *.xpm *.jpg)'. |
||
276 | |||
277 | Se Qt-dokumentationen over QFileDialog for detaljer om filtre. |
||
278 | |||
279 | Eksempel: fileDialog('Åbn input', 'CSV filer (*.csv)') |
||
280 | Eksempel: fileDialog('Gem report', standardnavn='report.txt', er-gem=True) |
||
281 | </translation> |
||
12918 | cbradney | 282 | </message> |
283 | <message> |
||
14474 | cbradney | 284 | <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="56"/> |
12918 | cbradney | 285 | <source>messageBox("caption", "message", |
286 | icon=ICON_NONE, button1=BUTTON_OK|BUTTONOPT_DEFAULT, |
||
287 | button2=BUTTON_NONE, button3=BUTTON_NONE) -> integer |
||
288 | |||
289 | Displays a message box with the title "caption", the message "message", and |
||
290 | an icon "icon" and up to 3 buttons. By default no icon is used and a single |
||
291 | button, OK, is displayed. Only the caption and message arguments are required, |
||
292 | though setting an icon and appropriate button(s) is strongly |
||
293 | recommended. The message text may contain simple HTML-like markup. |
||
294 | |||
295 | Returns the number of the button the user pressed. Button numbers start |
||
296 | at 1. |
||
297 | |||
298 | For the icon and the button parameters there are predefined constants available |
||
299 | with the same names as in the Qt Documentation. These are the BUTTON_* and |
||
300 | ICON_* constants defined in the module. There are also two extra constants that |
||
301 | can be binary-ORed with button constants: |
||
302 | BUTTONOPT_DEFAULT Pressing enter presses this button. |
||
303 | BUTTONOPT_ESCAPE Pressing escape presses this button. |
||
304 | |||
305 | Usage examples: |
||
306 | result = messageBox('Script failed', |
||
307 | 'This script only works when you have a text frame selected.', |
||
308 | ICON_ERROR) |
||
309 | result = messageBox('Monkeys!', 'Something went ook! <i>Was it a monkey?</i>', |
||
310 | ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT, |
||
311 | BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE) |
||
312 | |||
313 | Defined button and icon constants: |
||
314 | BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO, |
||
315 | BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL, |
||
316 | ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL. |
||
317 | </source> |
||
14474 | cbradney | 318 | <translation type="unfinished">messageBox("titel", "besked", |
12918 | cbradney | 319 | ikon=ICON_NONE, knap1=BUTTON_OK|BUTTONOPT_DEFAULT, |
320 | knap2=BUTTON_NONE, knap3=BUTTON_NONE) -> integer |
||
321 | |||
322 | Viser en besked-boks med titlen "titel", meddelelsen "besked", og |
||
323 | et ikon "ikon" og op til 3 knapper. Som standard bruges ingen ikoner og |
||
324 | en enkel knap, OK, er vist. Kun titel og besked argumenterne er påkrævet, |
||
325 | selvom det anbefales meget, at sætte et ikon og passende knap(per). |
||
326 | Besked-teksten kan indeholde simple HTML-lignende formatering. |
||
327 | |||
328 | Returnerer nummeret på den knap brugeren trykkede på. Knap-numre |
||
329 | starter ved 1. |
||
330 | |||
331 | For ikon og knap-parametre er der predefinerede konstanter tilgængelige |
||
332 | med de samme navne som i Qt Dokumentationen. Disse er BUTTON_* og |
||
333 | ICON_* konstanterne defineret i modulet. Der er også to ekstra konstanter der |
||
334 | kan binær-ORes med knap konstanter: |
||
335 | BUTTONOPT_DEFAULT Tryk enter trykker denne knap. |
||
336 | BUTTONOPT_ESCAPE Tryk escape trykker denne knap. |
||
337 | |||
338 | Eksempler på brug: |
||
339 | resultat = messageBox('Script fejlede', |
||
340 | 'Denne script fungerer kun, når der er markeret en tekst-ramme.', |
||
341 | ICON_ERROR) |
||
342 | resultat = messageBox('Abekatte!', 'Noget gik agurk! <i>Hvad er en abekat?</i>', |
||
343 | ICON_WARNING, BUTTON_YES|BUTTONOPT_DEFAULT, |
||
344 | BUTTON_NO, BUTTON_IGNORE|BUTTONOPT_ESCAPE) |
||
345 | |||
346 | Definerede knap og ikon konstanter: |
||
347 | BUTTON_NONE, BUTTON_ABORT, BUTTON_CANCEL, BUTTON_IGNORE, BUTTON_NO, |
||
348 | BUTTON_NOALL, BUTTON_OK, BUTTON_RETRY, BUTTON_YES, BUTTON_YESALL, |
||
349 | ICON_NONE, ICON_INFORMATION, ICON_WARNING, ICON_CRITICAL. |
||
350 | </translation> |
||
351 | </message> |
||
352 | <message> |
||
14474 | cbradney | 353 | <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="95"/> |
12918 | cbradney | 354 | <source>valueDialog(caption, message [,defaultvalue]) -> string |
355 | |||
356 | Shows the common 'Ask for string' dialog and returns its value as a string |
||
357 | Parameters: window title, text in the window and optional 'default' value. |
||
358 | |||
359 | Example: valueDialog('title', 'text in the window', 'optional') |
||
360 | </source> |
||
14474 | cbradney | 361 | <translation type="unfinished">valueDialog(titel, besked [,standardværdi]) -> streng |
12918 | cbradney | 362 | |
363 | Viser den almindelige 'spørg efter streng' dialog og returnerer dens værdi som en streng |
||
364 | Parametre: vindue-titel, tekst i vinduet og en valgfri 'standard' værdi. |
||
365 | |||
366 | Eksempel: valueDialog('titel', 'tekst i vinduet', 'valgfri') |
||
367 | </translation> |
||
368 | </message> |
||
369 | <message> |
||
14474 | cbradney | 370 | <location filename="../../../scribus/plugins/scriptplugin/cmddialog.h" line="107"/> |
12918 | cbradney | 371 | <source>newStyleDialog() -> string |
372 | |||
373 | Shows 'Create new paragraph style' dialog. Function returns real |
||
374 | style name or None when user cancels the dialog. |
||
375 | </source> |
||
14474 | cbradney | 376 | <translation type="unfinished">newStyleDialog() -> streng |
12918 | cbradney | 377 | |
13499 | cbradney | 378 | Viser 'Opret ny afsnits-typografi' vindue. Funktionen returnerer det rigtige |
12918 | cbradney | 379 | typografi navn eller Intet når bruger annullerer vinduet. |
380 | </translation> |
||
381 | </message> |
||
382 | <message> |
||
14474 | cbradney | 383 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="16"/> |
12918 | cbradney | 384 | <source>newDocument(size, margins, orientation, firstPageNumber, |
385 | unit, pagesType, firstPageOrder, numPages) -> bool |
||
386 | |||
387 | Creates a new document and returns true if successful. The parameters have the |
||
388 | following meaning: |
||
389 | |||
390 | size = A tuple (width, height) describing the size of the document. You can |
||
391 | use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc. |
||
392 | |||
393 | margins = A tuple (left, right, top, bottom) describing the document |
||
394 | margins |
||
395 | |||
396 | orientation = the page orientation - constants PORTRAIT, LANDSCAPE |
||
397 | |||
398 | firstPageNumer = is the number of the first page in the document used for |
||
399 | pagenumbering. While you'll usually want 1, it's useful to have higher |
||
400 | numbers if you're creating a document in several parts. |
||
401 | |||
402 | unit: this value sets the measurement units used by the document. Use a |
||
403 | predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS, |
||
404 | UNIT_PICAS, UNIT_POINTS. |
||
405 | |||
406 | pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page, |
||
407 | PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and |
||
408 | PAGE_4 is 4-fold. |
||
409 | |||
410 | firstPageOrder = What is position of first page in the document. |
||
411 | Indexed from 0 (0 = first). |
||
412 | |||
413 | numPage = Number of pages to be created. |
||
414 | |||
415 | The values for width, height and the margins are expressed in the given unit |
||
416 | for the document. PAPER_* constants are expressed in points. If your document |
||
417 | is not in points, make sure to account for this. |
||
418 | |||
419 | example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS, |
||
420 | PAGE_4, 3, 1) |
||
421 | |||
422 | May raise ScribusError if is firstPageOrder bigger than allowed by pagesType. |
||
423 | </source> |
||
14474 | cbradney | 424 | <translation type="unfinished">newDocument(størrelse, margener, retning, førsteSideNummer, |
12918 | cbradney | 425 | måle-enhed, sideType, førsteSideOrden, antalSider) -> bool |
426 | |||
13499 | cbradney | 427 | Opretter et Nyt dokument og returnerer "true" hvis det lykkedes. Parametrene har |
12918 | cbradney | 428 | følgende betydning: |
429 | |||
430 | størrelse = A tuple (bredde, højde) beskriver størrelsen af dokumentet. du kan |
||
431 | bruge predefinerede constanter med navnet PAPER_<papir_type> f.eks. PAPER_A4 etc. |
||
432 | |||
433 | margener = En tuple (venstre, højre, top, bund) beskriver documentets margener |
||
434 | |||
435 | retning = sidens retning - constanter PORTRAIT, LANDSCAPE |
||
436 | |||
437 | førsteSideNummer = er nummeret på den første side i dokumentet brugt for |
||
438 | side-nummerering. Selvom værdien oftest er 1, så er der nogen gange brug for |
||
439 | et højere nummer, hvis et dokument består af flere dele. |
||
440 | |||
441 | måle-enhed: denne værdi sætter måle-enheden, som bruges i dokumentet. Brug en |
||
442 | predefineret constant for dette, en af: UNIT_INCHES, UNIT_MILLIMETERS, |
||
443 | UNIT_PICAS, UNIT_POINTS. |
||
444 | |||
445 | sideType = En af de predefinerede constanter PAGE_n. PAGE_1 er enkeltside, |
||
446 | PAGE_2 er for dobbeltsidet dokumenter, PAGE_3 er for 3 siders folder og |
||
447 | PAGE_4 er 4-fold |
||
448 | |||
449 | førsteSideOrden = Hvad er positionen af første side i dokumentet. |
||
450 | Indeksering fra 0 (0 = første). |
||
451 | |||
452 | antalSider = Antal sider som skal laves. |
||
453 | |||
454 | Værdierne for bredde, højde og margener er udtrykt i den givne måle-enhed |
||
455 | for dokumentet. PAPER_* constanter er udtrykt i punkter. Hvis dit dokument |
||
456 | ikke er i punkter, så sørg for at tage højde for dette. |
||
457 | |||
458 | eksempel: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS, |
||
459 | PAGE_4, 3, 1) |
||
460 | |||
461 | Kan rejse ScribusError hvis førsteSideOrden er større end tilladt for sideType. |
||
462 | </translation> |
||
463 | </message> |
||
464 | <message> |
||
14474 | cbradney | 465 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="62"/> |
12918 | cbradney | 466 | <source>newDoc(size, margins, orientation, firstPageNumber, |
467 | unit, facingPages, firstSideLeft) -> bool |
||
468 | |||
469 | WARNING: Obsolete procedure! Use newDocument instead. |
||
470 | |||
471 | Creates a new document and returns true if successful. The parameters have the |
||
472 | following meaning: |
||
473 | |||
474 | size = A tuple (width, height) describing the size of the document. You can |
||
475 | use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc. |
||
476 | |||
477 | margins = A tuple (left, right, top, bottom) describing the document |
||
478 | margins |
||
479 | |||
480 | orientation = the page orientation - constants PORTRAIT, LANDSCAPE |
||
481 | |||
482 | firstPageNumer = is the number of the first page in the document used for |
||
483 | pagenumbering. While you'll usually want 1, it's useful to have higher |
||
484 | numbers if you're creating a document in several parts. |
||
485 | |||
486 | unit: this value sets the measurement units used by the document. Use a |
||
487 | predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS, |
||
488 | UNIT_PICAS, UNIT_POINTS. |
||
489 | |||
490 | facingPages = FACINGPAGES, NOFACINGPAGES |
||
491 | |||
492 | firstSideLeft = FIRSTPAGELEFT, FIRSTPAGERIGHT |
||
493 | |||
494 | The values for width, height and the margins are expressed in the given unit |
||
495 | for the document. PAPER_* constants are expressed in points. If your document |
||
496 | is not in points, make sure to account for this. |
||
497 | |||
498 | example: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS, |
||
499 | FACINGPAGES, FIRSTPAGERIGHT) |
||
500 | </source> |
||
14474 | cbradney | 501 | <translation type="unfinished">newDoc(størrelse, margener, retning, førsteSideNummer, |
12918 | cbradney | 502 | måle-enhed, modståendeSider, førsteSideVenstre) -> bool |
503 | |||
504 | ADVARSEL: Forældet procedure! brug newDocument i stedet for. |
||
505 | |||
13499 | cbradney | 506 | Opretter et Nyt dokument og returnerer "true" hvis det lykkedes. Parametrene har |
12918 | cbradney | 507 | følgende betydning: |
508 | |||
509 | størrelse = A tuple (bredde, højde) beskriver størrelsen af dokumentet. du kan |
||
510 | bruge predefinerede constanter med navnet PAPER_<paper_type> f.eks. PAPER_A4 etc. |
||
511 | |||
512 | margener = En tuple (venstre, højre, top, bund) beskriver documentets margener |
||
513 | |||
514 | retning = sidens retning - constanter PORTRAIT, LANDSCAPE |
||
515 | |||
516 | førsteSideNummer = er nummeret på den første side i dokumentet brugt for |
||
517 | side-nummerering. Selvom værdien oftest er 1, så er der nogen gange brug for |
||
518 | et højere nummer, når et dokument består af flere dele. |
||
519 | |||
520 | enhed: denne værdi sætter måle-enheden, som bruges i dokumentet. Brug en |
||
521 | predefineret constant for dette, en af: UNIT_INCHES, UNIT_MILLIMETERS, |
||
522 | UNIT_PICAS, UNIT_POINTS. |
||
523 | |||
524 | modståendeSider = FACINGPAGES, NOFACINGPAGES |
||
525 | |||
526 | førsteSideVenstre = FIRSTPAGELEFT, FIRSTPAGERIGHT |
||
527 | |||
528 | Værdierne for bredde, højde og margener er udtrykt i den givne måle-enhed |
||
529 | for dokumentet. PAPER_* constanter er udtrykt i punkter. Hvis dit dokument |
||
530 | ikke er i punkter, så sørg for at tage højde for dette. |
||
531 | |||
532 | eksempel: newDoc(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 1, UNIT_POINTS, |
||
533 | FACINGPAGES, FIRSTPAGERIGHT)</translation> |
||
534 | </message> |
||
535 | <message> |
||
14474 | cbradney | 536 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="103"/> |
12918 | cbradney | 537 | <source>closeDoc() |
538 | |||
539 | Closes the current document without prompting to save. |
||
540 | |||
541 | May throw NoDocOpenError if there is no document to close |
||
542 | </source> |
||
14474 | cbradney | 543 | <translation type="unfinished">closeDoc() |
12918 | cbradney | 544 | |
545 | Lukker det aktive dokument uden at spørge om det skal gemmes. |
||
546 | |||
547 | Kan rejse NoDocOpenError hvis der ikke er noget dokument at lukke |
||
548 | </translation> |
||
549 | </message> |
||
550 | <message> |
||
14474 | cbradney | 551 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="114"/> |
12918 | cbradney | 552 | <source>haveDoc() -> bool |
553 | |||
554 | Returns true if there is a document open. |
||
555 | </source> |
||
14474 | cbradney | 556 | <translation type="unfinished">haveDoc() -> bool |
12918 | cbradney | 557 | |
558 | Returnerer "true" hvis der er et åbent dokument. |
||
559 | </translation> |
||
560 | </message> |
||
561 | <message> |
||
14474 | cbradney | 562 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="123"/> |
12918 | cbradney | 563 | <source>openDoc("name") |
564 | |||
565 | Opens the document "name". |
||
566 | |||
567 | May raise ScribusError if the document could not be opened. |
||
568 | </source> |
||
14474 | cbradney | 569 | <translation type="unfinished">openDoc("navn") |
12918 | cbradney | 570 | |
571 | Åbner dokumentet "navn" |
||
572 | |||
573 | Kan rejse ScribusError hvis dokumentet ikke kunne åbnes. |
||
574 | </translation> |
||
575 | </message> |
||
576 | <message> |
||
14474 | cbradney | 577 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="134"/> |
12918 | cbradney | 578 | <source>saveDoc() |
579 | |||
580 | Saves the current document with its current name, returns true if successful. |
||
581 | If the document has not already been saved, this may bring up an interactive |
||
582 | save file dialog. |
||
583 | |||
584 | If the save fails, there is currently no way to tell. |
||
585 | </source> |
||
14474 | cbradney | 586 | <translation type="unfinished">saveDoc("navn") |
12918 | cbradney | 587 | |
588 | Gemmer det aktive dokument med dets nuværende navn, returnerer "true" hvis |
||
589 | det lykkedes. Hvis dokumentet ikke allerede har været gemt, så vil der komme |
||
590 | en interaktiv "gem fil" dialog. |
||
591 | |||
592 | Hvis "gem fil" fejler, er der ikke nogen måde at fortælle det på. |
||
593 | </translation> |
||
594 | </message> |
||
595 | <message> |
||
14474 | cbradney | 596 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="146"/> |
597 | <source>getDocName() -> string |
||
598 | |||
599 | Returns the name the document was saved under. |
||
600 | If the document was not saved before the name is empty. |
||
601 | </source> |
||
602 | <translation type="unfinished"></translation> |
||
603 | </message> |
||
604 | <message> |
||
605 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="156"/> |
||
12918 | cbradney | 606 | <source>saveDocAs("name") |
607 | |||
608 | Saves the current document under the new name "name" (which may be a full or |
||
609 | relative path). |
||
610 | |||
611 | May raise ScribusError if the save fails. |
||
612 | </source> |
||
14474 | cbradney | 613 | <translation type="unfinished">saveDocAs("navn") |
12918 | cbradney | 614 | |
615 | Gemmer det aktive dokument med det nye navn "navn" (som kan være en |
||
616 | fuld eller relativ sti). |
||
617 | |||
13499 | cbradney | 618 | Kan rejse ScribusError hvis gem fejler. |
12918 | cbradney | 619 | </translation> |
620 | </message> |
||
621 | <message> |
||
14474 | cbradney | 622 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="168"/> |
12918 | cbradney | 623 | <source>setInfo("author", "info", "description") -> bool |
624 | |||
625 | Sets the document information. "Author", "Info", "Description" are |
||
626 | strings. |
||
627 | </source> |
||
14474 | cbradney | 628 | <translation type="unfinished">setInfo("forfatter", "info", "beskrivelse") -> bool |
12918 | cbradney | 629 | Sætter dokument-informationen. "forfatter", "info", "beskrivelse" er |
630 | strenge. |
||
631 | </translation> |
||
632 | </message> |
||
633 | <message> |
||
14474 | cbradney | 634 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="178"/> |
12918 | cbradney | 635 | <source>setMargins(lr, rr, tr, br) |
636 | |||
14474 | cbradney | 637 | Sets the margins of the document, Left(lr), Right(rr), Top(tr) and Bottom(br) |
638 | margins are given in the measurement units of the document - see UNIT_<type> |
||
639 | constants. |
||
640 | </source> |
||
641 | <translation type="unfinished">setMargins(lr, rr, tr, br) |
||
642 | |||
643 | Sætter dokumentets margener, Venstre(lr), Højre(rr), Top(tr) og Bund(br) |
||
644 | margener er angivet i dokumentets måle-enhed - se UNIT_<type> konstanter. |
||
645 | </translation> |
||
646 | </message> |
||
647 | <message> |
||
648 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="189"/> |
||
649 | <source>setBaseLine(grid, offset) |
||
650 | |||
651 | Sets the base line settings of the document, grid spacing(grid), grid offset(offset). |
||
652 | Values are given in the measurement units of the document - see UNIT_<type> |
||
653 | constants. |
||
654 | </source> |
||
655 | <translation type="unfinished"></translation> |
||
656 | </message> |
||
657 | <message> |
||
658 | <source>setMargins(lr, rr, tr, br) |
||
659 | |||
12918 | cbradney | 660 | Sets the margins of the document, Qt::DockLeft(lr), Qt::DockRight(rr), Qt::DockTop(tr) and Qt::DockBottom(br) |
661 | margins are given in the measurement units of the document - see UNIT_<type> |
||
662 | constants. |
||
663 | </source> |
||
14474 | cbradney | 664 | <translation type="obsolete">setMargins(lr, rr, tr, br) |
13499 | cbradney | 665 | |
666 | Sætter dokumentets margener, Qt::DockLeft(lr), Qt::DockRight(rr), Qt::DockTop(tr) and Qt::DockBottom(br) |
||
667 | margener er angivet i dokumentets måle-enhed - se UNIT_<type> |
||
668 | konstanter. |
||
669 | </translation> |
||
12918 | cbradney | 670 | </message> |
671 | <message> |
||
14474 | cbradney | 672 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="200"/> |
12918 | cbradney | 673 | <source>setUnit(type) |
674 | |||
675 | Changes the measurement unit of the document. Possible values for "unit" are |
||
676 | defined as constants UNIT_<type>. |
||
677 | |||
678 | May raise ValueError if an invalid unit is passed. |
||
679 | </source> |
||
14474 | cbradney | 680 | <translation type="unfinished">setUnit(type) |
12918 | cbradney | 681 | |
682 | Ændrer dokumentets måle-enhed. Mulige værdier for "enhed" er |
||
683 | defineret som konstanter UNIT_<type>. |
||
684 | |||
685 | Kan rejse ValueError hvis en ugyldig type er angivet. |
||
686 | </translation> |
||
687 | </message> |
||
688 | <message> |
||
14474 | cbradney | 689 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="212"/> |
12918 | cbradney | 690 | <source>getUnit() -> integer (Scribus unit constant) |
691 | |||
692 | Returns the measurement units of the document. The returned value will be one |
||
693 | of the UNIT_* constants: |
||
694 | UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS. |
||
695 | </source> |
||
14474 | cbradney | 696 | <translation type="unfinished">getUnit() -> integer (Scribus enheds konstant) |
12918 | cbradney | 697 | |
698 | Returnerer dokumentets måle-enhed. Den returnerede værdi vil være en |
||
699 | af UNIT_* konstanterne: |
||
700 | UNIT_INCHES, UNIT_MILLIMETERS, UNIT_PICAS, UNIT_POINTS. |
||
701 | </translation> |
||
702 | </message> |
||
703 | <message> |
||
14474 | cbradney | 704 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="223"/> |
12918 | cbradney | 705 | <source>loadStylesFromFile("filename") |
706 | |||
707 | Loads paragraph styles from the Scribus document at "filename" into the |
||
708 | current document. |
||
709 | </source> |
||
14474 | cbradney | 710 | <translation type="unfinished">loadStylesFromFile("filnavn") |
12918 | cbradney | 711 | |
712 | Indlæser afsnits-typografierne fra Scribus dokumentet "filnavn" |
||
713 | ind i det aktive dokument. |
||
714 | </translation> |
||
715 | </message> |
||
716 | <message> |
||
14474 | cbradney | 717 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="233"/> |
12918 | cbradney | 718 | <source>setDocType(facingPages, firstPageLeft) |
719 | |||
720 | Sets the document type. To get facing pages set the first parameter to |
||
721 | FACINGPAGES, to switch facingPages off use NOFACINGPAGES instead. If you want |
||
722 | to be the first page a left side set the second parameter to FIRSTPAGELEFT, for |
||
723 | a right page use FIRSTPAGERIGHT. |
||
724 | </source> |
||
14474 | cbradney | 725 | <translation type="unfinished">setDocType(modståendeSider, førsteSideVenstre) |
12918 | cbradney | 726 | |
727 | Sætter dokumentets type. For at få modstående sider, så sæt den første værdi |
||
728 | til FACINGPAGES, for at deaktivere dette brug istedet NOFACINGPAGES. Hvis du ønsker |
||
729 | at have den første side som venstre side, sæt da den anden værdi til FIRSTPAGELEFT, for |
||
730 | en højre side som den første brug FIRSTPAGERIGHT. |
||
731 | </translation> |
||
732 | </message> |
||
733 | <message> |
||
14474 | cbradney | 734 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="243"/> |
12918 | cbradney | 735 | <source>closeMasterPage() |
736 | |||
737 | Closes the currently active master page, if any, and returns editing |
||
738 | to normal. Begin editing with editMasterPage(). |
||
739 | </source> |
||
14474 | cbradney | 740 | <translation type="unfinished">closeMasterPage() |
12918 | cbradney | 741 | |
742 | Lukker den aktive masterside, hvis der er nogen, og returnerer |
||
743 | redigering til normal. Begynd redigering med editMasterPage(). |
||
744 | </translation> |
||
745 | </message> |
||
746 | <message> |
||
14474 | cbradney | 747 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="251"/> |
12918 | cbradney | 748 | <source>masterPageNames() |
749 | |||
750 | Returns a list of the names of all master pages in the document. |
||
751 | </source> |
||
14474 | cbradney | 752 | <translation type="unfinished">masterPageNames() |
12918 | cbradney | 753 | |
754 | Returnerer en liste af navnene på alle mastersider i dokumentet. |
||
755 | </translation> |
||
756 | </message> |
||
757 | <message> |
||
14474 | cbradney | 758 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="258"/> |
12918 | cbradney | 759 | <source>editMasterPage(pageName) |
760 | |||
761 | Enables master page editing and opens the named master page |
||
762 | for editing. Finish editing with closeMasterPage(). |
||
763 | </source> |
||
14474 | cbradney | 764 | <translation type="unfinished">editMasterPage(sideNavn) |
12918 | cbradney | 765 | |
766 | Aktiverer redigering af masterside og åbner den navngivne masterside |
||
767 | for redigering. Afslut redigering med closeMasterPage(). |
||
768 | </translation> |
||
769 | </message> |
||
770 | <message> |
||
14474 | cbradney | 771 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="266"/> |
12918 | cbradney | 772 | <source>createMasterPage(pageName) |
773 | |||
774 | Creates a new master page named pageName and opens it for |
||
775 | editing. |
||
776 | </source> |
||
14474 | cbradney | 777 | <translation type="unfinished">createMasterPage(sideNavn) |
12918 | cbradney | 778 | |
13499 | cbradney | 779 | Opretter en ny masterside med navnet sideNavn og åbner den for |
12918 | cbradney | 780 | redigering. |
781 | </translation> |
||
782 | </message> |
||
783 | <message> |
||
14474 | cbradney | 784 | <location filename="../../../scribus/plugins/scriptplugin/cmddoc.h" line="274"/> |
12918 | cbradney | 785 | <source>deleteMasterPage(pageName) |
786 | |||
787 | Delete the named master page. |
||
788 | </source> |
||
14474 | cbradney | 789 | <translation type="unfinished">deleteMasterPage(sideNavn) |
12918 | cbradney | 790 | |
791 | Sletter den navngivne masterside. |
||
792 | </translation> |
||
793 | </message> |
||
794 | <message> |
||
14474 | cbradney | 795 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="17"/> |
15099 | cbradney | 796 | <source>getObjectType(["name"]) -> string |
797 | |||
798 | Get type of object "name" as a string. |
||
799 | </source> |
||
800 | <translation type="unfinished"></translation> |
||
801 | </message> |
||
802 | <message> |
||
803 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="26"/> |
||
1135 | cbradney | 804 | <source>getFillColor(["name"]) -> string |
805 | |||
806 | Returns the name of the fill color of the object "name". |
||
807 | If "name" is not given the currently selected item is used. |
||
808 | </source> |
||
14474 | cbradney | 809 | <translation type="unfinished">getFillColor(["navn"]) -> streng |
1135 | cbradney | 810 | |
811 | Returnerer navnet på fyld-farven i objektet "navn". |
||
812 | Hvis "navn" ikke angives, så bruges det markerede element. |
||
813 | </translation> |
||
814 | </message> |
||
815 | <message> |
||
15099 | cbradney | 816 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="36"/> |
12918 | cbradney | 817 | <source>getFillTransparency(["name"]) -> float |
818 | |||
819 | Returns the fill transparency of the object "name". If "name" |
||
820 | is not given the currently selected Item is used. |
||
821 | </source> |
||
14474 | cbradney | 822 | <translation type="unfinished">getFillTransparency(["navn"]) -> komma-tal |
12918 | cbradney | 823 | |
824 | Returnerer fyld gennemsigtigheden for objektet "navn". Hvis "navn" |
||
825 | ikke angives, så bruges det markerede element. |
||
826 | </translation> |
||
827 | </message> |
||
828 | <message> |
||
15099 | cbradney | 829 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="46"/> |
12918 | cbradney | 830 | <source>getFillBlendmode(["name"]) -> integer |
831 | |||
832 | Returns the fill blendmode of the object "name". If "name" |
||
833 | is not given the currently selected Item is used. |
||
834 | </source> |
||
14474 | cbradney | 835 | <translation type="unfinished">getFillBlendmode(["navn"]) -> heltal |
12918 | cbradney | 836 | |
837 | Returnerer fyld blandindings-tilstanden af objektet "navn". Hvis "navn" |
||
838 | ikke angives, så bruges det markerede element. |
||
839 | </translation> |
||
840 | </message> |
||
841 | <message> |
||
15099 | cbradney | 842 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="56"/> |
12918 | cbradney | 843 | <source>getLineColor(["name"]) -> string |
844 | |||
845 | Returns the name of the line color of the object "name". |
||
846 | If "name" is not given the currently selected item is used. |
||
847 | </source> |
||
14474 | cbradney | 848 | <translation type="unfinished">getLineColor(["navn"]) -> streng |
12918 | cbradney | 849 | |
850 | Returnerer navnet på linie-farven på objektet "navn". |
||
851 | Hvis "navn" ikke angives, så bruges det markerede element. |
||
852 | </translation> |
||
853 | </message> |
||
854 | <message> |
||
15099 | cbradney | 855 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="66"/> |
12918 | cbradney | 856 | <source>getLineTransparency(["name"]) -> float |
857 | |||
858 | Returns the line transparency of the object "name". If "name" |
||
859 | is not given the currently selected Item is used. |
||
860 | </source> |
||
14474 | cbradney | 861 | <translation type="unfinished">getLineTransparency(["navn"]) -> komma-tal |
12918 | cbradney | 862 | |
863 | Returnerer liniens gennemsigtighed af objektet "navn". Hvis "navn" |
||
864 | ikke angives, så bruges det markerede element. |
||
865 | </translation> |
||
866 | </message> |
||
867 | <message> |
||
15099 | cbradney | 868 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="76"/> |
12918 | cbradney | 869 | <source>getLineBlendmode(["name"]) -> integer |
870 | |||
871 | Returns the line blendmode of the object "name". If "name" |
||
872 | is not given the currently selected Item is used. |
||
873 | </source> |
||
14474 | cbradney | 874 | <translation type="unfinished">getLineBlendmode(["navn"]) -> heltal |
12918 | cbradney | 875 | |
876 | Returnerer linie blandindings-tilstanden af objektet "navn". Hvis "navn" |
||
877 | ikke angives, så bruges det markerede element. |
||
878 | </translation> |
||
879 | </message> |
||
880 | <message> |
||
15099 | cbradney | 881 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="86"/> |
12918 | cbradney | 882 | <source>getLineWidth(["name"]) -> integer |
883 | |||
884 | Returns the line width of the object "name". If "name" |
||
885 | is not given the currently selected Item is used. |
||
886 | </source> |
||
14474 | cbradney | 887 | <translation type="unfinished">getLineWidth(["navn"]) -> integer |
12918 | cbradney | 888 | |
889 | Returnerer linie-bredde på på objektet "navn". Hvis "navn" |
||
890 | ikke angives, så bruges det markerede element. |
||
891 | </translation> |
||
892 | </message> |
||
893 | <message> |
||
15099 | cbradney | 894 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="96"/> |
12918 | cbradney | 895 | <source>getLineShade(["name"]) -> integer |
896 | |||
897 | Returns the shading value of the line color of the object "name". |
||
898 | If "name" is not given the currently selected item is used. |
||
899 | </source> |
||
14474 | cbradney | 900 | <translation type="unfinished">getLineShade(["navn"]) -> integer |
12918 | cbradney | 901 | |
902 | Returnerer værdien for liniens farvemætning på objektet "navn". |
||
903 | Hvis "navn" ikke angives, så bruges det markerede element. |
||
904 | </translation> |
||
905 | </message> |
||
906 | <message> |
||
15099 | cbradney | 907 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="106"/> |
12918 | cbradney | 908 | <source>getLineJoin(["name"]) -> integer (see constants) |
909 | |||
910 | Returns the line join style of the object "name". If "name" is not given |
||
911 | the currently selected item is used. The join types are: |
||
912 | JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND |
||
913 | </source> |
||
14474 | cbradney | 914 | <translation type="unfinished">getLineJoin(["navn"]) -> integer (se kontanter) |
13499 | cbradney | 915 | |
916 | Returnerer typen af liniesamlingen på objektet "navn". Hvis "navn" |
||
917 | ikke angives, så bruges det markerede element. Samlingstyperne er |
||
918 | JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND |
||
919 | </translation> |
||
12918 | cbradney | 920 | </message> |
921 | <message> |
||
15099 | cbradney | 922 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="117"/> |
12918 | cbradney | 923 | <source>getLineEnd(["name"]) -> integer (see constants) |
924 | |||
925 | Returns the line cap style of the object "name". If "name" is not given the |
||
926 | currently selected item is used. The cap types are: |
||
927 | CAP_FLAT, CAP_ROUND, CAP_SQUARE |
||
928 | </source> |
||
14474 | cbradney | 929 | <translation type="unfinished">getLineEnd(["navn"]) -> integer (se kontanter) |
12918 | cbradney | 930 | |
931 | Returnerer typen af linieenden på objektet "navn" Hvis "navn" |
||
932 | ikke angives, så bruges det markerede element. Endetyperne er |
||
933 | CAP_FLAT, CAP_ROUND, CAP_SQUARE |
||
934 | </translation> |
||
935 | </message> |
||
936 | <message> |
||
15099 | cbradney | 937 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="128"/> |
12918 | cbradney | 938 | <source>getLineStyle(["name"]) -> integer (see constants) |
939 | |||
940 | Returns the line style of the object "name". If "name" is not given the |
||
941 | currently selected item is used. Line style constants are: |
||
942 | LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID |
||
943 | </source> |
||
14474 | cbradney | 944 | <translation type="unfinished">getLineStyle(["navn"]) -> integer (se kontanter) |
12918 | cbradney | 945 | |
946 | Returnerer liniestilen på objektet "navn" Hvis "navn" ikke |
||
947 | angives, så bruges det markerede element. Liniestilene er |
||
948 | LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID |
||
949 | </translation> |
||
950 | </message> |
||
951 | <message> |
||
15099 | cbradney | 952 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="139"/> |
12918 | cbradney | 953 | <source>getFillShade(["name"]) -> integer |
954 | |||
955 | Returns the shading value of the fill color of the object "name". |
||
956 | If "name" is not given the currently selected item is used. |
||
957 | </source> |
||
14474 | cbradney | 958 | <translation type="unfinished">getFillShade(["navn"]) -> integer |
12918 | cbradney | 959 | |
960 | Returnerer farvemætningen på fyld-farven på objektet "navn". |
||
961 | Hvis "navn" ikke angives, så bruges det markerede element. |
||
962 | </translation> |
||
963 | </message> |
||
964 | <message> |
||
15099 | cbradney | 965 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="149"/> |
12918 | cbradney | 966 | <source>getCornerRadius(["name"]) -> integer |
967 | |||
968 | Returns the corner radius of the object "name". The radius is |
||
969 | expressed in points. If "name" is not given the currently |
||
970 | selected item is used. |
||
971 | </source> |
||
14474 | cbradney | 972 | <translation type="unfinished">getCornerRadius(["navn"]) -> integer |
12918 | cbradney | 973 | |
974 | Returnerer radius på hjørnerne på objektet "navn". Radius er |
||
975 | udtrykt i punkter. Hvis "navn" ikke angives, så bruges |
||
976 | det markerede element. |
||
977 | </translation> |
||
978 | </message> |
||
979 | <message> |
||
15099 | cbradney | 980 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="160"/> |
12918 | cbradney | 981 | <source>getImageScale(["name"]) -> (x,y) |
982 | |||
983 | Returns a (x, y) tuple containing the scaling values of the image frame |
||
984 | "name". If "name" is not given the currently selected item is used. |
||
985 | </source> |
||
14474 | cbradney | 986 | <translation type="unfinished">getImageScale(["navn"]) -> (x,y) |
12918 | cbradney | 987 | |
988 | Returnerer en (x, y) tuple, som indeholder skaleringsværdierne for billedrammen |
||
989 | "navn". Hvis "navn" ikke angives, så bruges det markerede element. |
||
990 | </translation> |
||
991 | </message> |
||
992 | <message> |
||
15099 | cbradney | 993 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="170"/> |
12918 | cbradney | 994 | <source>getImageName(["name"]) -> string |
995 | |||
996 | Returns the filename for the image in the image frame. If "name" is not |
||
997 | given the currently selected item is used. |
||
998 | </source> |
||
14474 | cbradney | 999 | <translation type="unfinished">getImageName(["navn"]) -> streng |
12918 | cbradney | 1000 | |
1001 | Returnerer filnavnet for billedet i billed-rammen "navn". Hvis |
||
1002 | "navn" ikke angives, så bruges det markerede element. |
||
1003 | </translation> |
||
1004 | </message> |
||
1005 | <message> |
||
15099 | cbradney | 1006 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="180"/> |
12918 | cbradney | 1007 | <source>getPosition(["name"]) -> (x,y) |
1008 | |||
1009 | Returns a (x, y) tuple with the position of the object "name". |
||
1010 | If "name" is not given the currently selected item is used. |
||
1011 | The position is expressed in the actual measurement unit of the document |
||
1012 | - see UNIT_<type> for reference. |
||
1013 | </source> |
||
14474 | cbradney | 1014 | <translation type="unfinished">getPosition(["navn"]) -> (x,y) |
12918 | cbradney | 1015 | |
1016 | Returnerer en (x, y) tuple med positionen på objektet "navn". |
||
1017 | Hvis "navn" ikke angives, så bruges det markerede element. |
||
1018 | Positionen er udtrykt i den aktuelle måle-enhed for dokumentet |
||
1019 | - se UNIT_<type> for reference. |
||
1020 | </translation> |
||
1021 | </message> |
||
1022 | <message> |
||
15099 | cbradney | 1023 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="192"/> |
12918 | cbradney | 1024 | <source>getSize(["name"]) -> (width,height) |
1025 | |||
1026 | Returns a (width, height) tuple with the size of the object "name". |
||
1027 | If "name" is not given the currently selected item is used. The size is |
||
1028 | expressed in the current measurement unit of the document - see UNIT_<type> |
||
1029 | for reference. |
||
1030 | </source> |
||
14474 | cbradney | 1031 | <translation type="unfinished">getSize(["navn"]) -> (bredde,højde) |
12918 | cbradney | 1032 | |
1033 | Returnerer en (bredde, højde) tuple med størrelsen på objektet "navn". |
||
1034 | Hvis "navn" ikke angives, så bruges det markerede element. Størrelsen |
||
1035 | er udtrykt i den aktuelle måle-enhed for dokumentet - se UNIT_<type> |
||
1036 | for reference. |
||
1037 | </translation> |
||
1038 | </message> |
||
1039 | <message> |
||
15099 | cbradney | 1040 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="204"/> |
12918 | cbradney | 1041 | <source>getRotation(["name"]) -> integer |
1042 | |||
1043 | Returns the rotation of the object "name". The value is expressed in degrees, |
||
1044 | and clockwise is positive. If "name" is not given the currently selected item |
||
1045 | is used. |
||
1046 | </source> |
||
14474 | cbradney | 1047 | <translation type="unfinished">getRotation(["navn"]) -> integer |
12918 | cbradney | 1048 | |
1049 | Returnerer rotationen på objektet "navn". Værdien er udtrykt i grader, |
||
1050 | og med uret giver en positiv værdi. Hvis "navn" ikke angives, så bruges |
||
1051 | det markerede element. |
||
1052 | </translation> |
||
1053 | </message> |
||
1054 | <message> |
||
15099 | cbradney | 1055 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetprop.h" line="215"/> |
12918 | cbradney | 1056 | <source>getAllObjects() -> list |
1057 | |||
1058 | Returns a list containing the names of all objects on the current page. |
||
1059 | </source> |
||
14474 | cbradney | 1060 | <translation type="unfinished">getAllObjects() -> liste |
12918 | cbradney | 1061 | |
1062 | Returnerer en liste, som indeholder navnene på alle objekter på den aktive side. |
||
1063 | </translation> |
||
1064 | </message> |
||
1065 | <message> |
||
14474 | cbradney | 1066 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="77"/> |
12918 | cbradney | 1067 | <source>getPropertyCType(object, property, includesuper=True) |
1068 | |||
1069 | Returns the name of the C type of `property' of `object'. See getProperty() |
||
1070 | for details of arguments. |
||
1071 | |||
1072 | If `includesuper' is true, search inherited properties too. |
||
1073 | </source> |
||
14474 | cbradney | 1074 | <translation type="unfinished">getPropertyCType(objekt, egenskab, inkludérsuper=True) |
12918 | cbradney | 1075 | |
1076 | Returnerer navnet på `egenskab'ens C type i det givne `objekt'. Se getProperty() |
||
1077 | |||
1078 | Hvis `inkludérsuper' er `TRUE', søges også nedarvede egenskaber. |
||
1079 | </translation> |
||
1080 | </message> |
||
1081 | <message> |
||
14474 | cbradney | 1082 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="96"/> |
12918 | cbradney | 1083 | <source>getPropertyNames(object, includesuper=True) |
1084 | |||
1085 | Return a list of property names supported by `object'. |
||
1086 | If `includesuper' is true, return properties supported |
||
1087 | by parent classes as well. |
||
1088 | </source> |
||
14474 | cbradney | 1089 | <translation type="unfinished">getPropertyNames(objekt, inkludérsuper=True) |
12918 | cbradney | 1090 | |
1091 | Returnerer en liste af egenskabs navne understøttet af `objekt'. |
||
1092 | Hvis `inkludérsuper' er `TRUE', returneres også navnene på egenskaber |
||
1093 | understøttet af forældreklassen. |
||
1094 | </translation> |
||
1095 | </message> |
||
1096 | <message> |
||
14474 | cbradney | 1097 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="123"/> |
12918 | cbradney | 1098 | <source>getProperty(object, property) |
1099 | |||
1100 | Return the value of the property `property' of the passed `object'. |
||
1101 | |||
1102 | The `object' argument may be a string, in which case the named PageItem |
||
1103 | is searched for. It may also be a PyCObject, which may point to any |
||
1104 | C++ QObject instance. |
||
1105 | |||
1106 | The `property' argument must be a string, and is the name of the property |
||
1107 | to look up on `object'. |
||
1108 | |||
1109 | The return value varies depending on the type of the property. |
||
1110 | </source> |
||
14474 | cbradney | 1111 | <translation type="unfinished">getProperty(objekt, egenskab) |
12918 | cbradney | 1112 | |
1113 | Returnerer værdien af egenskab `egenskab' i det givne `objekt'. |
||
1114 | |||
1115 | Argumentet `object' kan være en streng, og der vil da blive søgt efter det |
||
1116 | navngivne Sideelement. Det kan også være et PyObjekt, som kan pege på |
||
1117 | et hvilket som helst C++ QObjekt tilfælde. |
||
1118 | |||
1119 | Argumentet `egenskab' skal være en streng, og er navnet på den egenskab |
||
1120 | der søges efter i `objekt'. |
||
1121 | |||
1122 | Værdien der returneres er forskellig afhængig af egenskabens type. |
||
1123 | </translation> |
||
1124 | </message> |
||
1125 | <message> |
||
14474 | cbradney | 1126 | <location filename="../../../scribus/plugins/scriptplugin/cmdgetsetprop.h" line="158"/> |
12918 | cbradney | 1127 | <source>setProperty(object, property, value) |
1128 | |||
1129 | Set `property' of `object' to `value'. If `value' cannot be converted to a type |
||
1130 | compatible with the type of `property', an exception is raised. An exception may |
||
1131 | also be raised if the underlying setter fails. |
||
1132 | |||
1133 | See getProperty() for more information. |
||
1134 | </source> |
||
14474 | cbradney | 1135 | <translation type="unfinished">setProperty(objekt, egenskab, værdi) |
12918 | cbradney | 1136 | |
1137 | Sætter `egenskab' af `objekt' til `værdi'. Hvis `værdi' ikke kan konverteres til en type |
||
1138 | der er forenelig med typen af `egenskab', vil en indsigelse blive rejst. En indsigelse |
||
1139 | kan også blive rejst, hvis den grundlæggende sætter mislykkes. |
||
1140 | |||
1141 | Se getProperty() for mere information. |
||
1142 | </translation> |
||
1143 | </message> |
||
1144 | <message> |
||
14474 | cbradney | 1145 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="17"/> |
1135 | cbradney | 1146 | <source>moveObject(dx, dy [, "name"]) |
1147 | |||
1148 | Moves the object "name" by dx and dy relative to its current position. The |
||
1149 | distances are expressed in the current measurement unit of the document (see |
||
1150 | UNIT constants). If "name" is not given the currently selected item is used. |
||
1151 | If the object "name" belongs to a group, the whole group is moved. |
||
1152 | </source> |
||
14474 | cbradney | 1153 | <translation type="unfinished">moveObject(dx, dy [, "navn"]) |
1135 | cbradney | 1154 | |
1155 | Flytter objektet "navn" med dx og dy relativt til dets nuværende position. |
||
1156 | Afstanden er udtrykt i dokumentets nuværende måle-enhed (se UNIT |
||
1157 | konstanter). Hvis "navn" ikke angives, så bruges det aktive element. |
||
1158 | Hvis "navn" hører til en gruppe, så flyttes hele gruppen. |
||
1159 | </translation> |
||
1160 | </message> |
||
1161 | <message> |
||
14474 | cbradney | 1162 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="29"/> |
12918 | cbradney | 1163 | <source>moveObjectAbs(x, y [, "name"]) |
1164 | |||
1165 | Moves the object "name" to a new location. The coordinates are expressed in |
||
1166 | the current measurement unit of the document (see UNIT constants). If "name" |
||
1167 | is not given the currently selected item is used. If the object "name" |
||
1168 | belongs to a group, the whole group is moved. |
||
1169 | </source> |
||
14474 | cbradney | 1170 | <translation type="unfinished">moveObjectAbs(x, y [,"navn"]) |
12918 | cbradney | 1171 | |
1172 | Flytter objektet "navn" til en ny placering. Koordinaterne er udtrykt i den |
||
1173 | aktuelle måle-enhed for dokumentet - (se UNIT konstanter). Hvis "navn" |
||
1174 | ikke angives, så bruges det markerede element. Hvis objektet "navn" |
||
1175 | hører til en gruppe, så flyttes hele gruppen. |
||
1176 | </translation> |
||
1177 | </message> |
||
1178 | <message> |
||
14474 | cbradney | 1179 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="41"/> |
12918 | cbradney | 1180 | <source>rotateObject(rot [, "name"]) |
1181 | |||
1182 | Rotates the object "name" by "rot" degrees relatively. The object is |
||
1183 | rotated by the vertex that is currently selected as the rotation point - by |
||
1184 | default, the top left vertex at zero rotation. Positive values mean counter |
||
1185 | clockwise rotation when the default rotation point is used. If "name" is not |
||
1186 | given the currently selected item is used. |
||
1187 | </source> |
||
14474 | cbradney | 1188 | <translation type="unfinished">rotateObject(rot [, "navn"]) |
13499 | cbradney | 1189 | |
1190 | Roterer objektet "navn" med "rot" grader relativt. Objektet er roteret |
||
1191 | omkring den spids, som er valgt som omdrejningspunkt - standard er |
||
1192 | det øverste venstre ved nul rotation. Positive værdier angiver drejning |
||
1193 | mod uret, når standard omdrejnings-punktet bruges. Hvis "navn" ikke |
||
1194 | angives, så bruges det markerede element. |
||
1195 | </translation> |
||
12918 | cbradney | 1196 | </message> |
1197 | <message> |
||
14474 | cbradney | 1198 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="54"/> |
12918 | cbradney | 1199 | <source>rotateObjectAbs(rot [, "name"]) |
1200 | |||
1201 | Sets the rotation of the object "name" to "rot". Positive values |
||
1202 | mean counter clockwise rotation. If "name" is not given the currently |
||
1203 | selected item is used. |
||
1204 | </source> |
||
14474 | cbradney | 1205 | <translation type="unfinished">rotateObjectAbs(rot [, "navn"]) |
12918 | cbradney | 1206 | |
1207 | Sætter rotationen af objektet "navn" til "rot". Positive værdier |
||
1208 | angiver drejning mod uret. Hvis "navn" ikke angives, så bruges |
||
1209 | det markerede element. |
||
1210 | </translation> |
||
1211 | </message> |
||
1212 | <message> |
||
14474 | cbradney | 1213 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="65"/> |
12918 | cbradney | 1214 | <source>sizeObject(width, height [, "name"]) |
1215 | |||
1216 | Resizes the object "name" to the given width and height. If "name" |
||
1217 | is not given the currently selected item is used. |
||
1218 | </source> |
||
14474 | cbradney | 1219 | <translation type="unfinished">sizeObject(bredde, højde [, "navn"]) |
12918 | cbradney | 1220 | |
1221 | Ændrer størrelsen på objektet "navn" til den givne bredde og højde. |
||
1222 | Hvis "navn" ikke angives, så bruges det markerede element. |
||
1223 | </translation> |
||
1224 | </message> |
||
1225 | <message> |
||
14474 | cbradney | 1226 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="75"/> |
12918 | cbradney | 1227 | <source>getSelectedObject([nr]) -> string |
1228 | |||
1229 | Returns the name of the selected object. "nr" if given indicates the number |
||
1230 | of the selected object, e.g. 0 means the first selected object, 1 means the |
||
1231 | second selected Object and so on. |
||
1232 | </source> |
||
14474 | cbradney | 1233 | <translation type="unfinished">getSelectedObject([nr]) -> streng |
12918 | cbradney | 1234 | |
1235 | Returnerer navnet på det markerede objekt. Hvis "nr" angives, så indikerer |
||
1236 | det nummeret på det markerede objekt, f.eks. betyder 0 det første markerede |
||
1237 | objekt, 1 betyder det andet markerede objekt o.s.v. |
||
1238 | </translation> |
||
1239 | </message> |
||
1240 | <message> |
||
14474 | cbradney | 1241 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="86"/> |
12918 | cbradney | 1242 | <source>selectionCount() -> integer |
1243 | |||
1244 | Returns the number of selected objects. |
||
1245 | </source> |
||
14474 | cbradney | 1246 | <translation type="unfinished">selectionCount() -> integer |
12918 | cbradney | 1247 | |
1248 | Returneret antallet af markerede objekter. |
||
1249 | </translation> |
||
1250 | </message> |
||
1251 | <message> |
||
14474 | cbradney | 1252 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="95"/> |
12918 | cbradney | 1253 | <source>selectObject("name") |
1254 | |||
1255 | Selects the object with the given "name". |
||
1256 | </source> |
||
14474 | cbradney | 1257 | <translation type="unfinished">selectObject("navn") |
12918 | cbradney | 1258 | |
1259 | Marker objekt med det givne "navn". |
||
1260 | </translation> |
||
1261 | </message> |
||
1262 | <message> |
||
14474 | cbradney | 1263 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="104"/> |
12918 | cbradney | 1264 | <source>deselectAll() |
1265 | |||
1266 | Deselects all objects in the whole document. |
||
1267 | </source> |
||
14474 | cbradney | 1268 | <translation type="unfinished">deselectAll() |
12918 | cbradney | 1269 | |
1270 | Fjerner alle markeringer i hele dokumentet. |
||
1271 | </translation> |
||
1272 | </message> |
||
1273 | <message> |
||
14474 | cbradney | 1274 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="113"/> |
14747 | cbradney | 1275 | <source>groupObjects(list) -> string |
1276 | |||
1277 | Groups the objects named in "list" together. "list" must contain the names |
||
1278 | of the objects to be grouped. If "list" is not given the currently selected |
||
1279 | items are used. Returns the group name for further referencing. |
||
1280 | </source> |
||
1281 | <translation type="unfinished"></translation> |
||
1282 | </message> |
||
1283 | <message> |
||
15099 | cbradney | 1284 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="200"/> |
1285 | <source>setImageBrightness(n [, "name"]) |
||
1286 | |||
1287 | Set image brightness effect of the picture in the image frame "name". |
||
1288 | If "name" is not given the currently selected item is used. A number of 1 |
||
1289 | means 100 %. Brightness factor is equal to the value shown on properties palette. |
||
1290 | |||
1291 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
1292 | </source> |
||
1293 | <translation type="unfinished"></translation> |
||
1294 | </message> |
||
1295 | <message> |
||
1296 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="213"/> |
||
1297 | <source>setImageGrayscale(["name"]) |
||
1298 | |||
1299 | Set image grayscale effect of the picture in the image frame "name". |
||
1300 | If "name" is not given the currently selected item is used. |
||
1301 | |||
1302 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
1303 | </source> |
||
1304 | <translation type="unfinished"></translation> |
||
1305 | </message> |
||
1306 | <message> |
||
12918 | cbradney | 1307 | <source>groupObjects(list) |
1308 | |||
1309 | Groups the objects named in "list" together. "list" must contain the names |
||
1310 | of the objects to be grouped. If "list" is not given the currently selected |
||
1311 | items are used. |
||
1312 | </source> |
||
14747 | cbradney | 1313 | <translation type="obsolete">groupObjects(liste) |
12918 | cbradney | 1314 | |
13499 | cbradney | 1315 | Opretter en gruppe af alle objekter der er nævnt i "liste". "liste" skal indeholde |
12918 | cbradney | 1316 | navnene på de objekter, som skal laves til en gruppe. Hvis "liste" ikke angives, |
1317 | så bruges de markerede elementer. |
||
1318 | </translation> |
||
1319 | </message> |
||
1320 | <message> |
||
14474 | cbradney | 1321 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="124"/> |
12918 | cbradney | 1322 | <source>unGroupObjects("name") |
1323 | |||
1324 | Destructs the group the object "name" belongs to.If "name" is not given the currently selected item is used.</source> |
||
14474 | cbradney | 1325 | <translation type="unfinished">unGroupObjects("navn") |
12918 | cbradney | 1326 | |
1327 | Adskiller gruppen, som objektet "navn" hører til. Hvis "navn" ikke angives, |
||
1328 | så bruges det markerede element. |
||
1329 | </translation> |
||
1330 | </message> |
||
1331 | <message> |
||
14474 | cbradney | 1332 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="132"/> |
12918 | cbradney | 1333 | <source>scaleGroup(factor [,"name"]) |
1334 | |||
1335 | Scales the group the object "name" belongs to. Values greater than 1 enlarge |
||
1336 | the group, values smaller than 1 make the group smaller e.g a value of 0.5 |
||
1337 | scales the group to 50 % of its original size, a value of 1.5 scales the group |
||
1338 | to 150 % of its original size. The value for "factor" must be greater than |
||
1339 | 0. If "name" is not given the currently selected item is used. |
||
1340 | |||
1341 | May raise ValueError if an invalid scale factor is passed. |
||
1342 | </source> |
||
14474 | cbradney | 1343 | <translation type="unfinished">scaleGroup(faktor [,"navn"]) |
12918 | cbradney | 1344 | |
1345 | Skalerer gruppen, som objekter "navn" hører til. Værdier større en 1 forstørrer |
||
1346 | gruppen, værdier mindre end 1 laver gruppen mindre, f.eks. en værdi på 0.5 |
||
1347 | skalerer gruppen til 50 % af dens originale størrelse, en værdi på 1.5 skalerer |
||
1348 | gruppen til 150 % af dens originale størrelse. Værdien for "faktor" skal være |
||
1349 | større end 0. Hvis "navn" ikke angives, så bruges det markerede element. |
||
1350 | |||
1351 | kan rejse ValueError, hvis en ugyldig skalerings-faktor er angivet. |
||
1352 | </translation> |
||
1353 | </message> |
||
1354 | <message> |
||
14474 | cbradney | 1355 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="147"/> |
12918 | cbradney | 1356 | <source>loadImage("filename" [, "name"]) |
1357 | |||
1358 | Loads the picture "picture" into the image frame "name". If "name" is |
||
1359 | not given the currently selected item is used. |
||
1360 | |||
1361 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
1362 | </source> |
||
14474 | cbradney | 1363 | <translation type="unfinished">loadImage("filnavn", "navn") |
12918 | cbradney | 1364 | |
1365 | Indlæser billedet "filnavn" ind i billed-rammen "navn". Hvis "navn" |
||
1366 | ikke angives, så bruges det markerede element. |
||
1367 | |||
1368 | Kan rejse WrongFrameTypeError, hvis målrammen ikke er en billed-ramme |
||
1369 | </translation> |
||
1370 | </message> |
||
1371 | <message> |
||
1372 | <source>scaleImage(x, y [, "name"]) |
||
1373 | |||
1374 | Sets the scaling factors of the picture in the image frame "name". |
||
1375 | If "name" is not given the currently selected item is used. A number of 1 |
||
1376 | means 100 %. |
||
1377 | |||
1378 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
1379 | </source> |
||
13279 | cbradney | 1380 | <translation type="obsolete">scaleImage(x, y [, "navn"]) |
12918 | cbradney | 1381 | |
1382 | Sætter Skalerings-faktorerne for billedet i billed-rammen "navn". |
||
1383 | Hvis "navn" ikke angives, så bruges det markerede element. |
||
1384 | Værdien 1 betyder 100 %. |
||
1385 | |||
1386 | kan rejse WrongFrameTypeError, hvis mål-rammen ikke er en billedramme |
||
1387 | </translation> |
||
1388 | </message> |
||
1389 | <message> |
||
15099 | cbradney | 1390 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="225"/> |
12918 | cbradney | 1391 | <source>lockObject(["name"]) -> bool |
1392 | |||
1393 | Locks the object "name" if it's unlocked or unlock it if it's locked. |
||
1394 | If "name" is not given the currently selected item is used. Returns true |
||
1395 | if locked. |
||
1396 | </source> |
||
14474 | cbradney | 1397 | <translation type="unfinished">lockObject(["navn"]) -> bool |
12918 | cbradney | 1398 | |
1399 | Låser objektet "navn" hvis det er ulåst og låser det op hvis det er låst. |
||
1400 | Hvis "navn" ikke angives, så bruges det markerede element. |
||
1401 | Returnerer "true" hvis objektet er låst. |
||
1402 | </translation> |
||
1403 | </message> |
||
1404 | <message> |
||
15099 | cbradney | 1405 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="236"/> |
12918 | cbradney | 1406 | <source>isLocked(["name"]) -> bool |
1407 | |||
1408 | Returns true if is the object "name" locked. If "name" is not given the |
||
1409 | currently selected item is used. |
||
1410 | </source> |
||
14474 | cbradney | 1411 | <translation type="unfinished">isLocked(["navn"]) -> bool |
12918 | cbradney | 1412 | |
1413 | Returnerer "true" hvis objektet "navn" er låst. Hvis "navn" ikke angives, |
||
1414 | så bruges det markerede element. |
||
1415 | </translation> |
||
1416 | </message> |
||
1417 | <message> |
||
15099 | cbradney | 1418 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="245"/> |
12918 | cbradney | 1419 | <source>setScaleImageToFrame(scaletoframe, proportional=None, name=<selection>) |
1420 | |||
1421 | Sets the scale to frame on the selected or specified image frame to `scaletoframe'. |
||
1422 | If `proportional' is specified, set fixed aspect ratio scaling to `proportional'. |
||
1423 | Both `scaletoframe' and `proportional' are boolean. |
||
1424 | |||
1425 | May raise WrongFrameTypeError. |
||
1426 | </source> |
||
14474 | cbradney | 1427 | <translation type="unfinished">setScaleImageToFrame(skalertilramme, proportional=None, name=<markering>) |
12918 | cbradney | 1428 | |
1429 | Sætter skalér til ramme på den markerede eller speciferede billed-ramme til `scaletoframe'. |
||
1430 | Hvis proportional er specificeret, så sættes fast bredde/højde forholdet til `proportionelt'. |
||
1431 | Både `skalertilramme' og `proportional' er boolsk. |
||
1432 | |||
1433 | Kan rejse WrongFrameTypeError. |
||
1434 | </translation> |
||
1435 | </message> |
||
1436 | <message> |
||
14474 | cbradney | 1437 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="19"/> |
1135 | cbradney | 1438 | <source>setRedraw(bool) |
1439 | |||
1440 | Disables page redraw when bool = False, otherwise redrawing is enabled. |
||
1441 | This change will persist even after the script exits, so make sure to call |
||
1442 | setRedraw(True) in a finally: clause at the top level of your script. |
||
1443 | </source> |
||
14474 | cbradney | 1444 | <translation type="unfinished">setRedraw(bool) |
1135 | cbradney | 1445 | |
1446 | Forhindrer gentegning af siden når bool="false", ellers er gentegning aktiveret. |
||
1447 | Denne ændring vil holde selv efter scriptet afslutter, så vær sikker på at |
||
1448 | kalde setredraw(True) i slutningen: Forbeholdt topniveau af dit script. |
||
1449 | </translation> |
||
1450 | </message> |
||
1451 | <message> |
||
14474 | cbradney | 1452 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="30"/> |
12918 | cbradney | 1453 | <source>getFontNames() -> list |
1454 | |||
1455 | Returns a list with the names of all available fonts. |
||
1456 | </source> |
||
14474 | cbradney | 1457 | <translation type="unfinished">getFontNames() -> liste |
12918 | cbradney | 1458 | |
1459 | Returnerer en liste med navnene på alle tilgængelige fonte. |
||
1460 | </translation> |
||
1461 | </message> |
||
1462 | <message> |
||
14474 | cbradney | 1463 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="39"/> |
12918 | cbradney | 1464 | <source>getXFontNames() -> list of tuples |
1465 | |||
1466 | Returns a larger font info. It's a list of the tuples with: |
||
1467 | [ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ] |
||
1468 | </source> |
||
14474 | cbradney | 1469 | <translation type="unfinished">getXFontNames() -> liste af tupler |
12918 | cbradney | 1470 | |
1471 | Returner større mængde font-info. Det er en liste af tuplerne med: |
||
1472 | [ (Scribus navn, Familie, Rigtige navn, substituere (1|0), indlejr PS (1|0), font-fil), (...), ... ] |
||
1473 | </translation> |
||
1474 | </message> |
||
1475 | <message> |
||
14474 | cbradney | 1476 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="52"/> |
12918 | cbradney | 1477 | <source>renderFont("name", "filename", "sample", size, format="PPM") -> bool |
1478 | |||
1479 | Creates an image preview of font "name" with given text "sample" and size. |
||
1480 | If "filename" is not "", image is saved into "filename". Otherwise |
||
1481 | image data is returned as a string. The optional "format" argument |
||
1482 | specifies the image format to generate, and supports any format allowed |
||
1483 | by QPixmap.save(). Common formats are PPM, JPEG, PNG and XPM. |
||
1484 | |||
1485 | May raise NotFoundError if the specified font can't be found. |
||
1486 | May raise ValueError if an empty sample or filename is passed. |
||
1487 | </source> |
||
14474 | cbradney | 1488 | <translation type="unfinished">renderFont("navn", "filenavn", "eksempel", størrelse, format="PPM") -> bool |
12918 | cbradney | 1489 | |
1490 | Laver en billed-visning af fonten "navn" med teksten "eksempel" og størrelse. |
||
1491 | Hvis "filnavn" ikke er "", så bliver billedet gemt i "filnavn". Ellers returneres |
||
1492 | billed-data som en streng. Det valgfri "format" argument specificerer billed-formatet, |
||
1493 | der skal genereres, og støtter de formater, som er tilladt af QPixmap.save(). |
||
1494 | Almindelige formater er PPM, JPEG, PNG og XPM. |
||
1495 | |||
1496 | Kan rejse NotFoundError hvis den angivne font ikke findes. |
||
1497 | Kan rejse ValueError hvis "eksempel" eller "filnavn" er tomt. |
||
1498 | </translation> |
||
1499 | </message> |
||
1500 | <message> |
||
14474 | cbradney | 1501 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="68"/> |
12918 | cbradney | 1502 | <source>getLayers() -> list |
1503 | |||
1504 | Returns a list with the names of all defined layers. |
||
1505 | </source> |
||
14474 | cbradney | 1506 | <translation type="unfinished">getLayers() -> liste |
12918 | cbradney | 1507 | |
1508 | Returnerer en liste med navnene på alle definerede lag. |
||
1509 | </translation> |
||
1510 | </message> |
||
1511 | <message> |
||
14474 | cbradney | 1512 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="77"/> |
12918 | cbradney | 1513 | <source>setActiveLayer("name") |
1514 | |||
1515 | Sets the active layer to the layer named "name". |
||
1516 | |||
1517 | May raise NotFoundError if the layer can't be found. |
||
1518 | May raise ValueError if the layer name isn't acceptable. |
||
1519 | </source> |
||
14474 | cbradney | 1520 | <translation type="unfinished">setActiveLayer("navn") |
12918 | cbradney | 1521 | |
1522 | Sætter laget "navn" som det aktive lag. |
||
1523 | |||
1524 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1525 | Kan rejse ValueError hvis lagets navn ikke kan accepteres. |
||
1526 | </translation> |
||
1527 | </message> |
||
1528 | <message> |
||
14474 | cbradney | 1529 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="89"/> |
12918 | cbradney | 1530 | <source>getActiveLayer() -> string |
1531 | |||
1532 | Returns the name of the current active layer. |
||
1533 | </source> |
||
14474 | cbradney | 1534 | <translation type="unfinished">getActiveLayer() -> streng |
12918 | cbradney | 1535 | |
1536 | Returnerer navnet på det aktive lag. |
||
1537 | </translation> |
||
1538 | </message> |
||
1539 | <message> |
||
14474 | cbradney | 1540 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="98"/> |
12918 | cbradney | 1541 | <source>sentToLayer("layer" [, "name"]) |
1542 | |||
1543 | Sends the object "name" to the layer "layer". The layer must exist. |
||
1544 | If "name" is not given the currently selected item is used. |
||
1545 | |||
1546 | May raise NotFoundError if the layer can't be found. |
||
1547 | May raise ValueError if the layer name isn't acceptable. |
||
1548 | </source> |
||
14474 | cbradney | 1549 | <translation type="unfinished">sentToLayer("lag" [, "navn"]) |
12918 | cbradney | 1550 | |
1551 | Sender objektet "navn" til laget "lag". Laget skal eksistere. |
||
1552 | Hvis "navn" ikke angives, så bruges det markerede element. |
||
1553 | |||
1554 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1555 | Kan rejse ValueError hvis lagets navn ikke kan accepteres. |
||
1556 | </translation> |
||
1557 | </message> |
||
1558 | <message> |
||
14474 | cbradney | 1559 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="111"/> |
12918 | cbradney | 1560 | <source>setLayerVisible("layer", visible) |
1561 | |||
1562 | Sets the layer "layer" to be visible or not. If is the visible set to false |
||
1563 | the layer is invisible. |
||
1564 | |||
1565 | May raise NotFoundError if the layer can't be found. |
||
1566 | May raise ValueError if the layer name isn't acceptable. |
||
1567 | </source> |
||
14474 | cbradney | 1568 | <translation type="unfinished">setLayerVisible("lag", synlig) |
12918 | cbradney | 1569 | |
1570 | Sætter laget "lag" til at være synligt eller usynligt. Hvis "synlig" sættes til |
||
1571 | "False", så er laget usynligt. |
||
1572 | |||
1573 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1574 | Kan rejse ValueError hvis lagets navn ikke kan accepteres. |
||
1575 | </translation> |
||
1576 | </message> |
||
1577 | <message> |
||
14474 | cbradney | 1578 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="124"/> |
12918 | cbradney | 1579 | <source>setLayerPrintable("layer", printable) |
1580 | |||
1581 | Sets the layer "layer" to be printable or not. If is the |
||
1582 | printable set to false the layer won't be printed. |
||
1583 | |||
1584 | May raise NotFoundError if the layer can't be found. |
||
1585 | May raise ValueError if the layer name isn't acceptable. |
||
1586 | </source> |
||
14474 | cbradney | 1587 | <translation type="unfinished">setLayerPrintable("lag", printbar) |
12918 | cbradney | 1588 | |
1589 | Sætter laget "lag" til at kunne udskrives eller ej. Hvis |
||
1590 | "printbar" sættes til "False", så bliver laget ikke udskrivet. |
||
1591 | |||
1592 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1593 | Kan rejse ValueError hvis lagets navn ikke kan accepteres. |
||
1594 | </translation> |
||
1595 | </message> |
||
1596 | <message> |
||
14474 | cbradney | 1597 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="137"/> |
12918 | cbradney | 1598 | <source>setLayerLocked("layer", locked) |
1599 | |||
1600 | Sets the layer "layer" to be locked or not. If locked is set to |
||
1601 | true the layer will be locked. |
||
1602 | |||
1603 | May raise NotFoundError if the layer can't be found. |
||
1604 | May raise ValueError if the layer name isn't acceptable. |
||
1605 | </source> |
||
14474 | cbradney | 1606 | <translation type="unfinished">setLayerLocked("lag", låst) |
12918 | cbradney | 1607 | |
1608 | Sætter laget "lag" til at være låst eller ej. Hvis låst |
||
1609 | sættes til "true" vil laget være låst. |
||
1610 | |||
1611 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1612 | Kan rejse ValueError hvis et ugyldigt lag-navn er angivet. |
||
1613 | </translation> |
||
1614 | </message> |
||
1615 | <message> |
||
14474 | cbradney | 1616 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="150"/> |
12918 | cbradney | 1617 | <source>setLayerOutlined("layer", outline) |
1618 | |||
1619 | Sets the layer "layer" to be locked or not. If outline is set to |
||
1620 | true the layer will be displayed outlined. |
||
1621 | |||
1622 | May raise NotFoundError if the layer can't be found. |
||
1623 | May raise ValueError if the layer name isn't acceptable. |
||
1624 | </source> |
||
14474 | cbradney | 1625 | <translation type="unfinished">setLayerOutlined("lag", omrids) |
12918 | cbradney | 1626 | |
1627 | Sætter laget "lag" til at blive vist som omrids eller ej. Hvis omrids |
||
1628 | er sat til "true" vil laget blive vist som omrids. |
||
1629 | |||
1630 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1631 | Kan rejse ValueError hvis et ugyldigt lag-navn er angivet. |
||
1632 | </translation> |
||
1633 | </message> |
||
1634 | <message> |
||
14474 | cbradney | 1635 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="163"/> |
12918 | cbradney | 1636 | <source>setLayerFlow("layer", flow) |
1637 | |||
1638 | Sets the layers "layer" flowcontrol to flow. If flow is set to |
||
1639 | true text in layers above this one will flow around objects on this layer. |
||
1640 | |||
1641 | May raise NotFoundError if the layer can't be found. |
||
1642 | May raise ValueError if the layer name isn't acceptable. |
||
1643 | </source> |
||
14474 | cbradney | 1644 | <translation type="unfinished">setLayerFlow("lag", flyd) |
12918 | cbradney | 1645 | |
1646 | sætter laget "lag's" flydningskontrol til flyd. Hvis flyd sættes til "true", |
||
1647 | vil tekst i lag over dette flyde rundt om objekter i dette lag. |
||
1648 | |||
1649 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1650 | Kan rejse ValueError hvis et ugyldigt lag-navn er angivet. |
||
1651 | </translation> |
||
1652 | </message> |
||
1653 | <message> |
||
14474 | cbradney | 1654 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="176"/> |
12918 | cbradney | 1655 | <source>setLayerBlendmode("layer", blend) |
1656 | |||
1657 | Sets the layers "layer" blendmode to blend. |
||
1658 | |||
1659 | May raise NotFoundError if the layer can't be found. |
||
1660 | May raise ValueError if the layer name isn't acceptable. |
||
1661 | </source> |
||
14474 | cbradney | 1662 | <translation type="unfinished">setLayerBlendmode("lag", blanding) |
12918 | cbradney | 1663 | |
13499 | cbradney | 1664 | Sætter laget "lag's" blandings-tilstand til blanding. |
12918 | cbradney | 1665 | |
1666 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1667 | Kan rejse ValueError hvis lagets navn ikke kan accepteres. |
||
1668 | </translation> |
||
1669 | </message> |
||
1670 | <message> |
||
14474 | cbradney | 1671 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="188"/> |
12918 | cbradney | 1672 | <source>setLayerTransparency("layer", trans) |
1673 | |||
1674 | Sets the layers "layer" transparency to trans. |
||
1675 | |||
1676 | May raise NotFoundError if the layer can't be found. |
||
1677 | May raise ValueError if the layer name isn't acceptable. |
||
1678 | </source> |
||
14474 | cbradney | 1679 | <translation type="unfinished">setLayerTransparency("lag", trans) |
12918 | cbradney | 1680 | |
1681 | Sætter laget "lag's" gennemsigtighed til trans. |
||
1682 | |||
1683 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1684 | Kan rejse ValueError hvis et ugyldigt lag-navn er angivet. |
||
1685 | </translation> |
||
1686 | </message> |
||
1687 | <message> |
||
14474 | cbradney | 1688 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="200"/> |
12918 | cbradney | 1689 | <source>isLayerVisible("layer") -> bool |
1690 | |||
1691 | Returns whether the layer "layer" is visible or not, a value of True means |
||
1692 | that the layer "layer" is visible, a value of False means that the layer |
||
1693 | "layer" is invisible. |
||
1694 | |||
1695 | May raise NotFoundError if the layer can't be found. |
||
1696 | May raise ValueError if the layer name isn't acceptable. |
||
1697 | </source> |
||
14474 | cbradney | 1698 | <translation type="unfinished">isLayerVisible("lag") -> bool |
12918 | cbradney | 1699 | |
1700 | Returnerer hvorvidt laget "lag" er synligt eller ej, værdien "True" |
||
1701 | betyder, at laget "lag" er synligt, værdien "False" betyder, at laget |
||
1702 | "lag" er usynligt. |
||
1703 | |||
1704 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1705 | Kan rejse ValueError hvis lagets navn ikke kan accepteres. |
||
1706 | </translation> |
||
1707 | </message> |
||
1708 | <message> |
||
14474 | cbradney | 1709 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="214"/> |
12918 | cbradney | 1710 | <source>isLayerPrintable("layer") -> bool |
1711 | |||
1712 | Returns whether the layer "layer" is printable or not, a value of True means |
||
1713 | that the layer "layer" can be printed, a value of False means that printing |
||
1714 | the layer "layer" is disabled. |
||
1715 | |||
1716 | May raise NotFoundError if the layer can't be found. |
||
1717 | May raise ValueError if the layer name isn't acceptable. |
||
1718 | </source> |
||
14474 | cbradney | 1719 | <translation type="unfinished">isLayerPrintable("lag") -> bool |
12918 | cbradney | 1720 | |
1721 | Returnerer hvorvidt laget "lag" kan udskrives eller ej, værdien "True" |
||
1722 | betyder, at laget "lag" kan udskrives, værdien "False" betyder, at laget |
||
1723 | "lag" ikke kan udskrives. |
||
1724 | |||
1725 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1726 | Kan rejse ValueError hvis lagets navn ikke kan accepteres. |
||
1727 | </translation> |
||
1728 | </message> |
||
1729 | <message> |
||
14474 | cbradney | 1730 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="228"/> |
12918 | cbradney | 1731 | <source>isLayerLocked("layer") -> bool |
1732 | |||
1733 | Returns whether the layer "layer" is locked or not, a value of True means |
||
1734 | that the layer "layer" is editable, a value of False means that the layer |
||
1735 | "layer" is locked. |
||
1736 | |||
1737 | May raise NotFoundError if the layer can't be found. |
||
1738 | May raise ValueError if the layer name isn't acceptable. |
||
1739 | </source> |
||
14474 | cbradney | 1740 | <translation type="unfinished">isLayerLocked("lag") -> bool |
12918 | cbradney | 1741 | |
1742 | Returnerer hvorvidt laget "lag" er låst eller ej, værdien "true" betyder |
||
1743 | at laget "lag" er redigerbart, værdien "false" betyder at laget "lag" er låst. |
||
1744 | |||
1745 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1746 | Kan rejse ValueError hvis et ugyldigt lag-navn er angivet. |
||
1747 | </translation> |
||
1748 | </message> |
||
1749 | <message> |
||
14474 | cbradney | 1750 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="242"/> |
12918 | cbradney | 1751 | <source>isLayerOutlined("layer") -> bool |
1752 | |||
1753 | Returns whether the layer "layer" is outlined or not, a value of True means |
||
1754 | that the layer "layer" is outlined, a value of False means that the layer |
||
1755 | "layer" is normal. |
||
1756 | |||
1757 | May raise NotFoundError if the layer can't be found. |
||
1758 | May raise ValueError if the layer name isn't acceptable. |
||
1759 | </source> |
||
14474 | cbradney | 1760 | <translation type="unfinished">isLayerOutlined("lag") -> bool |
12918 | cbradney | 1761 | |
1762 | Returnerer hvorvidt laget "lag" er vist som omrids eller ej, værdien "true" betyder |
||
1763 | at laget "lag" er vist som omrids, værdien "false" betyder at laget "lag" er normalt. |
||
1764 | |||
1765 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1766 | Kan rejse ValueError hvis et ugyldigt lag-navn er angivet. |
||
1767 | </translation> |
||
1768 | </message> |
||
1769 | <message> |
||
14474 | cbradney | 1770 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="256"/> |
12918 | cbradney | 1771 | <source>isLayerFlow("layer") -> bool |
1772 | |||
1773 | Returns whether text flows around objects on layer "layer", a value of True means |
||
1774 | that text flows around, a value of False means that the text does not flow around. |
||
1775 | |||
1776 | May raise NotFoundError if the layer can't be found. |
||
1777 | May raise ValueError if the layer name isn't acceptable. |
||
1778 | </source> |
||
14474 | cbradney | 1779 | <translation type="unfinished">isLayerFlow("lag") -> bool |
12918 | cbradney | 1780 | |
1781 | Returnerer hvorvidt tekst flyder omkring objekter på laget "lag", Værdien "true" betyder, |
||
1782 | at tekst flyder omkring objekter, værdien "false" betyder, at tekst ikke flyder omkring objekter |
||
1783 | |||
1784 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1785 | Kan rejse ValueError hvis et ugyldigt lag-navn er angivet. |
||
1786 | </translation> |
||
1787 | </message> |
||
1788 | <message> |
||
14474 | cbradney | 1789 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="269"/> |
12918 | cbradney | 1790 | <source>getLayerBlendmode("layer") -> int |
1791 | |||
1792 | Returns the "layer" layer blendmode, |
||
1793 | |||
1794 | May raise NotFoundError if the layer can't be found. |
||
1795 | May raise ValueError if the layer name isn't acceptable. |
||
1796 | </source> |
||
14474 | cbradney | 1797 | <translation type="unfinished">getLayerBlendmode("lag") -> heltal |
12918 | cbradney | 1798 | |
1799 | Returnerer laget "lag's" blandings-tilstand. |
||
1800 | |||
1801 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1802 | Kan rejse ValueError hvis et ugyldigt lag-navn er angivet. |
||
1803 | </translation> |
||
1804 | </message> |
||
1805 | <message> |
||
14474 | cbradney | 1806 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="281"/> |
12918 | cbradney | 1807 | <source>getLayerTransparency("layer") -> float |
1808 | |||
1809 | Returns the "layer" layer transparency, |
||
1810 | |||
1811 | May raise NotFoundError if the layer can't be found. |
||
1812 | May raise ValueError if the layer name isn't acceptable. |
||
1813 | </source> |
||
14474 | cbradney | 1814 | <translation type="unfinished">getLayerTransparency("lag") -> komma-tal |
12918 | cbradney | 1815 | |
1816 | Returnerer laget "lag's" gennemsigtighed |
||
1817 | |||
1818 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1819 | Kan rejse ValueError hvis et ugyldigt lag-navn er angivet. |
||
1820 | </translation> |
||
1821 | </message> |
||
1822 | <message> |
||
14474 | cbradney | 1823 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="293"/> |
12918 | cbradney | 1824 | <source>deleteLayer("layer") |
1825 | |||
1826 | Deletes the layer with the name "layer". Nothing happens if the layer doesn't |
||
1827 | exists or if it's the only layer in the document. |
||
1828 | |||
1829 | May raise NotFoundError if the layer can't be found. |
||
1830 | May raise ValueError if the layer name isn't acceptable. |
||
1831 | </source> |
||
14474 | cbradney | 1832 | <translation type="unfinished">deleteLayer("lag") |
12918 | cbradney | 1833 | |
1834 | Sletter laget med navnet "lag". Der sker ingen ting hvis laget ikke |
||
1835 | eksisterer eller hvis det er det eneste lag i dokumentet. |
||
1836 | |||
1837 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1838 | Kan rejse ValueError hvis lagets navn ikke kan accepteres. |
||
1839 | </translation> |
||
1840 | </message> |
||
1841 | <message> |
||
14474 | cbradney | 1842 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="306"/> |
12918 | cbradney | 1843 | <source>createLayer(layer) |
1844 | |||
1845 | Creates a new layer with the name "name". |
||
1846 | |||
1847 | May raise ValueError if the layer name isn't acceptable. |
||
1848 | </source> |
||
14474 | cbradney | 1849 | <translation type="unfinished">createLayer("lag") |
12918 | cbradney | 1850 | |
13499 | cbradney | 1851 | Opretter et nyt lag med navnet "lag". |
12918 | cbradney | 1852 | |
1853 | Kan rejse ValueError hvis lagets navn ikke kan accepteres. |
||
1854 | </translation> |
||
1855 | </message> |
||
1856 | <message> |
||
14474 | cbradney | 1857 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="317"/> |
15099 | cbradney | 1858 | <source>fileQuit() |
1859 | |||
1860 | Quit Scribus. |
||
1861 | </source> |
||
1862 | <translation type="unfinished"></translation> |
||
1863 | </message> |
||
1864 | <message> |
||
1865 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="326"/> |
||
12918 | cbradney | 1866 | <source>getGuiLanguage() -> string |
1867 | |||
1868 | Returns a string with the -lang value. |
||
1869 | </source> |
||
14474 | cbradney | 1870 | <translation type="unfinished">getGuiLanguage() -> streng |
12918 | cbradney | 1871 | |
1872 | Returnerer en streng med -lang værdien. |
||
1873 | </translation> |
||
1874 | </message> |
||
1875 | <message> |
||
15099 | cbradney | 1876 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="335"/> |
12918 | cbradney | 1877 | <source>moveSelectionToFront() |
1878 | |||
1879 | Moves current selection to front. |
||
1880 | </source> |
||
14474 | cbradney | 1881 | <translation type="unfinished">moveSelectionToFront() |
13499 | cbradney | 1882 | |
1883 | Flytter det markerede forrest. |
||
1884 | </translation> |
||
12918 | cbradney | 1885 | </message> |
1886 | <message> |
||
15099 | cbradney | 1887 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="344"/> |
12918 | cbradney | 1888 | <source>moveSelectionToFront() |
1889 | |||
1890 | Moves current selection to back. |
||
1891 | </source> |
||
14474 | cbradney | 1892 | <translation type="unfinished">moveSelectionToFront() |
13499 | cbradney | 1893 | |
1894 | Flytter det markerede bagerst. |
||
1895 | </translation> |
||
12918 | cbradney | 1896 | </message> |
1897 | <message> |
||
14474 | cbradney | 1898 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="17"/> |
1135 | cbradney | 1899 | <source>createRect(x, y, width, height, ["name"]) -> string |
1900 | |||
1901 | Creates a new rectangle on the current page and returns its name. The |
||
1902 | coordinates are given in the current measurement units of the document |
||
1903 | (see UNIT constants). "name" should be a unique identifier for the object |
||
1904 | because you need this name to reference that object in future. If "name" |
||
1905 | is not given Scribus will create one for you. |
||
1906 | |||
1907 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1908 | </source> |
||
14474 | cbradney | 1909 | <translation type="unfinished">createRect(x, y, bredde, højde, ["navn"]) -> streng |
1135 | cbradney | 1910 | |
13499 | cbradney | 1911 | Opretter en ny rectangle på den aktive side og returnerer dens navn. |
1135 | cbradney | 1912 | Koordinaterne er givet i dokumentets nuværende måle-enhed (se |
1913 | UNIT konstanter). "navn" skal være et unikt navn, fordi du behøver |
||
1914 | dette navn for at kunne referere til dette objekt senere. Hvis "navn" |
||
1915 | ikke angives, så vil Scribus lave et for dig. |
||
1916 | |||
1917 | Kan rejse NameExistsError hvis du angiver et navn, som allerede findes. |
||
1918 | </translation> |
||
1919 | </message> |
||
1920 | <message> |
||
14474 | cbradney | 1921 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="34"/> |
12918 | cbradney | 1922 | <source>createEllipse(x, y, width, height, ["name"]) -> string |
1923 | |||
1924 | Creates a new ellipse on the current page and returns its name. |
||
1925 | The coordinates are given in the current measurement units of the document |
||
1926 | (see UNIT constants). "name" should be a unique identifier for the object |
||
1927 | because you need this name for further referencing of that object. If "name" |
||
1928 | is not given Scribus will create one for you. |
||
1929 | |||
1930 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1931 | </source> |
||
14474 | cbradney | 1932 | <translation type="unfinished">createEllipse(x, y, bredde, højde, ["navn"]) -> streng |
12918 | cbradney | 1933 | |
13499 | cbradney | 1934 | Opretter en ny ellipse på den aktive side og returnerer dens navn. |
12918 | cbradney | 1935 | Koordinaterne er givet i dokumentets nuværende måle-enhed (se |
1936 | UNIT konstanter). "navn" skal være et unikt navn, fordi du behøver |
||
1937 | dette navn for at kunne referere til dette objekt senere. Hvis "navn" |
||
1938 | ikke er givet, så vil Scribus lave et for dig. |
||
1939 | |||
1940 | Kan rejse NameExistsError hvis du angiver et navn, som allerede er brugt. |
||
1941 | </translation> |
||
1942 | </message> |
||
1943 | <message> |
||
14474 | cbradney | 1944 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="51"/> |
12918 | cbradney | 1945 | <source>createImage(x, y, width, height, ["name"]) -> string |
1946 | |||
1947 | Creates a new picture frame on the current page and returns its name. The |
||
1948 | coordinates are given in the current measurement units of the document. |
||
1949 | "name" should be a unique identifier for the object because you need this |
||
1950 | name for further access to that object. If "name" is not given Scribus will |
||
1951 | create one for you. |
||
1952 | |||
1953 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1954 | </source> |
||
14474 | cbradney | 1955 | <translation type="unfinished">createImage(x, y, bredde, højde, ["navn"]) -> streng |
12918 | cbradney | 1956 | |
13499 | cbradney | 1957 | Opretter en ny billed-ramme på den aktive side og returnerer dens navn. |
12918 | cbradney | 1958 | Koordinaterne er givet i dokumentets nuværende måle-enhed (se |
1959 | UNIT konstanter). "navn" skal være et unikt navn, fordi du behøver |
||
1960 | dette navn for at kunne referere til dette objekt senere. Hvis "navn" |
||
1961 | ikke er givet, så vil Scribus lave et for dig. |
||
1962 | |||
1963 | Kan rejse NameExistsError hvis du angiver et navn, som allerede er brugt. |
||
1964 | </translation> |
||
1965 | </message> |
||
1966 | <message> |
||
14474 | cbradney | 1967 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="66"/> |
12918 | cbradney | 1968 | <source>createText(x, y, width, height, ["name"]) -> string |
1969 | |||
1970 | Creates a new text frame on the actual page and returns its name. |
||
1971 | The coordinates are given in the actual measurement unit of the document (see |
||
1972 | UNIT constants). "name" should be a unique identifier for the object because |
||
1973 | you need this name for further referencing of that object. If "name" is not |
||
1974 | given Scribus will create one for you. |
||
1975 | |||
1976 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1977 | </source> |
||
14474 | cbradney | 1978 | <translation type="unfinished">createText(x, y, bredde, højde, ["navn"]) -> streng |
12918 | cbradney | 1979 | |
13499 | cbradney | 1980 | Opretter en ny tekst-ramme på den aktive side og returnerer dens navn. |
12918 | cbradney | 1981 | Koordinaterne er givet i dokumentets nuværende måle-enhed (se |
1982 | UNIT konstanter). "navn" skal være et unikt navn, fordi du behøver |
||
1983 | dette navn for at kunne referere til dette objekt senere. Hvis "navn" |
||
1984 | ikke er givet, så vil Scribus lave et for dig. |
||
1985 | |||
1986 | Kan rejse NameExistsError hvis du angiver et navn, som allerede er brugt. |
||
1987 | </translation> |
||
1988 | </message> |
||
1989 | <message> |
||
14474 | cbradney | 1990 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="81"/> |
12918 | cbradney | 1991 | <source>createLine(x1, y1, x2, y2, ["name"]) -> string |
1992 | |||
1993 | Creates a new line from the point(x1, y1) to the point(x2, y2) and returns |
||
1994 | its name. The coordinates are given in the current measurement unit of the |
||
1995 | document (see UNIT constants). "name" should be a unique identifier for the |
||
1996 | object because you need this name for further access to that object. If |
||
1997 | "name" is not given Scribus will create one for you. |
||
1998 | |||
1999 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
2000 | </source> |
||
14474 | cbradney | 2001 | <translation type="unfinished">createLine(x1, y1, x2, y2, ["navn"]) -> streng |
12918 | cbradney | 2002 | |
13499 | cbradney | 2003 | Opretter en ny linie fra punktet(x1, y1) til punktet(x2, y2) og returnerer |
12918 | cbradney | 2004 | dens navn. Koordinaterne er givet i dokumentets nuværende måle-enhed |
2005 | (se UNIT konstanter). "navn" skal være et unikt navn for objektet, fordi |
||
2006 | du behøver dette navn for yderligere adgang til dette objekt. Hvis "navn" |
||
2007 | ikke er givet, så vil Scribus lave et for dig. |
||
2008 | |||
2009 | Kan rejse NameExistsError hvis du angiver et navn, som allerede er brugt. |
||
2010 | </translation> |
||
2011 | </message> |
||
2012 | <message> |
||
14474 | cbradney | 2013 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="96"/> |
12918 | cbradney | 2014 | <source>createPolyLine(list, ["name"]) -> string |
2015 | |||
2016 | Creates a new polyline and returns its name. The points for the polyline are |
||
2017 | stored in the list "list" in the following order: [x1, y1, x2, y2...xn. yn]. |
||
2018 | The coordinates are given in the current measurement units of the document (see |
||
2019 | UNIT constants). "name" should be a unique identifier for the object because |
||
2020 | you need this name for further access to that object. If "name" is not given |
||
2021 | Scribus will create one for you. |
||
2022 | |||
2023 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
2024 | May raise ValueError if an insufficient number of points is passed or if |
||
2025 | the number of values passed don't group into points without leftovers. |
||
2026 | </source> |
||
14474 | cbradney | 2027 | <translation type="unfinished">createPolyLine(liste, ["navn"]) -> streng |
12918 | cbradney | 2028 | |
13499 | cbradney | 2029 | Opretter en ny poly-linie og returnerer dens navn. Poly-liniens punkter |
12918 | cbradney | 2030 | er placeret i listen "liste" i følgende orden: [x1, y1, x2, y2...xn, yn]. |
2031 | Koordinaterne er givet i dokumentets nuværende måle-enhed |
||
2032 | (se UNIT konstanter). "navn" skal være et unikt navn for objektet, fordi |
||
2033 | du behøver dette navn for yderligere adgang til dette objekt. Hvis "navn" |
||
2034 | ikke er givet, så vil Scribus lave et for dig. |
||
2035 | |||
2036 | Kan rejse NameExistsError hvis du angiver et navn, som allerede er brugt. |
||
2037 | Kan rejse ValueError hvis et utilstrækkeligt antal punkter er angivet eller hvis |
||
2038 | antallet af værdier ikke kan danne talpar uden noget tilovers. |
||
2039 | </translation> |
||
2040 | </message> |
||
2041 | <message> |
||
14474 | cbradney | 2042 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="114"/> |
12918 | cbradney | 2043 | <source>createPolygon(list, ["name"]) -> string |
2044 | |||
2045 | Creates a new polygon and returns its name. The points for the polygon are |
||
2046 | stored in the list "list" in the following order: [x1, y1, x2, y2...xn. yn]. |
||
2047 | At least three points are required. There is no need to repeat the first point |
||
2048 | to close the polygon. The polygon is automatically closed by connecting the |
||
2049 | first and the last point. The coordinates are given in the current measurement |
||
2050 | units of the document (see UNIT constants). "name" should be a unique |
||
2051 | identifier for the object because you need this name for further access to that |
||
2052 | object. If "name" is not given Scribus will create one for you. |
||
2053 | |||
2054 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
2055 | May raise ValueError if an insufficient number of points is passed or if |
||
2056 | the number of values passed don't group into points without leftovers. |
||
2057 | </source> |
||
14474 | cbradney | 2058 | <translation type="unfinished">createPolygon(liste, ["navn"]) -> streng |
12918 | cbradney | 2059 | |
13499 | cbradney | 2060 | Opretter et nyt polygon og returnerer dets navn. Polygonets punkter |
12918 | cbradney | 2061 | er placeret i listen "liste" i følgende orden: [x1, y1, x2, y2...xn, yn]. |
2062 | Mindst tre punkter er påkrævet. Det er ikke nødvendigt at gentage det |
||
2063 | første punkt for at lukke polygonet. Polygonet er automatisk lukket ved at |
||
2064 | forbinde det første og det sidste punkt. Koordinaterne er givet i dokumentets |
||
2065 | nuværende måle-enhed (se UNIT konstanter). "navn" skal være et unikt navn |
||
2066 | for objektet, fordi du behøver dette navn for yderligere adgang til dette objekt. |
||
2067 | Hvis "navn" ikke er givet, så vil Scribus lave et for dig. |
||
2068 | |||
2069 | Kan rejse NameExistsError hvis du angiver et navn, som allerede er brugt. |
||
2070 | Kan rejse ValueError hvis et utilstrækkeligt antal punkter er angivet eller hvis |
||
2071 | antallet af værdier ikke kan danne talpar uden noget tilovers. |
||
2072 | </translation> |
||
2073 | </message> |
||
2074 | <message> |
||
14474 | cbradney | 2075 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="134"/> |
12918 | cbradney | 2076 | <source>createBezierLine(list, ["name"]) -> string |
2077 | |||
2078 | Creates a new bezier curve and returns its name. The points for the bezier |
||
2079 | curve are stored in the list "list" in the following order: |
||
2080 | [x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn] |
||
2081 | In the points list, x and y mean the x and y coordinates of the point and kx |
||
2082 | and ky meaning the control point for the curve. The coordinates are given in |
||
2083 | the current measurement units of the document (see UNIT constants). "name" |
||
2084 | should be a unique identifier for the object because you need this name for |
||
2085 | further access to that object. If "name" is not given Scribus will create one |
||
2086 | for you. |
||
2087 | |||
2088 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
2089 | May raise ValueError if an insufficient number of points is passed or if |
||
2090 | the number of values passed don't group into points without leftovers. |
||
2091 | </source> |
||
14474 | cbradney | 2092 | <translation type="unfinished">createBezierLine(liste, ["navn"]) -> streng |
12918 | cbradney | 2093 | |
13499 | cbradney | 2094 | Opretter en ny bezier kurve og returnerer dens navn. Bezier kurvens |
12918 | cbradney | 2095 | punkter er placeret i listen "liste" i følgende orden: |
2096 | [x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn, yn, kxn, kyn]. |
||
2097 | I listen med punkter betyder x og y koordinaterne for punktet og kx og ky er |
||
2098 | kontrolpunktet for kurven. Koordinaterne er givet i dokumentets nuværende |
||
2099 | måle-enhed (se UNIT konstanter). "navn" skal være et unikt navn for objektet, |
||
2100 | fordi du behøver dette navn for yderligere adgang til dette objekt. Hvis "navn" |
||
2101 | ikke er givet, så vil Scribus lave et for dig. |
||
2102 | |||
2103 | Kan rejse NameExistsError hvis du angiver et navn, som allerede er brugt. |
||
2104 | Kan rejse ValueError hvis et utilstrækkeligt antal punkter er angivet eller |
||
2105 | hvis der er nogen tal tilovers. |
||
2106 | </translation> |
||
2107 | </message> |
||
2108 | <message> |
||
14474 | cbradney | 2109 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="155"/> |
12918 | cbradney | 2110 | <source>createPathText(x, y, "textbox", "beziercurve", ["name"]) -> string |
2111 | |||
2112 | Creates a new pathText by merging the two objects "textbox" and |
||
2113 | "beziercurve" and returns its name. The coordinates are given in the current |
||
2114 | measurement unit of the document (see UNIT constants). "name" should be a |
||
2115 | unique identifier for the object because you need this name for further access |
||
2116 | to that object. If "name" is not given Scribus will create one for you. |
||
2117 | |||
2118 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
2119 | May raise NotFoundError if one or both of the named base object don't exist. |
||
2120 | </source> |
||
14474 | cbradney | 2121 | <translation type="unfinished">createPathText(x, y, "tekstboks", "bezierkurve", ["navn"]) -> streng |
12918 | cbradney | 2122 | |
13499 | cbradney | 2123 | Opretter en ny sti-tekst ved at forene de to objekter "tekstboks" og |
12918 | cbradney | 2124 | "bezierkurve" og returnerer dens navn. Koordinaterne er givet i dokumentets |
2125 | nuværende måle-enhed (se UNIT konstanter). "navn" skal være et unikt navn |
||
2126 | for objektet, fordi du behøver dette navn for yderligere adgang til dette objekt. |
||
2127 | Hvis "navn" ikke er givet, så vil Scribus lave et for dig. |
||
2128 | |||
2129 | Kan rejse NameExistsError hvis du angiver et navn, som allerede er brugt. |
||
2130 | Kan rejse NotFoundError hvis en eller begge navngive basis-objekter ikke eksisterer. |
||
2131 | </translation> |
||
2132 | </message> |
||
2133 | <message> |
||
14474 | cbradney | 2134 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="173"/> |
12918 | cbradney | 2135 | <source>deleteObject(["name"]) |
2136 | |||
2137 | Deletes the item with the name "name". If "name" is not given the currently |
||
2138 | selected item is deleted. |
||
2139 | </source> |
||
14474 | cbradney | 2140 | <translation type="unfinished">deleteObject(["navn"]) |
12918 | cbradney | 2141 | |
2142 | Sletter elementet med navnet "navn". Hvis "navn" ikke angives, |
||
2143 | så slettes det markerede element. |
||
2144 | </translation> |
||
2145 | </message> |
||
2146 | <message> |
||
14474 | cbradney | 2147 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="184"/> |
12918 | cbradney | 2148 | <source>textFlowMode("name" [, state]) |
2149 | |||
2150 | Enables/disables "Text Flows Around Frame" feature for object "name". |
||
2151 | Called with parameters string name and optional int "state" (0 <= state <= 3). |
||
2152 | Setting "state" to 0 will disable text flow. |
||
2153 | Setting "state" to 1 will make text flow around object frame. |
||
2154 | Setting "state" to 2 will make text flow around bounding box. |
||
2155 | Setting "state" to 3 will make text flow around contour line. |
||
2156 | If "state" is not passed, text flow is toggled. |
||
2157 | </source> |
||
14474 | cbradney | 2158 | <translation type="unfinished">textFlowMode("navn" [, tilstand]) |
12918 | cbradney | 2159 | |
2160 | Aktiverer/deaktiverer "Tekst flyder omkring ramme" egenskab for objektet "navn". |
||
2161 | Kaldes med parametrene streng "navn" og valgfrit heltal "tilstand" (0 <= tilstand <= 3). |
||
2162 | "Tilstand" sat til 0 vil deaktivere tekst flyder omkring objekt. |
||
2163 | "Tilstand" sat til 1 vil få tekst til at flyde omkring objekt ramme. |
||
2164 | "Tilstand" sat til 2 vil få tekst til at flyde omkring indbindings boks. |
||
2165 | "Tilstand" sat til 3 vil få tekst til at flyde omkring omrids linien. |
||
2166 | Hvis "tilstand" ikke er angivet vil tilstanden blive slået til eller fra. |
||
2167 | </translation> |
||
2168 | </message> |
||
2169 | <message> |
||
14474 | cbradney | 2170 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="206"/> |
12918 | cbradney | 2171 | <source>objectExists(["name"]) -> bool |
2172 | |||
2173 | Test if an object with specified name really exists in the document. |
||
2174 | The optional parameter is the object name. When no object name is given, |
||
2175 | returns True if there is something selected. |
||
2176 | </source> |
||
14474 | cbradney | 2177 | <translation type="unfinished">objectExists(["navn"]) -> bool |
12918 | cbradney | 2178 | |
2179 | Undersøger om et objekt med navnet "navn" virkelig eksisterer i dokumentet. |
||
2180 | Den valgfri paramater er objekt navnet. Hvis "navn" ikke angives, så returneres |
||
2181 | "True" hvis et eller andet er markeret. |
||
2182 | </translation> |
||
2183 | </message> |
||
2184 | <message> |
||
14474 | cbradney | 2185 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="223"/> |
12918 | cbradney | 2186 | <source>setStyle("style" [, "name"]) |
2187 | |||
14474 | cbradney | 2188 | Apply the named "style" to the object named "name". If object name is |
2189 | given, style is applied to the current text selection in object "name". |
||
2190 | If no object name is given, style is applied on selected object. |
||
2191 | </source> |
||
2192 | <translation type="unfinished"></translation> |
||
2193 | </message> |
||
2194 | <message> |
||
2195 | <source>setStyle("style" [, "name"]) |
||
2196 | |||
12918 | cbradney | 2197 | Apply the named "style" to the object named "name". If is no object name |
2198 | given, it's applied on the selected object. |
||
2199 | </source> |
||
14474 | cbradney | 2200 | <translation type="obsolete">setStyle("stil" [, "navn"]) |
12918 | cbradney | 2201 | |
2202 | Anvender stil på objektet "navn". Hvis "navn" ikke angives, så |
||
2203 | anvendes stilen på det markerede objekt. |
||
2204 | </translation> |
||
2205 | </message> |
||
2206 | <message> |
||
14474 | cbradney | 2207 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="238"/> |
12918 | cbradney | 2208 | <source>getAllStyles() -> list |
2209 | |||
2210 | Return a list of the names of all paragraph styles in the current document. |
||
2211 | </source> |
||
14474 | cbradney | 2212 | <translation type="unfinished">getAllStyles() -> liste |
12918 | cbradney | 2213 | |
2214 | Returnerer en liste af navne på alle afsnits-typografier i det aktive dokument. |
||
2215 | </translation> |
||
2216 | </message> |
||
2217 | <message> |
||
14474 | cbradney | 2218 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="250"/> |
12918 | cbradney | 2219 | <source>duplicateObject(["name"]) -> string |
2220 | |||
2221 | creates a Duplicate of the selected Object (or Selection Group). |
||
2222 | </source> |
||
14474 | cbradney | 2223 | <translation type="unfinished">duplicateObject(["navn"]) -> string |
12918 | cbradney | 2224 | |
13499 | cbradney | 2225 | Opretter en dublet at det valgte objekt (eller valgt gruppe). |
12918 | cbradney | 2226 | </translation> |
2227 | </message> |
||
2228 | <message> |
||
14474 | cbradney | 2229 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="17"/> |
12918 | cbradney | 2230 | <source>newPage(where [,"masterpage"]) |
2231 | |||
2232 | Creates a new page. If "where" is -1 the new Page is appended to the |
||
2233 | document, otherwise the new page is inserted before "where". Page numbers are |
||
2234 | counted from 1 upwards, no matter what the displayed first page number of your |
||
2235 | document is. The optional parameter "masterpage" specifies the name of the |
||
2236 | master page for the new page. |
||
2237 | |||
2238 | May raise IndexError if the page number is out of range |
||
2239 | </source> |
||
14474 | cbradney | 2240 | <translation type="unfinished">newPage(hvor [,"masterside"]) |
12918 | cbradney | 2241 | |
13499 | cbradney | 2242 | Opretter en ny side. Hvis "hvor" er -1, så tilføjes den nye side i slutningen |
12918 | cbradney | 2243 | af dokumentet, ellers er den ny side indsat før "hvor". Side-numre er |
2244 | talt fra 1 og opefter, lige meget hvad nummer den første side har fået. |
||
2245 | Den valgfri parameter "masterside" angiver navnet på den master side, |
||
2246 | der skal bruges til den nye side. |
||
2247 | |||
2248 | Kan rejse IndexError hvis side-nummer er uden for tilladte værdi |
||
2249 | </translation> |
||
2250 | </message> |
||
2251 | <message> |
||
14474 | cbradney | 2252 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="32"/> |
12918 | cbradney | 2253 | <source>currentPage() -> integer |
2254 | |||
2255 | Returns the number of the current working page. Page numbers are counted from 1 |
||
2256 | upwards, no matter what the displayed first page number of your document is. |
||
2257 | </source> |
||
14474 | cbradney | 2258 | <translation type="unfinished">currentPage() -> integer |
12918 | cbradney | 2259 | |
2260 | Returnerer nummeret på den aktive side. Sidenummeret er talt fra 1 og |
||
2261 | opefter, uanset hvilket sidenummer den første side har fået. |
||
2262 | </translation> |
||
2263 | </message> |
||
2264 | <message> |
||
14474 | cbradney | 2265 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="42"/> |
12918 | cbradney | 2266 | <source>redrawAll() |
2267 | |||
2268 | Redraws all pages. |
||
2269 | </source> |
||
14474 | cbradney | 2270 | <translation type="unfinished">redrawAll() |
12918 | cbradney | 2271 | |
2272 | Gentegner alle sider. |
||
2273 | </translation> |
||
2274 | </message> |
||
2275 | <message> |
||
14474 | cbradney | 2276 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="51"/> |
12918 | cbradney | 2277 | <source>getPageType() -> integer |
2278 | |||
2279 | Returns the type of the Page, 0 means left Page, 1 is a middle Page and 2 is a right Page |
||
2280 | </source> |
||
14474 | cbradney | 2281 | <translation type="unfinished">Returnerer sidens type, 0 betyder venstre side, 1 er en midterside og 2 er en højre side |
12918 | cbradney | 2282 | </translation> |
2283 | </message> |
||
2284 | <message> |
||
14474 | cbradney | 2285 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="60"/> |
12918 | cbradney | 2286 | <source>savePageAsEPS("name") |
2287 | |||
2288 | Saves the current page as an EPS to the file "name". |
||
2289 | |||
2290 | May raise ScribusError if the save failed. |
||
2291 | </source> |
||
14474 | cbradney | 2292 | <translation type="unfinished">savePageAsEPS("navn") |
12918 | cbradney | 2293 | |
2294 | Gemmer den aktive side som en EPS til filen "navn" |
||
2295 | |||
2296 | Kan rejse ScribusError hvis "gem" fejlede. |
||
2297 | </translation> |
||
2298 | </message> |
||
2299 | <message> |
||
14474 | cbradney | 2300 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="71"/> |
12918 | cbradney | 2301 | <source>deletePage(nr) |
2302 | |||
2303 | Deletes the given page. Does nothing if the document contains only one page. |
||
2304 | Page numbers are counted from 1 upwards, no matter what the displayed first |
||
2305 | page number is. |
||
2306 | |||
2307 | May raise IndexError if the page number is out of range |
||
2308 | </source> |
||
14474 | cbradney | 2309 | <translation type="unfinished">deletePage(nr) |
12918 | cbradney | 2310 | |
2311 | Sletter den angivne side. Ingen ting slettes, hvis dokumentet kun indeholder en side. |
||
2312 | Sidenummeret er talt fra 1 og opefter, uanset hvilket sidenummer den første side har fået. |
||
2313 | |||
2314 | Kan rejse IndexError hvis sidenummeret er uden for område |
||
2315 | </translation> |
||
2316 | </message> |
||
2317 | <message> |
||
14474 | cbradney | 2318 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="84"/> |
12918 | cbradney | 2319 | <source>gotoPage(nr) |
2320 | |||
2321 | Moves to the page "nr" (that is, makes the current page "nr"). Note that |
||
2322 | gotoPage doesn't (currently) change the page the user's view is displaying, it |
||
2323 | just sets the page that script commands will operates on. |
||
2324 | |||
2325 | May raise IndexError if the page number is out of range. |
||
2326 | </source> |
||
14474 | cbradney | 2327 | <translation type="unfinished">gotoPage(nr) |
13499 | cbradney | 2328 | |
2329 | Flytter til siden "nr" (d.v.s. laver siden "nr" til den aktive). bemærk at |
||
2330 | gotoPage ændrer ikke (lige nu) den side som brugeren ser, den vælger |
||
2331 | kun den side, som script-kommandoer opererer på. |
||
2332 | |||
2333 | Kan rejse IndexError hvis sidenummeret er uden for område. |
||
2334 | </translation> |
||
12918 | cbradney | 2335 | </message> |
2336 | <message> |
||
14474 | cbradney | 2337 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="97"/> |
12918 | cbradney | 2338 | <source>pageCount() -> integer |
2339 | |||
2340 | Returns the number of pages in the document. |
||
2341 | </source> |
||
14474 | cbradney | 2342 | <translation type="unfinished">pageCount() -> integer |
12918 | cbradney | 2343 | |
2344 | Returnerer antal sider i dokumentet. |
||
2345 | </translation> |
||
2346 | </message> |
||
2347 | <message> |
||
14474 | cbradney | 2348 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="106"/> |
12918 | cbradney | 2349 | <source>getHGuides() -> list |
2350 | |||
2351 | Returns a list containing positions of the horizontal guides. Values are in the |
||
2352 | document's current units - see UNIT_<type> constants. |
||
2353 | </source> |
||
14474 | cbradney | 2354 | <translation type="unfinished">getHGuides() -> liste |
12918 | cbradney | 2355 | |
2356 | Returnerer en liste med positionerne for de horisontale hjælpelinier. Værdierne er |
||
2357 | angivet i den aktuelle måle-enhed for dokumentet - se UNIT_<type> konstanter. |
||
2358 | </translation> |
||
2359 | </message> |
||
2360 | <message> |
||
14474 | cbradney | 2361 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="116"/> |
12918 | cbradney | 2362 | <source>setHGuides(list) |
2363 | |||
2364 | Sets horizontal guides. Input parameter must be a list of guide positions |
||
2365 | measured in the current document units - see UNIT_<type> constants. |
||
2366 | |||
2367 | Example: setHGuides(getHGuides() + [200.0, 210.0] # add new guides without any lost |
||
2368 | setHGuides([90,250]) # replace current guides entirely |
||
2369 | </source> |
||
14474 | cbradney | 2370 | <translation type="unfinished">setHGuides(liste) |
12918 | cbradney | 2371 | |
2372 | Sætter horisontale hjælpelinier. Input-parameter skal være en liste med hlælpeliniernes |
||
2373 | placeringer angivet i den aktuelle måle-enhed for dokumentet - se UNIT_<type> konstanter. |
||
2374 | |||
2375 | Eksempel: setHGuides(getHGuides() + [200.0, 210.0] # tilføjer ny hjælpelinie uden nogen mistet |
||
2376 | setHGuides([90,250]) # Erstatter nuværende hjælpelinier fuldstændigt |
||
2377 | </translation> |
||
2378 | </message> |
||
2379 | <message> |
||
14474 | cbradney | 2380 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="129"/> |
12918 | cbradney | 2381 | <source>getVGuides() |
2382 | |||
2383 | See getHGuides. |
||
2384 | </source> |
||
14474 | cbradney | 2385 | <translation type="unfinished">getVGuides() |
12918 | cbradney | 2386 | |
2387 | Se getHGuides. |
||
2388 | </translation> |
||
2389 | </message> |
||
2390 | <message> |
||
14474 | cbradney | 2391 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="138"/> |
12918 | cbradney | 2392 | <source>setVGuides() |
2393 | |||
2394 | See setHGuides. |
||
2395 | </source> |
||
14474 | cbradney | 2396 | <translation type="unfinished">setVGuides() |
12918 | cbradney | 2397 | |
2398 | Se setHGuides. |
||
2399 | </translation> |
||
2400 | </message> |
||
2401 | <message> |
||
14474 | cbradney | 2402 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="147"/> |
12918 | cbradney | 2403 | <source>getPageSize() -> tuple |
2404 | |||
2405 | Returns a tuple with page dimensions measured in the document's current units. |
||
2406 | See UNIT_<type> constants and getPageMargins() |
||
2407 | </source> |
||
14474 | cbradney | 2408 | <translation type="unfinished">getPageSize() -> tuple |
12918 | cbradney | 2409 | |
2410 | Returnerer en tuple med side-dimensioner målt i dokumentets aktuelle måle-enhed. |
||
2411 | Se UNIT_<type> konstanter og getPageMargins() |
||
2412 | </translation> |
||
2413 | </message> |
||
2414 | <message> |
||
14474 | cbradney | 2415 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="161"/> |
2416 | <source>getPageNSize() -> tuple |
||
2417 | |||
2418 | Returns a tuple with a particular page's size measured in the document's current units. |
||
2419 | See UNIT_<type> constants and getPageMargins() |
||
2420 | </source> |
||
2421 | <translation type="unfinished"></translation> |
||
2422 | </message> |
||
2423 | <message> |
||
2424 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="174"/> |
||
2425 | <source>getPageNMargins() -> tuple |
||
2426 | |||
2427 | Returns a tuple with a particular page's margins measured in the document's current units. |
||
2428 | See UNIT_<type> constants and getPageMargins() |
||
2429 | </source> |
||
2430 | <translation type="unfinished"></translation> |
||
2431 | </message> |
||
2432 | <message> |
||
2433 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="187"/> |
||
12918 | cbradney | 2434 | <source>getPageItems() -> list |
2435 | |||
2436 | Returns a list of tuples with items on the current page. The tuple is: |
||
2437 | (name, objectType, order) E.g. [('Text1', 4, 0), ('Image1', 2, 1)] |
||
2438 | means that object named 'Text1' is a text frame (type 4) and is the first at |
||
2439 | the page... |
||
2440 | </source> |
||
14474 | cbradney | 2441 | <translation type="unfinished">getPageItems() -> liste |
12918 | cbradney | 2442 | |
2443 | Returnerer en liste af tupler med elementer på den aktive side. Tuplen er: |
||
2444 | (navn, objekt-type, orden) F.eks. [('Tekst1', 4, 0), ('Billed1', 2, 1)]. |
||
2445 | Det betyder objektet 'Tekst1' er en tekst-ramme (type 4) og er den |
||
2446 | første på siden... |
||
2447 | </translation> |
||
2448 | </message> |
||
2449 | <message> |
||
14474 | cbradney | 2450 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="203"/> |
12918 | cbradney | 2451 | <source>getPageMargins() |
2452 | |||
2453 | Returns the page margins as a (top, left, right, bottom) tuple in the current |
||
2454 | units. See UNIT_<type> constants and getPageSize(). |
||
2455 | </source> |
||
14474 | cbradney | 2456 | <translation type="unfinished">getPageMargins() |
12918 | cbradney | 2457 | |
2458 | Returnerer side margener som en (top, venstre, højre, bund) tuple i dokumentets |
||
2459 | aktuelle måle-enhed. Se UNIT_<type> konstanter og getPageSize(). |
||
2460 | </translation> |
||
2461 | </message> |
||
2462 | <message> |
||
14474 | cbradney | 2463 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="216"/> |
12918 | cbradney | 2464 | <source>importPage("fromDoc", (pageList), [create, imortwhere, importwherePage]) |
2465 | |||
2466 | Imports a set of pages (given as a tuple) from an existing document (the file name must be given). This functions maps the "Page->Import" dropdown menu function. |
||
2467 | fromDoc: string; the filename of the document to import pages from |
||
2468 | pageList: tuple with page numbers of pages to import |
||
2469 | create: number; 0 to replace existing pages, 1 (default) to insert new pages |
||
2470 | importWhere: number; the page number (of the current document) at which import the pages |
||
2471 | importWherePage: number; used if create==1; 0 to create pages before selected page; 1 to create pages after selected page; 2 (default) to create pages at the end of the document |
||
2472 | </source> |
||
14474 | cbradney | 2473 | <translation type="unfinished">importPage("fraDok", (sideListe), [lav, importhvor, importhvorSide]) |
13499 | cbradney | 2474 | |
2475 | Importerer et antal sider (angivet som en tuple) fra et eksisterende dokument (filnavn skal angives). Denne funktion svarer til "Side>Import" rullemenu funktionen. |
||
2476 | fraDok: streng; filnavnet på dokumentet, hvorfra der skal importeres sider |
||
2477 | sideListe: tuple med sidenumre på sider der skal importeres |
||
2478 | lav: nummer; 0 for at erstatte ekisterende sider, 1 (standardværdi) for at indsætte nye sider |
||
2479 | importhvor: nummer; sidenummeret (i aktive dokument) hvortil siderne skal importeres |
||
2480 | importhvorSide: nummer; brugt hvis lav==1; 0 for at lave sider før valgte side; 1 for at lave sider efter valgte side; 2 (standardværdi) for at lave |
||
2481 | sider i slutningen af dokumentet |
||
2482 | </translation> |
||
12918 | cbradney | 2483 | </message> |
2484 | <message> |
||
14474 | cbradney | 2485 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="17"/> |
1135 | cbradney | 2486 | <source>setGradientFill(type, "color1", shade1, "color2", shade2, ["name"]) |
2487 | |||
2488 | Sets the gradient fill of the object "name" to type. Color descriptions are |
||
2489 | the same as for setFillColor() and setFillShade(). See the constants for |
||
2490 | available types (FILL_<type>). |
||
2491 | </source> |
||
14474 | cbradney | 2492 | <translation type="unfinished">setGradientFill(type, "farve1", mætning1, "farve2", mætning2, ["navn"]) |
1135 | cbradney | 2493 | |
13499 | cbradney | 2494 | Sætter gradient-fyld på objektet "navn" til type. Farvebeskrivelsen er |
1135 | cbradney | 2495 | den samme, som for setFillColor() og setFillShade(). Se konstanterne |
2496 | for mulige typer (FILL_<type>). |
||
2497 | </translation> |
||
2498 | </message> |
||
2499 | <message> |
||
14474 | cbradney | 2500 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="39"/> |
12918 | cbradney | 2501 | <source>setFillColor("color", ["name"]) |
2502 | |||
2503 | Sets the fill color of the object "name" to the color "color". "color" |
||
2504 | is the name of one of the defined colors. If "name" is not given the |
||
2505 | currently selected item is used. |
||
2506 | </source> |
||
14474 | cbradney | 2507 | <translation type="unfinished">setFillColor("farve", ["navn"]) |
12918 | cbradney | 2508 | |
2509 | Sætter fyld-farven på objektet "navn" til farven "farve". "farve" |
||
2510 | er navnet på en af de definerede farver. Hvis "navn" ikke angives, så |
||
2511 | bruges det markerede element. |
||
2512 | </translation> |
||
2513 | </message> |
||
2514 | <message> |
||
14474 | cbradney | 2515 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="50"/> |
12918 | cbradney | 2516 | <source>setFillTransparency(transparency, ["name"]) |
2517 | |||
2518 | Sets the fill transparency of the object "name" to transparency |
||
2519 | If "name" is not given the currently selected item is used. |
||
2520 | </source> |
||
14474 | cbradney | 2521 | <translation type="unfinished">setFillTransparency(gennemsigtighed, ["navn"]) |
12918 | cbradney | 2522 | |
13499 | cbradney | 2523 | Sætter fyld-gennemsigtigheden på objektet "navn" til gennemsigtighed |
12918 | cbradney | 2524 | Hvis "navn" ikke angives, så bruges det markerede element. |
2525 | </translation> |
||
2526 | </message> |
||
2527 | <message> |
||
14474 | cbradney | 2528 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="60"/> |
12918 | cbradney | 2529 | <source>setFillBlendmode(blendmode, ["name"]) |
2530 | |||
2531 | Sets the fill blendmode of the object "name" to blendmode |
||
2532 | If "name" is not given the currently selected item is used. |
||
2533 | </source> |
||
14474 | cbradney | 2534 | <translation type="unfinished">setFillBlendmode(blandingstilstand, ["navn"]) |
12918 | cbradney | 2535 | |
13499 | cbradney | 2536 | Sætter fyld-blandings-tilstanden på objektet "navn" til blandingstilstand |
12918 | cbradney | 2537 | Hvis "navn" ikke angives, så bruges det markerede element. |
2538 | </translation> |
||
2539 | </message> |
||
2540 | <message> |
||
14474 | cbradney | 2541 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="70"/> |
12918 | cbradney | 2542 | <source>setLineColor("color", ["name"]) |
2543 | |||
2544 | Sets the line color of the object "name" to the color "color". If "name" |
||
2545 | is not given the currently selected item is used. |
||
2546 | </source> |
||
14474 | cbradney | 2547 | <translation type="unfinished">setLineColor("farve", ["navn"]) |
12918 | cbradney | 2548 | |
2549 | Sætter linie-farven på objektet "navn" til farven "farve". "farve" |
||
2550 | er navnet på en af de definerede farver. Hvis "navn" ikke angives, så |
||
2551 | bruges det markerede element. |
||
2552 | </translation> |
||
2553 | </message> |
||
2554 | <message> |
||
14474 | cbradney | 2555 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="80"/> |
12918 | cbradney | 2556 | <source>setLineTransparency(transparency, ["name"]) |
2557 | |||
2558 | Sets the line transparency of the object "name" to transparency |
||
2559 | If "name" is not given the currently selected item is used. |
||
2560 | </source> |
||
14474 | cbradney | 2561 | <translation type="unfinished">setLineTransparency(gennemsigtighed, ["navn"]) |
12918 | cbradney | 2562 | |
13499 | cbradney | 2563 | Sætter linie-gennemsigtigheden på objektet "navn" til gennemsigtighed |
12918 | cbradney | 2564 | Hvis "navn" ikke angives, så bruges det markerede element. |
2565 | </translation> |
||
2566 | </message> |
||
2567 | <message> |
||
14474 | cbradney | 2568 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="90"/> |
12918 | cbradney | 2569 | <source>setLineBlendmode(blendmode, ["name"]) |
2570 | |||
2571 | Sets the line blendmode of the object "name" to blendmode |
||
2572 | If "name" is not given the currently selected item is used. |
||
2573 | </source> |
||
14474 | cbradney | 2574 | <translation type="unfinished">setLineBlendmode(blandingstilstand, ["navn"]) |
12918 | cbradney | 2575 | |
13499 | cbradney | 2576 | Sætter linieblandings-tilstanden på objektet "navn" til blandingstilstand |
12918 | cbradney | 2577 | Hvis "navn" ikke angives, så bruges det markerede element.</translation> |
2578 | </message> |
||
2579 | <message> |
||
14474 | cbradney | 2580 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="100"/> |
12918 | cbradney | 2581 | <source>setLineWidth(width, ["name"]) |
2582 | |||
2583 | Sets line width of the object "name" to "width". "width" must be in the |
||
2584 | range from 0.0 to 12.0 inclusive, and is measured in points. If "name" is not |
||
2585 | given the currently selected item is used. |
||
2586 | |||
2587 | May raise ValueError if the line width is out of bounds. |
||
2588 | </source> |
||
14474 | cbradney | 2589 | <translation type="unfinished">setLineWidth(bredde, ["navn"]) |
12918 | cbradney | 2590 | |
2591 | Sætter linie-bredden på objektet "navn" til "bredde". "bredde" skal være i |
||
2592 | området fra 0.0 til 12.0 inklusivt, og er angivet i punkter. Hvis "navn" ikke |
||
2593 | angives, så bruges det markerede element. |
||
2594 | </translation> |
||
2595 | </message> |
||
2596 | <message> |
||
14474 | cbradney | 2597 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="113"/> |
12918 | cbradney | 2598 | <source>setLineShade(shade, ["name"]) |
2599 | |||
2600 | Sets the shading of the line color of the object "name" to "shade". |
||
2601 | "shade" must be an integer value in the range from 0 (lightest) to 100 |
||
2602 | (full color intensity). If "name" is not given the currently selected item |
||
2603 | is used. |
||
2604 | |||
2605 | May raise ValueError if the line shade is out of bounds. |
||
2606 | </source> |
||
14474 | cbradney | 2607 | <translation type="unfinished">setLineShade(farvemætning, ["navn"]) -> integer |
12918 | cbradney | 2608 | |
2609 | Sætter farvemætningen på linie-farven på objektet "navn" til "farvemætning". |
||
2610 | "farvemætning" skal være en integer værdi i området fra 0 (lysest) til 100 |
||
2611 | (fuld farvemætning). Hvis "navn" ikke angives, så bruges det markerede element. |
||
2612 | |||
2613 | Kan rejse ValueError hvis farvemætningen er uden for tilladte område. |
||
2614 | </translation> |
||
2615 | </message> |
||
2616 | <message> |
||
14474 | cbradney | 2617 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="127"/> |
12918 | cbradney | 2618 | <source>setLineJoin(join, ["name"]) |
2619 | |||
2620 | Sets the line join style of the object "name" to the style "join". |
||
2621 | If "name" is not given the currently selected item is used. There are |
||
2622 | predefined constants for join - JOIN_<type>. |
||
2623 | </source> |
||
14474 | cbradney | 2624 | <translation type="unfinished">setLineJoin(samling, ["navn"]) |
12918 | cbradney | 2625 | |
2626 | Sætter typen af liniesamling på objektet "navn" til typen "samling". |
||
2627 | Hvis "navn" ikke angives, så bruges det markerede element. Der er |
||
2628 | predefinerede konstanter for samlingen - JOIN_<type>. |
||
2629 | </translation> |
||
2630 | </message> |
||
2631 | <message> |
||
14474 | cbradney | 2632 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="138"/> |
12918 | cbradney | 2633 | <source>setLineEnd(endtype, ["name"]) |
2634 | |||
2635 | Sets the line cap style of the object "name" to the style "cap". |
||
2636 | If "name" is not given the currently selected item is used. There are |
||
2637 | predefined constants for "cap" - CAP_<type>. |
||
2638 | </source> |
||
14474 | cbradney | 2639 | <translation type="unfinished">setLineEnd(endetype, ["navn"]) |
12918 | cbradney | 2640 | |
2641 | Sætter typen af linieende på objektet "navn" til typen "endetype" . |
||
2642 | Hvis "navn" ikke angives, så bruges det markerede element. Der er |
||
2643 | predefinerede konstanter for endetyperne - CAP_<type>. |
||
2644 | </translation> |
||
2645 | </message> |
||
2646 | <message> |
||
14474 | cbradney | 2647 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="149"/> |
12918 | cbradney | 2648 | <source>setLineStyle(style, ["name"]) |
2649 | |||
2650 | Sets the line style of the object "name" to the style "style". If "name" |
||
2651 | is not given the currently selected item is used. There are predefined |
||
2652 | constants for "style" - LINE_<style>. |
||
2653 | </source> |
||
14474 | cbradney | 2654 | <translation type="unfinished">setLineStyle(stil, ["navn"]) |
12918 | cbradney | 2655 | |
2656 | Sætter linie-stil for objektet "navn" til stilen "stil". Hvis "navn" ikke |
||
2657 | angives, så bruges det markerede element. Der er predefinerede |
||
2658 | konstanter for "stil" - LINE_<type>. |
||
2659 | </translation> |
||
2660 | </message> |
||
2661 | <message> |
||
14474 | cbradney | 2662 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="160"/> |
12918 | cbradney | 2663 | <source>setFillShade(shade, ["name"]) |
2664 | |||
2665 | Sets the shading of the fill color of the object "name" to "shade". |
||
2666 | "shade" must be an integer value in the range from 0 (lightest) to 100 |
||
2667 | (full Color intensity). If "name" is not given the currently selected |
||
2668 | Item is used. |
||
2669 | |||
2670 | May raise ValueError if the fill shade is out of bounds. |
||
2671 | </source> |
||
14474 | cbradney | 2672 | <translation type="unfinished">setFillShade(farvemætning, ["navn"]) |
12918 | cbradney | 2673 | |
2674 | Sætter farvemætningen på fyld-farven på objektet "navn" til "farvemætning". |
||
2675 | "farvemætning" skal være en integer værdi i området fra 0 (lysest) til 100 |
||
2676 | (fuld farvemætning). Hvis "navn" ikke angives, så bruges det markerede element. |
||
2677 | |||
2678 | Kan rejse ValueError hvis farvemætningen er uden for tilladte område. |
||
2679 | </translation> |
||
2680 | </message> |
||
2681 | <message> |
||
14474 | cbradney | 2682 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="174"/> |
12918 | cbradney | 2683 | <source>setCornerRadius(radius, ["name"]) |
2684 | |||
2685 | Sets the corner radius of the object "name". The radius is expressed |
||
2686 | in points. If "name" is not given the currently selected item is used. |
||
2687 | |||
2688 | May raise ValueError if the corner radius is negative. |
||
2689 | </source> |
||
14474 | cbradney | 2690 | <translation type="unfinished">setCornerRadius(radius, ["navn"]) |
12918 | cbradney | 2691 | |
2692 | Sætter radius på hjørnerne på objektet "navn". Radius er udtrykt |
||
2693 | i punkter. Hvis "navn" ikke angives, så bruges det markerede element. |
||
2694 | |||
2695 | Kan rejse ValueError hvis hjørne-radius er negativ. |
||
2696 | </translation> |
||
2697 | </message> |
||
2698 | <message> |
||
14474 | cbradney | 2699 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="186"/> |
12918 | cbradney | 2700 | <source>setMultiLine("namedStyle", ["name"]) |
2701 | |||
2702 | Sets the line style of the object "name" to the named style "namedStyle". |
||
2703 | If "name" is not given the currently selected item is used. |
||
2704 | |||
2705 | May raise NotFoundError if the line style doesn't exist. |
||
2706 | </source> |
||
14474 | cbradney | 2707 | <translation type="unfinished">setMultiLine("navngivetStil", ["navn"]) |
12918 | cbradney | 2708 | |
2709 | sætter linie-stil på objektet "navn" til navngivet stil "navngivetStil". |
||
2710 | Hvis "navn" ikke angives, så bruges det markerede element. |
||
2711 | |||
2712 | Kan rejse NotFoundError hvis linie-stilen ikke eksisterer. |
||
2713 | </translation> |
||
2714 | </message> |
||
2715 | <message> |
||
14474 | cbradney | 2716 | <location filename="../../../scribus/plugins/scriptplugin/cmdstyle.h" line="22"/> |
12918 | cbradney | 2717 | <source>createParagraphStyle(...) |
2718 | |||
2719 | Creates a paragraph style. This function takes the following keyword parameters: |
||
2720 | |||
2721 | "name" [required] -> specifies the name of the paragraphstyle to create |
||
2722 | |||
2723 | linespacingmode [optional] -> specifies the linespacing mode; possible modes are: |
||
2724 | |||
2725 | fixed linespacing: 0 |
||
2726 | |||
2727 | automatic linespacing: 1 |
||
2728 | |||
2729 | baseline grid linespacing: 2 |
||
2730 | |||
2731 | linespacing [optional] -> specifies the linespacing if using fixed linespacing |
||
2732 | |||
2733 | alignment [optional] -> specifies the alignment of the paragraph |
||
2734 | |||
2735 | -> left: 0 |
||
2736 | |||
2737 | -> center: 1 |
||
2738 | |||
2739 | -> right: 2 |
||
2740 | |||
2741 | -> justify: 3 |
||
2742 | |||
2743 | -> extend: 4 |
||
2744 | |||
2745 | leftmargin [optional], rightmargin [optional] -> specify the margin |
||
2746 | |||
2747 | gapbefore [optional], gapafter [optional] -> specify the gaps to the heading and following paragraphs |
||
2748 | |||
2749 | firstindent [optional] -> the indent of the first line |
||
2750 | |||
2751 | hasdropcap [optional] -> specifies if there are caps (1 = yes, 0 = no) |
||
2752 | |||
2753 | dropcaplines [optional] -> height (in lines) of the caps if used |
||
2754 | |||
2755 | dropcapoffset [optional] -> offset of the caps if used |
||
2756 | |||
2757 | "charstyle" [optional] -> char style to use |
||
2758 | |||
2759 | </source> |
||
14474 | cbradney | 2760 | <translation type="unfinished">createParagraphStyle(...) |
13499 | cbradney | 2761 |  |
2762 | Opretter en afsnits-typografi: Denne funktion tager følgende nøgleords parametre: |
||
2763 | |||
2764 | "navn" [påkrævet] -> angiver navnet på afsnits-typografien, der skal laves |
||
2765 | |||
2766 | linieafstands-tilstand [valgfrit] -> angiver linieafstands-tilstanden, mulige tilstande er: |
||
2767 | |||
2768 | fast linieafstand: 0 |
||
2769 |  |
||
2770 | automatisk linieafstand: 1 |
||
2771 |  |
||
2772 | grundlinie gitter linieafstand: 2 |
||
2773 |  |
||
2774 | linieafstand [valgfrit] -> angiver linieafstanden hvis der bruges fast linieafstand |
||
2775 | |||
2776 | justering [valgfrit] -> angiver justering af afsnittet |
||
2777 | |||
2778 | -> venstre: 0 |
||
2779 | |||
2780 | -> centrer: 1 |
||
2781 | |||
2782 | -> højre: 2 |
||
2783 |  |
||
2784 | -> udslutte: 3 |
||
2785 | |||
2786 | -> udvid: 4 |
||
2787 | |||
2788 | venstremargen [valgfrit], højremargen [valgfrit] -> angiver margen |
||
2789 | |||
2790 | afstandfør [valgfrit], afstandefter [valgfrit] -> angiver afstanden til det forrige og efterfølgende afsnit |
||
2791 | |||
2792 | førsteindrykning [valgfri] -> indrykningen af den første linie |
||
2793 | |||
2794 | haruncial [valgfrit] -> angiver om der er unicialer (1 = ja, 0 = nej) |
||
2795 | |||
2796 | uniciallinier [valgfrit] -> højde (i linier) af unicialerne hvis de er brugt |
||
2797 | |||
2798 | unicialforskydning [valgfrit] -> forskydning af unicialerne hvis de er brugt |
||
2799 | |||
2800 | "tegnstil" [valgfrit] -> tegnstil der skal bruges |
||
2801 | |||
2802 | </translation> |
||
12918 | cbradney | 2803 | </message> |
2804 | <message> |
||
14474 | cbradney | 2805 | <location filename="../../../scribus/plugins/scriptplugin/cmdstyle.h" line="52"/> |
12918 | cbradney | 2806 | <source>createCharStyle(...) |
2807 | |||
2808 | Creates a character style. This function takes the following keyword parameters: |
||
2809 | |||
2810 | "name" [required] -> name of the char style to create |
||
2811 | |||
2812 | "font" [optional] -> name of the font to use |
||
2813 | |||
2814 | fontsize [optional] -> font size to set (double) |
||
2815 | |||
2816 | "features" [optional] -> nearer typographic details can be defined by a string that might contain the following phrases comma-seperated (without spaces!): |
||
2817 | |||
2818 | -> inherit |
||
2819 | |||
2820 | -> bold |
||
2821 | |||
2822 | -> italic |
||
2823 | |||
2824 | -> underline |
||
2825 | |||
2826 | -> underlinewords |
||
2827 | |||
2828 | -> strike |
||
2829 | |||
2830 | -> superscript |
||
2831 | |||
2832 | -> subscript |
||
2833 | |||
2834 | -> outline |
||
2835 | |||
2836 | -> shadowed |
||
2837 | |||
2838 | -> allcaps |
||
2839 | |||
2840 | -> smallcaps |
||
2841 | |||
2842 | "fillcolor" [optional], "fillshade" [optional] -> specify fill options |
||
2843 | |||
2844 | "strokecolor" [optional], "strokeshade" [optional] -> specify stroke options |
||
2845 | |||
2846 | baselineoffset [optional] -> offset of the baseline |
||
2847 | |||
2848 | shadowxoffset [optional], shadowyoffset [optional] -> offset of the shadow if used |
||
2849 | |||
2850 | outlinewidth [optional] -> width of the outline if used |
||
2851 | |||
2852 | underlineoffset [optional], underlinewidth [optional] -> underline options if used |
||
2853 | |||
2854 | strikethruoffset [optional], strikethruwidth [optional] -> strikethru options if used |
||
2855 | |||
2856 | scaleh [optional], scalev [optional] -> scale of the chars |
||
2857 | |||
2858 | tracking [optional] -> tracking of the text |
||
2859 | |||
2860 | "language" [optional] -> language code |
||
2861 | |||
2862 | </source> |
||
14474 | cbradney | 2863 | <translation type="unfinished">createCharStyle(...) |
13499 | cbradney | 2864 | |
2865 | Opretter en tegn-typografi: Denne funktion tager følgende nøgleords parametre: |
||
2866 | |||
2867 | "navn" [påkrævet] -> angiver navnet på tegn-typografien, der skal laves |
||
2868 |  |
||
2869 | "font" [valgfrit] -> navn på fonten der skal bruges |
||
2870 | |||
2871 | fontstørrelse[valgfrit] -> fontstørrelse der skal sættes (double) |
||
2872 | |||
2873 | "egenskaber" [valgfrit] -> nærmere typografiske detaljer kan defineres med en streng, som kunne indholde følgende comma-separerede ord (uden mellemrum!): |
||
2874 | |||
2875 | -> inherit |
||
2876 | |||
2877 | -> bold |
||
2878 | |||
2879 | -> italic |
||
2880 | |||
2881 | -> underline |
||
2882 | |||
2883 | -> underlinewords |
||
2884 | |||
2885 | -> strike |
||
2886 | |||
2887 | -> superscript |
||
2888 | |||
2889 | -> subscript |
||
2890 | |||
2891 | -> outline |
||
2892 | |||
2893 | -> shadowed |
||
2894 | |||
2895 | -> allcaps |
||
2896 | |||
2897 | -> smallcaps |
||
2898 | |||
2899 | "fyldfarve" [valgfrit], "fyldskygge" [valgfrit] -> angiver fyld tilvalg |
||
2900 |  |
||
2901 | "stregfarve" [valgfrit], "streg-farvemætning" [valgfrit] -> angiver streg tilvalg |
||
2902 | |||
2903 | grundlinieforskydning [valgfrit] -> forskydning af grundlinien |
||
2904 | |||
2905 | skygge-xforskydning [valgfrit], skygge-yforskydning [valgfrit] -> forskydning af skyggen hvis den bruges |
||
2906 | |||
2907 | omridsbredde [valgfrit] -> bredde af tegnomrids hvis det bruges |
||
2908 | |||
2909 | understreg-forskydning [valgfrit], understreg-bredde [valgfrit] -> understreg tilvalg hvis det bruges |
||
2910 | |||
2911 | overstreg-forskydning [valgfrit], overstreg-bredde [valgfrit] -> overstreg tilvalg hvis det bruges |
||
2912 | |||
2913 | skaleh [valgfrit], skalev [valgfrit] -> skalering af tegnene |
||
2914 | |||
2915 | spatiering [valgfrit] -> spatiering af teksten |
||
2916 | |||
2917 | "sprog" [valgfrit] -> sprog kode |
||
2918 | |||
2919 | </translation> |
||
12918 | cbradney | 2920 | </message> |
2921 | <message> |
||
14474 | cbradney | 2922 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="17"/> |
1135 | cbradney | 2923 | <source>getFontSize(["name"]) -> float |
2924 | |||
2925 | Returns the font size in points for the text frame "name". If this text |
||
2926 | frame has some text selected the value assigned to the first character of |
||
2927 | the selection is returned. |
||
2928 | If "name" is not given the currently selected item is used. |
||
2929 | </source> |
||
14474 | cbradney | 2930 | <translation type="unfinished">getFontSize(["navn"]) -> komma-tal |
1135 | cbradney | 2931 | |
2782 | cbradney | 2932 | Returnerer font-størrelsen i punkter for tekst-ramme "navn". Hvis |
2933 | denne tekst-ramme har noget tekst markeret, så returneres værdien |
||
2934 | af det første tegn i den markerede tekst. |
||
1135 | cbradney | 2935 | Hvis "navn" ikke angives, så bruges det aktive element. |
2936 | </translation> |
||
2937 | </message> |
||
2938 | <message> |
||
14474 | cbradney | 2939 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="29"/> |
12918 | cbradney | 2940 | <source>getFont(["name"]) -> string |
2941 | |||
2942 | Returns the font name for the text frame "name". If this text frame |
||
2943 | has some text selected the value assigned to the first character |
||
2944 | of the selection is returned. If "name" is not given the currently |
||
2945 | selected item is used. |
||
2946 | </source> |
||
14474 | cbradney | 2947 | <translation type="unfinished">getFont(["navn"]) -> streng |
12918 | cbradney | 2948 | |
2949 | Returnerer font-navnet for tekst-rammen "navn". Hvis denne tekst-ramme |
||
2950 | har noget tekst markeret, så returneres værdien af det første tegn i den |
||
2951 | markerede tekst. Hvis "navn" ikke er givet, så bruges det markerede element. |
||
2952 | </translation> |
||
2953 | </message> |
||
2954 | <message> |
||
14474 | cbradney | 2955 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="41"/> |
12918 | cbradney | 2956 | <source>getTextLength(["name"]) -> integer |
2957 | |||
2958 | Returns the length of the text in the text frame "name". |
||
2959 | If "name" is not given the currently selected item is used. |
||
2960 | </source> |
||
14474 | cbradney | 2961 | <translation type="unfinished">getTextLength(["navn"]) -> integer |
12918 | cbradney | 2962 | |
2963 | Returnerer længden på teksten i tekst-rammen "navn". |
||
2964 | Hvis "navn" ikke er givet, så bruges det markerede element. |
||
2965 | </translation> |
||
2966 | </message> |
||
2967 | <message> |
||
14474 | cbradney | 2968 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="51"/> |
12918 | cbradney | 2969 | <source>getTextLines(["name"]) -> integer |
2970 | |||
2971 | Returns the number of lines of the text in the text frame "name". |
||
2972 | If "name" is not given the currently selected item is used. |
||
2973 | </source> |
||
14474 | cbradney | 2974 | <translation type="unfinished">getTextLines(["navn"]) -> heltal |
12918 | cbradney | 2975 | |
2976 | Returnerer antal tekst-linier i tekst-rammen "navn". |
||
2977 | Hvis "navn" ikke angives, så bruges det markerede element. |
||
2978 | </translation> |
||
2979 | </message> |
||
2980 | <message> |
||
14474 | cbradney | 2981 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="61"/> |
12918 | cbradney | 2982 | <source>getText(["name"]) -> string |
2983 | |||
2984 | Returns the text of the text frame "name". If this text frame has some text |
||
2985 | selected, the selected text is returned. All text in the frame, not just |
||
2986 | currently visible text, is returned. If "name" is not given the currently |
||
2987 | selected item is used. |
||
2988 | </source> |
||
14474 | cbradney | 2989 | <translation type="unfinished">getText(["navn"]) -> streng |
12918 | cbradney | 2990 | |
2991 | Returnerer teksten fra tekst-rammen "navn". Hvis denne tekst-ramme har |
||
2992 | noget tekst markeret, så returneres den markerede tekst. Al tekst i rammen, |
||
2993 | ikke kun det der lige nu ses, returneres. Hvis "navn" ikke er givet, så bruges |
||
2994 | det markerede element. |
||
2995 | </translation> |
||
2996 | </message> |
||
2997 | <message> |
||
14474 | cbradney | 2998 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="73"/> |
12918 | cbradney | 2999 | <source>getAllText(["name"]) -> string |
3000 | |||
3001 | Returns the text of the text frame "name" and of all text frames which are |
||
3002 | linked with this frame. If this textframe has some text selected, the selected |
||
3003 | text is returned. If "name" is not given the currently selected item is |
||
3004 | used. |
||
3005 | </source> |
||
14474 | cbradney | 3006 | <translation type="unfinished">getAllText(["navn"]) -> streng |
12918 | cbradney | 3007 | |
3008 | Returnerer teksten fra tekst-rammen "navn" og alle tekst-rammer, som er lænket |
||
3009 | med denne ramme. Hvis denne tekst-ramme har noget tekst markeret, så returneres |
||
3010 | den markerede tekst. Hvis "navn" ikke er givet, så bruges det markerede element. |
||
3011 | </translation> |
||
3012 | </message> |
||
3013 | <message> |
||
14474 | cbradney | 3014 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="85"/> |
12918 | cbradney | 3015 | <source>getLineSpacing(["name"]) -> float |
3016 | |||
3017 | Returns the line spacing ("leading") of the text frame "name" expressed in |
||
3018 | points. If "name" is not given the currently selected item is used. |
||
3019 | </source> |
||
14474 | cbradney | 3020 | <translation type="unfinished">getLineSpacing(["navn"]) -> komma-tal |
12918 | cbradney | 3021 | |
3022 | Returnerer linie-afstanden ("leading") i tekst-rammen "navn" udtrykt i punkter. |
||
3023 | Hvis "navn" ikke er givet, så bruges det markerede element. |
||
3024 | </translation> |
||
3025 | </message> |
||
3026 | <message> |
||
14474 | cbradney | 3027 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="95"/> |
12918 | cbradney | 3028 | <source>getTextDistances(["name"]) -> tuple |
3029 | |||
3030 | Returns the text distances of the text frame "name" expressed in points. The |
||
3031 | distances are returned as a tuple like (left, right, top, bottom). If "name" |
||
3032 | is not given the currently selected item is used. |
||
3033 | </source> |
||
14474 | cbradney | 3034 | <translation type="unfinished"> |
13499 | cbradney | 3035 | vn |
3036 | |||
3037 | Returnerer tekst-afstandene på tekst-rammen "navn" udtrykt i punkter. |
||
3038 | Afstandene returneres som en tuple som (venstre, højre, top bund). Hvis "navn" |
||
3039 | ikke er givet, så bruges det markerede element. |
||
3040 | </translation> |
||
12918 | cbradney | 3041 | </message> |
3042 | <message> |
||
14474 | cbradney | 3043 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="106"/> |
12918 | cbradney | 3044 | <source>getColumnGap(["name"]) -> float |
3045 | |||
3046 | Returns the column gap size of the text frame "name" expressed in points. If |
||
3047 | "name" is not given the currently selected item is used. |
||
3048 | </source> |
||
14474 | cbradney | 3049 | <translation type="unfinished">getColumnGap(["navn"]) -> komma-tal |
12918 | cbradney | 3050 | |
3051 | Returnerer kolonne-afstanden i tekst-rammen "navn" udtrykt i punkter. |
||
3052 | Hvis "navn" ikke er givet, så bruges det markerede element. |
||
3053 | </translation> |
||
3054 | </message> |
||
3055 | <message> |
||
14474 | cbradney | 3056 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="116"/> |
12918 | cbradney | 3057 | <source>getColumns(["name"]) -> integer |
3058 | |||
3059 | Gets the number of columns of the text frame "name". If "name" is not |
||
3060 | given the currently selected item is used. |
||
3061 | </source> |
||
14474 | cbradney | 3062 | <translation type="unfinished">getColumns(["navn"]) -> integer |
12918 | cbradney | 3063 | |
3064 | Henter antallet af kolonner i tekst-rammen "navn". Hvis "navn" |
||
3065 | ikke er givet, så bruges det markerede element. |
||
3066 | </translation> |
||
3067 | </message> |
||
3068 | <message> |
||
14474 | cbradney | 3069 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="126"/> |
12918 | cbradney | 3070 | <source>setText("text", ["name"]) |
3071 | |||
3072 | Sets the text of the text frame "name" to the text of the string "text". |
||
3073 | Text must be UTF8 encoded - use e.g. unicode(text, 'iso-8859-2'). See the FAQ |
||
3074 | for more details. If "name" is not given the currently selected item is |
||
3075 | used. |
||
3076 | </source> |
||
14474 | cbradney | 3077 | <translation type="unfinished">setText("tekst", ["navn"]) |
12918 | cbradney | 3078 | |
3079 | Sætter teksten i tekst-rammen "navn" til teksten fra strengen "tekst". |
||
3080 | Teksten skal være UTF8 kodet - brug f.eks. unicode(tekst, 'iso-8859-2'). se FAQ'en |
||
3081 | for flere detaljer. Hvis "navn" ikke er givet, så bruges det markerede element. |
||
3082 | </translation> |
||
3083 | </message> |
||
3084 | <message> |
||
14474 | cbradney | 3085 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="138"/> |
12918 | cbradney | 3086 | <source>insertText("text", pos, ["name"]) |
3087 | |||
3088 | Inserts the text "text" at the position "pos" into the text frame "name". |
||
3089 | Text must be UTF encoded (see setText() as reference) The first character has an |
||
3090 | index of 0. Inserting text at position -1 appends it to the frame. If "name" is |
||
3091 | not given the currently selected Item is used. |
||
3092 | |||
3093 | May throw IndexError for an insertion out of bounds. |
||
3094 | </source> |
||
14474 | cbradney | 3095 | <translation type="unfinished">insertText("tekst", pos, ["navn"]) |
12918 | cbradney | 3096 | |
3097 | Indsætter teksten "tekst" ved position "pos" i tekst-rammen "navn". |
||
3098 | Teksten skal være UTF kodet (se setText() som reference). Første tegn |
||
3099 | har index 0. Indsættes tekst ved position -1, så tilføjes teksten i slutningen |
||
3100 | af rammen. Hvis "navn" ikke er givet, så bruges det markerede element. |
||
3101 | |||
3102 | Kan rejse IndexError for en indsætning uden for et gyldigt område. |
||
3103 | </translation> |
||
3104 | </message> |
||
3105 | <message> |
||
14474 | cbradney | 3106 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="152"/> |
12918 | cbradney | 3107 | <source>setFont("font", ["name"]) |
3108 | |||
3109 | Sets the font of the text frame "name" to "font". If there is some text |
||
3110 | selected only the selected text is changed. If "name" is not given the |
||
3111 | currently selected item is used. |
||
3112 | |||
3113 | May throw ValueError if the font cannot be found. |
||
3114 | </source> |
||
14474 | cbradney | 3115 | <translation type="unfinished">setFont("font", ["navn"]) |
12918 | cbradney | 3116 | |
3117 | Sætter fonten i tekst-rammen "navn" til "font". Hvis der er markeret nogen |
||
3118 | tekst, vil kun den markerede tekst blive ændret. Hvis "navn" ikke er givet, |
||
3119 | så bruges det markerede element. |
||
3120 | |||
3121 | Kan rejse ValueError hvis fonten ikke findes. |
||
3122 | </translation> |
||
3123 | </message> |
||
3124 | <message> |
||
14474 | cbradney | 3125 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="165"/> |
12918 | cbradney | 3126 | <source>setFontSize(size, ["name"]) |
3127 | |||
3128 | Sets the font size of the text frame "name" to "size". "size" is treated |
||
3129 | as a value in points. If there is some text selected only the selected text is |
||
3130 | changed. "size" must be in the range 1 to 512. If "name" is not given the |
||
3131 | currently selected item is used. |
||
3132 | |||
3133 | May throw ValueError for a font size that's out of bounds. |
||
3134 | </source> |
||
14474 | cbradney | 3135 | <translation type="unfinished">setFontSize(størrelse, ["navn"]) |
12918 | cbradney | 3136 | |
3137 | Sætter font-størrelsen i tekst-rammen "navn" til "størrelse". "størrelse" |
||
3138 | angives i punkter. Hvis der er markeret nogen tekst, vil kun den markerede |
||
3139 | tekst blive ændret. "størrelse" skal være indenfor området 1 til 512. Hvis "navn" |
||
3140 | ikke er givet, så bruges det markerede element. |
||
3141 | |||
3142 | Kan rejse ValueError for en fontstørrelse der er uden for gyldigt område. |
||
3143 | </translation> |
||
3144 | </message> |
||
3145 | <message> |
||
14474 | cbradney | 3146 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="179"/> |
12918 | cbradney | 3147 | <source>setLineSpacing(size, ["name"]) |
3148 | |||
3149 | Sets the line spacing ("leading") of the text frame "name" to "size". |
||
3150 | "size" is a value in points. If "name" is not given the currently selected |
||
3151 | item is used. |
||
3152 | |||
3153 | May throw ValueError if the line spacing is out of bounds. |
||
3154 | </source> |
||
14474 | cbradney | 3155 | <translation type="unfinished">setLineSpacing(størrelse, ["navn"]) |
12918 | cbradney | 3156 | |
3157 | Sætter linie-afstanden ("leading") i tekst-rammen "navn" til "størrelse". |
||
3158 | "størrelse" er angivet i punkter. Hvis "navn" ikke er givet, så bruges |
||
3159 | det markerede element. |
||
3160 | |||
3161 | Kan rejse ValueError hvis linie-afstanden er uden for gyldigt område. |
||
3162 | </translation> |
||
3163 | </message> |
||
3164 | <message> |
||
14474 | cbradney | 3165 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="192"/> |
3166 | <source>setLineSpacingMode(mode, ["name"]) |
||
3167 | |||
3168 | Sets the line spacing mode of the text frame "name" to "mode". |
||
3169 | If "name" is not given the currently selected |
||
3170 | item is used. |
||
3171 | Mode values are the same as in createParagraphStyle. |
||
3172 | |||
3173 | May throw ValueError if the mode is out of bounds. |
||
3174 | </source> |
||
3175 | <translation type="unfinished"></translation> |
||
3176 | </message> |
||
3177 | <message> |
||
3178 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="206"/> |
||
12918 | cbradney | 3179 | <source>setTextDistances(left, right, top, bottom, ["name"]) |
3180 | |||
3181 | Sets the text distances of the text frame "name" to the values "left" |
||
3182 | "right", "top" and "bottom". If "name" is not given the currently |
||
3183 | selected item is used. |
||
3184 | |||
3185 | May throw ValueError if any of the distances are out of bounds (must be positive). |
||
3186 | </source> |
||
14474 | cbradney | 3187 | <translation type="unfinished"> |
13499 | cbradney | 3188 | venstre |
3189 | højre |
||
3190 | und |
||
3191 | vn |
||
3192 | |||
3193 | Sætter tekst-afstandene på tekst-rammen "navn" til værdierne |
||
3194 | "venstre", "højre", "top" og "bund. Hvis "navn" ikke er givet, |
||
3195 | så bruges det markerede element. |
||
3196 | |||
3197 | Kan rejse ValueError hvis nogen af afstandene er uden for tilladte område (skal være positiv). |
||
3198 | </translation> |
||
12918 | cbradney | 3199 | </message> |
3200 | <message> |
||
14474 | cbradney | 3201 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="219"/> |
12918 | cbradney | 3202 | <source>setColumnGap(size, ["name"]) |
3203 | |||
3204 | Sets the column gap of the text frame "name" to the value "size". If |
||
3205 | "name" is not given the currently selected item is used. |
||
3206 | |||
3207 | May throw ValueError if the column gap is out of bounds (must be positive). |
||
3208 | </source> |
||
14474 | cbradney | 3209 | <translation type="unfinished">setColumnGap(størrelse, ["navn"]) |
12918 | cbradney | 3210 | |
3211 | Sætter kolonne-afstanden i tekst-rammen "navn" til værdien "størrelse". |
||
3212 | Hvis "navn" ikke er givet, så bruges det markerede element. |
||
3213 | |||
3214 | Kan rejse ValueError hvis kolonne-afstanden er uden for gyldigt område (skal være positiv). |
||
3215 | </translation> |
||
3216 | </message> |
||
3217 | <message> |
||
14474 | cbradney | 3218 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="231"/> |
12918 | cbradney | 3219 | <source>setColumns(nr, ["name"]) |
3220 | |||
3221 | Sets the number of columns of the text frame "name" to the integer "nr". |
||
3222 | If "name" is not given the currently selected item is used. |
||
3223 | |||
3224 | May throw ValueError if number of columns is not at least one. |
||
3225 | </source> |
||
14474 | cbradney | 3226 | <translation type="unfinished">setColumns(nr, ["navn"]) |
12918 | cbradney | 3227 | |
3228 | Sætter antal kolonner i tekst-rammen "navn" til heltallet "nr". |
||
3229 | Hvis "navn" ikke er givet, så bruges det markerede element. |
||
3230 | |||
3231 | Kan rejse ValueError hvis antal kolonner ikke er mindst 1. |
||
3232 | </translation> |
||
3233 | </message> |
||
3234 | <message> |
||
14474 | cbradney | 3235 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="243"/> |
12918 | cbradney | 3236 | <source>setTextAlignment(align, ["name"]) |
3237 | |||
3238 | Sets the text alignment of the text frame "name" to the specified alignment. |
||
3239 | If "name" is not given the currently selected item is used. "align" should |
||
3240 | be one of the ALIGN_ constants defined in this module - see dir(scribus). |
||
3241 | |||
3242 | May throw ValueError for an invalid alignment constant. |
||
3243 | </source> |
||
14474 | cbradney | 3244 | <translation type="unfinished">setTextAlignment(justering, ["navn"]) |
12918 | cbradney | 3245 | |
3246 | Sætter tekst-justering i tekst-rammen "navn" til angivet justering. |
||
3247 | Hvis "navn" ikke er givet, så bruges det markerede element. "justering" |
||
3248 | skal være en af ALIGN_konstanterne defineret i dette modul - se dir(scribus). |
||
3249 | |||
3250 | Kan rejse ValueError for en ugyldig ALIGN_konstant. |
||
3251 | </translation> |
||
3252 | </message> |
||
3253 | <message> |
||
14474 | cbradney | 3254 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="256"/> |
12918 | cbradney | 3255 | <source>selectText(start, count, ["name"]) |
3256 | |||
3257 | Selects "count" characters of text in the text frame "name" starting from the |
||
3258 | character "start". Character counting starts at 0. If "count" is zero, any |
||
3259 | text selection will be cleared. If "name" is not given the currently |
||
3260 | selected item is used. |
||
3261 | |||
3262 | May throw IndexError if the selection is outside the bounds of the text. |
||
3263 | </source> |
||
14474 | cbradney | 3264 | <translation type="unfinished">selectText(start, antal, ["navn"]) |
12918 | cbradney | 3265 | |
3266 | Markerer "antal" tegn af teksten i tekst-rammen "navn" startende |
||
3267 | fra tegn "start". Tegn tælling starter ved 0. Hvis "antal" er nul, vil |
||
3268 | enhver tekstmarkering blive nulstillet. Hvis "navn" ikke er givet, så bruges |
||
3269 | det markerede element. |
||
3270 | |||
3271 | Kan rejse IndexError hvis hvis markeringen er sat udenfor teksten. |
||
3272 | </translation> |
||
3273 | </message> |
||
3274 | <message> |
||
14474 | cbradney | 3275 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="270"/> |
12918 | cbradney | 3276 | <source>deleteText(["name"]) |
3277 | |||
3278 | Deletes any text in the text frame "name". If there is some text selected, |
||
3279 | only the selected text will be deleted. If "name" is not given the currently |
||
3280 | selected item is used. |
||
3281 | </source> |
||
14474 | cbradney | 3282 | <translation type="unfinished">deleteText(["navn"]) |
12918 | cbradney | 3283 | |
3284 | Sletter al tekst i tekst-rammen "navn". Hvis der er markeret noget tekst, så |
||
3285 | slettes kun den markerede tekst. Hvis "navn" ikke er givet, så bruges |
||
3286 | det markerede element. |
||
3287 | </translation> |
||
3288 | </message> |
||
3289 | <message> |
||
14474 | cbradney | 3290 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="281"/> |
12918 | cbradney | 3291 | <source>setTextColor("color", ["name"]) |
3292 | |||
3293 | Sets the text color of the text frame "name" to the color "color". If there |
||
3294 | is some text selected only the selected text is changed. If "name" is not |
||
3295 | given the currently selected item is used. |
||
3296 | </source> |
||
14474 | cbradney | 3297 | <translation type="unfinished">setTextColor("farve", ["navn"]) |
12918 | cbradney | 3298 | |
3299 | Sætter tekst-farven i tekst-rammen "navn" til farven "farve". Hvis der |
||
3300 | er markeret nogen tekst, så vil kun den markerede tekst blive ændret. |
||
3301 | Hvis "navn" ikke er givet, så bruges det markerede element. |
||
3302 | </translation> |
||
3303 | </message> |
||
3304 | <message> |
||
14474 | cbradney | 3305 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="292"/> |
12918 | cbradney | 3306 | <source>setTextStroke("color", ["name"]) |
3307 | |||
3308 | Set "color" of the text stroke. If "name" is not given the currently |
||
3309 | selected item is used. |
||
3310 | </source> |
||
14474 | cbradney | 3311 | <translation type="unfinished">setTextStroke("farve", ["navn"]) |
12918 | cbradney | 3312 | |
3313 | Sætter tekstens streg-farve. Hvis "navn" ikke er givet, |
||
3314 | så bruges det markerede element. |
||
3315 | </translation> |
||
3316 | </message> |
||
3317 | <message> |
||
14474 | cbradney | 3318 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="322"/> |
12918 | cbradney | 3319 | <source>setTextShade(shade, ["name"]) |
3320 | |||
3321 | Sets the shading of the text color of the object "name" to "shade". If |
||
3322 | there is some text selected only the selected text is changed. "shade" must |
||
3323 | be an integer value in the range from 0 (lightest) to 100 (full color |
||
3324 | intensity). If "name" is not given the currently selected item is |
||
3325 | used. |
||
3326 | </source> |
||
14474 | cbradney | 3327 | <translation type="unfinished">setTextShade(farvemætning, ["navn"]) |
12918 | cbradney | 3328 | |
3329 | Sætter farvemætningen på tekst-farven på objektet "navn" til "farvemætning". |
||
3330 | Hvis der er markeret nogen tekst, så vil kun den markerede tekst blive ændret. |
||
3331 | "farvemætning" skal være en integer værdi i området fra 0 (lysest) til 100 |
||
3332 | (fuld farvemætning). Hvis "navn" ikke angives, så bruges det markerede element. |
||
3333 | </translation> |
||
3334 | </message> |
||
3335 | <message> |
||
14474 | cbradney | 3336 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="335"/> |
12918 | cbradney | 3337 | <source>linkTextFrames("fromname", "toname") |
3338 | |||
3339 | Link two text frames. The frame named "fromname" is linked to the |
||
3340 | frame named "toname". The target frame must be an empty text frame |
||
3341 | and must not link to or be linked from any other frames already. |
||
3342 | |||
3343 | May throw ScribusException if linking rules are violated. |
||
3344 | </source> |
||
14474 | cbradney | 3345 | <translation type="unfinished">linkTextFrames("franavn", "tilnavn") |
12918 | cbradney | 3346 | |
3347 | Sammenkæder to tekst-rammer. Rammen "franavn" bliver sammenkædet |
||
3348 | med rammen "tilnavn". Mål-rammen skal være en tom tekst-ramme og må |
||
3349 | ikke være sammenkædet med nogen anden ramme. |
||
3350 | </translation> |
||
3351 | </message> |
||
3352 | <message> |
||
14474 | cbradney | 3353 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="352"/> |
12918 | cbradney | 3354 | <source>unlinkTextFrames("name") |
3355 | |||
3356 | Remove the specified (named) object from the text frame flow/linkage. If the |
||
3357 | frame was in the middle of a chain, the previous and next frames will be |
||
3358 | connected, eg 'a->b->c' becomes 'a->c' when you unlinkTextFrames(b)' |
||
3359 | |||
3360 | May throw ScribusException if linking rules are violated. |
||
3361 | </source> |
||
14474 | cbradney | 3362 | <translation type="unfinished">unlinkTextFrames("navn") |
12918 | cbradney | 3363 | |
3364 | Fjerner objektet "navn" fra sammenkædede tekstrammer. Hvis rammen |
||
3365 | var i midten af en kæde, så vil den foregående og den efterfølgende ramme |
||
3366 | blive forbundet, f.eks. 'a->b->c' bliver 'a->c' når du kalder unlinkTextFrames(b). |
||
3367 | |||
3368 | Kan rejse ScribusException hvis sammenkædnings-regler bliver overtrådt. |
||
3369 | </translation> |
||
3370 | </message> |
||
3371 | <message> |
||
14474 | cbradney | 3372 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="369"/> |
12918 | cbradney | 3373 | <source>traceText(["name"]) |
3374 | |||
3375 | Convert the text frame "name" to outlines. If "name" is not given the |
||
3376 | currently selected item is used.</source> |
||
14474 | cbradney | 3377 | <translation type="unfinished">traceText(["navn"]) |
12918 | cbradney | 3378 | |
3379 | Konverterer fonte i tekst-rammen "navn" til kurver. Hvis "navn" ikke angives, |
||
3380 | så bruges det markerede element. |
||
3381 | </translation> |
||
3382 | </message> |
||
3383 | <message> |
||
14474 | cbradney | 3384 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="380"/> |
12918 | cbradney | 3385 | <source>textOverflows(["name", nolinks]) -> integer |
3386 | |||
3387 | Returns the actual number of overflowing characters in text frame "name". |
||
3388 | If is nolinks set to non zero value it takes only one frame - it doesn't |
||
3389 | use text frame linking. Without this parameter it search all linking chain. |
||
3390 | |||
3391 | May raise WrongFrameTypeError if the target frame is not an text frame |
||
3392 | </source> |
||
14474 | cbradney | 3393 | <translation type="unfinished">textOverflows(["navn", ingenlinks]) -> integer |
12918 | cbradney | 3394 | |
3395 | Returnerer det faktiske antal skrifttegn der overløber i tekstramme "navn". |
||
3396 | Hvis ingenlinks er sat til andet end nul tages kun en ramme - der bruger ikke |
||
3397 | sammenkædning af tekstrammer. Uden denne parameter søges igennem alle |
||
3398 | sammenkædede tekstrammer. |
||
3399 | |||
3400 | Kan rejse WrongFrameTypeError hvis den givne ramme ikke er en tekstramme |
||
3401 | </translation> |
||
3402 | </message> |
||
3403 | <message> |
||
14474 | cbradney | 3404 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="393"/> |
12918 | cbradney | 3405 | <source>hyphenateText(["name"]) -> bool |
3406 | |||
3407 | Does hyphenation on text frame "name". |
||
3408 | If "name" is not given the currently selected item is used. |
||
3409 | |||
3410 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
3411 | </source> |
||
14474 | cbradney | 3412 | <translation type="unfinished">hyphenateText(["navn"]) -> bool |
13499 | cbradney | 3413 | |
3414 | Foretager orddeling i tekstrammen "navn". |
||
3415 | Hvis "navn" ikke angives, så bruges det markerede element. |
||
3416 | |||
3417 | Kan rejse WrongFrameTypeError hvis den givne ramme ikke er en tekstramme |
||
3418 | </translation> |
||
12918 | cbradney | 3419 | </message> |
3420 | <message> |
||
14474 | cbradney | 3421 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="407"/> |
12918 | cbradney | 3422 | <source>dehyphenateText(["name"]) -> bool |
3423 | |||
3424 | Does dehyphenation on text frame "name". |
||
3425 | If "name" is not given the currently selected item is used. |
||
3426 | |||
3427 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
3428 | </source> |
||
14474 | cbradney | 3429 | <translation type="unfinished">dehyphenateText(["navn"]) -> booll |
13499 | cbradney | 3430 | |
3431 | Fjerner orddeling i tekstrammen "navn". |
||
3432 | Hvis "navn" ikke angives, så bruges det markerede element. |
||
3433 | |||
3434 | Kan rejse WrongFrameTypeError hvis den givne ramme ikke er en tekstramme |
||
3435 | </translation> |
||
12918 | cbradney | 3436 | </message> |
3437 | <message> |
||
14474 | cbradney | 3438 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="422"/> |
12918 | cbradney | 3439 | <source>setPDFBookmark("toggle", ["name"]) |
3440 | |||
3441 | Sets whether (toggle = 1) the text frame "name" is a bookmark nor not. |
||
3442 | If "name" is not given the currently selected item is used. |
||
3443 | |||
3444 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
3445 | </source> |
||
14474 | cbradney | 3446 | <translation type="unfinished">setPDFBookmark("til/fra", ["navn"]) |
13499 | cbradney | 3447 | |
3448 | Sætter hvorvidt (til/fra = 1) tekstrammen "navn" er et bogmærke eller ej. |
||
3449 | Hvis "navn" ikke er givet, så bruges det markerede element. |
||
3450 | |||
3451 | Kan rejse WrongFrameTypeError, hvis målrammen ikke er en tekst-ramme |
||
3452 | </translation> |
||
12918 | cbradney | 3453 | </message> |
3454 | <message> |
||
14474 | cbradney | 3455 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="434"/> |
12918 | cbradney | 3456 | <source>isPDFBookmark(["name"]) -> bool |
3457 | |||
3458 | Returns true if the text frame "name" is a PDF bookmark. |
||
3459 | If "name" is not given the currently selected item is used. |
||
3460 | |||
3461 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
3462 | </source> |
||
14474 | cbradney | 3463 | <translation type="unfinished">isPDFBookmark(["navn"]) -> bool |
12918 | cbradney | 3464 | |
3465 | Returnerer "true" hvis tekst-rammen "navn" er et PDF bogmærke. |
||
3466 | Hvis "navn" ikke er givet, så bruges det markerede element. |
||
3467 | |||
3468 | Kan rejse WrongFrameTypeError, hvis målrammen ikke er en tekst-ramme |
||
3469 | </translation> |
||
3470 | </message> |
||
3471 | <message> |
||
14474 | cbradney | 3472 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="17"/> |
1135 | cbradney | 3473 | <source>messagebarText("string") |
3474 | |||
3475 | Writes the "string" into the Scribus message bar (status line). The text |
||
3476 | must be UTF8 encoded or 'unicode' string(recommended). |
||
3477 | </source> |
||
14474 | cbradney | 3478 | <translation type="unfinished">messagebarText("streng") |
1135 | cbradney | 3479 | |
3480 | Skriver "streng" til Scribus beskedfelt (status linie). Teksten |
||
3481 | skal være UTF8 kodet eller 'unicode' streng (anbefalet). |
||
3482 | </translation> |
||
3483 | </message> |
||
1525 | cbradney | 3484 | <message> |
14474 | cbradney | 3485 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="30"/> |
12918 | cbradney | 3486 | <source>progressReset() |
3487 | |||
3488 | Cleans up the Scribus progress bar previous settings. It is called before the |
||
3489 | new progress bar use. See progressSet. |
||
3490 | </source> |
||
14474 | cbradney | 3491 | <translation type="unfinished">progressReset() |
12918 | cbradney | 3492 | |
3493 | Rydder op i Scrbus fremgangs-målererens tidligere indstillinger. Den kaldes før næste |
||
3494 | brug af fremgangs-måleren. Se progressSet. |
||
3495 | </translation> |
||
3496 | </message> |
||
3497 | <message> |
||
14474 | cbradney | 3498 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="43"/> |
12918 | cbradney | 3499 | <source>progressTotal(max) |
3500 | |||
3501 | Sets the progress bar's maximum steps value to the specified number. |
||
3502 | See progressSet. |
||
3503 | </source> |
||
14474 | cbradney | 3504 | <translation type="unfinished">progressTotal(max) |
12918 | cbradney | 3505 | |
3506 | Sætter fremgangs-målerens maksimale trin-værdi til det angivne tal. |
||
3507 | Se progressSet. |
||
3508 | </translation> |
||
3509 | </message> |
||
3510 | <message> |
||
14474 | cbradney | 3511 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="52"/> |
12918 | cbradney | 3512 | <source>progressSet(nr) |
3513 | |||
3514 | Set the progress bar position to "nr", a value relative to the previously set |
||
3515 | progressTotal. The progress bar uses the concept of steps; you give it the |
||
3516 | total number of steps and the number of steps completed so far and it will |
||
3517 | display the percentage of steps that have been completed. You can specify the |
||
3518 | total number of steps with progressTotal(). The current number of steps is set |
||
3519 | with progressSet(). The progress bar can be rewound to the beginning with |
||
3520 | progressReset(). [based on info taken from Trolltech's Qt docs] |
||
3521 | </source> |
||
14474 | cbradney | 3522 | <translation type="unfinished">progressSet(nr) |
12918 | cbradney | 3523 | |
3524 | Sætter fremgangs-måler positionen til "nr", en værdi relativ til det tidligere kald af |
||
3525 | progressTotal. Fremgangs-måleren bruger konceptet om trin; du giver den det totale |
||
3526 | antal trin og antal trin nået indtil nu, og den vil så vise den procentvise værdi af de trin |
||
3527 | der er gjort færdige. Du kan angive det totale antal trin med progressTotal(). De |
||
3528 | nuværende antal trin er angivet med progressSet(). Fremgangs-måleren kan spoles |
||
3529 | tilbage til begyndelsen med progressReset(). [Baseret på info fra Trolltech's Qt docs] |
||
3530 | </translation> |
||
3531 | </message> |
||
3532 | <message> |
||
14474 | cbradney | 3533 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="66"/> |
12918 | cbradney | 3534 | <source>setCursor() |
3535 | |||
3536 | [UNSUPPORTED!] This might break things, so steer clear for now. |
||
3537 | </source> |
||
14474 | cbradney | 3538 | <translation type="unfinished">setCursor() |
12918 | cbradney | 3539 | |
13499 | cbradney | 3540 | [IKKE UNDERSTØTTET!] Denne kan få tingene til at bryde sammen, |
3541 | så undgå at bruge den lige nu. |
||
12918 | cbradney | 3542 | </translation> |
3543 | </message> |
||
3544 | <message> |
||
14474 | cbradney | 3545 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="78"/> |
12918 | cbradney | 3546 | <source>docChanged(bool) |
3547 | |||
3548 | Enable/disable save icon in the Scribus icon bar and the Save menu item. It's |
||
3549 | useful to call this procedure when you're changing the document, because Scribus |
||
3550 | won't automatically notice when you change the document using a script. |
||
3551 | </source> |
||
14474 | cbradney | 3552 | <translation type="unfinished">docChanged(bool) |
12918 | cbradney | 3553 | |
3554 | Aktiverer/deaktiverer "gem-ikonet" i Scribus værktøjslinie og "Gem" i fil-menuen. |
||
3555 | Det er brugbart at kalde denne procedure, når du ændrer dokumentet, fordi Scribus |
||
3556 | ikke automatisk opdager, når du har ændret dokumentet ved at bruge en script. |
||
3557 | </translation> |
||
3558 | </message> |
||
3559 | <message> |
||
14474 | cbradney | 3560 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="91"/> |
12918 | cbradney | 3561 | <source>zoomDocument(double) |
3562 | |||
3563 | Zoom the document in main GUI window. Actions have whole number |
||
3564 | values like 20.0, 100.0, etc. Zoom to Fit uses -100 as a marker. |
||
3565 | </source> |
||
14474 | cbradney | 3566 | <translation type="unfinished">zoomDocument(dobbelt) |
12918 | cbradney | 3567 | |
3568 | Zoom dokumentet i hoved GUI vinduet. Funktionen bruger heltals-værdier |
||
3569 | som 20.0, 100.0, etc. Zoom så siden fylder vinduet bruger -100 som mærke. |
||
3570 | </translation> |
||
3571 | </message> |
||
3572 | <message> |
||
14474 | cbradney | 3573 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="103"/> |
12918 | cbradney | 3574 | <source>scrollDocument(x,y) |
3575 | |||
3576 | Scroll the document in main GUI window by x and y. |
||
3577 | </source> |
||
14474 | cbradney | 3578 | <translation type="unfinished">scrollDocument(x,y) |
13499 | cbradney | 3579 | |
3580 | Ruller dokumentet i hoved-GUI winduet med værdierne x og y. |
||
3581 | </translation> |
||
12918 | cbradney | 3582 | </message> |
3583 | <message> |
||
14474 | cbradney | 3584 | <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="15"/> |
15099 | cbradney | 3585 | <source>placeVectorFile("filename", x, y) |
3586 | |||
3587 | Places the Vectorgrapics "filename" onto the current page, |
||
3588 | x and y specify the coordinate of the topleft corner of the graphic placed on the page |
||
3589 | |||
3590 | If loading was successful, the selection contains the imported grapic |
||
3591 | </source> |
||
3592 | <translation type="unfinished"></translation> |
||
3593 | </message> |
||
3594 | <message> |
||
3595 | <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="27"/> |
||
12918 | cbradney | 3596 | <source>placeSVG("filename", x, y) |
3597 | |||
3598 | Places the SVG "filename" onto the current page, |
||
3599 | x and y specify the coordinate of the topleft corner of the SVG placed on the page |
||
3600 | |||
3601 | If loading was successful, the selection contains the imported SVG |
||
3602 | </source> |
||
14474 | cbradney | 3603 | <translation type="unfinished">placeSVG("filnavn", x, y) |
12918 | cbradney | 3604 | |
3605 | Placerer SVG "filnavn" på den aktive side, |
||
3606 | x og y specificerer coordinaten af øverste venstre hjørne af SVG'en på siden |
||
3607 | |||
3608 | hvis indlæsning lykkedes, indeholder markeringen den importerede SVG |
||
3609 | </translation> |
||
3610 | </message> |
||
3611 | <message> |
||
15099 | cbradney | 3612 | <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="39"/> |
12918 | cbradney | 3613 | <source>placeEPS("filename", x, y) |
3614 | |||
3615 | Places the EPS "filename" onto the current page, |
||
3616 | x and y specify the coordinate of the topleft corner of the EPS placed on the page |
||
3617 | |||
3618 | If loading was successful, the selection contains the imported EPS |
||
3619 | </source> |
||
14474 | cbradney | 3620 | <translation type="unfinished">placeEPS("filnavn", x, y) |
12918 | cbradney | 3621 | |
3622 | Placerer EPS "filnavn" på den aktive side, |
||
3623 | x og y specificerer coordinaten af øverste venstre hjørne af EPS'en på siden |
||
3624 | |||
3625 | hvis indlæsning lykkedes, indeholder markeringen den importerede EPS |
||
3626 | </translation> |
||
3627 | </message> |
||
3628 | <message> |
||
15099 | cbradney | 3629 | <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="51"/> |
12918 | cbradney | 3630 | <source>placeSXD("filename", x, y) |
3631 | |||
3632 | Places the SXD "filename" onto the current page, |
||
3633 | x and y specify the coordinate of the topleft corner of the SXD placed on the page |
||
3634 | |||
3635 | If loading was successful, the selection contains the imported SXD |
||
3636 | </source> |
||
14474 | cbradney | 3637 | <translation type="unfinished">placeSXD("filnavn", x, y) |
12918 | cbradney | 3638 | |
3639 | Placerer SXD "filnavn" på den aktive side, |
||
3640 | x og y specificerer coordinaten af øverste venstre hjørne af SXD'en på siden |
||
3641 | |||
3642 | hvis indlæsning lykkedes, indeholder markeringen den importerede SXD |
||
3643 | </translation> |
||
3644 | </message> |
||
3645 | <message> |
||
15099 | cbradney | 3646 | <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="63"/> |
12918 | cbradney | 3647 | <source>placeODG("filename", x, y) |
3648 | |||
3649 | Places the ODG "filename" onto the current page, |
||
3650 | x and y specify the coordinate of the topleft corner of the ODG placed on the page |
||
3651 | |||
3652 | If loading was successful, the selection contains the imported ODG |
||
3653 | </source> |
||
14474 | cbradney | 3654 | <translation type="unfinished">placeODG("filnavn", x, y) |
12918 | cbradney | 3655 | |
3656 | Placerer ODG "filnavn" på den aktive side, |
||
3657 | x og y specificerer coordinaten af øverste venstre hjørne af ODG'en på siden |
||
3658 | |||
3659 | hvis indlæsning lykkedes, indeholder markeringen den importerede ODG |
||
3660 | </translation> |
||
3661 | </message> |
||
13279 | cbradney | 3662 | <message> |
15099 | cbradney | 3663 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="169"/> |
13279 | cbradney | 3664 | <source>isSpotColor("name") -> bool |
3665 | |||
3666 | Returns True if the color "name" is a spot color. |
||
3667 | See also setSpotColor() |
||
3668 | |||
3669 | May raise NotFoundError if a named color wasn't found. |
||
3670 | May raise ValueError if an invalid color name is specified. |
||
3671 | </source> |
||
14474 | cbradney | 3672 | <translation type="unfinished">isSpotColor("navn") -> bool |
13499 | cbradney | 3673 | |
3674 | Returnerer True hvis farven "navn" er en spot-farve. |
||
3675 | Se også setSpotColor() |
||
3676 | |||
3677 | Kan rejse NotFoundError hvis den navngivne farve ikke findes. |
||
3678 | Kan rejse ValueError hvis et ugyldigt farve-navn er angivet. |
||
3679 | </translation> |
||
13279 | cbradney | 3680 | </message> |
3681 | <message> |
||
15099 | cbradney | 3682 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="184"/> |
13279 | cbradney | 3683 | <source>setSpotColor("name", spot) |
3684 | |||
3685 | Set the color "name" as a spot color if spot parameter is True. |
||
3686 | See also isSpotColor() |
||
3687 | |||
3688 | May raise NotFoundError if a named color wasn't found. |
||
3689 | May raise ValueError if an invalid color name is specified. |
||
3690 | </source> |
||
14474 | cbradney | 3691 | <translation type="unfinished">setSpotColor("navn", spot) |
13499 | cbradney | 3692 | |
3693 | Sætter farven "navn" som en spot-farve hvis spot parameter er "True". |
||
3694 | se også isSpotColor() |
||
3695 | |||
3696 | Kan rejse NotFoundError hvis den navngivne farve ikke findes.. |
||
3697 | Kan rejse ValueError hvis et ugyldigt farve-navn er angivet. |
||
3698 | </translation> |
||
13279 | cbradney | 3699 | </message> |
3700 | <message> |
||
14474 | cbradney | 3701 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="159"/> |
13279 | cbradney | 3702 | <source>scaleImage(x, y [, "name"]) |
3703 | |||
3704 | Sets the internal scaling factors of the picture in the image frame "name". |
||
3705 | If "name" is not given the currently selected item is used. A number of 1 |
||
3706 | means 100 %. Internal scaling factors are different from the values shown on |
||
3707 | properties palette. Note : deprecated, use setImageScale() instead. |
||
3708 | |||
3709 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
3710 | </source> |
||
14474 | cbradney | 3711 | <translation type="unfinished">scaleImage(x, y [, "navn"]) |
13499 | cbradney | 3712 | |
3713 | Sætter de interne Skalerings-faktorer for billedet i billed-rammen "navn". |
||
3714 | Hvis "navn" ikke angives, så bruges det markerede element. Værdien 1 |
||
3715 | betyder 100 %. Interne skaleringsfaktorer er forskellig fra værdierne, som |
||
3716 | vises på egenskabs-paletten. Bemærk : forældet, brug istedet setImageScale(). |
||
3717 | |||
3718 | kan rejse WrongFrameTypeError, hvis mål-rammen ikke er en billedramme |
||
3719 | </translation> |
||
13279 | cbradney | 3720 | </message> |
3721 | <message> |
||
14474 | cbradney | 3722 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="173"/> |
15099 | cbradney | 3723 | <source>setImageOffset(x, y [, "name"]) |
3724 | |||
3725 | Sets the position of the picture in the image frame "name". |
||
3726 | If "name" is not given the currently selected item is used. |
||
3727 | The specified offset values are equal to the values shown on |
||
3728 | properties palette when point unit is used. |
||
3729 | |||
3730 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
3731 | </source> |
||
3732 | <translation type="unfinished"></translation> |
||
3733 | </message> |
||
3734 | <message> |
||
3735 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="187"/> |
||
13279 | cbradney | 3736 | <source>setImageScale(x, y [, "name"]) |
3737 | |||
3738 | Sets the scaling factors of the picture in the image frame "name". |
||
3739 | If "name" is not given the currently selected item is used. A number of 1 |
||
3740 | means 100 %. Scaling factors are equal to the values shown on properties palette. |
||
3741 | |||
3742 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
3743 | </source> |
||
14474 | cbradney | 3744 | <translation type="unfinished">setImagescale(x, y [, "navn"]) |
13499 | cbradney | 3745 | |
3746 | Sætter skalerings-faktorerne for billedet i billed-rammen "navn". |
||
3747 | Hvis "navn" ikke angives, så bruges det markerede element. Værdien 1  betyder |
||
3748 | 100 %. Skaleringsfaktorer er lig med værdierne, som vises på egenskabs-paletten. |
||
3749 | |||
3750 | kan rejse WrongFrameTypeError, hvis mål-rammen ikke er en billedramme |
||
3751 | </translation> |
||
13279 | cbradney | 3752 | </message> |
3753 | <message> |
||
14474 | cbradney | 3754 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="28"/> |
13279 | cbradney | 3755 | <source>setGradientStop("color", shade, opacity, ramppoint, ["name"]) |
3756 | |||
3757 | Set or add a gradient stop to the gradient fill of the object "name" at position ramppoint. |
||
3758 | Color descriptions are the same as for setFillColor() and setFillShade(). setGradientFill() |
||
3759 | must have been called previously for the gradient fill to be visible. |
||
3760 | </source> |
||
14474 | cbradney | 3761 | <translation type="unfinished">setGradientStop("farve", skygge, ugennemsigtighed, rampepunkt, ["navn"]) |
13499 | cbradney | 3762 | |
3763 | Sætter eller tilføjer et gradient-stop til gradient-fyldet i objekt "navn" ved position rampepunkt. |
||
3764 | Farve beskrivelserne er de samme som for setFillColor() og setFillShade(). setGradientFill() |
||
3765 | skal tidligere være kaldt for at gradient fyldet bliver synligt. |
||
3766 | </translation> |
||
13279 | cbradney | 3767 | </message> |
3768 | <message> |
||
14474 | cbradney | 3769 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="302"/> |
13279 | cbradney | 3770 | <source>setTextScalingV(scale, ["name"]) |
3771 | |||
3772 | Sets the vertical character scaling of the object "name" to "scale" in percent. |
||
3773 | If "name" is not given the currently selected item is used. |
||
3774 | </source> |
||
14474 | cbradney | 3775 | <translation type="unfinished">setTextScalingV(skala, ["navn"]) |
13499 | cbradney | 3776 | |
3777 | Sætter den vertikale tegn-skalering på objektet "navn" til "skala" i procent. |
||
3778 | Hvis "navn" ikke angives, så bruges det markerede element. |
||
3779 | </translation> |
||
13279 | cbradney | 3780 | </message> |
3781 | <message> |
||
14474 | cbradney | 3782 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="312"/> |
13279 | cbradney | 3783 | <source>setTextScalingH(scale, ["name"]) |
3784 | |||
3785 | Sets the horizontal character scaling of the object "name" to "scale" in percent. |
||
3786 | If "name" is not given the currently selected item is used. |
||
3787 | </source> |
||
14474 | cbradney | 3788 | <translation type="unfinished">setTextScalingH(skala, ["navn"]) |
13499 | cbradney | 3789 | |
3790 | Sætter den horisontale tegn-skalering på objektet "navn" til "skala" i procent. |
||
3791 | Hvis "navn" ikke angives, så bruges det markerede element. |
||
3792 | </translation> |
||
13279 | cbradney | 3793 | </message> |
12918 | cbradney | 3794 | </context> |
3795 | <context> |
||
3796 | <name>@default</name> |
||
3797 | <message> |
||
3798 | <source>getColorNames() -> list |
||
3799 | |||
3800 | Returns a list containing the names of all defined colors in the document. |
||
3801 | If no document is open, returns a list of the default document colors. |
||
3802 | </source> |
||
3803 | <translation type="obsolete">getColorNames() -> liste |
||
3804 | |||
3805 | Returnerer en liste, som indeholder navnene på alle definerede farver i dokumentet. |
||
3806 | Hvis ikke et dokument er åbnet, så returneres en liste over standard dokument farver. |
||
3807 | </translation> |
||
3808 | </message> |
||
3809 | <message> |
||
3810 | <source>newDocDialog() -> bool |
||
3811 | |||
3812 | Displays the "New Document" dialog box. Creates a new document if the user |
||
3813 | accepts the settings. Does not create a document if the user presses cancel. |
||
3814 | Returns true if a new document was created. |
||
3815 | </source> |
||
3816 | <translation type="obsolete">newDocDialog() -> bool |
||
3817 | |||
3818 | Viser "Ny dokument" dialog boks. Laver et nyt dokument, hvis brugeren |
||
3819 | accepterer indstillingerne. Laver ikke et dokument, hvis brugeren trykker på annullér. |
||
3820 | Returnerer "true" hvis der blev lavet et nyt dokument. |
||
3821 | </translation> |
||
3822 | </message> |
||
3823 | <message> |
||
3824 | <source>getFillColor(["name"]) -> string |
||
3825 | |||
3826 | Returns the name of the fill color of the object "name". |
||
3827 | If "name" is not given the currently selected item is used. |
||
3828 | </source> |
||
3829 | <translation type="obsolete">getFillColor(["navn"]) -> streng |
||
3830 | |||
3831 | Returnerer navnet på fyld-farven i objektet "navn". |
||
3832 | Hvis "navn" ikke angives, så bruges det markerede element. |
||
3833 | </translation> |
||
3834 | </message> |
||
3835 | <message> |
||
3836 | <source>moveObject(dx, dy [, "name"]) |
||
3837 | |||
3838 | Moves the object "name" by dx and dy relative to its current position. The |
||
3839 | distances are expressed in the current measurement unit of the document (see |
||