Rev 14099 | Rev 14480 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
9729 | cbradney | 1 | <?xml version="1.0" encoding="utf-8"?> |
14474 | cbradney | 2 | <!DOCTYPE TS> |
3 | <TS version="2.0" language="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"/> |
12918 | cbradney | 1192 | <source>groupObjects(list) |
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. |
||
1197 | </source> |
||
14474 | cbradney | 1198 | <translation type="unfinished">groupObjects(liste) |
12918 | cbradney | 1199 | |
13499 | cbradney | 1200 | Opretter en gruppe af alle objekter der er nævnt i "liste". "liste" skal indeholde |
12918 | cbradney | 1201 | navnene på de objekter, som skal laves til en gruppe. Hvis "liste" ikke angives, |
1202 | så bruges de markerede elementer. |
||
1203 | </translation> |
||
1204 | </message> |
||
1205 | <message> |
||
14474 | cbradney | 1206 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="124"/> |
12918 | cbradney | 1207 | <source>unGroupObjects("name") |
1208 | |||
1209 | Destructs the group the object "name" belongs to.If "name" is not given the currently selected item is used.</source> |
||
14474 | cbradney | 1210 | <translation type="unfinished">unGroupObjects("navn") |
12918 | cbradney | 1211 | |
1212 | Adskiller gruppen, som objektet "navn" hører til. Hvis "navn" ikke angives, |
||
1213 | så bruges det markerede element. |
||
1214 | </translation> |
||
1215 | </message> |
||
1216 | <message> |
||
14474 | cbradney | 1217 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="132"/> |
12918 | cbradney | 1218 | <source>scaleGroup(factor [,"name"]) |
1219 | |||
1220 | Scales the group the object "name" belongs to. Values greater than 1 enlarge |
||
1221 | the group, values smaller than 1 make the group smaller e.g a value of 0.5 |
||
1222 | scales the group to 50 % of its original size, a value of 1.5 scales the group |
||
1223 | to 150 % of its original size. The value for "factor" must be greater than |
||
1224 | 0. If "name" is not given the currently selected item is used. |
||
1225 | |||
1226 | May raise ValueError if an invalid scale factor is passed. |
||
1227 | </source> |
||
14474 | cbradney | 1228 | <translation type="unfinished">scaleGroup(faktor [,"navn"]) |
12918 | cbradney | 1229 | |
1230 | Skalerer gruppen, som objekter "navn" hører til. Værdier større en 1 forstørrer |
||
1231 | gruppen, værdier mindre end 1 laver gruppen mindre, f.eks. en værdi på 0.5 |
||
1232 | skalerer gruppen til 50 % af dens originale størrelse, en værdi på 1.5 skalerer |
||
1233 | gruppen til 150 % af dens originale størrelse. Værdien for "faktor" skal være |
||
1234 | større end 0. Hvis "navn" ikke angives, så bruges det markerede element. |
||
1235 | |||
1236 | kan rejse ValueError, hvis en ugyldig skalerings-faktor er angivet. |
||
1237 | </translation> |
||
1238 | </message> |
||
1239 | <message> |
||
14474 | cbradney | 1240 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="147"/> |
12918 | cbradney | 1241 | <source>loadImage("filename" [, "name"]) |
1242 | |||
1243 | Loads the picture "picture" into the image frame "name". If "name" is |
||
1244 | not given the currently selected item is used. |
||
1245 | |||
1246 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
1247 | </source> |
||
14474 | cbradney | 1248 | <translation type="unfinished">loadImage("filnavn", "navn") |
12918 | cbradney | 1249 | |
1250 | Indlæser billedet "filnavn" ind i billed-rammen "navn". Hvis "navn" |
||
1251 | ikke angives, så bruges det markerede element. |
||
1252 | |||
1253 | Kan rejse WrongFrameTypeError, hvis målrammen ikke er en billed-ramme |
||
1254 | </translation> |
||
1255 | </message> |
||
1256 | <message> |
||
1257 | <source>scaleImage(x, y [, "name"]) |
||
1258 | |||
1259 | Sets the scaling factors of the picture in the image frame "name". |
||
1260 | If "name" is not given the currently selected item is used. A number of 1 |
||
1261 | means 100 %. |
||
1262 | |||
1263 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
1264 | </source> |
||
13279 | cbradney | 1265 | <translation type="obsolete">scaleImage(x, y [, "navn"]) |
12918 | cbradney | 1266 | |
1267 | Sætter Skalerings-faktorerne for billedet i billed-rammen "navn". |
||
1268 | Hvis "navn" ikke angives, så bruges det markerede element. |
||
1269 | Værdien 1 betyder 100 %. |
||
1270 | |||
1271 | kan rejse WrongFrameTypeError, hvis mål-rammen ikke er en billedramme |
||
1272 | </translation> |
||
1273 | </message> |
||
1274 | <message> |
||
14474 | cbradney | 1275 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="186"/> |
12918 | cbradney | 1276 | <source>lockObject(["name"]) -> bool |
1277 | |||
1278 | Locks the object "name" if it's unlocked or unlock it if it's locked. |
||
1279 | If "name" is not given the currently selected item is used. Returns true |
||
1280 | if locked. |
||
1281 | </source> |
||
14474 | cbradney | 1282 | <translation type="unfinished">lockObject(["navn"]) -> bool |
12918 | cbradney | 1283 | |
1284 | Låser objektet "navn" hvis det er ulåst og låser det op hvis det er låst. |
||
1285 | Hvis "navn" ikke angives, så bruges det markerede element. |
||
1286 | Returnerer "true" hvis objektet er låst. |
||
1287 | </translation> |
||
1288 | </message> |
||
1289 | <message> |
||
14474 | cbradney | 1290 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="197"/> |
12918 | cbradney | 1291 | <source>isLocked(["name"]) -> bool |
1292 | |||
1293 | Returns true if is the object "name" locked. If "name" is not given the |
||
1294 | currently selected item is used. |
||
1295 | </source> |
||
14474 | cbradney | 1296 | <translation type="unfinished">isLocked(["navn"]) -> bool |
12918 | cbradney | 1297 | |
1298 | Returnerer "true" hvis objektet "navn" er låst. Hvis "navn" ikke angives, |
||
1299 | så bruges det markerede element. |
||
1300 | </translation> |
||
1301 | </message> |
||
1302 | <message> |
||
14474 | cbradney | 1303 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="206"/> |
12918 | cbradney | 1304 | <source>setScaleImageToFrame(scaletoframe, proportional=None, name=<selection>) |
1305 | |||
1306 | Sets the scale to frame on the selected or specified image frame to `scaletoframe'. |
||
1307 | If `proportional' is specified, set fixed aspect ratio scaling to `proportional'. |
||
1308 | Both `scaletoframe' and `proportional' are boolean. |
||
1309 | |||
1310 | May raise WrongFrameTypeError. |
||
1311 | </source> |
||
14474 | cbradney | 1312 | <translation type="unfinished">setScaleImageToFrame(skalertilramme, proportional=None, name=<markering>) |
12918 | cbradney | 1313 | |
1314 | Sætter skalér til ramme på den markerede eller speciferede billed-ramme til `scaletoframe'. |
||
1315 | Hvis proportional er specificeret, så sættes fast bredde/højde forholdet til `proportionelt'. |
||
1316 | Både `skalertilramme' og `proportional' er boolsk. |
||
1317 | |||
1318 | Kan rejse WrongFrameTypeError. |
||
1319 | </translation> |
||
1320 | </message> |
||
1321 | <message> |
||
14474 | cbradney | 1322 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="19"/> |
1135 | cbradney | 1323 | <source>setRedraw(bool) |
1324 | |||
1325 | Disables page redraw when bool = False, otherwise redrawing is enabled. |
||
1326 | This change will persist even after the script exits, so make sure to call |
||
1327 | setRedraw(True) in a finally: clause at the top level of your script. |
||
1328 | </source> |
||
14474 | cbradney | 1329 | <translation type="unfinished">setRedraw(bool) |
1135 | cbradney | 1330 | |
1331 | Forhindrer gentegning af siden når bool="false", ellers er gentegning aktiveret. |
||
1332 | Denne ændring vil holde selv efter scriptet afslutter, så vær sikker på at |
||
1333 | kalde setredraw(True) i slutningen: Forbeholdt topniveau af dit script. |
||
1334 | </translation> |
||
1335 | </message> |
||
1336 | <message> |
||
14474 | cbradney | 1337 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="30"/> |
12918 | cbradney | 1338 | <source>getFontNames() -> list |
1339 | |||
1340 | Returns a list with the names of all available fonts. |
||
1341 | </source> |
||
14474 | cbradney | 1342 | <translation type="unfinished">getFontNames() -> liste |
12918 | cbradney | 1343 | |
1344 | Returnerer en liste med navnene på alle tilgængelige fonte. |
||
1345 | </translation> |
||
1346 | </message> |
||
1347 | <message> |
||
14474 | cbradney | 1348 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="39"/> |
12918 | cbradney | 1349 | <source>getXFontNames() -> list of tuples |
1350 | |||
1351 | Returns a larger font info. It's a list of the tuples with: |
||
1352 | [ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ] |
||
1353 | </source> |
||
14474 | cbradney | 1354 | <translation type="unfinished">getXFontNames() -> liste af tupler |
12918 | cbradney | 1355 | |
1356 | Returner større mængde font-info. Det er en liste af tuplerne med: |
||
1357 | [ (Scribus navn, Familie, Rigtige navn, substituere (1|0), indlejr PS (1|0), font-fil), (...), ... ] |
||
1358 | </translation> |
||
1359 | </message> |
||
1360 | <message> |
||
14474 | cbradney | 1361 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="52"/> |
12918 | cbradney | 1362 | <source>renderFont("name", "filename", "sample", size, format="PPM") -> bool |
1363 | |||
1364 | Creates an image preview of font "name" with given text "sample" and size. |
||
1365 | If "filename" is not "", image is saved into "filename". Otherwise |
||
1366 | image data is returned as a string. The optional "format" argument |
||
1367 | specifies the image format to generate, and supports any format allowed |
||
1368 | by QPixmap.save(). Common formats are PPM, JPEG, PNG and XPM. |
||
1369 | |||
1370 | May raise NotFoundError if the specified font can't be found. |
||
1371 | May raise ValueError if an empty sample or filename is passed. |
||
1372 | </source> |
||
14474 | cbradney | 1373 | <translation type="unfinished">renderFont("navn", "filenavn", "eksempel", størrelse, format="PPM") -> bool |
12918 | cbradney | 1374 | |
1375 | Laver en billed-visning af fonten "navn" med teksten "eksempel" og størrelse. |
||
1376 | Hvis "filnavn" ikke er "", så bliver billedet gemt i "filnavn". Ellers returneres |
||
1377 | billed-data som en streng. Det valgfri "format" argument specificerer billed-formatet, |
||
1378 | der skal genereres, og støtter de formater, som er tilladt af QPixmap.save(). |
||
1379 | Almindelige formater er PPM, JPEG, PNG og XPM. |
||
1380 | |||
1381 | Kan rejse NotFoundError hvis den angivne font ikke findes. |
||
1382 | Kan rejse ValueError hvis "eksempel" eller "filnavn" er tomt. |
||
1383 | </translation> |
||
1384 | </message> |
||
1385 | <message> |
||
14474 | cbradney | 1386 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="68"/> |
12918 | cbradney | 1387 | <source>getLayers() -> list |
1388 | |||
1389 | Returns a list with the names of all defined layers. |
||
1390 | </source> |
||
14474 | cbradney | 1391 | <translation type="unfinished">getLayers() -> liste |
12918 | cbradney | 1392 | |
1393 | Returnerer en liste med navnene på alle definerede lag. |
||
1394 | </translation> |
||
1395 | </message> |
||
1396 | <message> |
||
14474 | cbradney | 1397 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="77"/> |
12918 | cbradney | 1398 | <source>setActiveLayer("name") |
1399 | |||
1400 | Sets the active layer to the layer named "name". |
||
1401 | |||
1402 | May raise NotFoundError if the layer can't be found. |
||
1403 | May raise ValueError if the layer name isn't acceptable. |
||
1404 | </source> |
||
14474 | cbradney | 1405 | <translation type="unfinished">setActiveLayer("navn") |
12918 | cbradney | 1406 | |
1407 | Sætter laget "navn" som det aktive lag. |
||
1408 | |||
1409 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1410 | Kan rejse ValueError hvis lagets navn ikke kan accepteres. |
||
1411 | </translation> |
||
1412 | </message> |
||
1413 | <message> |
||
14474 | cbradney | 1414 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="89"/> |
12918 | cbradney | 1415 | <source>getActiveLayer() -> string |
1416 | |||
1417 | Returns the name of the current active layer. |
||
1418 | </source> |
||
14474 | cbradney | 1419 | <translation type="unfinished">getActiveLayer() -> streng |
12918 | cbradney | 1420 | |
1421 | Returnerer navnet på det aktive lag. |
||
1422 | </translation> |
||
1423 | </message> |
||
1424 | <message> |
||
14474 | cbradney | 1425 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="98"/> |
12918 | cbradney | 1426 | <source>sentToLayer("layer" [, "name"]) |
1427 | |||
1428 | Sends the object "name" to the layer "layer". The layer must exist. |
||
1429 | If "name" is not given the currently selected item is used. |
||
1430 | |||
1431 | May raise NotFoundError if the layer can't be found. |
||
1432 | May raise ValueError if the layer name isn't acceptable. |
||
1433 | </source> |
||
14474 | cbradney | 1434 | <translation type="unfinished">sentToLayer("lag" [, "navn"]) |
12918 | cbradney | 1435 | |
1436 | Sender objektet "navn" til laget "lag". Laget skal eksistere. |
||
1437 | Hvis "navn" ikke angives, så bruges det markerede element. |
||
1438 | |||
1439 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1440 | Kan rejse ValueError hvis lagets navn ikke kan accepteres. |
||
1441 | </translation> |
||
1442 | </message> |
||
1443 | <message> |
||
14474 | cbradney | 1444 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="111"/> |
12918 | cbradney | 1445 | <source>setLayerVisible("layer", visible) |
1446 | |||
1447 | Sets the layer "layer" to be visible or not. If is the visible set to false |
||
1448 | the layer is invisible. |
||
1449 | |||
1450 | May raise NotFoundError if the layer can't be found. |
||
1451 | May raise ValueError if the layer name isn't acceptable. |
||
1452 | </source> |
||
14474 | cbradney | 1453 | <translation type="unfinished">setLayerVisible("lag", synlig) |
12918 | cbradney | 1454 | |
1455 | Sætter laget "lag" til at være synligt eller usynligt. Hvis "synlig" sættes til |
||
1456 | "False", så er laget usynligt. |
||
1457 | |||
1458 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1459 | Kan rejse ValueError hvis lagets navn ikke kan accepteres. |
||
1460 | </translation> |
||
1461 | </message> |
||
1462 | <message> |
||
14474 | cbradney | 1463 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="124"/> |
12918 | cbradney | 1464 | <source>setLayerPrintable("layer", printable) |
1465 | |||
1466 | Sets the layer "layer" to be printable or not. If is the |
||
1467 | printable set to false the layer won't be printed. |
||
1468 | |||
1469 | May raise NotFoundError if the layer can't be found. |
||
1470 | May raise ValueError if the layer name isn't acceptable. |
||
1471 | </source> |
||
14474 | cbradney | 1472 | <translation type="unfinished">setLayerPrintable("lag", printbar) |
12918 | cbradney | 1473 | |
1474 | Sætter laget "lag" til at kunne udskrives eller ej. Hvis |
||
1475 | "printbar" sættes til "False", så bliver laget ikke udskrivet. |
||
1476 | |||
1477 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1478 | Kan rejse ValueError hvis lagets navn ikke kan accepteres. |
||
1479 | </translation> |
||
1480 | </message> |
||
1481 | <message> |
||
14474 | cbradney | 1482 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="137"/> |
12918 | cbradney | 1483 | <source>setLayerLocked("layer", locked) |
1484 | |||
1485 | Sets the layer "layer" to be locked or not. If locked is set to |
||
1486 | true the layer will be locked. |
||
1487 | |||
1488 | May raise NotFoundError if the layer can't be found. |
||
1489 | May raise ValueError if the layer name isn't acceptable. |
||
1490 | </source> |
||
14474 | cbradney | 1491 | <translation type="unfinished">setLayerLocked("lag", låst) |
12918 | cbradney | 1492 | |
1493 | Sætter laget "lag" til at være låst eller ej. Hvis låst |
||
1494 | sættes til "true" vil laget være låst. |
||
1495 | |||
1496 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1497 | Kan rejse ValueError hvis et ugyldigt lag-navn er angivet. |
||
1498 | </translation> |
||
1499 | </message> |
||
1500 | <message> |
||
14474 | cbradney | 1501 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="150"/> |
12918 | cbradney | 1502 | <source>setLayerOutlined("layer", outline) |
1503 | |||
1504 | Sets the layer "layer" to be locked or not. If outline is set to |
||
1505 | true the layer will be displayed outlined. |
||
1506 | |||
1507 | May raise NotFoundError if the layer can't be found. |
||
1508 | May raise ValueError if the layer name isn't acceptable. |
||
1509 | </source> |
||
14474 | cbradney | 1510 | <translation type="unfinished">setLayerOutlined("lag", omrids) |
12918 | cbradney | 1511 | |
1512 | Sætter laget "lag" til at blive vist som omrids eller ej. Hvis omrids |
||
1513 | er sat til "true" vil laget blive vist som omrids. |
||
1514 | |||
1515 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1516 | Kan rejse ValueError hvis et ugyldigt lag-navn er angivet. |
||
1517 | </translation> |
||
1518 | </message> |
||
1519 | <message> |
||
14474 | cbradney | 1520 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="163"/> |
12918 | cbradney | 1521 | <source>setLayerFlow("layer", flow) |
1522 | |||
1523 | Sets the layers "layer" flowcontrol to flow. If flow is set to |
||
1524 | true text in layers above this one will flow around objects on this layer. |
||
1525 | |||
1526 | May raise NotFoundError if the layer can't be found. |
||
1527 | May raise ValueError if the layer name isn't acceptable. |
||
1528 | </source> |
||
14474 | cbradney | 1529 | <translation type="unfinished">setLayerFlow("lag", flyd) |
12918 | cbradney | 1530 | |
1531 | sætter laget "lag's" flydningskontrol til flyd. Hvis flyd sættes til "true", |
||
1532 | vil tekst i lag over dette flyde rundt om objekter i dette lag. |
||
1533 | |||
1534 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1535 | Kan rejse ValueError hvis et ugyldigt lag-navn er angivet. |
||
1536 | </translation> |
||
1537 | </message> |
||
1538 | <message> |
||
14474 | cbradney | 1539 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="176"/> |
12918 | cbradney | 1540 | <source>setLayerBlendmode("layer", blend) |
1541 | |||
1542 | Sets the layers "layer" blendmode to blend. |
||
1543 | |||
1544 | May raise NotFoundError if the layer can't be found. |
||
1545 | May raise ValueError if the layer name isn't acceptable. |
||
1546 | </source> |
||
14474 | cbradney | 1547 | <translation type="unfinished">setLayerBlendmode("lag", blanding) |
12918 | cbradney | 1548 | |
13499 | cbradney | 1549 | Sætter laget "lag's" blandings-tilstand til blanding. |
12918 | cbradney | 1550 | |
1551 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1552 | Kan rejse ValueError hvis lagets navn ikke kan accepteres. |
||
1553 | </translation> |
||
1554 | </message> |
||
1555 | <message> |
||
14474 | cbradney | 1556 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="188"/> |
12918 | cbradney | 1557 | <source>setLayerTransparency("layer", trans) |
1558 | |||
1559 | Sets the layers "layer" transparency to trans. |
||
1560 | |||
1561 | May raise NotFoundError if the layer can't be found. |
||
1562 | May raise ValueError if the layer name isn't acceptable. |
||
1563 | </source> |
||
14474 | cbradney | 1564 | <translation type="unfinished">setLayerTransparency("lag", trans) |
12918 | cbradney | 1565 | |
1566 | Sætter laget "lag's" gennemsigtighed til trans. |
||
1567 | |||
1568 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1569 | Kan rejse ValueError hvis et ugyldigt lag-navn er angivet. |
||
1570 | </translation> |
||
1571 | </message> |
||
1572 | <message> |
||
14474 | cbradney | 1573 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="200"/> |
12918 | cbradney | 1574 | <source>isLayerVisible("layer") -> bool |
1575 | |||
1576 | Returns whether the layer "layer" is visible or not, a value of True means |
||
1577 | that the layer "layer" is visible, a value of False means that the layer |
||
1578 | "layer" is invisible. |
||
1579 | |||
1580 | May raise NotFoundError if the layer can't be found. |
||
1581 | May raise ValueError if the layer name isn't acceptable. |
||
1582 | </source> |
||
14474 | cbradney | 1583 | <translation type="unfinished">isLayerVisible("lag") -> bool |
12918 | cbradney | 1584 | |
1585 | Returnerer hvorvidt laget "lag" er synligt eller ej, værdien "True" |
||
1586 | betyder, at laget "lag" er synligt, værdien "False" betyder, at laget |
||
1587 | "lag" er usynligt. |
||
1588 | |||
1589 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1590 | Kan rejse ValueError hvis lagets navn ikke kan accepteres. |
||
1591 | </translation> |
||
1592 | </message> |
||
1593 | <message> |
||
14474 | cbradney | 1594 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="214"/> |
12918 | cbradney | 1595 | <source>isLayerPrintable("layer") -> bool |
1596 | |||
1597 | Returns whether the layer "layer" is printable or not, a value of True means |
||
1598 | that the layer "layer" can be printed, a value of False means that printing |
||
1599 | the layer "layer" is disabled. |
||
1600 | |||
1601 | May raise NotFoundError if the layer can't be found. |
||
1602 | May raise ValueError if the layer name isn't acceptable. |
||
1603 | </source> |
||
14474 | cbradney | 1604 | <translation type="unfinished">isLayerPrintable("lag") -> bool |
12918 | cbradney | 1605 | |
1606 | Returnerer hvorvidt laget "lag" kan udskrives eller ej, værdien "True" |
||
1607 | betyder, at laget "lag" kan udskrives, værdien "False" betyder, at laget |
||
1608 | "lag" ikke kan udskrives. |
||
1609 | |||
1610 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1611 | Kan rejse ValueError hvis lagets navn ikke kan accepteres. |
||
1612 | </translation> |
||
1613 | </message> |
||
1614 | <message> |
||
14474 | cbradney | 1615 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="228"/> |
12918 | cbradney | 1616 | <source>isLayerLocked("layer") -> bool |
1617 | |||
1618 | Returns whether the layer "layer" is locked or not, a value of True means |
||
1619 | that the layer "layer" is editable, a value of False means that the layer |
||
1620 | "layer" is locked. |
||
1621 | |||
1622 | May raise NotFoundError if the layer can't be found. |
||
1623 | May raise ValueError if the layer name isn't acceptable. |
||
1624 | </source> |
||
14474 | cbradney | 1625 | <translation type="unfinished">isLayerLocked("lag") -> bool |
12918 | cbradney | 1626 | |
1627 | Returnerer hvorvidt laget "lag" er låst eller ej, værdien "true" betyder |
||
1628 | at laget "lag" er redigerbart, værdien "false" betyder at laget "lag" er låst. |
||
1629 | |||
1630 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1631 | Kan rejse ValueError hvis et ugyldigt lag-navn er angivet. |
||
1632 | </translation> |
||
1633 | </message> |
||
1634 | <message> |
||
14474 | cbradney | 1635 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="242"/> |
12918 | cbradney | 1636 | <source>isLayerOutlined("layer") -> bool |
1637 | |||
1638 | Returns whether the layer "layer" is outlined or not, a value of True means |
||
1639 | that the layer "layer" is outlined, a value of False means that the layer |
||
1640 | "layer" is normal. |
||
1641 | |||
1642 | May raise NotFoundError if the layer can't be found. |
||
1643 | May raise ValueError if the layer name isn't acceptable. |
||
1644 | </source> |
||
14474 | cbradney | 1645 | <translation type="unfinished">isLayerOutlined("lag") -> bool |
12918 | cbradney | 1646 | |
1647 | Returnerer hvorvidt laget "lag" er vist som omrids eller ej, værdien "true" betyder |
||
1648 | at laget "lag" er vist som omrids, værdien "false" betyder at laget "lag" er normalt. |
||
1649 | |||
1650 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1651 | Kan rejse ValueError hvis et ugyldigt lag-navn er angivet. |
||
1652 | </translation> |
||
1653 | </message> |
||
1654 | <message> |
||
14474 | cbradney | 1655 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="256"/> |
12918 | cbradney | 1656 | <source>isLayerFlow("layer") -> bool |
1657 | |||
1658 | Returns whether text flows around objects on layer "layer", a value of True means |
||
1659 | that text flows around, a value of False means that the text does not flow around. |
||
1660 | |||
1661 | May raise NotFoundError if the layer can't be found. |
||
1662 | May raise ValueError if the layer name isn't acceptable. |
||
1663 | </source> |
||
14474 | cbradney | 1664 | <translation type="unfinished">isLayerFlow("lag") -> bool |
12918 | cbradney | 1665 | |
1666 | Returnerer hvorvidt tekst flyder omkring objekter på laget "lag", Værdien "true" betyder, |
||
1667 | at tekst flyder omkring objekter, værdien "false" betyder, at tekst ikke flyder omkring objekter |
||
1668 | |||
1669 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1670 | Kan rejse ValueError hvis et ugyldigt lag-navn er angivet. |
||
1671 | </translation> |
||
1672 | </message> |
||
1673 | <message> |
||
14474 | cbradney | 1674 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="269"/> |
12918 | cbradney | 1675 | <source>getLayerBlendmode("layer") -> int |
1676 | |||
1677 | Returns the "layer" layer blendmode, |
||
1678 | |||
1679 | May raise NotFoundError if the layer can't be found. |
||
1680 | May raise ValueError if the layer name isn't acceptable. |
||
1681 | </source> |
||
14474 | cbradney | 1682 | <translation type="unfinished">getLayerBlendmode("lag") -> heltal |
12918 | cbradney | 1683 | |
1684 | Returnerer laget "lag's" blandings-tilstand. |
||
1685 | |||
1686 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1687 | Kan rejse ValueError hvis et ugyldigt lag-navn er angivet. |
||
1688 | </translation> |
||
1689 | </message> |
||
1690 | <message> |
||
14474 | cbradney | 1691 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="281"/> |
12918 | cbradney | 1692 | <source>getLayerTransparency("layer") -> float |
1693 | |||
1694 | Returns the "layer" layer transparency, |
||
1695 | |||
1696 | May raise NotFoundError if the layer can't be found. |
||
1697 | May raise ValueError if the layer name isn't acceptable. |
||
1698 | </source> |
||
14474 | cbradney | 1699 | <translation type="unfinished">getLayerTransparency("lag") -> komma-tal |
12918 | cbradney | 1700 | |
1701 | Returnerer laget "lag's" gennemsigtighed |
||
1702 | |||
1703 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1704 | Kan rejse ValueError hvis et ugyldigt lag-navn er angivet. |
||
1705 | </translation> |
||
1706 | </message> |
||
1707 | <message> |
||
14474 | cbradney | 1708 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="293"/> |
12918 | cbradney | 1709 | <source>deleteLayer("layer") |
1710 | |||
1711 | Deletes the layer with the name "layer". Nothing happens if the layer doesn't |
||
1712 | exists or if it's the only layer in the document. |
||
1713 | |||
1714 | May raise NotFoundError if the layer can't be found. |
||
1715 | May raise ValueError if the layer name isn't acceptable. |
||
1716 | </source> |
||
14474 | cbradney | 1717 | <translation type="unfinished">deleteLayer("lag") |
12918 | cbradney | 1718 | |
1719 | Sletter laget med navnet "lag". Der sker ingen ting hvis laget ikke |
||
1720 | eksisterer eller hvis det er det eneste lag i dokumentet. |
||
1721 | |||
1722 | Kan rejse NotFoundError hvis laget ikke findes. |
||
1723 | Kan rejse ValueError hvis lagets navn ikke kan accepteres. |
||
1724 | </translation> |
||
1725 | </message> |
||
1726 | <message> |
||
14474 | cbradney | 1727 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="306"/> |
12918 | cbradney | 1728 | <source>createLayer(layer) |
1729 | |||
1730 | Creates a new layer with the name "name". |
||
1731 | |||
1732 | May raise ValueError if the layer name isn't acceptable. |
||
1733 | </source> |
||
14474 | cbradney | 1734 | <translation type="unfinished">createLayer("lag") |
12918 | cbradney | 1735 | |
13499 | cbradney | 1736 | Opretter et nyt lag med navnet "lag". |
12918 | cbradney | 1737 | |
1738 | Kan rejse ValueError hvis lagets navn ikke kan accepteres. |
||
1739 | </translation> |
||
1740 | </message> |
||
1741 | <message> |
||
14474 | cbradney | 1742 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="317"/> |
12918 | cbradney | 1743 | <source>getGuiLanguage() -> string |
1744 | |||
1745 | Returns a string with the -lang value. |
||
1746 | </source> |
||
14474 | cbradney | 1747 | <translation type="unfinished">getGuiLanguage() -> streng |
12918 | cbradney | 1748 | |
1749 | Returnerer en streng med -lang værdien. |
||
1750 | </translation> |
||
1751 | </message> |
||
1752 | <message> |
||
14474 | cbradney | 1753 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="326"/> |
12918 | cbradney | 1754 | <source>moveSelectionToFront() |
1755 | |||
1756 | Moves current selection to front. |
||
1757 | </source> |
||
14474 | cbradney | 1758 | <translation type="unfinished">moveSelectionToFront() |
13499 | cbradney | 1759 | |
1760 | Flytter det markerede forrest. |
||
1761 | </translation> |
||
12918 | cbradney | 1762 | </message> |
1763 | <message> |
||
14474 | cbradney | 1764 | <location filename="../../../scribus/plugins/scriptplugin/cmdmisc.h" line="335"/> |
12918 | cbradney | 1765 | <source>moveSelectionToFront() |
1766 | |||
1767 | Moves current selection to back. |
||
1768 | </source> |
||
14474 | cbradney | 1769 | <translation type="unfinished">moveSelectionToFront() |
13499 | cbradney | 1770 | |
1771 | Flytter det markerede bagerst. |
||
1772 | </translation> |
||
12918 | cbradney | 1773 | </message> |
1774 | <message> |
||
14474 | cbradney | 1775 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="17"/> |
1135 | cbradney | 1776 | <source>createRect(x, y, width, height, ["name"]) -> string |
1777 | |||
1778 | Creates a new rectangle on the current page and returns its name. The |
||
1779 | coordinates are given in the current measurement units of the document |
||
1780 | (see UNIT constants). "name" should be a unique identifier for the object |
||
1781 | because you need this name to reference that object in future. If "name" |
||
1782 | is not given Scribus will create one for you. |
||
1783 | |||
1784 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1785 | </source> |
||
14474 | cbradney | 1786 | <translation type="unfinished">createRect(x, y, bredde, højde, ["navn"]) -> streng |
1135 | cbradney | 1787 | |
13499 | cbradney | 1788 | Opretter en ny rectangle på den aktive side og returnerer dens navn. |
1135 | cbradney | 1789 | Koordinaterne er givet i dokumentets nuværende måle-enhed (se |
1790 | UNIT konstanter). "navn" skal være et unikt navn, fordi du behøver |
||
1791 | dette navn for at kunne referere til dette objekt senere. Hvis "navn" |
||
1792 | ikke angives, så vil Scribus lave et for dig. |
||
1793 | |||
1794 | Kan rejse NameExistsError hvis du angiver et navn, som allerede findes. |
||
1795 | </translation> |
||
1796 | </message> |
||
1797 | <message> |
||
14474 | cbradney | 1798 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="34"/> |
12918 | cbradney | 1799 | <source>createEllipse(x, y, width, height, ["name"]) -> string |
1800 | |||
1801 | Creates a new ellipse on the current page and returns its name. |
||
1802 | The coordinates are given in the current measurement units of the document |
||
1803 | (see UNIT constants). "name" should be a unique identifier for the object |
||
1804 | because you need this name for further referencing of that object. If "name" |
||
1805 | is not given Scribus will create one for you. |
||
1806 | |||
1807 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1808 | </source> |
||
14474 | cbradney | 1809 | <translation type="unfinished">createEllipse(x, y, bredde, højde, ["navn"]) -> streng |
12918 | cbradney | 1810 | |
13499 | cbradney | 1811 | Opretter en ny ellipse på den aktive side og returnerer dens navn. |
12918 | cbradney | 1812 | Koordinaterne er givet i dokumentets nuværende måle-enhed (se |
1813 | UNIT konstanter). "navn" skal være et unikt navn, fordi du behøver |
||
1814 | dette navn for at kunne referere til dette objekt senere. Hvis "navn" |
||
1815 | ikke er givet, så vil Scribus lave et for dig. |
||
1816 | |||
1817 | Kan rejse NameExistsError hvis du angiver et navn, som allerede er brugt. |
||
1818 | </translation> |
||
1819 | </message> |
||
1820 | <message> |
||
14474 | cbradney | 1821 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="51"/> |
12918 | cbradney | 1822 | <source>createImage(x, y, width, height, ["name"]) -> string |
1823 | |||
1824 | Creates a new picture frame on the current page and returns its name. The |
||
1825 | coordinates are given in the current measurement units of the document. |
||
1826 | "name" should be a unique identifier for the object because you need this |
||
1827 | name for further access to that object. If "name" is not given Scribus will |
||
1828 | create one for you. |
||
1829 | |||
1830 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1831 | </source> |
||
14474 | cbradney | 1832 | <translation type="unfinished">createImage(x, y, bredde, højde, ["navn"]) -> streng |
12918 | cbradney | 1833 | |
13499 | cbradney | 1834 | Opretter en ny billed-ramme på den aktive side og returnerer dens navn. |
12918 | cbradney | 1835 | Koordinaterne er givet i dokumentets nuværende måle-enhed (se |
1836 | UNIT konstanter). "navn" skal være et unikt navn, fordi du behøver |
||
1837 | dette navn for at kunne referere til dette objekt senere. Hvis "navn" |
||
1838 | ikke er givet, så vil Scribus lave et for dig. |
||
1839 | |||
1840 | Kan rejse NameExistsError hvis du angiver et navn, som allerede er brugt. |
||
1841 | </translation> |
||
1842 | </message> |
||
1843 | <message> |
||
14474 | cbradney | 1844 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="66"/> |
12918 | cbradney | 1845 | <source>createText(x, y, width, height, ["name"]) -> string |
1846 | |||
1847 | Creates a new text frame on the actual page and returns its name. |
||
1848 | The coordinates are given in the actual measurement unit of the document (see |
||
1849 | UNIT constants). "name" should be a unique identifier for the object because |
||
1850 | you need this name for further referencing of that object. If "name" is not |
||
1851 | given Scribus will create one for you. |
||
1852 | |||
1853 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1854 | </source> |
||
14474 | cbradney | 1855 | <translation type="unfinished">createText(x, y, bredde, højde, ["navn"]) -> streng |
12918 | cbradney | 1856 | |
13499 | cbradney | 1857 | Opretter en ny tekst-ramme på den aktive side og returnerer dens navn. |
12918 | cbradney | 1858 | Koordinaterne er givet i dokumentets nuværende måle-enhed (se |
1859 | UNIT konstanter). "navn" skal være et unikt navn, fordi du behøver |
||
1860 | dette navn for at kunne referere til dette objekt senere. Hvis "navn" |
||
1861 | ikke er givet, så vil Scribus lave et for dig. |
||
1862 | |||
1863 | Kan rejse NameExistsError hvis du angiver et navn, som allerede er brugt. |
||
1864 | </translation> |
||
1865 | </message> |
||
1866 | <message> |
||
14474 | cbradney | 1867 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="81"/> |
12918 | cbradney | 1868 | <source>createLine(x1, y1, x2, y2, ["name"]) -> string |
1869 | |||
1870 | Creates a new line from the point(x1, y1) to the point(x2, y2) and returns |
||
1871 | its name. The coordinates are given in the current measurement unit of the |
||
1872 | document (see UNIT constants). "name" should be a unique identifier for the |
||
1873 | object because you need this name for further access to that object. If |
||
1874 | "name" is not given Scribus will create one for you. |
||
1875 | |||
1876 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1877 | </source> |
||
14474 | cbradney | 1878 | <translation type="unfinished">createLine(x1, y1, x2, y2, ["navn"]) -> streng |
12918 | cbradney | 1879 | |
13499 | cbradney | 1880 | Opretter en ny linie fra punktet(x1, y1) til punktet(x2, y2) og returnerer |
12918 | cbradney | 1881 | dens navn. Koordinaterne er givet i dokumentets nuværende måle-enhed |
1882 | (se UNIT konstanter). "navn" skal være et unikt navn for objektet, fordi |
||
1883 | du behøver dette navn for yderligere adgang til dette objekt. Hvis "navn" |
||
1884 | ikke er givet, så vil Scribus lave et for dig. |
||
1885 | |||
1886 | Kan rejse NameExistsError hvis du angiver et navn, som allerede er brugt. |
||
1887 | </translation> |
||
1888 | </message> |
||
1889 | <message> |
||
14474 | cbradney | 1890 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="96"/> |
12918 | cbradney | 1891 | <source>createPolyLine(list, ["name"]) -> string |
1892 | |||
1893 | Creates a new polyline and returns its name. The points for the polyline are |
||
1894 | stored in the list "list" in the following order: [x1, y1, x2, y2...xn. yn]. |
||
1895 | The coordinates are given in the current measurement units of the document (see |
||
1896 | UNIT constants). "name" should be a unique identifier for the object because |
||
1897 | you need this name for further access to that object. If "name" is not given |
||
1898 | Scribus will create one for you. |
||
1899 | |||
1900 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1901 | May raise ValueError if an insufficient number of points is passed or if |
||
1902 | the number of values passed don't group into points without leftovers. |
||
1903 | </source> |
||
14474 | cbradney | 1904 | <translation type="unfinished">createPolyLine(liste, ["navn"]) -> streng |
12918 | cbradney | 1905 | |
13499 | cbradney | 1906 | Opretter en ny poly-linie og returnerer dens navn. Poly-liniens punkter |
12918 | cbradney | 1907 | er placeret i listen "liste" i følgende orden: [x1, y1, x2, y2...xn, yn]. |
1908 | Koordinaterne er givet i dokumentets nuværende måle-enhed |
||
1909 | (se UNIT konstanter). "navn" skal være et unikt navn for objektet, fordi |
||
1910 | du behøver dette navn for yderligere adgang til dette objekt. Hvis "navn" |
||
1911 | ikke er givet, så vil Scribus lave et for dig. |
||
1912 | |||
1913 | Kan rejse NameExistsError hvis du angiver et navn, som allerede er brugt. |
||
1914 | Kan rejse ValueError hvis et utilstrækkeligt antal punkter er angivet eller hvis |
||
1915 | antallet af værdier ikke kan danne talpar uden noget tilovers. |
||
1916 | </translation> |
||
1917 | </message> |
||
1918 | <message> |
||
14474 | cbradney | 1919 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="114"/> |
12918 | cbradney | 1920 | <source>createPolygon(list, ["name"]) -> string |
1921 | |||
1922 | Creates a new polygon and returns its name. The points for the polygon are |
||
1923 | stored in the list "list" in the following order: [x1, y1, x2, y2...xn. yn]. |
||
1924 | At least three points are required. There is no need to repeat the first point |
||
1925 | to close the polygon. The polygon is automatically closed by connecting the |
||
1926 | first and the last point. The coordinates are given in the current measurement |
||
1927 | units of the document (see UNIT constants). "name" should be a unique |
||
1928 | identifier for the object because you need this name for further access to that |
||
1929 | object. If "name" is not given Scribus will create one for you. |
||
1930 | |||
1931 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1932 | May raise ValueError if an insufficient number of points is passed or if |
||
1933 | the number of values passed don't group into points without leftovers. |
||
1934 | </source> |
||
14474 | cbradney | 1935 | <translation type="unfinished">createPolygon(liste, ["navn"]) -> streng |
12918 | cbradney | 1936 | |
13499 | cbradney | 1937 | Opretter et nyt polygon og returnerer dets navn. Polygonets punkter |
12918 | cbradney | 1938 | er placeret i listen "liste" i følgende orden: [x1, y1, x2, y2...xn, yn]. |
1939 | Mindst tre punkter er påkrævet. Det er ikke nødvendigt at gentage det |
||
1940 | første punkt for at lukke polygonet. Polygonet er automatisk lukket ved at |
||
1941 | forbinde det første og det sidste punkt. Koordinaterne er givet i dokumentets |
||
1942 | nuværende måle-enhed (se UNIT konstanter). "navn" skal være et unikt navn |
||
1943 | for objektet, fordi du behøver dette navn for yderligere adgang til dette objekt. |
||
1944 | Hvis "navn" ikke er givet, så vil Scribus lave et for dig. |
||
1945 | |||
1946 | Kan rejse NameExistsError hvis du angiver et navn, som allerede er brugt. |
||
1947 | Kan rejse ValueError hvis et utilstrækkeligt antal punkter er angivet eller hvis |
||
1948 | antallet af værdier ikke kan danne talpar uden noget tilovers. |
||
1949 | </translation> |
||
1950 | </message> |
||
1951 | <message> |
||
14474 | cbradney | 1952 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="134"/> |
12918 | cbradney | 1953 | <source>createBezierLine(list, ["name"]) -> string |
1954 | |||
1955 | Creates a new bezier curve and returns its name. The points for the bezier |
||
1956 | curve are stored in the list "list" in the following order: |
||
1957 | [x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn. yn, kxn. kyn] |
||
1958 | In the points list, x and y mean the x and y coordinates of the point and kx |
||
1959 | and ky meaning the control point for the curve. The coordinates are given in |
||
1960 | the current measurement units of the document (see UNIT constants). "name" |
||
1961 | should be a unique identifier for the object because you need this name for |
||
1962 | further access to that object. If "name" is not given Scribus will create one |
||
1963 | for you. |
||
1964 | |||
1965 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1966 | May raise ValueError if an insufficient number of points is passed or if |
||
1967 | the number of values passed don't group into points without leftovers. |
||
1968 | </source> |
||
14474 | cbradney | 1969 | <translation type="unfinished">createBezierLine(liste, ["navn"]) -> streng |
12918 | cbradney | 1970 | |
13499 | cbradney | 1971 | Opretter en ny bezier kurve og returnerer dens navn. Bezier kurvens |
12918 | cbradney | 1972 | punkter er placeret i listen "liste" i følgende orden: |
1973 | [x1, y1, kx1, ky1, x2, y2, kx2, ky2...xn, yn, kxn, kyn]. |
||
1974 | I listen med punkter betyder x og y koordinaterne for punktet og kx og ky er |
||
1975 | kontrolpunktet for kurven. Koordinaterne er givet i dokumentets nuværende |
||
1976 | måle-enhed (se UNIT konstanter). "navn" skal være et unikt navn for objektet, |
||
1977 | fordi du behøver dette navn for yderligere adgang til dette objekt. Hvis "navn" |
||
1978 | ikke er givet, så vil Scribus lave et for dig. |
||
1979 | |||
1980 | Kan rejse NameExistsError hvis du angiver et navn, som allerede er brugt. |
||
1981 | Kan rejse ValueError hvis et utilstrækkeligt antal punkter er angivet eller |
||
1982 | hvis der er nogen tal tilovers. |
||
1983 | </translation> |
||
1984 | </message> |
||
1985 | <message> |
||
14474 | cbradney | 1986 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="155"/> |
12918 | cbradney | 1987 | <source>createPathText(x, y, "textbox", "beziercurve", ["name"]) -> string |
1988 | |||
1989 | Creates a new pathText by merging the two objects "textbox" and |
||
1990 | "beziercurve" and returns its name. The coordinates are given in the current |
||
1991 | measurement unit of the document (see UNIT constants). "name" should be a |
||
1992 | unique identifier for the object because you need this name for further access |
||
1993 | to that object. If "name" is not given Scribus will create one for you. |
||
1994 | |||
1995 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
1996 | May raise NotFoundError if one or both of the named base object don't exist. |
||
1997 | </source> |
||
14474 | cbradney | 1998 | <translation type="unfinished">createPathText(x, y, "tekstboks", "bezierkurve", ["navn"]) -> streng |
12918 | cbradney | 1999 | |
13499 | cbradney | 2000 | Opretter en ny sti-tekst ved at forene de to objekter "tekstboks" og |
12918 | cbradney | 2001 | "bezierkurve" og returnerer dens navn. Koordinaterne er givet i dokumentets |
2002 | nuværende måle-enhed (se UNIT konstanter). "navn" skal være et unikt navn |
||
2003 | for objektet, fordi du behøver dette navn for yderligere adgang til dette objekt. |
||
2004 | Hvis "navn" ikke er givet, så vil Scribus lave et for dig. |
||
2005 | |||
2006 | Kan rejse NameExistsError hvis du angiver et navn, som allerede er brugt. |
||
2007 | Kan rejse NotFoundError hvis en eller begge navngive basis-objekter ikke eksisterer. |
||
2008 | </translation> |
||
2009 | </message> |
||
2010 | <message> |
||
14474 | cbradney | 2011 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="173"/> |
12918 | cbradney | 2012 | <source>deleteObject(["name"]) |
2013 | |||
2014 | Deletes the item with the name "name". If "name" is not given the currently |
||
2015 | selected item is deleted. |
||
2016 | </source> |
||
14474 | cbradney | 2017 | <translation type="unfinished">deleteObject(["navn"]) |
12918 | cbradney | 2018 | |
2019 | Sletter elementet med navnet "navn". Hvis "navn" ikke angives, |
||
2020 | så slettes det markerede element. |
||
2021 | </translation> |
||
2022 | </message> |
||
2023 | <message> |
||
14474 | cbradney | 2024 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="184"/> |
12918 | cbradney | 2025 | <source>textFlowMode("name" [, state]) |
2026 | |||
2027 | Enables/disables "Text Flows Around Frame" feature for object "name". |
||
2028 | Called with parameters string name and optional int "state" (0 <= state <= 3). |
||
2029 | Setting "state" to 0 will disable text flow. |
||
2030 | Setting "state" to 1 will make text flow around object frame. |
||
2031 | Setting "state" to 2 will make text flow around bounding box. |
||
2032 | Setting "state" to 3 will make text flow around contour line. |
||
2033 | If "state" is not passed, text flow is toggled. |
||
2034 | </source> |
||
14474 | cbradney | 2035 | <translation type="unfinished">textFlowMode("navn" [, tilstand]) |
12918 | cbradney | 2036 | |
2037 | Aktiverer/deaktiverer "Tekst flyder omkring ramme" egenskab for objektet "navn". |
||
2038 | Kaldes med parametrene streng "navn" og valgfrit heltal "tilstand" (0 <= tilstand <= 3). |
||
2039 | "Tilstand" sat til 0 vil deaktivere tekst flyder omkring objekt. |
||
2040 | "Tilstand" sat til 1 vil få tekst til at flyde omkring objekt ramme. |
||
2041 | "Tilstand" sat til 2 vil få tekst til at flyde omkring indbindings boks. |
||
2042 | "Tilstand" sat til 3 vil få tekst til at flyde omkring omrids linien. |
||
2043 | Hvis "tilstand" ikke er angivet vil tilstanden blive slået til eller fra. |
||
2044 | </translation> |
||
2045 | </message> |
||
2046 | <message> |
||
14474 | cbradney | 2047 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="206"/> |
12918 | cbradney | 2048 | <source>objectExists(["name"]) -> bool |
2049 | |||
2050 | Test if an object with specified name really exists in the document. |
||
2051 | The optional parameter is the object name. When no object name is given, |
||
2052 | returns True if there is something selected. |
||
2053 | </source> |
||
14474 | cbradney | 2054 | <translation type="unfinished">objectExists(["navn"]) -> bool |
12918 | cbradney | 2055 | |
2056 | Undersøger om et objekt med navnet "navn" virkelig eksisterer i dokumentet. |
||
2057 | Den valgfri paramater er objekt navnet. Hvis "navn" ikke angives, så returneres |
||
2058 | "True" hvis et eller andet er markeret. |
||
2059 | </translation> |
||
2060 | </message> |
||
2061 | <message> |
||
14474 | cbradney | 2062 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="223"/> |
12918 | cbradney | 2063 | <source>setStyle("style" [, "name"]) |
2064 | |||
14474 | cbradney | 2065 | Apply the named "style" to the object named "name". If object name is |
2066 | given, style is applied to the current text selection in object "name". |
||
2067 | If no object name is given, style is applied on selected object. |
||
2068 | </source> |
||
2069 | <translation type="unfinished"></translation> |
||
2070 | </message> |
||
2071 | <message> |
||
2072 | <source>setStyle("style" [, "name"]) |
||
2073 | |||
12918 | cbradney | 2074 | Apply the named "style" to the object named "name". If is no object name |
2075 | given, it's applied on the selected object. |
||
2076 | </source> |
||
14474 | cbradney | 2077 | <translation type="obsolete">setStyle("stil" [, "navn"]) |
12918 | cbradney | 2078 | |
2079 | Anvender stil på objektet "navn". Hvis "navn" ikke angives, så |
||
2080 | anvendes stilen på det markerede objekt. |
||
2081 | </translation> |
||
2082 | </message> |
||
2083 | <message> |
||
14474 | cbradney | 2084 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="238"/> |
12918 | cbradney | 2085 | <source>getAllStyles() -> list |
2086 | |||
2087 | Return a list of the names of all paragraph styles in the current document. |
||
2088 | </source> |
||
14474 | cbradney | 2089 | <translation type="unfinished">getAllStyles() -> liste |
12918 | cbradney | 2090 | |
2091 | Returnerer en liste af navne på alle afsnits-typografier i det aktive dokument. |
||
2092 | </translation> |
||
2093 | </message> |
||
2094 | <message> |
||
14474 | cbradney | 2095 | <location filename="../../../scribus/plugins/scriptplugin/cmdobj.h" line="250"/> |
12918 | cbradney | 2096 | <source>duplicateObject(["name"]) -> string |
2097 | |||
2098 | creates a Duplicate of the selected Object (or Selection Group). |
||
2099 | </source> |
||
14474 | cbradney | 2100 | <translation type="unfinished">duplicateObject(["navn"]) -> string |
12918 | cbradney | 2101 | |
13499 | cbradney | 2102 | Opretter en dublet at det valgte objekt (eller valgt gruppe). |
12918 | cbradney | 2103 | </translation> |
2104 | </message> |
||
2105 | <message> |
||
14474 | cbradney | 2106 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="17"/> |
12918 | cbradney | 2107 | <source>newPage(where [,"masterpage"]) |
2108 | |||
2109 | Creates a new page. If "where" is -1 the new Page is appended to the |
||
2110 | document, otherwise the new page is inserted before "where". Page numbers are |
||
2111 | counted from 1 upwards, no matter what the displayed first page number of your |
||
2112 | document is. The optional parameter "masterpage" specifies the name of the |
||
2113 | master page for the new page. |
||
2114 | |||
2115 | May raise IndexError if the page number is out of range |
||
2116 | </source> |
||
14474 | cbradney | 2117 | <translation type="unfinished">newPage(hvor [,"masterside"]) |
12918 | cbradney | 2118 | |
13499 | cbradney | 2119 | Opretter en ny side. Hvis "hvor" er -1, så tilføjes den nye side i slutningen |
12918 | cbradney | 2120 | af dokumentet, ellers er den ny side indsat før "hvor". Side-numre er |
2121 | talt fra 1 og opefter, lige meget hvad nummer den første side har fået. |
||
2122 | Den valgfri parameter "masterside" angiver navnet på den master side, |
||
2123 | der skal bruges til den nye side. |
||
2124 | |||
2125 | Kan rejse IndexError hvis side-nummer er uden for tilladte værdi |
||
2126 | </translation> |
||
2127 | </message> |
||
2128 | <message> |
||
14474 | cbradney | 2129 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="32"/> |
12918 | cbradney | 2130 | <source>currentPage() -> integer |
2131 | |||
2132 | Returns the number of the current working page. Page numbers are counted from 1 |
||
2133 | upwards, no matter what the displayed first page number of your document is. |
||
2134 | </source> |
||
14474 | cbradney | 2135 | <translation type="unfinished">currentPage() -> integer |
12918 | cbradney | 2136 | |
2137 | Returnerer nummeret på den aktive side. Sidenummeret er talt fra 1 og |
||
2138 | opefter, uanset hvilket sidenummer den første side har fået. |
||
2139 | </translation> |
||
2140 | </message> |
||
2141 | <message> |
||
14474 | cbradney | 2142 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="42"/> |
12918 | cbradney | 2143 | <source>redrawAll() |
2144 | |||
2145 | Redraws all pages. |
||
2146 | </source> |
||
14474 | cbradney | 2147 | <translation type="unfinished">redrawAll() |
12918 | cbradney | 2148 | |
2149 | Gentegner alle sider. |
||
2150 | </translation> |
||
2151 | </message> |
||
2152 | <message> |
||
14474 | cbradney | 2153 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="51"/> |
12918 | cbradney | 2154 | <source>getPageType() -> integer |
2155 | |||
2156 | Returns the type of the Page, 0 means left Page, 1 is a middle Page and 2 is a right Page |
||
2157 | </source> |
||
14474 | cbradney | 2158 | <translation type="unfinished">Returnerer sidens type, 0 betyder venstre side, 1 er en midterside og 2 er en højre side |
12918 | cbradney | 2159 | </translation> |
2160 | </message> |
||
2161 | <message> |
||
14474 | cbradney | 2162 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="60"/> |
12918 | cbradney | 2163 | <source>savePageAsEPS("name") |
2164 | |||
2165 | Saves the current page as an EPS to the file "name". |
||
2166 | |||
2167 | May raise ScribusError if the save failed. |
||
2168 | </source> |
||
14474 | cbradney | 2169 | <translation type="unfinished">savePageAsEPS("navn") |
12918 | cbradney | 2170 | |
2171 | Gemmer den aktive side som en EPS til filen "navn" |
||
2172 | |||
2173 | Kan rejse ScribusError hvis "gem" fejlede. |
||
2174 | </translation> |
||
2175 | </message> |
||
2176 | <message> |
||
14474 | cbradney | 2177 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="71"/> |
12918 | cbradney | 2178 | <source>deletePage(nr) |
2179 | |||
2180 | Deletes the given page. Does nothing if the document contains only one page. |
||
2181 | Page numbers are counted from 1 upwards, no matter what the displayed first |
||
2182 | page number is. |
||
2183 | |||
2184 | May raise IndexError if the page number is out of range |
||
2185 | </source> |
||
14474 | cbradney | 2186 | <translation type="unfinished">deletePage(nr) |
12918 | cbradney | 2187 | |
2188 | Sletter den angivne side. Ingen ting slettes, hvis dokumentet kun indeholder en side. |
||
2189 | Sidenummeret er talt fra 1 og opefter, uanset hvilket sidenummer den første side har fået. |
||
2190 | |||
2191 | Kan rejse IndexError hvis sidenummeret er uden for område |
||
2192 | </translation> |
||
2193 | </message> |
||
2194 | <message> |
||
14474 | cbradney | 2195 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="84"/> |
12918 | cbradney | 2196 | <source>gotoPage(nr) |
2197 | |||
2198 | Moves to the page "nr" (that is, makes the current page "nr"). Note that |
||
2199 | gotoPage doesn't (currently) change the page the user's view is displaying, it |
||
2200 | just sets the page that script commands will operates on. |
||
2201 | |||
2202 | May raise IndexError if the page number is out of range. |
||
2203 | </source> |
||
14474 | cbradney | 2204 | <translation type="unfinished">gotoPage(nr) |
13499 | cbradney | 2205 | |
2206 | Flytter til siden "nr" (d.v.s. laver siden "nr" til den aktive). bemærk at |
||
2207 | gotoPage ændrer ikke (lige nu) den side som brugeren ser, den vælger |
||
2208 | kun den side, som script-kommandoer opererer på. |
||
2209 | |||
2210 | Kan rejse IndexError hvis sidenummeret er uden for område. |
||
2211 | </translation> |
||
12918 | cbradney | 2212 | </message> |
2213 | <message> |
||
14474 | cbradney | 2214 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="97"/> |
12918 | cbradney | 2215 | <source>pageCount() -> integer |
2216 | |||
2217 | Returns the number of pages in the document. |
||
2218 | </source> |
||
14474 | cbradney | 2219 | <translation type="unfinished">pageCount() -> integer |
12918 | cbradney | 2220 | |
2221 | Returnerer antal sider i dokumentet. |
||
2222 | </translation> |
||
2223 | </message> |
||
2224 | <message> |
||
14474 | cbradney | 2225 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="106"/> |
12918 | cbradney | 2226 | <source>getHGuides() -> list |
2227 | |||
2228 | Returns a list containing positions of the horizontal guides. Values are in the |
||
2229 | document's current units - see UNIT_<type> constants. |
||
2230 | </source> |
||
14474 | cbradney | 2231 | <translation type="unfinished">getHGuides() -> liste |
12918 | cbradney | 2232 | |
2233 | Returnerer en liste med positionerne for de horisontale hjælpelinier. Værdierne er |
||
2234 | angivet i den aktuelle måle-enhed for dokumentet - se UNIT_<type> konstanter. |
||
2235 | </translation> |
||
2236 | </message> |
||
2237 | <message> |
||
14474 | cbradney | 2238 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="116"/> |
12918 | cbradney | 2239 | <source>setHGuides(list) |
2240 | |||
2241 | Sets horizontal guides. Input parameter must be a list of guide positions |
||
2242 | measured in the current document units - see UNIT_<type> constants. |
||
2243 | |||
2244 | Example: setHGuides(getHGuides() + [200.0, 210.0] # add new guides without any lost |
||
2245 | setHGuides([90,250]) # replace current guides entirely |
||
2246 | </source> |
||
14474 | cbradney | 2247 | <translation type="unfinished">setHGuides(liste) |
12918 | cbradney | 2248 | |
2249 | Sætter horisontale hjælpelinier. Input-parameter skal være en liste med hlælpeliniernes |
||
2250 | placeringer angivet i den aktuelle måle-enhed for dokumentet - se UNIT_<type> konstanter. |
||
2251 | |||
2252 | Eksempel: setHGuides(getHGuides() + [200.0, 210.0] # tilføjer ny hjælpelinie uden nogen mistet |
||
2253 | setHGuides([90,250]) # Erstatter nuværende hjælpelinier fuldstændigt |
||
2254 | </translation> |
||
2255 | </message> |
||
2256 | <message> |
||
14474 | cbradney | 2257 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="129"/> |
12918 | cbradney | 2258 | <source>getVGuides() |
2259 | |||
2260 | See getHGuides. |
||
2261 | </source> |
||
14474 | cbradney | 2262 | <translation type="unfinished">getVGuides() |
12918 | cbradney | 2263 | |
2264 | Se getHGuides. |
||
2265 | </translation> |
||
2266 | </message> |
||
2267 | <message> |
||
14474 | cbradney | 2268 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="138"/> |
12918 | cbradney | 2269 | <source>setVGuides() |
2270 | |||
2271 | See setHGuides. |
||
2272 | </source> |
||
14474 | cbradney | 2273 | <translation type="unfinished">setVGuides() |
12918 | cbradney | 2274 | |
2275 | Se setHGuides. |
||
2276 | </translation> |
||
2277 | </message> |
||
2278 | <message> |
||
14474 | cbradney | 2279 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="147"/> |
12918 | cbradney | 2280 | <source>getPageSize() -> tuple |
2281 | |||
2282 | Returns a tuple with page dimensions measured in the document's current units. |
||
2283 | See UNIT_<type> constants and getPageMargins() |
||
2284 | </source> |
||
14474 | cbradney | 2285 | <translation type="unfinished">getPageSize() -> tuple |
12918 | cbradney | 2286 | |
2287 | Returnerer en tuple med side-dimensioner målt i dokumentets aktuelle måle-enhed. |
||
2288 | Se UNIT_<type> konstanter og getPageMargins() |
||
2289 | </translation> |
||
2290 | </message> |
||
2291 | <message> |
||
14474 | cbradney | 2292 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="161"/> |
2293 | <source>getPageNSize() -> tuple |
||
2294 | |||
2295 | Returns a tuple with a particular page's size measured in the document's current units. |
||
2296 | See UNIT_<type> constants and getPageMargins() |
||
2297 | </source> |
||
2298 | <translation type="unfinished"></translation> |
||
2299 | </message> |
||
2300 | <message> |
||
2301 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="174"/> |
||
2302 | <source>getPageNMargins() -> tuple |
||
2303 | |||
2304 | Returns a tuple with a particular page's margins 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="187"/> |
||
12918 | cbradney | 2311 | <source>getPageItems() -> list |
2312 | |||
2313 | Returns a list of tuples with items on the current page. The tuple is: |
||
2314 | (name, objectType, order) E.g. [('Text1', 4, 0), ('Image1', 2, 1)] |
||
2315 | means that object named 'Text1' is a text frame (type 4) and is the first at |
||
2316 | the page... |
||
2317 | </source> |
||
14474 | cbradney | 2318 | <translation type="unfinished">getPageItems() -> liste |
12918 | cbradney | 2319 | |
2320 | Returnerer en liste af tupler med elementer på den aktive side. Tuplen er: |
||
2321 | (navn, objekt-type, orden) F.eks. [('Tekst1', 4, 0), ('Billed1', 2, 1)]. |
||
2322 | Det betyder objektet 'Tekst1' er en tekst-ramme (type 4) og er den |
||
2323 | første på siden... |
||
2324 | </translation> |
||
2325 | </message> |
||
2326 | <message> |
||
14474 | cbradney | 2327 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="203"/> |
12918 | cbradney | 2328 | <source>getPageMargins() |
2329 | |||
2330 | Returns the page margins as a (top, left, right, bottom) tuple in the current |
||
2331 | units. See UNIT_<type> constants and getPageSize(). |
||
2332 | </source> |
||
14474 | cbradney | 2333 | <translation type="unfinished">getPageMargins() |
12918 | cbradney | 2334 | |
2335 | Returnerer side margener som en (top, venstre, højre, bund) tuple i dokumentets |
||
2336 | aktuelle måle-enhed. Se UNIT_<type> konstanter og getPageSize(). |
||
2337 | </translation> |
||
2338 | </message> |
||
2339 | <message> |
||
14474 | cbradney | 2340 | <location filename="../../../scribus/plugins/scriptplugin/cmdpage.h" line="216"/> |
12918 | cbradney | 2341 | <source>importPage("fromDoc", (pageList), [create, imortwhere, importwherePage]) |
2342 | |||
2343 | 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. |
||
2344 | fromDoc: string; the filename of the document to import pages from |
||
2345 | pageList: tuple with page numbers of pages to import |
||
2346 | create: number; 0 to replace existing pages, 1 (default) to insert new pages |
||
2347 | importWhere: number; the page number (of the current document) at which import the pages |
||
2348 | 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 |
||
2349 | </source> |
||
14474 | cbradney | 2350 | <translation type="unfinished">importPage("fraDok", (sideListe), [lav, importhvor, importhvorSide]) |
13499 | cbradney | 2351 | |
2352 | Importerer et antal sider (angivet som en tuple) fra et eksisterende dokument (filnavn skal angives). Denne funktion svarer til "Side>Import" rullemenu funktionen. |
||
2353 | fraDok: streng; filnavnet på dokumentet, hvorfra der skal importeres sider |
||
2354 | sideListe: tuple med sidenumre på sider der skal importeres |
||
2355 | lav: nummer; 0 for at erstatte ekisterende sider, 1 (standardværdi) for at indsætte nye sider |
||
2356 | importhvor: nummer; sidenummeret (i aktive dokument) hvortil siderne skal importeres |
||
2357 | 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 |
||
2358 | sider i slutningen af dokumentet |
||
2359 | </translation> |
||
12918 | cbradney | 2360 | </message> |
2361 | <message> |
||
14474 | cbradney | 2362 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="17"/> |
1135 | cbradney | 2363 | <source>setGradientFill(type, "color1", shade1, "color2", shade2, ["name"]) |
2364 | |||
2365 | Sets the gradient fill of the object "name" to type. Color descriptions are |
||
2366 | the same as for setFillColor() and setFillShade(). See the constants for |
||
2367 | available types (FILL_<type>). |
||
2368 | </source> |
||
14474 | cbradney | 2369 | <translation type="unfinished">setGradientFill(type, "farve1", mætning1, "farve2", mætning2, ["navn"]) |
1135 | cbradney | 2370 | |
13499 | cbradney | 2371 | Sætter gradient-fyld på objektet "navn" til type. Farvebeskrivelsen er |
1135 | cbradney | 2372 | den samme, som for setFillColor() og setFillShade(). Se konstanterne |
2373 | for mulige typer (FILL_<type>). |
||
2374 | </translation> |
||
2375 | </message> |
||
2376 | <message> |
||
14474 | cbradney | 2377 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="39"/> |
12918 | cbradney | 2378 | <source>setFillColor("color", ["name"]) |
2379 | |||
2380 | Sets the fill color of the object "name" to the color "color". "color" |
||
2381 | is the name of one of the defined colors. If "name" is not given the |
||
2382 | currently selected item is used. |
||
2383 | </source> |
||
14474 | cbradney | 2384 | <translation type="unfinished">setFillColor("farve", ["navn"]) |
12918 | cbradney | 2385 | |
2386 | Sætter fyld-farven på objektet "navn" til farven "farve". "farve" |
||
2387 | er navnet på en af de definerede farver. Hvis "navn" ikke angives, så |
||
2388 | bruges det markerede element. |
||
2389 | </translation> |
||
2390 | </message> |
||
2391 | <message> |
||
14474 | cbradney | 2392 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="50"/> |
12918 | cbradney | 2393 | <source>setFillTransparency(transparency, ["name"]) |
2394 | |||
2395 | Sets the fill transparency of the object "name" to transparency |
||
2396 | If "name" is not given the currently selected item is used. |
||
2397 | </source> |
||
14474 | cbradney | 2398 | <translation type="unfinished">setFillTransparency(gennemsigtighed, ["navn"]) |
12918 | cbradney | 2399 | |
13499 | cbradney | 2400 | Sætter fyld-gennemsigtigheden på objektet "navn" til gennemsigtighed |
12918 | cbradney | 2401 | Hvis "navn" ikke angives, så bruges det markerede element. |
2402 | </translation> |
||
2403 | </message> |
||
2404 | <message> |
||
14474 | cbradney | 2405 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="60"/> |
12918 | cbradney | 2406 | <source>setFillBlendmode(blendmode, ["name"]) |
2407 | |||
2408 | Sets the fill blendmode of the object "name" to blendmode |
||
2409 | If "name" is not given the currently selected item is used. |
||
2410 | </source> |
||
14474 | cbradney | 2411 | <translation type="unfinished">setFillBlendmode(blandingstilstand, ["navn"]) |
12918 | cbradney | 2412 | |
13499 | cbradney | 2413 | Sætter fyld-blandings-tilstanden på objektet "navn" til blandingstilstand |
12918 | cbradney | 2414 | Hvis "navn" ikke angives, så bruges det markerede element. |
2415 | </translation> |
||
2416 | </message> |
||
2417 | <message> |
||
14474 | cbradney | 2418 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="70"/> |
12918 | cbradney | 2419 | <source>setLineColor("color", ["name"]) |
2420 | |||
2421 | Sets the line color of the object "name" to the color "color". If "name" |
||
2422 | is not given the currently selected item is used. |
||
2423 | </source> |
||
14474 | cbradney | 2424 | <translation type="unfinished">setLineColor("farve", ["navn"]) |
12918 | cbradney | 2425 | |
2426 | Sætter linie-farven på objektet "navn" til farven "farve". "farve" |
||
2427 | er navnet på en af de definerede farver. Hvis "navn" ikke angives, så |
||
2428 | bruges det markerede element. |
||
2429 | </translation> |
||
2430 | </message> |
||
2431 | <message> |
||
14474 | cbradney | 2432 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="80"/> |
12918 | cbradney | 2433 | <source>setLineTransparency(transparency, ["name"]) |
2434 | |||
2435 | Sets the line transparency of the object "name" to transparency |
||
2436 | If "name" is not given the currently selected item is used. |
||
2437 | </source> |
||
14474 | cbradney | 2438 | <translation type="unfinished">setLineTransparency(gennemsigtighed, ["navn"]) |
12918 | cbradney | 2439 | |
13499 | cbradney | 2440 | Sætter linie-gennemsigtigheden på objektet "navn" til gennemsigtighed |
12918 | cbradney | 2441 | Hvis "navn" ikke angives, så bruges det markerede element. |
2442 | </translation> |
||
2443 | </message> |
||
2444 | <message> |
||
14474 | cbradney | 2445 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="90"/> |
12918 | cbradney | 2446 | <source>setLineBlendmode(blendmode, ["name"]) |
2447 | |||
2448 | Sets the line blendmode of the object "name" to blendmode |
||
2449 | If "name" is not given the currently selected item is used. |
||
2450 | </source> |
||
14474 | cbradney | 2451 | <translation type="unfinished">setLineBlendmode(blandingstilstand, ["navn"]) |
12918 | cbradney | 2452 | |
13499 | cbradney | 2453 | Sætter linieblandings-tilstanden på objektet "navn" til blandingstilstand |
12918 | cbradney | 2454 | Hvis "navn" ikke angives, så bruges det markerede element.</translation> |
2455 | </message> |
||
2456 | <message> |
||
14474 | cbradney | 2457 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="100"/> |
12918 | cbradney | 2458 | <source>setLineWidth(width, ["name"]) |
2459 | |||
2460 | Sets line width of the object "name" to "width". "width" must be in the |
||
2461 | range from 0.0 to 12.0 inclusive, and is measured in points. If "name" is not |
||
2462 | given the currently selected item is used. |
||
2463 | |||
2464 | May raise ValueError if the line width is out of bounds. |
||
2465 | </source> |
||
14474 | cbradney | 2466 | <translation type="unfinished">setLineWidth(bredde, ["navn"]) |
12918 | cbradney | 2467 | |
2468 | Sætter linie-bredden på objektet "navn" til "bredde". "bredde" skal være i |
||
2469 | området fra 0.0 til 12.0 inklusivt, og er angivet i punkter. Hvis "navn" ikke |
||
2470 | angives, så bruges det markerede element. |
||
2471 | </translation> |
||
2472 | </message> |
||
2473 | <message> |
||
14474 | cbradney | 2474 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="113"/> |
12918 | cbradney | 2475 | <source>setLineShade(shade, ["name"]) |
2476 | |||
2477 | Sets the shading of the line color of the object "name" to "shade". |
||
2478 | "shade" must be an integer value in the range from 0 (lightest) to 100 |
||
2479 | (full color intensity). If "name" is not given the currently selected item |
||
2480 | is used. |
||
2481 | |||
2482 | May raise ValueError if the line shade is out of bounds. |
||
2483 | </source> |
||
14474 | cbradney | 2484 | <translation type="unfinished">setLineShade(farvemætning, ["navn"]) -> integer |
12918 | cbradney | 2485 | |
2486 | Sætter farvemætningen på linie-farven på objektet "navn" til "farvemætning". |
||
2487 | "farvemætning" skal være en integer værdi i området fra 0 (lysest) til 100 |
||
2488 | (fuld farvemætning). Hvis "navn" ikke angives, så bruges det markerede element. |
||
2489 | |||
2490 | Kan rejse ValueError hvis farvemætningen er uden for tilladte område. |
||
2491 | </translation> |
||
2492 | </message> |
||
2493 | <message> |
||
14474 | cbradney | 2494 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="127"/> |
12918 | cbradney | 2495 | <source>setLineJoin(join, ["name"]) |
2496 | |||
2497 | Sets the line join style of the object "name" to the style "join". |
||
2498 | If "name" is not given the currently selected item is used. There are |
||
2499 | predefined constants for join - JOIN_<type>. |
||
2500 | </source> |
||
14474 | cbradney | 2501 | <translation type="unfinished">setLineJoin(samling, ["navn"]) |
12918 | cbradney | 2502 | |
2503 | Sætter typen af liniesamling på objektet "navn" til typen "samling". |
||
2504 | Hvis "navn" ikke angives, så bruges det markerede element. Der er |
||
2505 | predefinerede konstanter for samlingen - JOIN_<type>. |
||
2506 | </translation> |
||
2507 | </message> |
||
2508 | <message> |
||
14474 | cbradney | 2509 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="138"/> |
12918 | cbradney | 2510 | <source>setLineEnd(endtype, ["name"]) |
2511 | |||
2512 | Sets the line cap style of the object "name" to the style "cap". |
||
2513 | If "name" is not given the currently selected item is used. There are |
||
2514 | predefined constants for "cap" - CAP_<type>. |
||
2515 | </source> |
||
14474 | cbradney | 2516 | <translation type="unfinished">setLineEnd(endetype, ["navn"]) |
12918 | cbradney | 2517 | |
2518 | Sætter typen af linieende på objektet "navn" til typen "endetype" . |
||
2519 | Hvis "navn" ikke angives, så bruges det markerede element. Der er |
||
2520 | predefinerede konstanter for endetyperne - CAP_<type>. |
||
2521 | </translation> |
||
2522 | </message> |
||
2523 | <message> |
||
14474 | cbradney | 2524 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="149"/> |
12918 | cbradney | 2525 | <source>setLineStyle(style, ["name"]) |
2526 | |||
2527 | Sets the line style of the object "name" to the style "style". If "name" |
||
2528 | is not given the currently selected item is used. There are predefined |
||
2529 | constants for "style" - LINE_<style>. |
||
2530 | </source> |
||
14474 | cbradney | 2531 | <translation type="unfinished">setLineStyle(stil, ["navn"]) |
12918 | cbradney | 2532 | |
2533 | Sætter linie-stil for objektet "navn" til stilen "stil". Hvis "navn" ikke |
||
2534 | angives, så bruges det markerede element. Der er predefinerede |
||
2535 | konstanter for "stil" - LINE_<type>. |
||
2536 | </translation> |
||
2537 | </message> |
||
2538 | <message> |
||
14474 | cbradney | 2539 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="160"/> |
12918 | cbradney | 2540 | <source>setFillShade(shade, ["name"]) |
2541 | |||
2542 | Sets the shading of the fill color of the object "name" to "shade". |
||
2543 | "shade" must be an integer value in the range from 0 (lightest) to 100 |
||
2544 | (full Color intensity). If "name" is not given the currently selected |
||
2545 | Item is used. |
||
2546 | |||
2547 | May raise ValueError if the fill shade is out of bounds. |
||
2548 | </source> |
||
14474 | cbradney | 2549 | <translation type="unfinished">setFillShade(farvemætning, ["navn"]) |
12918 | cbradney | 2550 | |
2551 | Sætter farvemætningen på fyld-farven på objektet "navn" til "farvemætning". |
||
2552 | "farvemætning" skal være en integer værdi i området fra 0 (lysest) til 100 |
||
2553 | (fuld farvemætning). Hvis "navn" ikke angives, så bruges det markerede element. |
||
2554 | |||
2555 | Kan rejse ValueError hvis farvemætningen er uden for tilladte område. |
||
2556 | </translation> |
||
2557 | </message> |
||
2558 | <message> |
||
14474 | cbradney | 2559 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="174"/> |
12918 | cbradney | 2560 | <source>setCornerRadius(radius, ["name"]) |
2561 | |||
2562 | Sets the corner radius of the object "name". The radius is expressed |
||
2563 | in points. If "name" is not given the currently selected item is used. |
||
2564 | |||
2565 | May raise ValueError if the corner radius is negative. |
||
2566 | </source> |
||
14474 | cbradney | 2567 | <translation type="unfinished">setCornerRadius(radius, ["navn"]) |
12918 | cbradney | 2568 | |
2569 | Sætter radius på hjørnerne på objektet "navn". Radius er udtrykt |
||
2570 | i punkter. Hvis "navn" ikke angives, så bruges det markerede element. |
||
2571 | |||
2572 | Kan rejse ValueError hvis hjørne-radius er negativ. |
||
2573 | </translation> |
||
2574 | </message> |
||
2575 | <message> |
||
14474 | cbradney | 2576 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="186"/> |
12918 | cbradney | 2577 | <source>setMultiLine("namedStyle", ["name"]) |
2578 | |||
2579 | Sets the line style of the object "name" to the named style "namedStyle". |
||
2580 | If "name" is not given the currently selected item is used. |
||
2581 | |||
2582 | May raise NotFoundError if the line style doesn't exist. |
||
2583 | </source> |
||
14474 | cbradney | 2584 | <translation type="unfinished">setMultiLine("navngivetStil", ["navn"]) |
12918 | cbradney | 2585 | |
2586 | sætter linie-stil på objektet "navn" til navngivet stil "navngivetStil". |
||
2587 | Hvis "navn" ikke angives, så bruges det markerede element. |
||
2588 | |||
2589 | Kan rejse NotFoundError hvis linie-stilen ikke eksisterer. |
||
2590 | </translation> |
||
2591 | </message> |
||
2592 | <message> |
||
14474 | cbradney | 2593 | <location filename="../../../scribus/plugins/scriptplugin/cmdstyle.h" line="22"/> |
12918 | cbradney | 2594 | <source>createParagraphStyle(...) |
2595 | |||
2596 | Creates a paragraph style. This function takes the following keyword parameters: |
||
2597 | |||
2598 | "name" [required] -> specifies the name of the paragraphstyle to create |
||
2599 | |||
2600 | linespacingmode [optional] -> specifies the linespacing mode; possible modes are: |
||
2601 | |||
2602 | fixed linespacing: 0 |
||
2603 | |||
2604 | automatic linespacing: 1 |
||
2605 | |||
2606 | baseline grid linespacing: 2 |
||
2607 | |||
2608 | linespacing [optional] -> specifies the linespacing if using fixed linespacing |
||
2609 | |||
2610 | alignment [optional] -> specifies the alignment of the paragraph |
||
2611 | |||
2612 | -> left: 0 |
||
2613 | |||
2614 | -> center: 1 |
||
2615 | |||
2616 | -> right: 2 |
||
2617 | |||
2618 | -> justify: 3 |
||
2619 | |||
2620 | -> extend: 4 |
||
2621 | |||
2622 | leftmargin [optional], rightmargin [optional] -> specify the margin |
||
2623 | |||
2624 | gapbefore [optional], gapafter [optional] -> specify the gaps to the heading and following paragraphs |
||
2625 | |||
2626 | firstindent [optional] -> the indent of the first line |
||
2627 | |||
2628 | hasdropcap [optional] -> specifies if there are caps (1 = yes, 0 = no) |
||
2629 | |||
2630 | dropcaplines [optional] -> height (in lines) of the caps if used |
||
2631 | |||
2632 | dropcapoffset [optional] -> offset of the caps if used |
||
2633 | |||
2634 | "charstyle" [optional] -> char style to use |
||
2635 | |||
2636 | </source> |
||
14474 | cbradney | 2637 | <translation type="unfinished">createParagraphStyle(...) |
13499 | cbradney | 2638 |  |
2639 | Opretter en afsnits-typografi: Denne funktion tager følgende nøgleords parametre: |
||
2640 | |||
2641 | "navn" [påkrævet] -> angiver navnet på afsnits-typografien, der skal laves |
||
2642 | |||
2643 | linieafstands-tilstand [valgfrit] -> angiver linieafstands-tilstanden, mulige tilstande er: |
||
2644 | |||
2645 | fast linieafstand: 0 |
||
2646 |  |
||
2647 | automatisk linieafstand: 1 |
||
2648 |  |
||
2649 | grundlinie gitter linieafstand: 2 |
||
2650 |  |
||
2651 | linieafstand [valgfrit] -> angiver linieafstanden hvis der bruges fast linieafstand |
||
2652 | |||
2653 | justering [valgfrit] -> angiver justering af afsnittet |
||
2654 | |||
2655 | -> venstre: 0 |
||
2656 | |||
2657 | -> centrer: 1 |
||
2658 | |||
2659 | -> højre: 2 |
||
2660 |  |
||
2661 | -> udslutte: 3 |
||
2662 | |||
2663 | -> udvid: 4 |
||
2664 | |||
2665 | venstremargen [valgfrit], højremargen [valgfrit] -> angiver margen |
||
2666 | |||
2667 | afstandfør [valgfrit], afstandefter [valgfrit] -> angiver afstanden til det forrige og efterfølgende afsnit |
||
2668 | |||
2669 | førsteindrykning [valgfri] -> indrykningen af den første linie |
||
2670 | |||
2671 | haruncial [valgfrit] -> angiver om der er unicialer (1 = ja, 0 = nej) |
||
2672 | |||
2673 | uniciallinier [valgfrit] -> højde (i linier) af unicialerne hvis de er brugt |
||
2674 | |||
2675 | unicialforskydning [valgfrit] -> forskydning af unicialerne hvis de er brugt |
||
2676 | |||
2677 | "tegnstil" [valgfrit] -> tegnstil der skal bruges |
||
2678 | |||
2679 | </translation> |
||
12918 | cbradney | 2680 | </message> |
2681 | <message> |
||
14474 | cbradney | 2682 | <location filename="../../../scribus/plugins/scriptplugin/cmdstyle.h" line="52"/> |
12918 | cbradney | 2683 | <source>createCharStyle(...) |
2684 | |||
2685 | Creates a character style. This function takes the following keyword parameters: |
||
2686 | |||
2687 | "name" [required] -> name of the char style to create |
||
2688 | |||
2689 | "font" [optional] -> name of the font to use |
||
2690 | |||
2691 | fontsize [optional] -> font size to set (double) |
||
2692 | |||
2693 | "features" [optional] -> nearer typographic details can be defined by a string that might contain the following phrases comma-seperated (without spaces!): |
||
2694 | |||
2695 | -> inherit |
||
2696 | |||
2697 | -> bold |
||
2698 | |||
2699 | -> italic |
||
2700 | |||
2701 | -> underline |
||
2702 | |||
2703 | -> underlinewords |
||
2704 | |||
2705 | -> strike |
||
2706 | |||
2707 | -> superscript |
||
2708 | |||
2709 | -> subscript |
||
2710 | |||
2711 | -> outline |
||
2712 | |||
2713 | -> shadowed |
||
2714 | |||
2715 | -> allcaps |
||
2716 | |||
2717 | -> smallcaps |
||
2718 | |||
2719 | "fillcolor" [optional], "fillshade" [optional] -> specify fill options |
||
2720 | |||
2721 | "strokecolor" [optional], "strokeshade" [optional] -> specify stroke options |
||
2722 | |||
2723 | baselineoffset [optional] -> offset of the baseline |
||
2724 | |||
2725 | shadowxoffset [optional], shadowyoffset [optional] -> offset of the shadow if used |
||
2726 | |||
2727 | outlinewidth [optional] -> width of the outline if used |
||
2728 | |||
2729 | underlineoffset [optional], underlinewidth [optional] -> underline options if used |
||
2730 | |||
2731 | strikethruoffset [optional], strikethruwidth [optional] -> strikethru options if used |
||
2732 | |||
2733 | scaleh [optional], scalev [optional] -> scale of the chars |
||
2734 | |||
2735 | tracking [optional] -> tracking of the text |
||
2736 | |||
2737 | "language" [optional] -> language code |
||
2738 | |||
2739 | </source> |
||
14474 | cbradney | 2740 | <translation type="unfinished">createCharStyle(...) |
13499 | cbradney | 2741 | |
2742 | Opretter en tegn-typografi: Denne funktion tager følgende nøgleords parametre: |
||
2743 | |||
2744 | "navn" [påkrævet] -> angiver navnet på tegn-typografien, der skal laves |
||
2745 |  |
||
2746 | "font" [valgfrit] -> navn på fonten der skal bruges |
||
2747 | |||
2748 | fontstørrelse[valgfrit] -> fontstørrelse der skal sættes (double) |
||
2749 | |||
2750 | "egenskaber" [valgfrit] -> nærmere typografiske detaljer kan defineres med en streng, som kunne indholde følgende comma-separerede ord (uden mellemrum!): |
||
2751 | |||
2752 | -> inherit |
||
2753 | |||
2754 | -> bold |
||
2755 | |||
2756 | -> italic |
||
2757 | |||
2758 | -> underline |
||
2759 | |||
2760 | -> underlinewords |
||
2761 | |||
2762 | -> strike |
||
2763 | |||
2764 | -> superscript |
||
2765 | |||
2766 | -> subscript |
||
2767 | |||
2768 | -> outline |
||
2769 | |||
2770 | -> shadowed |
||
2771 | |||
2772 | -> allcaps |
||
2773 | |||
2774 | -> smallcaps |
||
2775 | |||
2776 | "fyldfarve" [valgfrit], "fyldskygge" [valgfrit] -> angiver fyld tilvalg |
||
2777 |  |
||
2778 | "stregfarve" [valgfrit], "streg-farvemætning" [valgfrit] -> angiver streg tilvalg |
||
2779 | |||
2780 | grundlinieforskydning [valgfrit] -> forskydning af grundlinien |
||
2781 | |||
2782 | skygge-xforskydning [valgfrit], skygge-yforskydning [valgfrit] -> forskydning af skyggen hvis den bruges |
||
2783 | |||
2784 | omridsbredde [valgfrit] -> bredde af tegnomrids hvis det bruges |
||
2785 | |||
2786 | understreg-forskydning [valgfrit], understreg-bredde [valgfrit] -> understreg tilvalg hvis det bruges |
||
2787 | |||
2788 | overstreg-forskydning [valgfrit], overstreg-bredde [valgfrit] -> overstreg tilvalg hvis det bruges |
||
2789 | |||
2790 | skaleh [valgfrit], skalev [valgfrit] -> skalering af tegnene |
||
2791 | |||
2792 | spatiering [valgfrit] -> spatiering af teksten |
||
2793 | |||
2794 | "sprog" [valgfrit] -> sprog kode |
||
2795 | |||
2796 | </translation> |
||
12918 | cbradney | 2797 | </message> |
2798 | <message> |
||
14474 | cbradney | 2799 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="17"/> |
1135 | cbradney | 2800 | <source>getFontSize(["name"]) -> float |
2801 | |||
2802 | Returns the font size in points for the text frame "name". If this text |
||
2803 | frame has some text selected the value assigned to the first character of |
||
2804 | the selection is returned. |
||
2805 | If "name" is not given the currently selected item is used. |
||
2806 | </source> |
||
14474 | cbradney | 2807 | <translation type="unfinished">getFontSize(["navn"]) -> komma-tal |
1135 | cbradney | 2808 | |
2782 | cbradney | 2809 | Returnerer font-størrelsen i punkter for tekst-ramme "navn". Hvis |
2810 | denne tekst-ramme har noget tekst markeret, så returneres værdien |
||
2811 | af det første tegn i den markerede tekst. |
||
1135 | cbradney | 2812 | Hvis "navn" ikke angives, så bruges det aktive element. |
2813 | </translation> |
||
2814 | </message> |
||
2815 | <message> |
||
14474 | cbradney | 2816 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="29"/> |
12918 | cbradney | 2817 | <source>getFont(["name"]) -> string |
2818 | |||
2819 | Returns the font name for the text frame "name". If this text frame |
||
2820 | has some text selected the value assigned to the first character |
||
2821 | of the selection is returned. If "name" is not given the currently |
||
2822 | selected item is used. |
||
2823 | </source> |
||
14474 | cbradney | 2824 | <translation type="unfinished">getFont(["navn"]) -> streng |
12918 | cbradney | 2825 | |
2826 | Returnerer font-navnet for tekst-rammen "navn". Hvis denne tekst-ramme |
||
2827 | har noget tekst markeret, så returneres værdien af det første tegn i den |
||
2828 | markerede tekst. Hvis "navn" ikke er givet, så bruges det markerede element. |
||
2829 | </translation> |
||
2830 | </message> |
||
2831 | <message> |
||
14474 | cbradney | 2832 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="41"/> |
12918 | cbradney | 2833 | <source>getTextLength(["name"]) -> integer |
2834 | |||
2835 | Returns the length of the text in the text frame "name". |
||
2836 | If "name" is not given the currently selected item is used. |
||
2837 | </source> |
||
14474 | cbradney | 2838 | <translation type="unfinished">getTextLength(["navn"]) -> integer |
12918 | cbradney | 2839 | |
2840 | Returnerer længden på teksten i tekst-rammen "navn". |
||
2841 | Hvis "navn" ikke er givet, så bruges det markerede element. |
||
2842 | </translation> |
||
2843 | </message> |
||
2844 | <message> |
||
14474 | cbradney | 2845 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="51"/> |
12918 | cbradney | 2846 | <source>getTextLines(["name"]) -> integer |
2847 | |||
2848 | Returns the number of lines of the text in the text frame "name". |
||
2849 | If "name" is not given the currently selected item is used. |
||
2850 | </source> |
||
14474 | cbradney | 2851 | <translation type="unfinished">getTextLines(["navn"]) -> heltal |
12918 | cbradney | 2852 | |
2853 | Returnerer antal tekst-linier i tekst-rammen "navn". |
||
2854 | Hvis "navn" ikke angives, så bruges det markerede element. |
||
2855 | </translation> |
||
2856 | </message> |
||
2857 | <message> |
||
14474 | cbradney | 2858 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="61"/> |
12918 | cbradney | 2859 | <source>getText(["name"]) -> string |
2860 | |||
2861 | Returns the text of the text frame "name". If this text frame has some text |
||
2862 | selected, the selected text is returned. All text in the frame, not just |
||
2863 | currently visible text, is returned. If "name" is not given the currently |
||
2864 | selected item is used. |
||
2865 | </source> |
||
14474 | cbradney | 2866 | <translation type="unfinished">getText(["navn"]) -> streng |
12918 | cbradney | 2867 | |
2868 | Returnerer teksten fra tekst-rammen "navn". Hvis denne tekst-ramme har |
||
2869 | noget tekst markeret, så returneres den markerede tekst. Al tekst i rammen, |
||
2870 | ikke kun det der lige nu ses, returneres. Hvis "navn" ikke er givet, så bruges |
||
2871 | det markerede element. |
||
2872 | </translation> |
||
2873 | </message> |
||
2874 | <message> |
||
14474 | cbradney | 2875 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="73"/> |
12918 | cbradney | 2876 | <source>getAllText(["name"]) -> string |
2877 | |||
2878 | Returns the text of the text frame "name" and of all text frames which are |
||
2879 | linked with this frame. If this textframe has some text selected, the selected |
||
2880 | text is returned. If "name" is not given the currently selected item is |
||
2881 | used. |
||
2882 | </source> |
||
14474 | cbradney | 2883 | <translation type="unfinished">getAllText(["navn"]) -> streng |
12918 | cbradney | 2884 | |
2885 | Returnerer teksten fra tekst-rammen "navn" og alle tekst-rammer, som er lænket |
||
2886 | med denne ramme. Hvis denne tekst-ramme har noget tekst markeret, så returneres |
||
2887 | den markerede tekst. Hvis "navn" ikke er givet, så bruges det markerede element. |
||
2888 | </translation> |
||
2889 | </message> |
||
2890 | <message> |
||
14474 | cbradney | 2891 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="85"/> |
12918 | cbradney | 2892 | <source>getLineSpacing(["name"]) -> float |
2893 | |||
2894 | Returns the line spacing ("leading") of the text frame "name" expressed in |
||
2895 | points. If "name" is not given the currently selected item is used. |
||
2896 | </source> |
||
14474 | cbradney | 2897 | <translation type="unfinished">getLineSpacing(["navn"]) -> komma-tal |
12918 | cbradney | 2898 | |
2899 | Returnerer linie-afstanden ("leading") i tekst-rammen "navn" udtrykt i punkter. |
||
2900 | Hvis "navn" ikke er givet, så bruges det markerede element. |
||
2901 | </translation> |
||
2902 | </message> |
||
2903 | <message> |
||
14474 | cbradney | 2904 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="95"/> |
12918 | cbradney | 2905 | <source>getTextDistances(["name"]) -> tuple |
2906 | |||
2907 | Returns the text distances of the text frame "name" expressed in points. The |
||
2908 | distances are returned as a tuple like (left, right, top, bottom). If "name" |
||
2909 | is not given the currently selected item is used. |
||
2910 | </source> |
||
14474 | cbradney | 2911 | <translation type="unfinished"> |
13499 | cbradney | 2912 | vn |
2913 | |||
2914 | Returnerer tekst-afstandene på tekst-rammen "navn" udtrykt i punkter. |
||
2915 | Afstandene returneres som en tuple som (venstre, højre, top bund). Hvis "navn" |
||
2916 | ikke er givet, så bruges det markerede element. |
||
2917 | </translation> |
||
12918 | cbradney | 2918 | </message> |
2919 | <message> |
||
14474 | cbradney | 2920 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="106"/> |
12918 | cbradney | 2921 | <source>getColumnGap(["name"]) -> float |
2922 | |||
2923 | Returns the column gap size of the text frame "name" expressed in points. If |
||
2924 | "name" is not given the currently selected item is used. |
||
2925 | </source> |
||
14474 | cbradney | 2926 | <translation type="unfinished">getColumnGap(["navn"]) -> komma-tal |
12918 | cbradney | 2927 | |
2928 | Returnerer kolonne-afstanden i tekst-rammen "navn" udtrykt i punkter. |
||
2929 | Hvis "navn" ikke er givet, så bruges det markerede element. |
||
2930 | </translation> |
||
2931 | </message> |
||
2932 | <message> |
||
14474 | cbradney | 2933 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="116"/> |
12918 | cbradney | 2934 | <source>getColumns(["name"]) -> integer |
2935 | |||
2936 | Gets the number of columns of the text frame "name". If "name" is not |
||
2937 | given the currently selected item is used. |
||
2938 | </source> |
||
14474 | cbradney | 2939 | <translation type="unfinished">getColumns(["navn"]) -> integer |
12918 | cbradney | 2940 | |
2941 | Henter antallet af kolonner i tekst-rammen "navn". Hvis "navn" |
||
2942 | ikke er givet, så bruges det markerede element. |
||
2943 | </translation> |
||
2944 | </message> |
||
2945 | <message> |
||
14474 | cbradney | 2946 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="126"/> |
12918 | cbradney | 2947 | <source>setText("text", ["name"]) |
2948 | |||
2949 | Sets the text of the text frame "name" to the text of the string "text". |
||
2950 | Text must be UTF8 encoded - use e.g. unicode(text, 'iso-8859-2'). See the FAQ |
||
2951 | for more details. If "name" is not given the currently selected item is |
||
2952 | used. |
||
2953 | </source> |
||
14474 | cbradney | 2954 | <translation type="unfinished">setText("tekst", ["navn"]) |
12918 | cbradney | 2955 | |
2956 | Sætter teksten i tekst-rammen "navn" til teksten fra strengen "tekst". |
||
2957 | Teksten skal være UTF8 kodet - brug f.eks. unicode(tekst, 'iso-8859-2'). se FAQ'en |
||
2958 | for flere detaljer. Hvis "navn" ikke er givet, så bruges det markerede element. |
||
2959 | </translation> |
||
2960 | </message> |
||
2961 | <message> |
||
14474 | cbradney | 2962 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="138"/> |
12918 | cbradney | 2963 | <source>insertText("text", pos, ["name"]) |
2964 | |||
2965 | Inserts the text "text" at the position "pos" into the text frame "name". |
||
2966 | Text must be UTF encoded (see setText() as reference) The first character has an |
||
2967 | index of 0. Inserting text at position -1 appends it to the frame. If "name" is |
||
2968 | not given the currently selected Item is used. |
||
2969 | |||
2970 | May throw IndexError for an insertion out of bounds. |
||
2971 | </source> |
||
14474 | cbradney | 2972 | <translation type="unfinished">insertText("tekst", pos, ["navn"]) |
12918 | cbradney | 2973 | |
2974 | Indsætter teksten "tekst" ved position "pos" i tekst-rammen "navn". |
||
2975 | Teksten skal være UTF kodet (se setText() som reference). Første tegn |
||
2976 | har index 0. Indsættes tekst ved position -1, så tilføjes teksten i slutningen |
||
2977 | af rammen. Hvis "navn" ikke er givet, så bruges det markerede element. |
||
2978 | |||
2979 | Kan rejse IndexError for en indsætning uden for et gyldigt område. |
||
2980 | </translation> |
||
2981 | </message> |
||
2982 | <message> |
||
14474 | cbradney | 2983 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="152"/> |
12918 | cbradney | 2984 | <source>setFont("font", ["name"]) |
2985 | |||
2986 | Sets the font of the text frame "name" to "font". If there is some text |
||
2987 | selected only the selected text is changed. If "name" is not given the |
||
2988 | currently selected item is used. |
||
2989 | |||
2990 | May throw ValueError if the font cannot be found. |
||
2991 | </source> |
||
14474 | cbradney | 2992 | <translation type="unfinished">setFont("font", ["navn"]) |
12918 | cbradney | 2993 | |
2994 | Sætter fonten i tekst-rammen "navn" til "font". Hvis der er markeret nogen |
||
2995 | tekst, vil kun den markerede tekst blive ændret. Hvis "navn" ikke er givet, |
||
2996 | så bruges det markerede element. |
||
2997 | |||
2998 | Kan rejse ValueError hvis fonten ikke findes. |
||
2999 | </translation> |
||
3000 | </message> |
||
3001 | <message> |
||
14474 | cbradney | 3002 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="165"/> |
12918 | cbradney | 3003 | <source>setFontSize(size, ["name"]) |
3004 | |||
3005 | Sets the font size of the text frame "name" to "size". "size" is treated |
||
3006 | as a value in points. If there is some text selected only the selected text is |
||
3007 | changed. "size" must be in the range 1 to 512. If "name" is not given the |
||
3008 | currently selected item is used. |
||
3009 | |||
3010 | May throw ValueError for a font size that's out of bounds. |
||
3011 | </source> |
||
14474 | cbradney | 3012 | <translation type="unfinished">setFontSize(størrelse, ["navn"]) |
12918 | cbradney | 3013 | |
3014 | Sætter font-størrelsen i tekst-rammen "navn" til "størrelse". "størrelse" |
||
3015 | angives i punkter. Hvis der er markeret nogen tekst, vil kun den markerede |
||
3016 | tekst blive ændret. "størrelse" skal være indenfor området 1 til 512. Hvis "navn" |
||
3017 | ikke er givet, så bruges det markerede element. |
||
3018 | |||
3019 | Kan rejse ValueError for en fontstørrelse der er uden for gyldigt område. |
||
3020 | </translation> |
||
3021 | </message> |
||
3022 | <message> |
||
14474 | cbradney | 3023 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="179"/> |
12918 | cbradney | 3024 | <source>setLineSpacing(size, ["name"]) |
3025 | |||
3026 | Sets the line spacing ("leading") of the text frame "name" to "size". |
||
3027 | "size" is a value in points. If "name" is not given the currently selected |
||
3028 | item is used. |
||
3029 | |||
3030 | May throw ValueError if the line spacing is out of bounds. |
||
3031 | </source> |
||
14474 | cbradney | 3032 | <translation type="unfinished">setLineSpacing(størrelse, ["navn"]) |
12918 | cbradney | 3033 | |
3034 | Sætter linie-afstanden ("leading") i tekst-rammen "navn" til "størrelse". |
||
3035 | "størrelse" er angivet i punkter. Hvis "navn" ikke er givet, så bruges |
||
3036 | det markerede element. |
||
3037 | |||
3038 | Kan rejse ValueError hvis linie-afstanden er uden for gyldigt område. |
||
3039 | </translation> |
||
3040 | </message> |
||
3041 | <message> |
||
14474 | cbradney | 3042 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="192"/> |
3043 | <source>setLineSpacingMode(mode, ["name"]) |
||
3044 | |||
3045 | Sets the line spacing mode of the text frame "name" to "mode". |
||
3046 | If "name" is not given the currently selected |
||
3047 | item is used. |
||
3048 | Mode values are the same as in createParagraphStyle. |
||
3049 | |||
3050 | May throw ValueError if the mode is out of bounds. |
||
3051 | </source> |
||
3052 | <translation type="unfinished"></translation> |
||
3053 | </message> |
||
3054 | <message> |
||
3055 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="206"/> |
||
12918 | cbradney | 3056 | <source>setTextDistances(left, right, top, bottom, ["name"]) |
3057 | |||
3058 | Sets the text distances of the text frame "name" to the values "left" |
||
3059 | "right", "top" and "bottom". If "name" is not given the currently |
||
3060 | selected item is used. |
||
3061 | |||
3062 | May throw ValueError if any of the distances are out of bounds (must be positive). |
||
3063 | </source> |
||
14474 | cbradney | 3064 | <translation type="unfinished"> |
13499 | cbradney | 3065 | venstre |
3066 | højre |
||
3067 | und |
||
3068 | vn |
||
3069 | |||
3070 | Sætter tekst-afstandene på tekst-rammen "navn" til værdierne |
||
3071 | "venstre", "højre", "top" og "bund. Hvis "navn" ikke er givet, |
||
3072 | så bruges det markerede element. |
||
3073 | |||
3074 | Kan rejse ValueError hvis nogen af afstandene er uden for tilladte område (skal være positiv). |
||
3075 | </translation> |
||
12918 | cbradney | 3076 | </message> |
3077 | <message> |
||
14474 | cbradney | 3078 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="219"/> |
12918 | cbradney | 3079 | <source>setColumnGap(size, ["name"]) |
3080 | |||
3081 | Sets the column gap of the text frame "name" to the value "size". If |
||
3082 | "name" is not given the currently selected item is used. |
||
3083 | |||
3084 | May throw ValueError if the column gap is out of bounds (must be positive). |
||
3085 | </source> |
||
14474 | cbradney | 3086 | <translation type="unfinished">setColumnGap(størrelse, ["navn"]) |
12918 | cbradney | 3087 | |
3088 | Sætter kolonne-afstanden i tekst-rammen "navn" til værdien "størrelse". |
||
3089 | Hvis "navn" ikke er givet, så bruges det markerede element. |
||
3090 | |||
3091 | Kan rejse ValueError hvis kolonne-afstanden er uden for gyldigt område (skal være positiv). |
||
3092 | </translation> |
||
3093 | </message> |
||
3094 | <message> |
||
14474 | cbradney | 3095 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="231"/> |
12918 | cbradney | 3096 | <source>setColumns(nr, ["name"]) |
3097 | |||
3098 | Sets the number of columns of the text frame "name" to the integer "nr". |
||
3099 | If "name" is not given the currently selected item is used. |
||
3100 | |||
3101 | May throw ValueError if number of columns is not at least one. |
||
3102 | </source> |
||
14474 | cbradney | 3103 | <translation type="unfinished">setColumns(nr, ["navn"]) |
12918 | cbradney | 3104 | |
3105 | Sætter antal kolonner i tekst-rammen "navn" til heltallet "nr". |
||
3106 | Hvis "navn" ikke er givet, så bruges det markerede element. |
||
3107 | |||
3108 | Kan rejse ValueError hvis antal kolonner ikke er mindst 1. |
||
3109 | </translation> |
||
3110 | </message> |
||
3111 | <message> |
||
14474 | cbradney | 3112 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="243"/> |
12918 | cbradney | 3113 | <source>setTextAlignment(align, ["name"]) |
3114 | |||
3115 | Sets the text alignment of the text frame "name" to the specified alignment. |
||
3116 | If "name" is not given the currently selected item is used. "align" should |
||
3117 | be one of the ALIGN_ constants defined in this module - see dir(scribus). |
||
3118 | |||
3119 | May throw ValueError for an invalid alignment constant. |
||
3120 | </source> |
||
14474 | cbradney | 3121 | <translation type="unfinished">setTextAlignment(justering, ["navn"]) |
12918 | cbradney | 3122 | |
3123 | Sætter tekst-justering i tekst-rammen "navn" til angivet justering. |
||
3124 | Hvis "navn" ikke er givet, så bruges det markerede element. "justering" |
||
3125 | skal være en af ALIGN_konstanterne defineret i dette modul - se dir(scribus). |
||
3126 | |||
3127 | Kan rejse ValueError for en ugyldig ALIGN_konstant. |
||
3128 | </translation> |
||
3129 | </message> |
||
3130 | <message> |
||
14474 | cbradney | 3131 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="256"/> |
12918 | cbradney | 3132 | <source>selectText(start, count, ["name"]) |
3133 | |||
3134 | Selects "count" characters of text in the text frame "name" starting from the |
||
3135 | character "start". Character counting starts at 0. If "count" is zero, any |
||
3136 | text selection will be cleared. If "name" is not given the currently |
||
3137 | selected item is used. |
||
3138 | |||
3139 | May throw IndexError if the selection is outside the bounds of the text. |
||
3140 | </source> |
||
14474 | cbradney | 3141 | <translation type="unfinished">selectText(start, antal, ["navn"]) |
12918 | cbradney | 3142 | |
3143 | Markerer "antal" tegn af teksten i tekst-rammen "navn" startende |
||
3144 | fra tegn "start". Tegn tælling starter ved 0. Hvis "antal" er nul, vil |
||
3145 | enhver tekstmarkering blive nulstillet. Hvis "navn" ikke er givet, så bruges |
||
3146 | det markerede element. |
||
3147 | |||
3148 | Kan rejse IndexError hvis hvis markeringen er sat udenfor teksten. |
||
3149 | </translation> |
||
3150 | </message> |
||
3151 | <message> |
||
14474 | cbradney | 3152 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="270"/> |
12918 | cbradney | 3153 | <source>deleteText(["name"]) |
3154 | |||
3155 | Deletes any text in the text frame "name". If there is some text selected, |
||
3156 | only the selected text will be deleted. If "name" is not given the currently |
||
3157 | selected item is used. |
||
3158 | </source> |
||
14474 | cbradney | 3159 | <translation type="unfinished">deleteText(["navn"]) |
12918 | cbradney | 3160 | |
3161 | Sletter al tekst i tekst-rammen "navn". Hvis der er markeret noget tekst, så |
||
3162 | slettes kun den markerede tekst. Hvis "navn" ikke er givet, så bruges |
||
3163 | det markerede element. |
||
3164 | </translation> |
||
3165 | </message> |
||
3166 | <message> |
||
14474 | cbradney | 3167 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="281"/> |
12918 | cbradney | 3168 | <source>setTextColor("color", ["name"]) |
3169 | |||
3170 | Sets the text color of the text frame "name" to the color "color". If there |
||
3171 | is some text selected only the selected text is changed. If "name" is not |
||
3172 | given the currently selected item is used. |
||
3173 | </source> |
||
14474 | cbradney | 3174 | <translation type="unfinished">setTextColor("farve", ["navn"]) |
12918 | cbradney | 3175 | |
3176 | Sætter tekst-farven i tekst-rammen "navn" til farven "farve". Hvis der |
||
3177 | er markeret nogen tekst, så vil kun den markerede tekst blive ændret. |
||
3178 | Hvis "navn" ikke er givet, så bruges det markerede element. |
||
3179 | </translation> |
||
3180 | </message> |
||
3181 | <message> |
||
14474 | cbradney | 3182 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="292"/> |
12918 | cbradney | 3183 | <source>setTextStroke("color", ["name"]) |
3184 | |||
3185 | Set "color" of the text stroke. If "name" is not given the currently |
||
3186 | selected item is used. |
||
3187 | </source> |
||
14474 | cbradney | 3188 | <translation type="unfinished">setTextStroke("farve", ["navn"]) |
12918 | cbradney | 3189 | |
3190 | Sætter tekstens streg-farve. Hvis "navn" ikke er givet, |
||
3191 | så bruges det markerede element. |
||
3192 | </translation> |
||
3193 | </message> |
||
3194 | <message> |
||
14474 | cbradney | 3195 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="322"/> |
12918 | cbradney | 3196 | <source>setTextShade(shade, ["name"]) |
3197 | |||
3198 | Sets the shading of the text color of the object "name" to "shade". If |
||
3199 | there is some text selected only the selected text is changed. "shade" must |
||
3200 | be an integer value in the range from 0 (lightest) to 100 (full color |
||
3201 | intensity). If "name" is not given the currently selected item is |
||
3202 | used. |
||
3203 | </source> |
||
14474 | cbradney | 3204 | <translation type="unfinished">setTextShade(farvemætning, ["navn"]) |
12918 | cbradney | 3205 | |
3206 | Sætter farvemætningen på tekst-farven på objektet "navn" til "farvemætning". |
||
3207 | Hvis der er markeret nogen tekst, så vil kun den markerede tekst blive ændret. |
||
3208 | "farvemætning" skal være en integer værdi i området fra 0 (lysest) til 100 |
||
3209 | (fuld farvemætning). Hvis "navn" ikke angives, så bruges det markerede element. |
||
3210 | </translation> |
||
3211 | </message> |
||
3212 | <message> |
||
14474 | cbradney | 3213 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="335"/> |
12918 | cbradney | 3214 | <source>linkTextFrames("fromname", "toname") |
3215 | |||
3216 | Link two text frames. The frame named "fromname" is linked to the |
||
3217 | frame named "toname". The target frame must be an empty text frame |
||
3218 | and must not link to or be linked from any other frames already. |
||
3219 | |||
3220 | May throw ScribusException if linking rules are violated. |
||
3221 | </source> |
||
14474 | cbradney | 3222 | <translation type="unfinished">linkTextFrames("franavn", "tilnavn") |
12918 | cbradney | 3223 | |
3224 | Sammenkæder to tekst-rammer. Rammen "franavn" bliver sammenkædet |
||
3225 | med rammen "tilnavn". Mål-rammen skal være en tom tekst-ramme og må |
||
3226 | ikke være sammenkædet med nogen anden ramme. |
||
3227 | </translation> |
||
3228 | </message> |
||
3229 | <message> |
||
14474 | cbradney | 3230 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="352"/> |
12918 | cbradney | 3231 | <source>unlinkTextFrames("name") |
3232 | |||
3233 | Remove the specified (named) object from the text frame flow/linkage. If the |
||
3234 | frame was in the middle of a chain, the previous and next frames will be |
||
3235 | connected, eg 'a->b->c' becomes 'a->c' when you unlinkTextFrames(b)' |
||
3236 | |||
3237 | May throw ScribusException if linking rules are violated. |
||
3238 | </source> |
||
14474 | cbradney | 3239 | <translation type="unfinished">unlinkTextFrames("navn") |
12918 | cbradney | 3240 | |
3241 | Fjerner objektet "navn" fra sammenkædede tekstrammer. Hvis rammen |
||
3242 | var i midten af en kæde, så vil den foregående og den efterfølgende ramme |
||
3243 | blive forbundet, f.eks. 'a->b->c' bliver 'a->c' når du kalder unlinkTextFrames(b). |
||
3244 | |||
3245 | Kan rejse ScribusException hvis sammenkædnings-regler bliver overtrådt. |
||
3246 | </translation> |
||
3247 | </message> |
||
3248 | <message> |
||
14474 | cbradney | 3249 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="369"/> |
12918 | cbradney | 3250 | <source>traceText(["name"]) |
3251 | |||
3252 | Convert the text frame "name" to outlines. If "name" is not given the |
||
3253 | currently selected item is used.</source> |
||
14474 | cbradney | 3254 | <translation type="unfinished">traceText(["navn"]) |
12918 | cbradney | 3255 | |
3256 | Konverterer fonte i tekst-rammen "navn" til kurver. Hvis "navn" ikke angives, |
||
3257 | så bruges det markerede element. |
||
3258 | </translation> |
||
3259 | </message> |
||
3260 | <message> |
||
14474 | cbradney | 3261 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="380"/> |
12918 | cbradney | 3262 | <source>textOverflows(["name", nolinks]) -> integer |
3263 | |||
3264 | Returns the actual number of overflowing characters in text frame "name". |
||
3265 | If is nolinks set to non zero value it takes only one frame - it doesn't |
||
3266 | use text frame linking. Without this parameter it search all linking chain. |
||
3267 | |||
3268 | May raise WrongFrameTypeError if the target frame is not an text frame |
||
3269 | </source> |
||
14474 | cbradney | 3270 | <translation type="unfinished">textOverflows(["navn", ingenlinks]) -> integer |
12918 | cbradney | 3271 | |
3272 | Returnerer det faktiske antal skrifttegn der overløber i tekstramme "navn". |
||
3273 | Hvis ingenlinks er sat til andet end nul tages kun en ramme - der bruger ikke |
||
3274 | sammenkædning af tekstrammer. Uden denne parameter søges igennem alle |
||
3275 | sammenkædede tekstrammer. |
||
3276 | |||
3277 | Kan rejse WrongFrameTypeError hvis den givne ramme ikke er en tekstramme |
||
3278 | </translation> |
||
3279 | </message> |
||
3280 | <message> |
||
14474 | cbradney | 3281 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="393"/> |
12918 | cbradney | 3282 | <source>hyphenateText(["name"]) -> bool |
3283 | |||
3284 | Does hyphenation on text frame "name". |
||
3285 | If "name" is not given the currently selected item is used. |
||
3286 | |||
3287 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
3288 | </source> |
||
14474 | cbradney | 3289 | <translation type="unfinished">hyphenateText(["navn"]) -> bool |
13499 | cbradney | 3290 | |
3291 | Foretager orddeling i tekstrammen "navn". |
||
3292 | Hvis "navn" ikke angives, så bruges det markerede element. |
||
3293 | |||
3294 | Kan rejse WrongFrameTypeError hvis den givne ramme ikke er en tekstramme |
||
3295 | </translation> |
||
12918 | cbradney | 3296 | </message> |
3297 | <message> |
||
14474 | cbradney | 3298 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="407"/> |
12918 | cbradney | 3299 | <source>dehyphenateText(["name"]) -> bool |
3300 | |||
3301 | Does dehyphenation on text frame "name". |
||
3302 | If "name" is not given the currently selected item is used. |
||
3303 | |||
3304 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
3305 | </source> |
||
14474 | cbradney | 3306 | <translation type="unfinished">dehyphenateText(["navn"]) -> booll |
13499 | cbradney | 3307 | |
3308 | Fjerner orddeling i tekstrammen "navn". |
||
3309 | Hvis "navn" ikke angives, så bruges det markerede element. |
||
3310 | |||
3311 | Kan rejse WrongFrameTypeError hvis den givne ramme ikke er en tekstramme |
||
3312 | </translation> |
||
12918 | cbradney | 3313 | </message> |
3314 | <message> |
||
14474 | cbradney | 3315 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="422"/> |
12918 | cbradney | 3316 | <source>setPDFBookmark("toggle", ["name"]) |
3317 | |||
3318 | Sets whether (toggle = 1) the text frame "name" is a bookmark nor not. |
||
3319 | If "name" is not given the currently selected item is used. |
||
3320 | |||
3321 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
3322 | </source> |
||
14474 | cbradney | 3323 | <translation type="unfinished">setPDFBookmark("til/fra", ["navn"]) |
13499 | cbradney | 3324 | |
3325 | Sætter hvorvidt (til/fra = 1) tekstrammen "navn" er et bogmærke eller ej. |
||
3326 | Hvis "navn" ikke er givet, så bruges det markerede element. |
||
3327 | |||
3328 | Kan rejse WrongFrameTypeError, hvis målrammen ikke er en tekst-ramme |
||
3329 | </translation> |
||
12918 | cbradney | 3330 | </message> |
3331 | <message> |
||
14474 | cbradney | 3332 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="434"/> |
12918 | cbradney | 3333 | <source>isPDFBookmark(["name"]) -> bool |
3334 | |||
3335 | Returns true if the text frame "name" is a PDF bookmark. |
||
3336 | If "name" is not given the currently selected item is used. |
||
3337 | |||
3338 | May raise WrongFrameTypeError if the target frame is not a text frame |
||
3339 | </source> |
||
14474 | cbradney | 3340 | <translation type="unfinished">isPDFBookmark(["navn"]) -> bool |
12918 | cbradney | 3341 | |
3342 | Returnerer "true" hvis tekst-rammen "navn" er et PDF bogmærke. |
||
3343 | Hvis "navn" ikke er givet, så bruges det markerede element. |
||
3344 | |||
3345 | Kan rejse WrongFrameTypeError, hvis målrammen ikke er en tekst-ramme |
||
3346 | </translation> |
||
3347 | </message> |
||
3348 | <message> |
||
14474 | cbradney | 3349 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="17"/> |
1135 | cbradney | 3350 | <source>messagebarText("string") |
3351 | |||
3352 | Writes the "string" into the Scribus message bar (status line). The text |
||
3353 | must be UTF8 encoded or 'unicode' string(recommended). |
||
3354 | </source> |
||
14474 | cbradney | 3355 | <translation type="unfinished">messagebarText("streng") |
1135 | cbradney | 3356 | |
3357 | Skriver "streng" til Scribus beskedfelt (status linie). Teksten |
||
3358 | skal være UTF8 kodet eller 'unicode' streng (anbefalet). |
||
3359 | </translation> |
||
3360 | </message> |
||
1525 | cbradney | 3361 | <message> |
14474 | cbradney | 3362 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="30"/> |
12918 | cbradney | 3363 | <source>progressReset() |
3364 | |||
3365 | Cleans up the Scribus progress bar previous settings. It is called before the |
||
3366 | new progress bar use. See progressSet. |
||
3367 | </source> |
||
14474 | cbradney | 3368 | <translation type="unfinished">progressReset() |
12918 | cbradney | 3369 | |
3370 | Rydder op i Scrbus fremgangs-målererens tidligere indstillinger. Den kaldes før næste |
||
3371 | brug af fremgangs-måleren. Se progressSet. |
||
3372 | </translation> |
||
3373 | </message> |
||
3374 | <message> |
||
14474 | cbradney | 3375 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="43"/> |
12918 | cbradney | 3376 | <source>progressTotal(max) |
3377 | |||
3378 | Sets the progress bar's maximum steps value to the specified number. |
||
3379 | See progressSet. |
||
3380 | </source> |
||
14474 | cbradney | 3381 | <translation type="unfinished">progressTotal(max) |
12918 | cbradney | 3382 | |
3383 | Sætter fremgangs-målerens maksimale trin-værdi til det angivne tal. |
||
3384 | Se progressSet. |
||
3385 | </translation> |
||
3386 | </message> |
||
3387 | <message> |
||
14474 | cbradney | 3388 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="52"/> |
12918 | cbradney | 3389 | <source>progressSet(nr) |
3390 | |||
3391 | Set the progress bar position to "nr", a value relative to the previously set |
||
3392 | progressTotal. The progress bar uses the concept of steps; you give it the |
||
3393 | total number of steps and the number of steps completed so far and it will |
||
3394 | display the percentage of steps that have been completed. You can specify the |
||
3395 | total number of steps with progressTotal(). The current number of steps is set |
||
3396 | with progressSet(). The progress bar can be rewound to the beginning with |
||
3397 | progressReset(). [based on info taken from Trolltech's Qt docs] |
||
3398 | </source> |
||
14474 | cbradney | 3399 | <translation type="unfinished">progressSet(nr) |
12918 | cbradney | 3400 | |
3401 | Sætter fremgangs-måler positionen til "nr", en værdi relativ til det tidligere kald af |
||
3402 | progressTotal. Fremgangs-måleren bruger konceptet om trin; du giver den det totale |
||
3403 | antal trin og antal trin nået indtil nu, og den vil så vise den procentvise værdi af de trin |
||
3404 | der er gjort færdige. Du kan angive det totale antal trin med progressTotal(). De |
||
3405 | nuværende antal trin er angivet med progressSet(). Fremgangs-måleren kan spoles |
||
3406 | tilbage til begyndelsen med progressReset(). [Baseret på info fra Trolltech's Qt docs] |
||
3407 | </translation> |
||
3408 | </message> |
||
3409 | <message> |
||
14474 | cbradney | 3410 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="66"/> |
12918 | cbradney | 3411 | <source>setCursor() |
3412 | |||
3413 | [UNSUPPORTED!] This might break things, so steer clear for now. |
||
3414 | </source> |
||
14474 | cbradney | 3415 | <translation type="unfinished">setCursor() |
12918 | cbradney | 3416 | |
13499 | cbradney | 3417 | [IKKE UNDERSTØTTET!] Denne kan få tingene til at bryde sammen, |
3418 | så undgå at bruge den lige nu. |
||
12918 | cbradney | 3419 | </translation> |
3420 | </message> |
||
3421 | <message> |
||
14474 | cbradney | 3422 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="78"/> |
12918 | cbradney | 3423 | <source>docChanged(bool) |
3424 | |||
3425 | Enable/disable save icon in the Scribus icon bar and the Save menu item. It's |
||
3426 | useful to call this procedure when you're changing the document, because Scribus |
||
3427 | won't automatically notice when you change the document using a script. |
||
3428 | </source> |
||
14474 | cbradney | 3429 | <translation type="unfinished">docChanged(bool) |
12918 | cbradney | 3430 | |
3431 | Aktiverer/deaktiverer "gem-ikonet" i Scribus værktøjslinie og "Gem" i fil-menuen. |
||
3432 | Det er brugbart at kalde denne procedure, når du ændrer dokumentet, fordi Scribus |
||
3433 | ikke automatisk opdager, når du har ændret dokumentet ved at bruge en script. |
||
3434 | </translation> |
||
3435 | </message> |
||
3436 | <message> |
||
14474 | cbradney | 3437 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="91"/> |
12918 | cbradney | 3438 | <source>zoomDocument(double) |
3439 | |||
3440 | Zoom the document in main GUI window. Actions have whole number |
||
3441 | values like 20.0, 100.0, etc. Zoom to Fit uses -100 as a marker. |
||
3442 | </source> |
||
14474 | cbradney | 3443 | <translation type="unfinished">zoomDocument(dobbelt) |
12918 | cbradney | 3444 | |
3445 | Zoom dokumentet i hoved GUI vinduet. Funktionen bruger heltals-værdier |
||
3446 | som 20.0, 100.0, etc. Zoom så siden fylder vinduet bruger -100 som mærke. |
||
3447 | </translation> |
||
3448 | </message> |
||
3449 | <message> |
||
14474 | cbradney | 3450 | <location filename="../../../scribus/plugins/scriptplugin/guiapp.h" line="103"/> |
12918 | cbradney | 3451 | <source>scrollDocument(x,y) |
3452 | |||
3453 | Scroll the document in main GUI window by x and y. |
||
3454 | </source> |
||
14474 | cbradney | 3455 | <translation type="unfinished">scrollDocument(x,y) |
13499 | cbradney | 3456 | |
3457 | Ruller dokumentet i hoved-GUI winduet med værdierne x og y. |
||
3458 | </translation> |
||
12918 | cbradney | 3459 | </message> |
3460 | <message> |
||
14474 | cbradney | 3461 | <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="15"/> |
12918 | cbradney | 3462 | <source>placeSVG("filename", x, y) |
3463 | |||
3464 | Places the SVG "filename" onto the current page, |
||
3465 | x and y specify the coordinate of the topleft corner of the SVG placed on the page |
||
3466 | |||
3467 | If loading was successful, the selection contains the imported SVG |
||
3468 | </source> |
||
14474 | cbradney | 3469 | <translation type="unfinished">placeSVG("filnavn", x, y) |
12918 | cbradney | 3470 | |
3471 | Placerer SVG "filnavn" på den aktive side, |
||
3472 | x og y specificerer coordinaten af øverste venstre hjørne af SVG'en på siden |
||
3473 | |||
3474 | hvis indlæsning lykkedes, indeholder markeringen den importerede SVG |
||
3475 | </translation> |
||
3476 | </message> |
||
3477 | <message> |
||
14474 | cbradney | 3478 | <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="27"/> |
12918 | cbradney | 3479 | <source>placeEPS("filename", x, y) |
3480 | |||
3481 | Places the EPS "filename" onto the current page, |
||
3482 | x and y specify the coordinate of the topleft corner of the EPS placed on the page |
||
3483 | |||
3484 | If loading was successful, the selection contains the imported EPS |
||
3485 | </source> |
||
14474 | cbradney | 3486 | <translation type="unfinished">placeEPS("filnavn", x, y) |
12918 | cbradney | 3487 | |
3488 | Placerer EPS "filnavn" på den aktive side, |
||
3489 | x og y specificerer coordinaten af øverste venstre hjørne af EPS'en på siden |
||
3490 | |||
3491 | hvis indlæsning lykkedes, indeholder markeringen den importerede EPS |
||
3492 | </translation> |
||
3493 | </message> |
||
3494 | <message> |
||
14474 | cbradney | 3495 | <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="39"/> |
12918 | cbradney | 3496 | <source>placeSXD("filename", x, y) |
3497 | |||
3498 | Places the SXD "filename" onto the current page, |
||
3499 | x and y specify the coordinate of the topleft corner of the SXD placed on the page |
||
3500 | |||
3501 | If loading was successful, the selection contains the imported SXD |
||
3502 | </source> |
||
14474 | cbradney | 3503 | <translation type="unfinished">placeSXD("filnavn", x, y) |
12918 | cbradney | 3504 | |
3505 | Placerer SXD "filnavn" på den aktive side, |
||
3506 | x og y specificerer coordinaten af øverste venstre hjørne af SXD'en på siden |
||
3507 | |||
3508 | hvis indlæsning lykkedes, indeholder markeringen den importerede SXD |
||
3509 | </translation> |
||
3510 | </message> |
||
3511 | <message> |
||
14474 | cbradney | 3512 | <location filename="../../../scribus/plugins/scriptplugin/svgimport.h" line="51"/> |
12918 | cbradney | 3513 | <source>placeODG("filename", x, y) |
3514 | |||
3515 | Places the ODG "filename" onto the current page, |
||
3516 | x and y specify the coordinate of the topleft corner of the ODG placed on the page |
||
3517 | |||
3518 | If loading was successful, the selection contains the imported ODG |
||
3519 | </source> |
||
14474 | cbradney | 3520 | <translation type="unfinished">placeODG("filnavn", x, y) |
12918 | cbradney | 3521 | |
3522 | Placerer ODG "filnavn" på den aktive side, |
||
3523 | x og y specificerer coordinaten af øverste venstre hjørne af ODG'en på siden |
||
3524 | |||
3525 | hvis indlæsning lykkedes, indeholder markeringen den importerede ODG |
||
3526 | </translation> |
||
3527 | </message> |
||
13279 | cbradney | 3528 | <message> |
14474 | cbradney | 3529 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="113"/> |
13279 | cbradney | 3530 | <source>isSpotColor("name") -> bool |
3531 | |||
3532 | Returns True if the color "name" is a spot color. |
||
3533 | See also setSpotColor() |
||
3534 | |||
3535 | May raise NotFoundError if a named color wasn't found. |
||
3536 | May raise ValueError if an invalid color name is specified. |
||
3537 | </source> |
||
14474 | cbradney | 3538 | <translation type="unfinished">isSpotColor("navn") -> bool |
13499 | cbradney | 3539 | |
3540 | Returnerer True hvis farven "navn" er en spot-farve. |
||
3541 | Se også setSpotColor() |
||
3542 | |||
3543 | Kan rejse NotFoundError hvis den navngivne farve ikke findes. |
||
3544 | Kan rejse ValueError hvis et ugyldigt farve-navn er angivet. |
||
3545 | </translation> |
||
13279 | cbradney | 3546 | </message> |
3547 | <message> |
||
14474 | cbradney | 3548 | <location filename="../../../scribus/plugins/scriptplugin/cmdcolor.h" line="128"/> |
13279 | cbradney | 3549 | <source>setSpotColor("name", spot) |
3550 | |||
3551 | Set the color "name" as a spot color if spot parameter is True. |
||
3552 | See also isSpotColor() |
||
3553 | |||
3554 | May raise NotFoundError if a named color wasn't found. |
||
3555 | May raise ValueError if an invalid color name is specified. |
||
3556 | </source> |
||
14474 | cbradney | 3557 | <translation type="unfinished">setSpotColor("navn", spot) |
13499 | cbradney | 3558 | |
3559 | Sætter farven "navn" som en spot-farve hvis spot parameter er "True". |
||
3560 | se også isSpotColor() |
||
3561 | |||
3562 | Kan rejse NotFoundError hvis den navngivne farve ikke findes.. |
||
3563 | Kan rejse ValueError hvis et ugyldigt farve-navn er angivet. |
||
3564 | </translation> |
||
13279 | cbradney | 3565 | </message> |
3566 | <message> |
||
14474 | cbradney | 3567 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="159"/> |
13279 | cbradney | 3568 | <source>scaleImage(x, y [, "name"]) |
3569 | |||
3570 | Sets the internal scaling factors of the picture in the image frame "name". |
||
3571 | If "name" is not given the currently selected item is used. A number of 1 |
||
3572 | means 100 %. Internal scaling factors are different from the values shown on |
||
3573 | properties palette. Note : deprecated, use setImageScale() instead. |
||
3574 | |||
3575 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
3576 | </source> |
||
14474 | cbradney | 3577 | <translation type="unfinished">scaleImage(x, y [, "navn"]) |
13499 | cbradney | 3578 | |
3579 | Sætter de interne Skalerings-faktorer for billedet i billed-rammen "navn". |
||
3580 | Hvis "navn" ikke angives, så bruges det markerede element. Værdien 1 |
||
3581 | betyder 100 %. Interne skaleringsfaktorer er forskellig fra værdierne, som |
||
3582 | vises på egenskabs-paletten. Bemærk : forældet, brug istedet setImageScale(). |
||
3583 | |||
3584 | kan rejse WrongFrameTypeError, hvis mål-rammen ikke er en billedramme |
||
3585 | </translation> |
||
13279 | cbradney | 3586 | </message> |
3587 | <message> |
||
14474 | cbradney | 3588 | <location filename="../../../scribus/plugins/scriptplugin/cmdmani.h" line="173"/> |
13279 | cbradney | 3589 | <source>setImageScale(x, y [, "name"]) |
3590 | |||
3591 | Sets the scaling factors of the picture in the image frame "name". |
||
3592 | If "name" is not given the currently selected item is used. A number of 1 |
||
3593 | means 100 %. Scaling factors are equal to the values shown on properties palette. |
||
3594 | |||
3595 | May raise WrongFrameTypeError if the target frame is not an image frame |
||
3596 | </source> |
||
14474 | cbradney | 3597 | <translation type="unfinished">setImagescale(x, y [, "navn"]) |
13499 | cbradney | 3598 | |
3599 | Sætter skalerings-faktorerne for billedet i billed-rammen "navn". |
||
3600 | Hvis "navn" ikke angives, så bruges det markerede element. Værdien 1  betyder |
||
3601 | 100 %. Skaleringsfaktorer er lig med værdierne, som vises på egenskabs-paletten. |
||
3602 | |||
3603 | kan rejse WrongFrameTypeError, hvis mål-rammen ikke er en billedramme |
||
3604 | </translation> |
||
13279 | cbradney | 3605 | </message> |
3606 | <message> |
||
14474 | cbradney | 3607 | <location filename="../../../scribus/plugins/scriptplugin/cmdsetprop.h" line="28"/> |
13279 | cbradney | 3608 | <source>setGradientStop("color", shade, opacity, ramppoint, ["name"]) |
3609 | |||
3610 | Set or add a gradient stop to the gradient fill of the object "name" at position ramppoint. |
||
3611 | Color descriptions are the same as for setFillColor() and setFillShade(). setGradientFill() |
||
3612 | must have been called previously for the gradient fill to be visible. |
||
3613 | </source> |
||
14474 | cbradney | 3614 | <translation type="unfinished">setGradientStop("farve", skygge, ugennemsigtighed, rampepunkt, ["navn"]) |
13499 | cbradney | 3615 | |
3616 | Sætter eller tilføjer et gradient-stop til gradient-fyldet i objekt "navn" ved position rampepunkt. |
||
3617 | Farve beskrivelserne er de samme som for setFillColor() og setFillShade(). setGradientFill() |
||
3618 | skal tidligere være kaldt for at gradient fyldet bliver synligt. |
||
3619 | </translation> |
||
13279 | cbradney | 3620 | </message> |
3621 | <message> |
||
14474 | cbradney | 3622 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="302"/> |
13279 | cbradney | 3623 | <source>setTextScalingV(scale, ["name"]) |
3624 | |||
3625 | Sets the vertical character scaling of the object "name" to "scale" in percent. |
||
3626 | If "name" is not given the currently selected item is used. |
||
3627 | </source> |
||
14474 | cbradney | 3628 | <translation type="unfinished">setTextScalingV(skala, ["navn"]) |
13499 | cbradney | 3629 | |
3630 | Sætter den vertikale tegn-skalering på objektet "navn" til "skala" i procent. |
||
3631 | Hvis "navn" ikke angives, så bruges det markerede element. |
||
3632 | </translation> |
||
13279 | cbradney | 3633 | </message> |
3634 | <message> |
||
14474 | cbradney | 3635 | <location filename="../../../scribus/plugins/scriptplugin/cmdtext.h" line="312"/> |
13279 | cbradney | 3636 | <source>setTextScalingH(scale, ["name"]) |
3637 | |||
3638 | Sets the horizontal character scaling of the object "name" to "scale" in percent. |
||
3639 | If "name" is not given the currently selected item is used. |
||
3640 | </source> |
||
14474 | cbradney | 3641 | <translation type="unfinished">setTextScalingH(skala, ["navn"]) |
13499 | cbradney | 3642 | |
3643 | Sætter den horisontale tegn-skalering på objektet "navn" til "skala" i procent. |
||
3644 | Hvis "navn" ikke angives, så bruges det markerede element. |
||
3645 | </translation> |
||
13279 | cbradney | 3646 | </message> |
12918 | cbradney | 3647 | </context> |
3648 | <context> |
||
3649 | <name>@default</name> |
||
3650 | <message> |
||
3651 | <source>getColorNames() -> list |
||
3652 | |||
3653 | Returns a list containing the names of all defined colors in the document. |
||
3654 | If no document is open, returns a list of the default document colors. |
||
3655 | </source> |
||
3656 | <translation type="obsolete">getColorNames() -> liste |
||
3657 | |||
3658 | Returnerer en liste, som indeholder navnene på alle definerede farver i dokumentet. |
||
3659 | Hvis ikke et dokument er åbnet, så returneres en liste over standard dokument farver. |
||
3660 | </translation> |
||
3661 | </message> |
||
3662 | <message> |
||
3663 | <source>newDocDialog() -> bool |
||
3664 | |||
3665 | Displays the "New Document" dialog box. Creates a new document if the user |
||
3666 | accepts the settings. Does not create a document if the user presses cancel. |
||
3667 | Returns true if a new document was created. |
||
3668 | </source> |
||
3669 | <translation type="obsolete">newDocDialog() -> bool |
||
3670 | |||
3671 | Viser "Ny dokument" dialog boks. Laver et nyt dokument, hvis brugeren |
||
3672 | accepterer indstillingerne. Laver ikke et dokument, hvis brugeren trykker på annullér. |
||
3673 | Returnerer "true" hvis der blev lavet et nyt dokument. |
||
3674 | </translation> |
||
3675 | </message> |
||
3676 | <message> |
||
3677 | <source>getFillColor(["name"]) -> string |
||
3678 | |||
3679 | Returns the name of the fill color of the object "name". |
||
3680 | If "name" is not given the currently selected item is used. |
||
3681 | </source> |
||
3682 | <translation type="obsolete">getFillColor(["navn"]) -> streng |
||
3683 | |||
3684 | Returnerer navnet på fyld-farven i objektet "navn". |
||
3685 | Hvis "navn" ikke angives, så bruges det markerede element. |
||
3686 | </translation> |
||
3687 | </message> |
||
3688 | <message> |
||
3689 | <source>moveObject(dx, dy [, "name"]) |
||
3690 | |||
3691 | Moves the object "name" by dx and dy relative to its current position. The |
||
3692 | distances are expressed in the current measurement unit of the document (see |
||
3693 | UNIT constants). If "name" is not given the currently selected item is used. |
||
3694 | If the object "name" belongs to a group, the whole group is moved. |
||
3695 | </source> |
||
3696 | <translation type="obsolete">moveObject(dx, dy [, "navn"]) |
||
3697 | |||
3698 | Flytter objektet "navn" med dx og dy relativt til dets nuværende position. |
||
3699 | Afstanden er udtrykt i dokumentets nuværende måle-enhed (se UNIT |
||
3700 | konstanter). Hvis "navn" ikke angives, så bruges det aktive element. |
||
3701 | Hvis "navn" hører til en gruppe, så flyttes hele gruppen. |
||
3702 | </translation> |
||
3703 | </message> |
||
3704 | <message> |
||
3705 | <source>setRedraw(bool) |
||
3706 | |||
3707 | Disables page redraw when bool = False, otherwise redrawing is enabled. |
||
3708 | This change will persist even after the script exits, so make sure to call |
||
3709 | setRedraw(True) in a finally: clause at the top level of your script. |
||
3710 | </source> |
||
3711 | <translation type="obsolete">setRedraw(bool) |
||
3712 | |||
3713 | Forhindrer gentegning af siden når bool="false", ellers er gentegning aktiveret. |
||
3714 | Denne ændring vil holde selv efter scriptet afslutter, så vær sikker på at |
||
3715 | kalde setredraw(True) i slutningen: Forbeholdt topniveau af dit script. |
||
3716 | </translation> |
||
3717 | </message> |
||
3718 | <message> |
||
3719 | <source>createRect(x, y, width, height, ["name"]) -> string |
||
3720 | |||
3721 | Creates a new rectangle on the current page and returns its name. The |
||
3722 | coordinates are given in the current measurement units of the document |
||
3723 | (see UNIT constants). "name" should be a unique identifier for the object |
||
3724 | because you need this name to reference that object in future. If "name" |
||
3725 | is not given Scribus will create one for you. |
||
3726 | |||
3727 | May raise NameExistsError if you explicitly pass a name that's already used. |
||
3728 | </source> |
||
3729 | <translation type="obsolete">createRect(x, y, bredde, højde, ["navn"]) -> streng |
||
3730 | |||
3731 | Laver en ny rectangle på den aktive side og returnerer dets navn. |
||
3732 | Koordinaterne er givet i dokumentets nuværende måle-enhed (se |
||
3733 | UNIT konstanter). "navn" skal være et unikt navn, fordi du behøver |
||
3734 | dette navn for at kunne referere til dette objekt senere. Hvis "navn" |
||
3735 | ikke angives, så vil Scribus lave et for dig. |
||
3736 | |||
3737 | Kan rejse NameExistsError hvis du angiver et navn, som allerede findes. |
||
3738 | </translation> |
||
3739 | </message> |
||
3740 | <message> |
||
3741 | <source>setGradientFill(type, "color1", shade1, "color2", shade2, ["name"]) |
||
3742 | |||
3743 | Sets the gradient fill of the object "name" to type. Color descriptions are |
||
3744 | the same as for setFillColor() and setFillShade(). See the constants for |
||
3745 | available types (FILL_<type>). |
||
3746 | </source> |
||
3747 | <translation type="obsolete">setGradientFill(type, "farve1", mætning1, "farve2", mætning2, ["navn"]) |
||
3748 | |||
3749 | Sætter gradient-fyld af objektet "navn" til type. Farvebeskrivelsen er |
||
3750 | den samme, som for setFillColor() og setFillShade(). Se konstanterne |
||
3751 | for mulige typer (FILL_<type>). |
||
3752 | </translation> |
||
3753 | </message> |
||
3754 | <message> |
||
3755 | <source>getFontSize(["name"]) -> float |
||
3756 | |||
3757 | Returns the font size in points for the text frame "name". If this text |
||
3758 | frame has some text selected the value assigned to the first character of |
||
3759 | the selection is returned. |
||
3760 | If "name" is not given the currently selected item is used. |
||
3761 | </source> |
||
3762 | <translation type="obsolete">getFontSize(["navn"]) -> komma-tal |
||
3763 | |||
3764 | Returnerer font-størrelsen i punkter for tekst-ramme "navn". Hvis |
||
3765 | denne tekst-ramme har noget tekst markeret, så returneres værdien |
||
3766 | af det første tegn i den markerede tekst. |
||
3767 | Hvis "navn" ikke angives, så bruges det aktive element. |
||
3768 | </translation> |
||
3769 | </message> |
||
3770 | <message> |
||
3771 | <source>messagebarText("string") |
||
3772 | |||
3773 | Writes the "string" into the Scribus message bar (status line). The text |
||
3774 | must be UTF8 encoded or 'unicode' string(recommended). |
||
3775 | </source> |
||
3776 | <translation type="obsolete">messagebarText("streng") |
||
3777 | |||
3778 | Skriver "streng" til Scribus beskedfelt (status linie). Teksten |
||
3779 | skal være UTF8 kodet eller 'unicode' streng (anbefalet). |
||
3780 | </translation> |
||
3781 | </message> |
||
3782 | <message> |
||
2782 | cbradney | 3783 | <source>newPage(where [,"masterpage"]) |
3784 | |||
3785 | Creates a new page. If "where" is -1 the new Page is appended to the |
||
3786 | document, otherwise the new page is inserted before "where". Page numbers are |
||
3787 | counted from 1 upwards, no matter what the displayed first page number of your |
||
3788 | document is. The optional parameter "masterpage" specifies the name of the |
||
3789 | master page for the new page. |
||
3790 | |||
3791 | May raise IndexError if the page number is out of range |
||
3792 | </source> |
||
12918 | cbradney | 3793 | <translation type="obsolete">newPage(hvor [,"masterside"]) |
2782 | cbradney | 3794 | |
3795 | Laver en ny side. Hvis "hvor" er -1, så tilføjes den nye side i slutningen |
||
3796 | af dokumentet, ellers er den ny side indsat før "hvor". Side-numre er |
||
3797 | talt fra 1 og opefter, lige meget hvad nummer den første side har fået. |
||
3798 | Den valgfri parameter "masterside" angiver navnet på den master side, |
||
3799 | der skal bruges til den nye side. |
||
3800 | |||
3801 | Kan rejse IndexError hvis side-nummer er uden for tilladte værdi |
||
3802 | </translation> |
||
3803 | </message> |
||
3804 | <message> |
||
3824 | cbradney | 3805 | <source>newDocument(size, margins, orientation, firstPageNumber, |
6434 | cbradney | 3806 | unit, pagesType, firstPageOrder, numPages) -> bool |
3807 | |||
3808 | Creates a new document and returns true if successful. The parameters have the |
||
3809 | following meaning: |
||
3810 | |||
3811 | size = A tuple (width, height) describing the size of the document. You can |
||
3812 | use predefined constants named PAPER_<paper_type> e.g. PAPER_A4 etc. |
||
3813 | |||
3814 | margins = A tuple (left, right, top, bottom) describing the document |
||
3815 | margins |
||
3816 | |||
3817 | orientation = the page orientation - constants PORTRAIT, LANDSCAPE |
||
3818 | |||
3819 | firstPageNumer = is the number of the first page in the document used for |
||
3820 | pagenumbering. While you'll usually want 1, it's useful to have higher |
||
3821 | numbers if you're creating a document in several parts. |
||
3822 | |||
3823 | unit: this value sets the measurement units used by the document. Use a |
||
3824 | predefined constant for this, one of: UNIT_INCHES, UNIT_MILLIMETERS, |
||
3825 | UNIT_PICAS, UNIT_POINTS. |
||
3826 | |||
3827 | pagesType = One of the predefined constants PAGE_n. PAGE_1 is single page, |
||
3828 | PAGE_2 is for double sided documents, PAGE_3 is for 3 pages fold and |
||
3829 | PAGE_4 is 4-fold. |
||
3830 | |||
3831 | firstPageOrder = What is position of first page in the document. |
||
3832 | Indexed from 0 (0 = first). |
||
3833 | |||
3834 | numPage = Number of pages to be created. |
||
3835 | |||
3836 | The values for width, height and the margins are expressed in the given unit |
||
3837 | for the document. PAPER_* constants are expressed in points. If your document |
||
3838 | is not in points, make sure to account for this. |
||
3839 | |||
3840 | example: newDocument(PAPER_A4, (10, 10, 20, 20), LANDSCAPE, 7, UNIT_POINTS, |
||