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