#. extracted from helpcontent2/source/text/sbasic/shared/03 msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: https://bugs.libreoffice.org/enter_bug.cgi?product=LibreOffice&bug_status=UNCONFIRMED&component=UI\n" "POT-Creation-Date: 2022-04-11 15:28+0200\n" "PO-Revision-Date: 2022-02-05 14:39+0000\n" "Last-Translator: Kolbjørn Stuestøl \n" "Language-Team: Norwegian Nynorsk \n" "Language: nn\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Accelerator-Marker: ~\n" "X-Generator: LibreOffice\n" "X-POOTLE-MTIME: 1565450081.000000\n" #. ViEWM #: avail_release.xhp msgctxt "" "avail_release.xhp\n" "tit\n" "help.text" msgid "(Un)Available since release" msgstr "(U)Tilgjengeleg sidan utgjevinga" #. CeSww #: avail_release.xhp msgctxt "" "avail_release.xhp\n" "not_BasMeth\n" "help.text" msgid "This method is not available in Basic." msgstr "Denne metoden er ikkje tilgjengeleg i BASIC." #. LDXQx #: avail_release.xhp msgctxt "" "avail_release.xhp\n" "not_BasProp\n" "help.text" msgid "This property is not available in Basic." msgstr "Denne eigenskapen er ikkje tilgjengeleg i BASIC." #. 4GDXo #: avail_release.xhp msgctxt "" "avail_release.xhp\n" "not_PycMeth\n" "help.text" msgid "This method is not available in Python." msgstr "Denne metoden er ikkje tilgjengeleg i Python." #. 3ZUdq #: avail_release.xhp msgctxt "" "avail_release.xhp\n" "not_PycProp\n" "help.text" msgid "This property is not available in Python." msgstr "Denne eigenskapen er ikkje tilgjengeleg i Python." #. 9bTEm #: avail_release.xhp msgctxt "" "avail_release.xhp\n" "par_id811631775671311\n" "help.text" msgid "This service is available from %PRODUCTNAME 7.3 onwards." msgstr "" #. J3r7B #: avail_release.xhp msgctxt "" "avail_release.xhp\n" "par_id291613654389793\n" "help.text" msgid "This method is available from %PRODUCTNAME 7.3 onwards." msgstr "Denne metoden er tilgjengeleg frå %PRODUCTNAME 7.3 og nyare." #. ajeAa #: avail_release.xhp msgctxt "" "avail_release.xhp\n" "par_id201613654593537\n" "help.text" msgid "This property is available from %PRODUCTNAME 7.3 onwards." msgstr "Denne eigenskapen er tilgjengeleg frå %PRODUCTNAME 7.3 og nyare." #. 7KtXf #: avail_release.xhp msgctxt "" "avail_release.xhp\n" "par_id651551701041690\n" "help.text" msgid "This service is available from %PRODUCTNAME 7.2 onwards." msgstr "Denne tenesta er tilgjengeleg frå %PRODUCTNAME 7.2 og høgare." #. GXE45 #: avail_release.xhp msgctxt "" "avail_release.xhp\n" "par_id281613660174140\n" "help.text" msgid "These methods are available from %PRODUCTNAME 7.2 onwards." msgstr "Denne metoden er tilgjengeleg frå %PRODUCTNAME 7.2 og høgare." #. An73n #: avail_release.xhp msgctxt "" "avail_release.xhp\n" "par_id291613654389792\n" "help.text" msgid "This method is available from %PRODUCTNAME 7.2 onwards." msgstr "Denne metoden er tilgjengeleg frå %PRODUCTNAME 7.2 og nyare." #. qjuHF #: avail_release.xhp msgctxt "" "avail_release.xhp\n" "par_id981613655373210\n" "help.text" msgid "This control is available from %PRODUCTNAME 7.2 onwards." msgstr "Dette kontrollelementet er tilgjengeleg frå %PRODUCTNAME 7.2 og høgare." #. bAYUN #: avail_release.xhp msgctxt "" "avail_release.xhp\n" "par_id831613654401663\n" "help.text" msgid "These event properties are available from %PRODUCTNAME 7.2 onwards." msgstr "Denne hendingseigenskapen er tilgjengeleg frå %PRODUCTNAME 7.2 og høgare." #. kVj8c #: avail_release.xhp msgctxt "" "avail_release.xhp\n" "par_id201613654395537\n" "help.text" msgid "This property is available from %PRODUCTNAME 7.2 onwards." msgstr "Denne eigenskapen er tilgjengeleg frå %PRODUCTNAME 7.2 og høgare." #. EziC4 #: lib_ScriptForge.xhp msgctxt "" "lib_ScriptForge.xhp\n" "tit\n" "help.text" msgid "ScriptForge Libraries" msgstr "ScriptForge-biblioteka" #. ADEeP #: lib_ScriptForge.xhp msgctxt "" "lib_ScriptForge.xhp\n" "hd_id31529004750471\n" "help.text" msgid "The ScriptForge Library" msgstr "ScriptForge-biblioteket" #. Poeai #: lib_ScriptForge.xhp msgctxt "" "lib_ScriptForge.xhp\n" "bm_id491529070339774\n" "help.text" msgid "BASIC ScriptForge library Python scriptforge module" msgstr "" #. BtMUU #: lib_ScriptForge.xhp msgctxt "" "lib_ScriptForge.xhp\n" "par_id681619700336879\n" "help.text" msgid "ScriptForge libraries build up an extensible collection of macro scripting resources for %PRODUCTNAME to be invoked from Basic macros or Python scripts." msgstr "ScriptForge-biblioteker byggjer opp ei samling av makroskriptressursar, som kan utvidast, for %PRODUCTNAME som skal startast frå grunnleggjande makroar eller Python-skript." #. eotwE #: lib_ScriptForge.xhp msgctxt "" "lib_ScriptForge.xhp\n" "par_id1001623412767893\n" "help.text" msgid "To learn more about how to create and execute Python scripts using the ScriptForge library, read the help page Creating Python Scripts with ScriptForge." msgstr "" #. 2Fr3S #: lib_ScriptForge.xhp msgctxt "" "lib_ScriptForge.xhp\n" "hd_id781637256119733\n" "help.text" msgid "Invoking ScriptForge services" msgstr "" #. SaBEy #: lib_ScriptForge.xhp msgctxt "" "lib_ScriptForge.xhp\n" "par_id781606153472028\n" "help.text" msgid "The described modules and classes are invoked from user scripts as \"Services\". A generic constructor of those services has been designed for that purpose for each language." msgstr "" #. xhj84 #: lib_ScriptForge.xhp msgctxt "" "lib_ScriptForge.xhp\n" "par_id871637256506167\n" "help.text" msgid "The Dispose method is available in all services and should be called to free up resources after usage:" msgstr "" #. Depaw #: lib_ScriptForge.xhp msgctxt "" "lib_ScriptForge.xhp\n" "hd_id851613836643580\n" "help.text" msgid "Services provided by the ScriptForge library" msgstr "Tenester leverte av biblioteket ScriptForge" #. dw2Fe #: lib_ScriptForge.xhp msgctxt "" "lib_ScriptForge.xhp\n" "par_id131613838858931\n" "help.text" msgid "Category" msgstr "Kategori" #. TmFbF #: lib_ScriptForge.xhp msgctxt "" "lib_ScriptForge.xhp\n" "par_id441613838858931\n" "help.text" msgid "Services" msgstr "Tenester" #. ZZKBq #: lib_ScriptForge.xhp msgctxt "" "lib_ScriptForge.xhp\n" "par_id851613847558931\n" "help.text" msgid "%PRODUCTNAME Basic" msgstr "%PRODUCTNAME Basic" #. jv7Z3 #: lib_ScriptForge.xhp msgctxt "" "lib_ScriptForge.xhp\n" "par_id131613838825831\n" "help.text" msgid "Document Content" msgstr "Dokumentinnhald" #. 8fZtg #: lib_ScriptForge.xhp msgctxt "" "lib_ScriptForge.xhp\n" "par_id131613947858931\n" "help.text" msgid "User Interface" msgstr "Brukargrensesnitt" #. dAomL #: lib_ScriptForge.xhp msgctxt "" "lib_ScriptForge.xhp\n" "par_id131613866258931\n" "help.text" msgid "Utilities" msgstr "Verktøyprogram" #. 6gvZc #: lib_ScriptForge.xhp msgctxt "" "lib_ScriptForge.xhp\n" "par_id331608220104798\n" "help.text" msgid "Note: Other ScriptForge undescribed modules are reserved for internal use. Their content is subject to change without notice." msgstr "Merk: Andre ScriptForge-modular som ikkje er omtalte, er reserverte for internt bruk. Innhaldet i desse kan endrast utan varsel." #. uzETY #: lib_ScriptForge.xhp msgctxt "" "lib_ScriptForge.xhp\n" "par_id851506659675843\n" "help.text" msgid "All ScriptForge Basic routines or identifiers that are prefixed with an underscore character \"_\" are reserved for internal use. They are not meant be used in Basic macros or Python scripts." msgstr "" #. p9BFG #: lib_depot.xhp msgctxt "" "lib_depot.xhp\n" "tit\n" "help.text" msgid "DEPOT Library" msgstr "DEPOT-bibliotek" #. rNFGR #: lib_depot.xhp msgctxt "" "lib_depot.xhp\n" "hd_id31529004750471\n" "help.text" msgid "The Depot Library" msgstr "Depot-biblioteket" #. Us2HT #: lib_euro.xhp msgctxt "" "lib_euro.xhp\n" "tit\n" "help.text" msgid "EURO Library" msgstr "EURO-biblioteket" #. 5sJCA #: lib_euro.xhp msgctxt "" "lib_euro.xhp\n" "hd_id31529004750471\n" "help.text" msgid "The Euro Library" msgstr "Euro-biblioteket" #. rH2AG #: lib_euro.xhp msgctxt "" "lib_euro.xhp\n" "bm_id231529070133574\n" "help.text" msgid "BASIC Euro library" msgstr "BASIC Euro-bibliotek" #. 9edb6 #: lib_euro.xhp msgctxt "" "lib_euro.xhp\n" "hd_id841593518085848\n" "help.text" msgid "Description" msgstr "Skildring" #. DkBkc #: lib_euro.xhp msgctxt "" "lib_euro.xhp\n" "par_id921593518140986\n" "help.text" msgid "The Euro library is used by the Euro converter… wizard." msgstr "Euro-biblioteket vert brukt av vegvisaren Euro-omreknar." #. uAg7T #: lib_euro.xhp msgctxt "" "lib_euro.xhp\n" "par_id481593518247400\n" "help.text" msgid "Its entry points are:" msgstr "Inngangspunkta er:" #. puNwN #: lib_euro.xhp msgctxt "" "lib_euro.xhp\n" "par_id381593519742529\n" "help.text" msgid "Selecting the Euro Converter wizard loads the following libraries in memory:" msgstr "Når du vel vegvisaren Euro-omreknar, vert desse biblioteka lasta inn i minnet:" #. TGAHA #: lib_euro.xhp msgctxt "" "lib_euro.xhp\n" "par_id691593519646426\n" "help.text" msgid "Basic routine name conflicts may exist when multiple Basic libraries are loaded in memory." msgstr "Det kan oppstå konfliktar mellom rutinenamn når fleire grunnleggjande bibliotek vert lasta inn i minnet." #. 5NFbA #: lib_euro.xhp msgctxt "" "lib_euro.xhp\n" "par_id1001593520257636\n" "help.text" msgid "ImportWizard and Tools Basic libraries" msgstr "Importvegvisaren og Verktøy Grunnleggjande bibliotek" #. JbBaB #: lib_euro.xhp msgctxt "" "lib_euro.xhp\n" "par_id251593518523704\n" "help.text" msgid "Euro Converter Wizard describes what the Euro library does." msgstr "Vegvisaren for Euro-omrekning forklarer kva Eurobiblioteka gjer." #. G8mp2 #: lib_formwizard.xhp msgctxt "" "lib_formwizard.xhp\n" "tit\n" "help.text" msgid "FORMWIZARD Library" msgstr "FORMWIZARD-bibliotek" #. Lehxm #: lib_formwizard.xhp msgctxt "" "lib_formwizard.xhp\n" "hd_id31529004750471\n" "help.text" msgid "The FormWizard Library" msgstr "FormWizard-biblioteket" #. tmFTn #: lib_gimmicks.xhp msgctxt "" "lib_gimmicks.xhp\n" "tit\n" "help.text" msgid "GIMMICKS Library" msgstr "GIMMICKS-bibliotek" #. Q67FR #: lib_gimmicks.xhp msgctxt "" "lib_gimmicks.xhp\n" "hd_id31529004750471\n" "help.text" msgid "The Gimmicks Library" msgstr "Gimmicks-biblioteket" #. XD2GA #: lib_gimmicks.xhp msgctxt "" "lib_gimmicks.xhp\n" "bm_id951529070357301\n" "help.text" msgid "BASIC Gimmicks library" msgstr "BASIC Gimmicks-bibliotek" #. D3BJr #: lib_gimmicks.xhp msgctxt "" "lib_gimmicks.xhp\n" "hd_id841593518085848\n" "help.text" msgid "Description" msgstr "Skildring" #. ewcAB #: lib_gimmicks.xhp msgctxt "" "lib_gimmicks.xhp\n" "par_id921593518140986\n" "help.text" msgid "The Gimmicks library is used by the AutoText wizard." msgstr "Gimmicks-biblioteket vert brukt av vegvisaren Autotekst." #. kHzUe #: lib_gimmicks.xhp msgctxt "" "lib_gimmicks.xhp\n" "par_id481593518247400\n" "help.text" msgid "Its entry points are:" msgstr "Inngangspunkta er:" #. AmCFb #: lib_gimmicks.xhp msgctxt "" "lib_gimmicks.xhp\n" "par_id381593519742529\n" "help.text" msgid "Selecting Tools - AutoText loads the following library in memory:" msgstr "Val av Verktøy → Autotekst lastar inn desse biblioteka til minnet:" #. hn8Dw #: lib_gimmicks.xhp msgctxt "" "lib_gimmicks.xhp\n" "par_id691593519646426\n" "help.text" msgid "Basic routine name conflicts may exist when multiple Basic libraries are loaded in memory." msgstr "Det kan oppstå konfliktar mellom rutinenamn når fleire Basic-bibliotek vert lasta inn i minnet." #. FGEdL #: lib_gimmicks.xhp msgctxt "" "lib_gimmicks.xhp\n" "par_id1001593520257636\n" "help.text" msgid "Tools Basic library" msgstr "Verktøy Basic-bibliotek" #. 9DVHn #: lib_gimmicks.xhp msgctxt "" "lib_gimmicks.xhp\n" "par_id251593518523704\n" "help.text" msgid "Using AutoText explains what the Gimmicks library does." msgstr "Bruk av Autotekst forklarar kva biblioteket Gimmicks gjer." #. EwqqW #: lib_importwiz.xhp msgctxt "" "lib_importwiz.xhp\n" "tit\n" "help.text" msgid "ImportWizard Library" msgstr "Importvegvisar for bibliotek" #. stDZt #: lib_importwiz.xhp msgctxt "" "lib_importwiz.xhp\n" "hd_id31529004750471\n" "help.text" msgid "The ImportWizard Library" msgstr "The Importvegvisar bibliotek" #. pbesX #: lib_importwiz.xhp msgctxt "" "lib_importwiz.xhp\n" "bm_id231529070133574\n" "help.text" msgid "BASIC ImportWizard library" msgstr "BASIC importvegvisar bibliotek" #. GFoap #: lib_importwiz.xhp msgctxt "" "lib_importwiz.xhp\n" "hd_id841593518085848\n" "help.text" msgid "Description" msgstr "Skildring" #. Anhsb #: lib_importwiz.xhp msgctxt "" "lib_importwiz.xhp\n" "par_id921593518140986\n" "help.text" msgid "The ImportWizard library is used by the Document Converter wizard." msgstr "Biblioteket ImportWizard vert brukt av vegvisaren Dokumentkonvertering." #. FaGZt #: lib_importwiz.xhp msgctxt "" "lib_importwiz.xhp\n" "par_id481593518247400\n" "help.text" msgid "Its entry point is:" msgstr "Inngangspunktet er:" #. foGsC #: lib_importwiz.xhp msgctxt "" "lib_importwiz.xhp\n" "par_id381593519742529\n" "help.text" msgid "Selecting the Document Converter wizard loads the following libraries in memory:" msgstr "Når du vel vegvisaren dokumentkonvertering, vert desse biblioteka lasta inn i minnet:" #. vV4TD #: lib_importwiz.xhp msgctxt "" "lib_importwiz.xhp\n" "par_id691593519646426\n" "help.text" msgid "Basic routine name conflicts may exist when multiple Basic libraries are loaded in memory." msgstr "Det kan oppstå konfliktar mellom rutinenamn når fleire grunnleggjande bibliotek vert lasta inn i minnet." #. ZCH7G #: lib_importwiz.xhp msgctxt "" "lib_importwiz.xhp\n" "par_id1001593520257636\n" "help.text" msgid "Tools Basic library" msgstr "Verktøy Basic-bibliotek" #. ZT5z9 #: lib_importwiz.xhp msgctxt "" "lib_importwiz.xhp\n" "par_id251593518523704\n" "help.text" msgid "Document Converter describes what the ImportWizard library does." msgstr "Dokumentkonvertering forklarer kva biblioteket for Vegvisaren for import gjer." #. UWzWk #: lib_schedule.xhp msgctxt "" "lib_schedule.xhp\n" "tit\n" "help.text" msgid "SCHEDULE Library" msgstr "SCHEDULE-bibliotek" #. CBBt6 #: lib_schedule.xhp msgctxt "" "lib_schedule.xhp\n" "hd_id31529004750471\n" "help.text" msgid "The Schedule Library" msgstr "Schedule-biblioteket" #. CGA63 #: lib_schedule.xhp msgctxt "" "lib_schedule.xhp\n" "bm_id671529070099646\n" "help.text" msgid "BASIC Schedule library" msgstr "BASIC schedule-bibliotek" #. AMFya #: lib_script.xhp msgctxt "" "lib_script.xhp\n" "tit\n" "help.text" msgid "SCRIPTBINDINGLIBRARY Library" msgstr "SCRIPTBINDINGLIBRARY-bibliotek" #. KS8Yu #: lib_script.xhp msgctxt "" "lib_script.xhp\n" "hd_id31529004750471\n" "help.text" msgid "The ScriptBindingLibrary Library" msgstr "ScriptBindingLibrary-bibliotek" #. m3NsC #: lib_script.xhp msgctxt "" "lib_script.xhp\n" "bm_id851529070366056\n" "help.text" msgid "BASIC ScriptBindingLibrary library" msgstr "BASIC ScriptBindingLibrary-bibliotek" #. Z7iSC #: lib_script.xhp msgctxt "" "lib_script.xhp\n" "hd_id841593518085848\n" "help.text" msgid "Description" msgstr "Skildring" #. nnxNN #: lib_script.xhp msgctxt "" "lib_script.xhp\n" "par_id921593518140986\n" "help.text" msgid "The ScriptBindingLibrary library only contains dialogs, it is used by Highlight %PRODUCTNAME example scripts. Its dialogs are shared by Beanshell, Java and JavaScript example scripts." msgstr "Biblioteket ScriptBindingLibrary inneheld berre dialogvindauge som vert brukte av Uthev %PRODUCTNAME eksempelskript. Dialogvindauga vert delte mellom eksempelskripta for Beanshell, Java og JavaScript." #. JdxBj #: lib_script.xhp msgctxt "" "lib_script.xhp\n" "par_id381593519742529\n" "help.text" msgid "Running any Highlight example script loads the ScriptBindingLibrary library in memory." msgstr "Når du køyrer eit Uthev eksempelskript vert biblioteket ScriptBindingLibrary lasta inn i minnet." #. 9CZwi #: lib_script.xhp msgctxt "" "lib_script.xhp\n" "par_id131593538122154\n" "help.text" msgid "This library is not used by %PRODUCTNAME Basic." msgstr "Dette biblioteket vert ikkje brukt av %PRODUCTNAME Basic." #. Qh7KM #: lib_script.xhp msgctxt "" "lib_script.xhp\n" "par_id251593524531077\n" "help.text" msgid "Basic macro selector" msgstr "Basic makroveljar" #. wJqFF #: lib_script.xhp msgctxt "" "lib_script.xhp\n" "par_id721593525163663\n" "help.text" msgid "Beanshell, Java and JavaScript Scripts" msgstr "Beanshell, Java og JavaScript skript" #. QZNvL #: lib_template.xhp msgctxt "" "lib_template.xhp\n" "tit\n" "help.text" msgid "TEMPLATE Library" msgstr "TEMPLATE-bibliotek" #. wzLe7 #: lib_template.xhp msgctxt "" "lib_template.xhp\n" "hd_id31529004750471\n" "help.text" msgid "The Template Library" msgstr "Template-bibliotek" #. adfxB #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "tit\n" "help.text" msgid "Tools Library" msgstr "Tools-bibliotek" #. vRB5r #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "hd_id31529004750471\n" "help.text" msgid "The Tools Library" msgstr "Tools-bibliotek" #. rUPPX #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "bm_id491529070339774\n" "help.text" msgid "BASIC Tools library" msgstr "BASIC Tools-bibliotek" #. DKAzk #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "par_id161529001339405\n" "help.text" msgid "Debug Module" msgstr "Debug-modul" #. pFFV7 #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "par_id41529001348561\n" "help.text" msgid "ListBox Module" msgstr "ListBox-modul" #. BDvVs #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "par_id341529001354451\n" "help.text" msgid "Misc Module" msgstr "Misc-modul" #. 6NCFB #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "par_id311529001362049\n" "help.text" msgid "ModuleControls Module" msgstr "ModuleControls-modul" #. YaqDd #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "par_id701529001368064\n" "help.text" msgid "Strings Module" msgstr "Strings-modul" #. BjA4M #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "par_id251529001373426\n" "help.text" msgid "UCB Module" msgstr "UCB-modul" #. ctfU3 #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "bm_id271529062442803\n" "help.text" msgid "BASIC Tools library;Debug module" msgstr "BASIC Tools-bibliotek;Debug-modul" #. TKbhv #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "hd_id371529000826947\n" "help.text" msgid "Debug Module" msgstr "Debug-modul" #. KBTsC #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "par_id441529064369519\n" "help.text" msgid "Functions and subroutines for debugging Basic macros." msgstr "Funksjonar og subrutinar for feilsøking i Basic-makroar" #. PJAq4 #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "par_id801529001004856\n" "help.text" msgid "Macro" msgstr "Makro" #. aTmuP #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "par_id41529001004856\n" "help.text" msgid "Calling parameters and comments" msgstr "Oppkall av parametrar og merknadar" #. 7khGi #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "bm_id131529062501888\n" "help.text" msgid "BASIC Tools library;ListBox module" msgstr "BASIC Tools-bibliotek;ListBox-modul" #. qTCF8 #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "hd_id11529005753099\n" "help.text" msgid "ListBox Module" msgstr "ListeBoks-Modul" #. BEjWa #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "par_id381529064415052\n" "help.text" msgid "Functions and subroutines for handling ListBox elements." msgstr "Funksjonar og subrutinar for handsaming av ListBox-element." #. LR48E #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "bm_id571529062538621\n" "help.text" msgid "BASIC Tools library;Misc module" msgstr "BASIC Tools-bibliotek;Misc-modul" #. PASgz #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "hd_id341529005758494\n" "help.text" msgid "Misc Module" msgstr "Misc-modul" #. 8rET3 #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "par_id681529064596175\n" "help.text" msgid "Miscellaneous functions and subroutines." msgstr "Ulike funksjonar og subrutinar." #. 534YG #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "bm_id21529062611375\n" "help.text" msgid "BASIC Tools library;ModuleControl module" msgstr "BASIC Tools-bibliotek;ModuleControl-modul" #. sonXm #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "hd_id451529005764422\n" "help.text" msgid "ModuleControls Module" msgstr "ModuleControls-modul" #. 3ASxZ #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "par_id841529064645990\n" "help.text" msgid "Functions and subroutines for module control." msgstr "Funksjonar og subrutinar for modulkontroll." #. Wyk6n #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "par_id261558858921700\n" "help.text" msgid "Refer to Opening a Dialog with Basic for an example of LoadDialog function." msgstr "Referer tilOpne eit dialogvindauge med Basic for eksempel for å opna LoadDialog-funksjonen." #. fVAXC #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "bm_id271529062660965\n" "help.text" msgid "BASIC Tools library;Strings module" msgstr "BASIC Tools-bibliotek;Strings-modul" #. uFYzk #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "hd_id461529005770576\n" "help.text" msgid "Strings Module" msgstr "Strings-modul" #. EbUdR #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "par_id631529064722315\n" "help.text" msgid "Advanced functions and subroutines for string manipulation." msgstr "Avanserte funksjonar og subrutinar for handsaming av strengar." #. iKnBp #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "bm_id731529062695476\n" "help.text" msgid "BASIC Tools library;UCB module" msgstr "BASIC Tools-bibliotek;UCB-modul" #. VeYbp #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "hd_id461529005780299\n" "help.text" msgid "UCB Module" msgstr "UCB-modul" #. K2Cvw #: lib_tools.xhp msgctxt "" "lib_tools.xhp\n" "par_id131529064870824\n" "help.text" msgid "Universal Content Broker functions and subroutines." msgstr "Funksjonar og subrutinar for Universal Content Broker." #. LsR47 #: lib_wikieditor.xhp msgctxt "" "lib_wikieditor.xhp\n" "tit\n" "help.text" msgid "WikiEditor Library" msgstr "WikiEditor-bibliotek" #. QDwwy #: lib_wikieditor.xhp msgctxt "" "lib_wikieditor.xhp\n" "hd_id31529004750471\n" "help.text" msgid "The WikiEditor Library" msgstr "WikiEditor-biblioteket" #. mBGxx #: lib_wikieditor.xhp msgctxt "" "lib_wikieditor.xhp\n" "bm_id231529070133574\n" "help.text" msgid "BASIC WikiEditor library" msgstr "BASIC WikiEditor-bibliotek" #. qGFuz #: lib_wikieditor.xhp msgctxt "" "lib_wikieditor.xhp\n" "hd_id841593518085848\n" "help.text" msgid "Description" msgstr "Skildring" #. MdATA #: lib_wikieditor.xhp msgctxt "" "lib_wikieditor.xhp\n" "par_id921593518140986\n" "help.text" msgid "The WikiEditor library only contains dialogs, it is used by Wiki Publisher bundled Java extension." msgstr "WikiEditor-biblioteket inneheld berre dialogvindauge som vert brukte av Wiki Publisher inkludert i Java-utvidinga." #. k2E85 #: lib_wikieditor.xhp msgctxt "" "lib_wikieditor.xhp\n" "par_id131593538122154\n" "help.text" msgid "This library is not used by %PRODUCTNAME Basic." msgstr "Dette biblioteket vert ikkje brukt av %PRODUCTNAME Basic." #. Ns4rA #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "tit\n" "help.text" msgid "ScriptForge.Array service (SF_Array)" msgstr "ScriptForge.Array service (SF_Array)" #. 5rg28 #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "bm_id281613039222756\n" "help.text" msgid "Array service" msgstr "Array-teneste" #. DryH9 #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "bm_id781582391760253\n" "help.text" msgid "ScriptForge.Array service" msgstr "ScriptForge.Array-teneste" #. jMjFA #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id991582454416549\n" "help.text" msgid "Provides a collection of methods for manipulating and transforming arrays of one dimension (vectors) and arrays of two dimensions (matrices). This includes set operations, sorting, importing from and exporting to text files." msgstr "" #. WjgHr #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id681609955015503\n" "help.text" msgid "Arrays with more than two dimensions cannot be used with the methods in this service, the only exception being the CountDims method that accepts Arrays with any number of dimensions." msgstr "Matyriser med meir enn to dimensjonar kan ikkje brukast med metodane i denne tenesta. Einaste unnataket er metoden CountDims, som godtar matriser med kor mange dimensjonar som helst." #. CL5tT #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id651582454426538\n" "help.text" msgid "Array items may contain any type of value, including (sub)arrays." msgstr "Matrise-element kan innehalda kva verdi som helst, også (under)matriser." #. hdC3J #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "hd_id981586595097630\n" "help.text" msgid "Service invocation" msgstr "Oppkall av tenester" #. CPbHQ #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id141609955500101\n" "help.text" msgid "Before using the Array service the ScriptForge library needs to be loaded using:" msgstr "Før du kan bruka tenesta Array, må du henta inn biblioteket ScriptForge ved hjelp av" #. FDqCD #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id461609955633383\n" "help.text" msgid "Loading the library will create the SF_Array object that can be used to call the methods in the Array service." msgstr "Lastinga av biblioteket vil laga objektet SF_Array som kan brukast for å kalla opp metodane i tenesta Array." #. AAdGG #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id63158659509728\n" "help.text" msgid "The following code snippets show the various ways to call methods in the Array service (the Append method is used as an example):" msgstr "Desse kodesnuttane viser dei ulike måtane å kalla opp metodar på i tenesta Array. Metoden Append er brukt som eksempel:" #. PZxWC #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id571609956486468\n" "help.text" msgid "Because Python has built-in list and tuple support, most of the methods in the Array service are available for Basic scripts only. The only exception is ImportFromCSVFile which is supported in both Basic and Python." msgstr "" #. SFTcE #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id651606319520519\n" "help.text" msgid "List of Methods in the Array Service" msgstr "" #. qDYGe #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id191582454485250\n" "help.text" msgid "The first argument of most methods is the array object to be considered. It is always passed by reference and left unchanged. Methods such as Append, Prepend, etc return a new array object after their execution." msgstr "Det første argumentet i dei fleste metodane er kva matriseopbjekt som skal vurderast. Den vert alltid sendt med referanse og vert ikkje endra. Metodar som «Append», «Prepend» osv. returnerer eit nytt matrise-objekt etter utføringa." #. n84zh #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id931582548992953\n" "help.text" msgid "Appends the items listed as arguments to the end of the input array." msgstr "Legg elementa som er oppførte til som argument på slutten av inndatamatrisa." #. 2keb6 #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id471582548992953\n" "help.text" msgid "array_1d: The pre-existing array, may be empty." msgstr "" #. WaggZ #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id531582548992953\n" "help.text" msgid "arg0, arg1, ...: Items that will be appended to array_1d." msgstr "" #. SkBjv #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id241582549679173\n" "help.text" msgid "Appends a new column to the right side of a two dimensional array. The resulting array has the same lower bounds as the initial two dimensional array." msgstr "Set inn ein ny kolonne til høgre i ei todimensjonal matrise. Den nye matrisa har dei same nedre grensene som den opphavlege todimensjonale matrisa." #. dCSCb #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id461582549679175\n" "help.text" msgid "array_2d: The pre-existing array, may be empty. If that array has only one dimension, it is considered as the first column of the resulting two-dimensional array." msgstr "" #. NLrB4 #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id991582549679175\n" "help.text" msgid "column: A 1-dimensional array with as many items as there are rows in array_2d." msgstr "" #. KDB9L #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id941582551396374\n" "help.text" msgid "Append to the bottom of a two dimension array a new row. The resulting array has the same lower bounds as the initial two dimension array." msgstr "Legg til ei ny rad nedst i ei todimensjonal matrise. Den nye matrisa har dei same nedre grensene som den opphavlege matrisa." #. HEpVM #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id631582551461984\n" "help.text" msgid "array_2d: The pre-existing array, may be empty. If that array has 1 dimension, it is considered as the first row of the resulting 2 dimension array." msgstr "" #. SZZEA #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id101582551483685\n" "help.text" msgid "row: A 1-dimensional array with as many items as there are columns in array_2d." msgstr "" #. aM65P #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id391582552517870\n" "help.text" msgid "Check if a one dimension array contains a certain number, text or date. Text comparison can be case-sensitive or not.
Sorted input arrays must be filled homogeneously, meaning all items must be scalars of the same type (Empty and Null items are forbidden).
The result of the method is unpredictable when the array is announced as sorted and is in reality not.
A binary search is done when the array is sorted, otherwise, it is simply scanned from top to bottom and Empty and Null items are ignored." msgstr "Sjå etter om ei eindimensjonal matrise inneheld eit bestemt tal, ein bestemt tekst eller dato. Tekstsamanlikningar kan skilja mellom store og små bokstavar.
Sorterte inndatamatriser må fyllast ut homogent, det vil seia at alle elementa må vera skalarar av same type (Tomme- og Null-element kan ikkje brukast).
Det er uråd å vita på førehand kva resultatet av metoden vert når matrisa er sagt å vera sortert utan at ho er det.
Det vert utført eit binærsøk når matrisa er sortert, elles vert ho skanna frå øvst til nedst og Tomme element og Nullelement vert ignorerte." #. CuUGw #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id451582552517871\n" "help.text" msgid "array_1d: The array to scan." msgstr "" #. WZiqW #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id221582552517872\n" "help.text" msgid "tofind: A number, a date or a string to find." msgstr "" #. jFfok #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id981582552517872\n" "help.text" msgid "casesensitive: Only for string comparisons (Default = False)." msgstr "" #. 5ARWv #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id641582553128490\n" "help.text" msgid "sortorder: It can be either \"ASC\", \"DESC\" or \"\" (not sorted). The default value is \"\"." msgstr "" #. HVqG3 #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id71582557214489\n" "help.text" msgid "Store the content of a 2-columns array into a ScriptForge.Dictionary object.
The key will be extracted from the first column, the item from the second." msgstr "Lagrar innhaldet av ei matrise med to kolonnar i eit ScriptForge.Dictionary-objekt.
Nøkkelen vert henta ut frå den første kolonnen, elementet frå den andre." #. AdhMA #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id561582557214489\n" "help.text" msgid "array_2d: Data to be converted into a ScriptForge.Dictionary object." msgstr "" #. 9B9aE #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id781626977460310\n" "help.text" msgid "The first column must contain exclusively strings with a length greater than zero, in any order. These values will be used as labels in the dictionary." msgstr "" #. GYEkD #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id511626977461127\n" "help.text" msgid "The second column contains the data that will be associated to the corresponding label in the dictionary." msgstr "" #. bGXKd #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id571627154604275\n" "help.text" msgid "Creates a copy of a 1D or 2D array." msgstr "" #. EYuiH #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id191627155816815\n" "help.text" msgid "array_nd: The 1D or 2D array to be copied." msgstr "" #. 76Guf #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id451627155478940\n" "help.text" msgid "A simple assignment of an Array object will copy its reference instead of creating a copy of the object's contents. See the example below:" msgstr "" #. B2KZj #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "bas_id801627155939671\n" "help.text" msgid "' The assignment below is made by reference" msgstr "" #. SoKPK #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "bas_id291627156013810\n" "help.text" msgid "' Hence changing values in \"b\" will also change \"a\"" msgstr "" #. 6NbNZ #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id701627155874259\n" "help.text" msgid "By using the Copy method, a copy of the whole Array object is made. In the example below, a and b are different objects and changing values in b will not affect values in a." msgstr "" #. UycBx #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "bas_id141627156152196\n" "help.text" msgid "' Creates a copy of \"a\" using the \"Copy\" method" msgstr "" #. bYzRV #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id671582558126025\n" "help.text" msgid "Count the number of dimensions of an array. The result can be greater than two.
If the argument is not an array, returns -1
If the array is not initialized, returns 0." msgstr "" #. xbtFE #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id771582558126027\n" "help.text" msgid "array_nd: The array to examine." msgstr "" #. n2AxD #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id91582558644287\n" "help.text" msgid "Build a set, as a zero-based array, by applying the difference operator on the two input arrays. Resulting items originate from the first array and not from the second.
The resulting array is sorted in ascending order.
Both input arrays must be filled homogeneously, their items must be scalars of the same type. Empty and Null items are forbidden.
Text comparison can be case sensitive or not." msgstr "Bygg eit sett som ei null-basert matrise, ved å bruka differensoperatoren på dei to inndatamatrisene. Resulterande element kjem frå den første matrisa og ikkje frå den andre.
Den resulterande matrisa vert sortert i stigande rekkjefølgje.
Begge inndatamatrisene må fyllast homogent, elementa må vera skalarer av same type. Elementa Empty og Null kan ikkje brukast.
Tekstsamanlikning kan skilja mellom store og små bokstavar eller ikkje." #. FTb9n #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id271582558644287\n" "help.text" msgid "array1_1d: A 1-dimensional reference array, whose items are examined for removal." msgstr "" #. JXqBK #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id141582558644287\n" "help.text" msgid "array2_1d: A 1-dimensional array, whose items are subtracted from the first input array." msgstr "" #. jK4zC #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id291582559651473\n" "help.text" msgid "casesensitive: This argument is only applicable if the arrays are populated with strings (Default = False)." msgstr "" #. mzRus #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id941586179707156\n" "help.text" msgid "Write all items of the array sequentially to a text file. If the file exists already, it will be overwritten without warning." msgstr "Skriv alle matriseelementa i nummerrekkjefølgje til ei tekstfil. Viss fila finst frå før, vert ho overskrive utan varsel." #. 9mNLT #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id100158617970719\n" "help.text" msgid "array_1d: The array to export. It must contain only strings." msgstr "" #. kXJDE #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id101586179707232\n" "help.text" msgid "filename: The name of the text file where the data will be written to. The name must be expressed according to the current FileNaming property of the SF_FileSystem service." msgstr "" #. fAeZV #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id70158617970791\n" "help.text" msgid "encoding: The character set that should be used. Use one of the names listed in IANA character sets. Note that %PRODUCTNAME may not implement all existing character sets (Default is \"UTF-8\")." msgstr "" #. TtHbe #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id171582560281082\n" "help.text" msgid "Extract from a two dimension array a specific column as a new array.
Its lower LBound and upper UBound boundaries are identical to that of the first dimension of the input array." msgstr "Trekk ut ein bestemt kolonne frå ei todimensjonal matrise som ei ny matrise.
Dei nedre LBound og øvre UBound grensene er dei same som dei brukte i første dimensjon av innmatrisa." #. j2CVW #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id301582560281083\n" "help.text" msgid "array_2d: The array from which to extract." msgstr "" #. QDqrA #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id421582560281084\n" "help.text" msgid "columnindex: The column number to extract - must be in the interval [LBound, UBound]." msgstr "" #. AJxYE #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "bas_id861609975902708\n" "help.text" msgid "'Creates a 3x3 matrix: |1, 2, 3|" msgstr "'Lagar ei 3 × 3 matrise: |1, 2, 3|" #. uZD8U #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "bas_id431609976009994\n" "help.text" msgid "'Extracts the third column: |3, 6, 9|" msgstr "'Trekk ut den tredje kolonnen: |3, 6, 9|" #. is3Zq #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id211582561467219\n" "help.text" msgid "Extract from a two dimension array a specific row as a new array.
Its lower LBound and upper UBound boundaries are identical to that of the second dimension of the input array." msgstr "Trekk ut ei bestemt rad som ei ny matrise frå ei to-dimensjonal matrise.
Nedre (LBound) og øvre (UBound) grense er lik grensene i den andre dimensjonen i inndatamatrisa." #. VCBJA #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id911582561542889\n" "help.text" msgid "array_2d: The array from which to extract." msgstr "" #. MjXTV #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id441582561551202\n" "help.text" msgid "rowindex: The row number to extract - must be in the interval [LBound, UBound]." msgstr "" #. AajEu #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "bas_id301582561604167\n" "help.text" msgid "'Creates a 3x3 matrix: |1, 2, 3|" msgstr "' Lagar ei 3 × 3 matrise: |1, 2, 3|" #. txoEC #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "bas_id431609976648017\n" "help.text" msgid "'Extracts the first row: |1, 2, 3|" msgstr "' Trekk ut den første rada: |1, 2, 3|" #. nGy3S #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id431585757822181\n" "help.text" msgid "Stack all single items of an array and all items in its subarrays into one new array without subarrays. Empty subarrays are ignored and subarrays with a number of dimensions greater than one are not flattened." msgstr "Stablar alle enkeltelementa i ei matrise og alle elementa i delmatrisene i éi ny matrise utan delmatriser. Tomme delmatriser vert ignorerte og delmatriser med større dimensjonar enn éin vert ikkje slegne saman." #. CNFGJ #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id431585757822869\n" "help.text" msgid "array_1d: The pre-existing array, may be empty." msgstr "" #. DDwn4 #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id291610040786530\n" "help.text" msgid "You can use the Flatten method along with other methods such as Append or Prepend to concatenate a set of 1D arrays into a single 1D array." msgstr "Du kan bruka metoden Flatten saman med andre metodar som for eksempel Append eller Prepend for å kopla saman eit sett med 1D-matriser til éi enkelt 1D-matrise." #. XE4hJ #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id941610040961148\n" "help.text" msgid "Next is an example of how the methods Flatten and Append can be combined to concatenate three arrays." msgstr "Neste eksempel viser korleis metodane Flatten og Append kan kombinerast for å setja saman tre matriser." #. FyJQi #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "bas_id841610041372527\n" "help.text" msgid "'Creates three arrays for this example" msgstr "' Lager tre matriser til dette eksempelet" #. WvdEp #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "bas_id171610041440657\n" "help.text" msgid "'Concatenates the three arrays into a single 1D array" msgstr "' Slår saman dei tre matrisene til éi 1D-matrise" #. 3Gm5m #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id611585561482373\n" "help.text" msgid "Import the data contained in a comma-separated values (CSV) file. The comma may be replaced by any character." msgstr "Importer dataa frå ei kommadelt fil (CSV). Kommaet kan bytast ut med kva teikn som helst." #. Fft9z #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id41585562158392\n" "help.text" msgid "The applicable CSV format is described in IETF Common Format and MIME Type for CSV Files." msgstr "Det aktuelle CSV-formatet er forklart i IETF Common Format and MIME Type for CSV Files." #. PT3Pq #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id641585562341028\n" "help.text" msgid "Each line in the file contains a full record (line splitting is not allowed).
However sequences like \\n, \\t, ... are left unchanged. Use SF_String.Unescape() method to manage them." msgstr "Kvar linje i fila inneheld ein fullstendig post (linjedeling er ikkje tillate).
Sekvensar som \\n, \\t, … vert uendra. Bruk SF_String, Unescape()-metoden for å administrera dei." #. dCYB3 #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id231585562475026\n" "help.text" msgid "The method returns a two dimension array whose rows correspond to a single record read in the file and whose columns correspond to a field of the record. No check is made about the coherence of the field types across columns. A best guess will be made to identify numeric and date types." msgstr "Metoden returnerer ei matrise med to dimensjonar der radene svarar til éin enkelt post i fila, og der kolonnane svarar til eitt felt i posten. Det vert ikkje kontrollert om felttypane er samanhengande på tvers av kolonnar. Det vert gjort ei beste gissing for å identifisera numeriske typar og datotypar." #. FMKSo #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id101585562548245\n" "help.text" msgid "If a line contains less or more fields than the first line in the file, an exception will be raised. Empty lines however are simply ignored. If the size of the file exceeds the number of items limit (see inside the code), a warning is raised and the array is truncated." msgstr "Viss ei linje inneheld færre eller fleire felt enn den første linja i fila, vert det sett eit unntak. Tomme linjer vert ganske enkelt ignorerte. Viss fila er større enn grensa for talet på element (sjå i koden), vert det vist ei åtvaring og matrisa vert avkorta." #. zGf5A #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id441585561482121\n" "help.text" msgid "filename: The name of the text file containing the data. The name must be expressed according to the current FileNaming property of the SF_FileSystem service." msgstr "" #. SBuiC #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id251585561482929\n" "help.text" msgid "delimiter: A single character, usually, a comma, a semicolon or a TAB character (Default = \",\")." msgstr "" #. Ehoz6 #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id631585563491559\n" "help.text" msgid "dateformat: A special mechanism handles dates when dateformat is either \"YYYY-MM-DD\", \"DD-MM-YYYY\" or \"MM-DD-YYYY\". The dash (-) may be replaced by a dot (.), a slash (/) or a space. Other date formats will be ignored. Dates defaulting to an empty string \"\" are considered as normal text." msgstr "" #. oj4Th #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id61585564516409\n" "help.text" msgid "Consider the CSV file \"myFile.csv\" with the following contents:" msgstr "" #. T6E8L #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id281626980354105\n" "help.text" msgid "Name,DateOfBirth,Address,City" msgstr "" #. FRZKB #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id301626980648833\n" "help.text" msgid "Anna,2002/03/31,\"Rue de l'église, 21\",Toulouse" msgstr "" #. g2r8f #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id881626980658900\n" "help.text" msgid "Fred,1998/05/04,\"Rue Albert Einstein, 113A\",Carcassonne" msgstr "" #. xNCNA #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id181626979812772\n" "help.text" msgid "The examples below in Basic and Python read the contents of the CSV file into an Array object." msgstr "" #. F4yYB #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "bas_id531585561482408\n" "help.text" msgid "arr = SF_Array.ImportFromCSVFile(\"C:\\Temp\\myFile.csv\", DateFormat := \"YYYY/MM/DD\")" msgstr "" #. wyEqv #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "bas_id621585561482783\n" "help.text" msgid "MsgBox arr(0, 3) ' City" msgstr "" #. tDMNL #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "bas_id21585564425349\n" "help.text" msgid "MsgBox arr(1, 2) ' Rue de l'église, 21" msgstr "" #. SBfVW #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "bas_id831585564433851\n" "help.text" msgid "MsgBox arr(1, 3) ' Toulouse" msgstr "" #. DpxfS #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "pyc_id511626979992999\n" "help.text" msgid "arr = svc.ImportFromCSVFile(r\"C:\\Temp\\myFile.csv\", dateformat = \"YYYY/MM/DD\")" msgstr "" #. asqiD #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "pyc_id211626979993191\n" "help.text" msgid "bas.MsgBox(arr[0][3]) # City" msgstr "" #. 2gFXA #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "pyc_id671626979993408\n" "help.text" msgid "bas.MsgBox(arr[1][2]) # Rue de l'église, 21" msgstr "" #. kYfmG #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "pyc_id481626979993648\n" "help.text" msgid "bas.MsgBox(arr[1][3]) # Toulouse" msgstr "" #. xCx7D #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id211582562721860\n" "help.text" msgid "Look in a one dimension array for a number, a string or a date. Text comparison can be case-sensitive or not.
If the array is sorted it must be filled homogeneously, which means that all items must be scalars of the same type (Empty and Null items are forbidden).
The result of the method is unpredictable when the array is announced as sorted and actually is not.
A binary search is performed on sorted arrays. Otherwise, arrays are simply scanned from top to bottom and Empty and Null items are ignored.

The method returns LBound(input array) - 1 if the search was not successful." msgstr "Sjå etter eit tal, ein streng eller ein dato i ei eindimensjonal matrise. Tekstsamanlikning kan skilja mellom store og små bokstavar, eller ikkje.
Viss matrisa er sortert, må ho vera utfylt homogent, altså at alle elementa må vera skalarer av same type (Empty og Null kan ikkje brukast).
Når matrisa er sett til å vera sortert men ikkje er det, er det uråd å vita resultatet på førehand.
Det vert brukt binært søk på sorterte matriser. Elles vert matriser ganske enkelt skanna frå topp til botn. Elementa Empty og Null vert ikkje tekne med.

Metoden returnerer LBound(input array) - 1 viss søket ikkje var vellukka." #. Bm5Um #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id315825627687760\n" "help.text" msgid "array_1d: The array to scan." msgstr "" #. B5FFj #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id511582562775516\n" "help.text" msgid "tofind: A number, a date or a string to find." msgstr "" #. i4XQT #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id311582562787187\n" "help.text" msgid "casesensitive: Only for string comparisons (Default = False)." msgstr "" #. gd5ZZ #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id421582562794501\n" "help.text" msgid "sortorder: It can be either \"ASC\", \"DESC\" or \"\" (not sorted). The default value is \"\"." msgstr "" #. AWJHj #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id911582626951109\n" "help.text" msgid "Insert before a given index of the input array the items listed as arguments.
Arguments are inserted blindly. Each of them might be either a scalar of any type or a subarray." msgstr "Set inn elementa som er oppført som argument framføre ein gjeven indeks for inndatamatrisa.
Argument vert sette inn blindt. Kvart av dei kan anten vera ein skalar av kva type som helst eller ei undermatrise." #. FwHz6 #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id251582626951111\n" "help.text" msgid "array_1d: The pre-existing array, may be empty." msgstr "" #. zEACt #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id361582626951111\n" "help.text" msgid "before: The index before which to insert; must be in the interval [LBound, UBound + 1]." msgstr "" #. iYFC5 #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id41582626951111\n" "help.text" msgid "arg0, arg1, ...: Items that will be inserted into array_1d." msgstr "" #. rA4FE #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id441582627664147\n" "help.text" msgid "Inserts into a sorted array a new item on its place.
The array must be filled homogeneously, meaning that all items must be scalars of the same type.
Empty and Null items are forbidden." msgstr "" #. jBpdF #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id121582627664147\n" "help.text" msgid "array_1d: The array into which the value will be inserted." msgstr "" #. 36fZG #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id315826276641480\n" "help.text" msgid "item: The scalar value to insert, of the same type as the existing array items." msgstr "" #. dHYTn #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id415826279771170\n" "help.text" msgid "sortorder: It can be either \"ASC\" (default) or \"DESC\"." msgstr "" #. TJanG #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id701582627970037\n" "help.text" msgid "casesensitive: Only for string comparisons (Default = False)." msgstr "" #. t9UFn #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id71582629177169\n" "help.text" msgid "Build a set, as a zero-based array, by applying the intersection set operator on the two input arrays. Resulting items are contained in both arrays.
The resulting array is sorted in ascending order.
Both input arrays must be filled homogeneously, in other words all items must be scalars of the same type. Empty and Null items are forbidden.
Text comparison can be case sensitive or not." msgstr "Bygg eit sett som ei null-basert matrise ved å bruka unionmengde-operatoren på dei to inndatamatrisene. Resulterande element kjem frå begge matrisene.
Den resulterande matrisa vert sortert i stigande rekkjefølgje.
Begge inndatamatrisene må fyllast homogent, elementa må vera skalarer av same type. Elementa Empty og Null kan ikkje brukast.
Tekstsamanlikning kan skilja mellom store og små bokstavar eller ikkje." #. vCyDN #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id881582629216169\n" "help.text" msgid "array1_1d: The first input array." msgstr "" #. NhXEb #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id191582629223038\n" "help.text" msgid "array2_1d: The second input array." msgstr "" #. Dx32U #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id71582629230275\n" "help.text" msgid "casesensitive: Applies to arrays populated with text items (Default = False)." msgstr "" #. cirZm #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id431583064481679\n" "help.text" msgid "Join a two-dimensional array with two delimiters, one for the columns, one for the rows." msgstr "Føyer saman ei todimensjonal matrise med to skiljeteikn, eitt for kolonnane, eitt for radene." #. 8xwfF #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id821583064481534\n" "help.text" msgid "array_2d: Each item must be either text, a number, a date or a boolean.
Dates are transformed into the YYYY-MM-DD hh:mm:ss format.
Invalid items are replaced by a zero-length string." msgstr "" #. TiqUm #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id171583066989446\n" "help.text" msgid "columndelimiter: Delimits each column (default = Tab/Chr(9))." msgstr "" #. WG5wm #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id431583067008842\n" "help.text" msgid "rowdelimiter: Delimits each row (default = LineFeed/Chr(10))" msgstr "" #. VrBJV #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id541583067456273\n" "help.text" msgid "quote: If True, protect strings with double quotes. The default is False." msgstr "" #. CEE7o #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id731582630075045\n" "help.text" msgid "Prepend at the beginning of the input array the items listed as arguments." msgstr "Legg dei utlista elementa til som argument i byrjinga av inndatamatrisa." #. HSbWh #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id321582630107068\n" "help.text" msgid "array_1d: The pre-existing array, may be empty." msgstr "" #. jszVE #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id915826301138550\n" "help.text" msgid "arg0, arg1, ...: A list of items to prepend to array_1d." msgstr "" #. BokfB #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id91582643223166\n" "help.text" msgid "Prepend to the left side of a two dimension array a new column. The resulting array has the same lower boundaries as the initial two dimension array." msgstr "Legg til ein ny kolonne først på venstre side i ei todimensjonal matrise. Den nye matrisa har dei same nedre grensene som den opphavlege todimensjonale matrisa." #. iBqEm #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id621582643223545\n" "help.text" msgid "array_2d: The pre-existing array, may be empty. If that array has 1 dimension, it is considered as the last column of the resulting 2 dimension array." msgstr "" #. aKJwC #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id381582643223870\n" "help.text" msgid "column: A 1-dimensional array with as many items as there are rows in array_2d." msgstr "" #. vsPSG #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id851582643611291\n" "help.text" msgid "Prepend a new row at the beginning of a 2-dimensional array. The resulting array has the same lower boundaries as the initial 2-dimensional array." msgstr "" #. g2LFC #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id991582643611645\n" "help.text" msgid "array_2d: The pre-existing array, may be empty. If that array has 1 dimension, it is considered as the last row of the resulting 2-dimensional array." msgstr "" #. RiLGr #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id321582643611415\n" "help.text" msgid "row: A 1-dimensional array containing as many items as there are columns in array_2d." msgstr "" #. WmxAd #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id441582648204012\n" "help.text" msgid "Initialize a new zero-based array with numeric values." msgstr "Initialiser ei ny null-basert matrise med numeriske verdiar." #. EVXVL #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id591582648204013\n" "help.text" msgid "from: Value of the first item." msgstr "" #. ciMBJ #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id31582648204013\n" "help.text" msgid "upto: The last item should not exceed UpTo." msgstr "" #. 2QZtd #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id581582648204014\n" "help.text" msgid "bystep: The difference between two successive items (Default = 1)." msgstr "" #. SbVGG #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id451582648806764\n" "help.text" msgid "Return the reversed one dimension input array." msgstr "Returner den omvendte eindimensjonelle inndata-matrisa." #. dG6d8 #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id31582648806765\n" "help.text" msgid "array_1d: The array to reverse." msgstr "" #. tkEUv #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id151582649200088\n" "help.text" msgid "Returns a random permutation of a one-dimensional array." msgstr "" #. xFwWY #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id11582649200088\n" "help.text" msgid "array_1d: The array to shuffle." msgstr "" #. BvV5v #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "bas_id611582649200089\n" "help.text" msgid "' Array \"a\" is now in random order, f.i. (2, 3, 1, 4)" msgstr "" #. GhFBG #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id111586184185502\n" "help.text" msgid "Returns a subset of a one-dimensional array." msgstr "" #. YeRkh #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id201586184185438\n" "help.text" msgid "array_1d: The array to slice." msgstr "" #. UzHmT #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id921586184482370\n" "help.text" msgid "from: The lower index in array_1d of the subarray to extract (from included)" msgstr "" #. 326GB #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id211586184471488\n" "help.text" msgid "upto: The upper index in array_1d of the subarray to extract (upto included). The default value is the upper bound of array_1d. If upto < from then the returned array is empty." msgstr "" #. oBwcF #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id171582649483675\n" "help.text" msgid "Sort a one dimension array in ascending or descending order. Text comparisons can be case-sensitive or not.
The array must be filled homogeneously, which means that items must be scalars of the same type.
Empty and Null items are allowed. Conventionally Empty < Null < any other scalar value." msgstr "Sorter ei eindimensjonal matrise i stigande eller falande rekkjefølgje. Tekstsamanlikningar kan skilja mellom store og små bokstavar eller ikkje.
Matrisa skal vera fylt homogent, altså at elementa må vera av same type skalarar.
Elementa Empty og Null er tillatne. Til vanleg er Empty < Null < kva skalarverdi som helst." #. eNuB8 #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id71158264948346\n" "help.text" msgid "array_1d: The array to sort." msgstr "" #. 7S2Bq #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id21582649483175\n" "help.text" msgid "sortorder: It can be either \"ASC\" (default) or \"DESC\"." msgstr "" #. K4GrR #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id301582649483187\n" "help.text" msgid "casesensitive: Only for string comparisons (Default = False)." msgstr "" #. 6CkrZ #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id801582650186957\n" "help.text" msgid "Return a permutation of the columns of a two dimension array, sorted on the values of a given row.
The row must be filled homogeneously, which means that all items must be scalars of the same type.
Empty and Null items are allowed. Conventionally Empty < Null < any other scalar value." msgstr "Returner ein permutasjon av kolonnar i ei todimensional matrise, sortert etter verdiane i ei gjeven rad.
Rada må vera fylt homogent, altså at alle elementa må vera skalarer av same type.
Elementa Empty og Null er tillatne. Til vanleg er Empty < Null < kva annan skalar verdi som helst." #. ww7Us #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id921582650186869\n" "help.text" msgid "array_2d: The 2-dimensional array to sort." msgstr "" #. GdFxm #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id311582650186221\n" "help.text" msgid "rowindex: The index of the row that will be used as reference to sort the columns." msgstr "" #. toBNF #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id34158265018698\n" "help.text" msgid "sortorder: It can be either \"ASC\" (default) or \"DESC\"." msgstr "" #. BFduL #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id91158265018699\n" "help.text" msgid "casesensitive: Only for string comparisons (Default = False)." msgstr "" #. 7GkBx #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id751582650954576\n" "help.text" msgid "Return a permutation of the rows of a two dimension array, sorted on the values of a given column.
The column must be filled homogeneously, therefore all items must be scalars of the same type.
Empty and Null items are allowed. Conventionally Empty < Null < any other scalar value." msgstr "Returner ein permutasjon av kolonnar i ei todimensional matrise, sortert etter verdiane i ei gjeven rad.
Rada må vera fylt homogent, altså at alle elementa må vera skalarer av same type.
Elementa Empty og Null er tillatne. Til vanleg er Empty < Null < kva annan skalar verdi som helst." #. durL8 #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id621582650954370\n" "help.text" msgid "array_2d: The array to sort." msgstr "" #. HZqQi #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id361582650954796\n" "help.text" msgid "columnindex: The index of the column that will be used as reference to sort the rows." msgstr "" #. 7TDWy #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id471582650954416\n" "help.text" msgid "sortorder: It can be either \"ASC\" (default) or \"DESC\"." msgstr "" #. 9YDzi #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id111582650954690\n" "help.text" msgid "casesensitive: Only for string comparisons (Default = False)." msgstr "" #. skzGA #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id611582651575637\n" "help.text" msgid "Swaps rows and columns in a two-dimensional array." msgstr "" #. gcbVN #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id61582651575188\n" "help.text" msgid "array_2d: The 2-dimensional array to transpose." msgstr "" #. dwAVQ #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id181582652996483\n" "help.text" msgid "Remove from a one dimension array all Null, Empty and zero-length entries.
String items are trimmed with %PRODUCTNAME Basic Trim() function." msgstr "Fjern alle Null, Empty og nul-lengde-oppføringar frå ei eindimensjonal matrise.
Strengelementa kan trimmast med funksjonen %PRODUCTNAME Basic Trim() ." #. L8FQg #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id111582652996147\n" "help.text" msgid "array_1d: The array to trim." msgstr "" #. GAC2A #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id461582653148663\n" "help.text" msgid "Builds a set, as a zero-based array, by applying the union operator on the two input arrays. Resulting items originate from any of both arrays.
The resulting array is sorted in ascending order.
Both input arrays must be filled homogeneously, their items must be scalars of the same type. Empty and Null items are forbidden.
Text comparison can be case sensitive or not." msgstr "" #. oHeQj #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id4715826531488\n" "help.text" msgid "array1_1d: The first input array." msgstr "" #. GJuXQ #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id51158265314898\n" "help.text" msgid "array2_1d: The second input array." msgstr "" #. HNhsz #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id821582653148126\n" "help.text" msgid "casesensitive: Applicable only if the arrays are populated with strings (Default = False)." msgstr "" #. CGMRq #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id221582653464565\n" "help.text" msgid "Build a set of unique values derived from the input array.
The input array must be filled homogeneously, its items must be scalars of the same type. Empty and Null items are forbidden.
Text comparison can be case sensitive or not." msgstr "Bygg eit sett av unike verdiar avleidde frå inndata-matrisa.
Inndata-matrisa må vera fylt homogent, altså at alle elementa må vera skalarer av den same typen. Elementa Empty og Null er ikkje tillatne.
Tekstsamanlikningar kan skilja mellom store og små bokstavar eller ikkje." #. bcFGM #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id521582653464553\n" "help.text" msgid "array_1d: The input array." msgstr "" #. MYeE2 #: sf_array.xhp msgctxt "" "sf_array.xhp\n" "par_id41158265346441\n" "help.text" msgid "casesensitive: Applicable only if the array is populated with strings (Default = False)." msgstr "" #. GAXAU #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "tit\n" "help.text" msgid "SFDocuments.Base service" msgstr "Tenesta SFDocuments.Base" #. TiAmG #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "bm_id781582391760253\n" "help.text" msgid "SFDocuments.Base service" msgstr "Tenesta SFDocuments.Base" #. 4KK8s #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id901619031958273\n" "help.text" msgid "The Base service provides a number of methods and properties to facilitate the management and handling of %PRODUCTNAME Base documents." msgstr "Tenesta Base inneheld ei rad metodar og eigenskapar for å forenkla administreringa og hanfsaminga av %PRODUCTNAME Base-dokument." #. ZxoY9 #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id961619032060880\n" "help.text" msgid "This service is closely related to the Document service, which provides generic methods for handling %PRODUCTNAME documents, including Base documents. Hence, the Base service extends the Document service and provides additional methods that are specific for Base documents, enabling users to:" msgstr "Denne tenesta er nært knytt til tenesta ;Document, som inneheld generiske metodar for handsaming av %PRODUCTNAME-dokument, inkludert Base-dokument. Difor utvidar tenesta Base Document-tenesta og inneheld fleire metodar som er spesifikke for Base-dokument, slik at brukarane kan:" #. EK3gt #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id241619032289964\n" "help.text" msgid "Get access to the database contained in a Base document." msgstr "Få tilgang til databasen innebygd i eit Base-dokument." #. y2wmE #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id291619032292829\n" "help.text" msgid "Open form documents stored in a Base document." msgstr "Opna skjemadokument som er lagra i eit Base-dokument." #. cpnJ7 #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id421619032296454\n" "help.text" msgid "Check if a form document from a Base document is currently loaded." msgstr "Kontrollera om eit skjemadokument frå eit Base-dokument er lasta inn." #. myHaG #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id241619032941497\n" "help.text" msgid "Refer to the Document service to learn more about methods and properties that can be used to manage %PRODUCTNAME documents." msgstr "Sjå tenesta Document for å læra meir om metodane og eigenskapane som kan brukast for å administrera %PRODUCTNAME-dokument." #. bGpRM #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "hd_id581582885621841\n" "help.text" msgid "Service invocation" msgstr "Oppkall av tenester" #. AvW3k #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id141609955500101\n" "help.text" msgid "Before using the Base service the ScriptForge library needs to be loaded or imported:" msgstr "" #. vi6hS #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id311619033224680\n" "help.text" msgid "The Base service can be invoked in a variety of ways. The code snippet below uses the method CreateBaseDocument from the UI service to create a new Base file." msgstr "Tenesta Base kan kallast opp på ulike måtar. Kodesnutten nedanfor brukar metoden CreateBaseDocument i tenesta UI til å laga ei ny Base-fil." #. t4HPk #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id101619033666470\n" "help.text" msgid "Note that in all examples the object oDoc is an instance of the Base service." msgstr "Merk at i alle eksempla er objektet oDoc ein førekomst av tenesta Base." #. hKce4 #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id281619033570656\n" "help.text" msgid "The Base service can also be instantiated while opening an existing Base file, as shown below:" msgstr "Base-tenesta kan også startast medan du opnar ei eksisterande basisfil som vist nedanfor:" #. noxU9 #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id331619033713781\n" "help.text" msgid "If a Base document is already open, it is possible to instantiate the Base service directly:" msgstr "Viss eit Base-dokument er opna frå før, er det råd å starta tenesta Base direkte:" #. DrqrF #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id871623102536956\n" "help.text" msgid "The examples above can be translated to Python as follows:" msgstr "Eksempla ovanfor kan omsetjast til Python slik:" #. f8Esv #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id281619619980185\n" "help.text" msgid "The use of the \"SFDocuments.\" substring in the previous example is optional." msgstr "Bruk av delstrengen «SFDocuments.» i det førre eksempelet er valfritt." #. oMw4m #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id451619034669263\n" "help.text" msgid "List of Methods in the Base Service" msgstr "Liste over metodar i tenesta Base" #. TvfQt #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id801916099743199\n" "help.text" msgid "Closes the given form document. Returns True if closure is successful." msgstr "" #. ycunk #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id941619079997810\n" "help.text" msgid "formdocument: The name of the FormDocument to be closed, as a case-sensitive string." msgstr "" #. aLKLw #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id351619100723505\n" "help.text" msgid "If form documents are organized in folders, it is necessary to include the folder name to specify the form document to be opened, as illustrated in the following examples:" msgstr "" #. TQCNn #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id481619036833610\n" "help.text" msgid "Returns an array with the full names (path/name) of all form documents in the Base document as a zero-based Array of strings." msgstr "" #. sECnJ #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id431619037334440\n" "help.text" msgid "The code snippet below prints the names of all form documents in the current Base document." msgstr "Kodesnutten nedanfor skriv ut namna på alle skjemadokumenta i det gjeldande Base-dokumentet." #. DQb6z #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id921619036922844\n" "help.text" msgid "To learn more about form documents, refer to the Form service help page." msgstr "For å læra meir om skjema-dokument, sjå hjelpesidene til tenesta Form." #. gCGqW #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id191619037523467\n" "help.text" msgid "Depending on the parameters provided this method will return:" msgstr "Avhengig av kva parameterar som er gjevne, vil denne metoden returnere:" #. HqFmT #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id781619037575043\n" "help.text" msgid "A zero-based Array with the names of all the forms contained in a form document (if the Form argument is absent)" msgstr "Ei null-basert matrise med namna på alle skjema i eit skjemadokument (viss argumentet Form manglar)" #. Q4Had #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id111619037577804\n" "help.text" msgid "A SFDocuments.Form object representing the form specified in the Form argument." msgstr "Eit SFDocuments.Form-objekt som representerer skjemaet spesifisert i argumentet Form." #. pEtwt #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id861619037838260\n" "help.text" msgid "formdocument: The name of a valid form document as a case-sensitive string." msgstr "skjemadokument: Namnet på eit gyldig skjemadokument som ein streng som skil mellom store og små bokstavar." #. L3csm #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id281619037857187\n" "help.text" msgid "form: The name or index number of the form stored in the form document. If this argument is absent, the method will return a list with the names of all forms available in the form document." msgstr "skjema: Namnet eller indeksnummeret på skjemaet som er lagra i skjemadokumentet. Viss dette argument manglar, vil metoden returnera ei liste med namna på alle skjemaa som er tilgjengelege i skjemadokumentet." #. K4nQh #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id921619437863617\n" "help.text" msgid "Although it is possible to use index numbers to refer to forms, this is only recommended when there is just one form in the form document. If there are two or more forms, it is preferable to use the form name instead." msgstr "Sjølv om det er mogleg å bruka indekstal til å referere til skjema, vert dette tilrådd brukt berre når det er eitt skjema i skjemadokumentet. Viss det er fleire skjema, bør du helst bruka skjemanamnet i staden." #. DoxrV #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id21623104676805\n" "help.text" msgid "The first line of the example below returns a list of all forms in the form document \"myFormDocument\". The second line returns an instance of the Form service representing the form \"myForm\"." msgstr "Den første linja i eksemplet nedanfor returnerer ei liste over alle skjemaa i skjemadokumentet \"myFormDocument\". Den andre linja returnerer eit eksemplar av tenesta «Form» som representerer skjemaet «myForm»." #. 9jA9n #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id371619098340303\n" "help.text" msgid "Returns an instance of the Database service that allows the execution of SQL commands on the database defined and/or stored in the current Base document" msgstr "Returnerer ein førekomst av tenesta Database som tillet utføringa av SQL-kommandoar som er definerte og/eller lagra i det gjeldande Base-dokumentet." #. 9Bncy #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id731619098073221\n" "help.text" msgid "user, password: Optional login parameters as strings. The default value for both parameters is an empty string \"\"." msgstr "brukar, passord: Valfrie påloggingsparameterar som strengar. Standardverdien for begge parametera er ein tom streng \"\"." #. UbzRD #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "bas_id631615147843278\n" "help.text" msgid "' User and password are supplied below, if needed" msgstr "' Brukar og passord vert sett inn nedanfor om nødvendig" #. XBJVn #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "bas_id921599408791887\n" "help.text" msgid "' ... Run queries, SQL statements, ..." msgstr "' … Køyr spørjingar, SQL-uttrykk, …" #. eRmFK #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "pyc_id351623104861223\n" "help.text" msgid "# ... Run queries, SQL statements, ..." msgstr "" #. mBphD #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id871619098478513\n" "help.text" msgid "Returns True if the specified FormDocument is currently open." msgstr "Returner True (sann) viss det spesifiserte FormDocument er ope." #. njjFg #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id981619098545701\n" "help.text" msgid "formdocument: The name of a FormDocument to be checked, as a case-sensitive string." msgstr "skjemadokument: Namnet på eit Skjemadokument som skal kontrollerast om det inneheld ein streng som skil mellom små og store bokstavar." #. RS3kj #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id801619099743199\n" "help.text" msgid "Opens the specified FormDocument either in normal or in design mode." msgstr "Opnar det spesifiserte FormDocument i anten normal- eller i utformings-modus." #. 38vtF #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id451619100075330\n" "help.text" msgid "If the form document is already open, it is activated without changing its mode. The method returns True if the form document could be opened." msgstr "Viss skjemadokumentet alt er opna, vert det aktivert utan å endra modus. Metoden returnerer Sann viss skjemadokumentet kan opnast." #. dUE6w #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id941619099797810\n" "help.text" msgid "formDocument: The name of the FormDocument to be opened, as a case-sensitive string." msgstr "skjemadokument: Namnet på eit Skjemadokument skal opnast som ein streng som skil mellom små og store bokstavar." #. Coxpu #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id981619099816849\n" "help.text" msgid "designmode: If this argument is True the FormDocument will be opened in design mode." msgstr "utformingsmodus: Viss dette argument er Sann vert FormDocument opna i utformingsmodus-" #. B29ng #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id251619100191992\n" "help.text" msgid "Most form documents are stored in the root of the Base document and they can be opened simply using their names, as in the example below:" msgstr "Dei fleste skjemadokumenta er lagra i rota til Base-dokumentet og kan opanast ved å bruka namnet, som i eksempelet nedanfor:" #. ACLqQ #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id351619100327505\n" "help.text" msgid "If form documents are organized in folders, it becomes necessary to include the folder name to specify the form document to be opened, as illustrated in the following example:" msgstr "Viss skjemadokumenta er organiserte i mapper, er det nødvendig å ta med mappenamnet for å spesifisera kva skjemadokument som skal opnast. Dette er vist i det neste eksempelet:" #. zzgBi #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id156589200121138\n" "help.text" msgid "This method sends the content of the given form document to a default printer or a printer defined by the SetPrinter() method." msgstr "" #. oeDSX #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id981611169416934\n" "help.text" msgid "Returns True if the document was successfully printed." msgstr "" #. pwm7n #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id368519200121646\n" "help.text" msgid "formdocument: A valid document form name as a case-sensitive string. The form document must be open. It is activated by the method." msgstr "" #. nRU4K #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id211635436910093\n" "help.text" msgid "pages: The pages to print as a string, like in the user interface. Example: \"1-4;10;15-18\". Default is all pages." msgstr "" #. UxDTL #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id141635436912146\n" "help.text" msgid "copies: The number of copies. Default is 1." msgstr "" #. gDM4C #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id911298505147502\n" "help.text" msgid "Define the printer options for a form document. The form document must be open." msgstr "" #. owLwe #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id381651114800685\n" "help.text" msgid "Returns True when successful." msgstr "" #. uGA7B #: sf_base.xhp msgctxt "" "sf_base.xhp\n" "par_id961635950394507\n" "help.text" msgid "formdocument: A valid document form name as a case-sensitive string." msgstr "" #. 3RzkD #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "tit\n" "help.text" msgid "ScriptForge.Basic service" msgstr "Tenesta ScriptForge.Basic" #. GxEht #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "hd_id731582733781114\n" "help.text" msgid "ScriptForge.Basic service" msgstr " Tenesta ScriptForge.Basic" #. G5jAV #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id381589189355849\n" "help.text" msgid "The ScriptForge.Basic service proposes a collection of %PRODUCTNAME Basic methods to be executed in a Python context. Basic service methods reproduce the exact syntax and behaviour of Basic builtin functions." msgstr "Tenesta ScriptForge.Basic tilbyr ei samling av %PRODUCTNAME Basic-metodar som kan køyrast i ein Python-samanheng. Tenesta Basic sine metodar reproduserer dei innebygde Basic-funksjonane nøyaktig i høve til syntaks og oppførsel." #. Bb7Br #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id591589189364267\n" "help.text" msgid "Typical example:" msgstr "Typisk eksempel:" #. fBDsN #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "pyc_id971618493778666\n" "help.text" msgid "bas.MsgBox('Display this text in a message box from a Python script')" msgstr "" #. kGyCd #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id151618849022977\n" "help.text" msgid "ScriptForge.Basic service is limited to Python scripts." msgstr "Tenesta ScriptForge.Basic er avgrensa til Python-skript." #. biAQa #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "hd_id581582885621841\n" "help.text" msgid "Service invocation" msgstr "Oppkall av tenester" #. pNUsj #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id141610734722352\n" "help.text" msgid "Before using the Basic service, import the CreateScriptService() method from the scriptforge module:" msgstr "Før du kan bruka tenesta Basic må du importera metoden CreateScriptService() frå modulen scriptforge:" #. E6SaA #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "hd_id201618922972557\n" "help.text" msgid "Properties" msgstr "Eigenskapar" #. bLzCe #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id401618922991909\n" "help.text" msgid "Name" msgstr "Namn" #. 5FcQt #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id591618922991909\n" "help.text" msgid "ReadOnly" msgstr "Skriveverna" #. N5DD5 #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id211618922991909\n" "help.text" msgid "Type" msgstr "Type" #. qXwST #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id971618923022846\n" "help.text" msgid "Description" msgstr "Skildring" #. KuiAD #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id21619004009875\n" "help.text" msgid "Yes" msgstr "Ja" #. 7DG4F #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id791619004012484\n" "help.text" msgid "Values: 0, 1, 5, 4, 3" msgstr "Verdiar: 0, 1, 5, 4, 3" #. 8ie8B #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id201619004097755\n" "help.text" msgid "Yes" msgstr "Ja" #. DQkGQ #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id311619004099683\n" "help.text" msgid "Values: 48, 64, 32, 16
" msgstr "Verdiar: 48, 64, 32, 16
" #. mCpye #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id581618922991909\n" "help.text" msgid "Yes" msgstr "Ja" #. h3hZE #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id211618923312141\n" "help.text" msgid "Values: 2, 128, 256, 512" msgstr "Verdiar: 2, 128, 256, 512" #. kLst4 #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id961618924503848\n" "help.text" msgid "Yes" msgstr "Ja" #. Tmtc2 #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id871618924506654\n" "help.text" msgid "Values: 3, 2, 5, 7, 1, 4, 6
Constants indicating MsgBox selected button." msgstr "Verdiar: 3, 2, 5, 7, 1, 4, 6
Konstantar som peikar på den valde knappen i MsgBox." #. BDtqm #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id731619006254384\n" "help.text" msgid "Yes" msgstr "Ja" #. SKW53 #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id711619006255184\n" "help.text" msgid "UNO
object" msgstr "UNO-
objekt" #. AA95E #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id541619006255653\n" "help.text" msgid "StarDesktop object represents %PRODUCTNAME Start Center." msgstr "Objektet StarDesktop representerer %PRODUCTNAME Startsenter." #. vXq8C #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id651606319520519\n" "help.text" msgid "List of Methods in the Basic Service" msgstr "Liste over metodar i tenesta Base" #. GvjSD #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id71621894830071\n" "help.text" msgid "Converts a numeric expression or a string to a datetime.datetime Python native object." msgstr "Konverterer eit numerisk uttrykk eller ein streng til eit standard datetime.datetime Python-objekt." #. SVk4F #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id431621896441258\n" "help.text" msgid "This method exposes the Basic builtin function CDate to Python scripts." msgstr "Denne metoden viser den innebygde Basic-funksjonen CDate for Python-skript." #. xvPTA #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id401621896675880\n" "help.text" msgid "expression: a numeric expression or a string representing a date." msgstr "uttrykk: eit numerisk uttrykk eller ein streng som representerer ein dato." #. aBGSG #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id481621950748686\n" "help.text" msgid "Converts a UNO date/time representation to a datetime.datetime Python native object." msgstr "Konverterer ein UNO dato/klokkeslett-representasjon til eit vanleg datetime.datetime Python-objekt." #. qhCRh #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id41621950816227\n" "help.text" msgid "unodate: A UNO date/time object of one of the following types: com.sun.star.util.DateTime, com.sun.star.util.Date or com.sun.star.util.Time" msgstr "unodato: Eit UNO dato/klokkeslett-objekt av desse typane: com.sun.star.util.DateTime, com.sun.star.util.Date eller com.sun.star.util.Time" #. GQ2hL #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id281621952224847\n" "help.text" msgid "The following example creates a com.sun.star.util.DateTime object and converts it to a datetime.datetime Python object." msgstr "Det neste eksempelet lagar eit com.sun.star.util.DateTime-objekt og konverterer det til eit datetime.datetime Python-objekt." #. JXsJN #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id741621952469980\n" "help.text" msgid "Converts a date representation into a com.sun.star.util.DateTime object." msgstr "Konverterer ein dato-representasjon til eit com.sun.star.util.DateTime-objekt." #. 7LW9r #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id511621952524000\n" "help.text" msgid "date: A Python date/time object of one of the following types: datetime.datetime, datetime.date, datetime.time, float (time.time) or time.struct_time." msgstr "dato: Eit Python dato/klokkeslett-objekt av ein av dei følgjande typane: datetime.datetime, datetime.date, datetime.time, float (time.time) eller time.struct_time." #. vaMxs #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id93158919969864\n" "help.text" msgid "Returns a system path file name for the given file: URL." msgstr "Returnerer eit filnamn for systembanen for den gjevne file: URL." #. L4crp #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id321618502481706\n" "help.text" msgid "url: An absolute file: URL." msgstr "url: Ei absolutt file: URL." #. nmEbg #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id81618502493505\n" "help.text" msgid "A system path file name." msgstr "Eit filnamn for systembane." #. 7YMKT #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id658519200121138\n" "help.text" msgid "Returns a file: URL for the given system path." msgstr "Returnerer ei file: URL for den gjevne systemstien." #. ZdzNY #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id401618521015903\n" "help.text" msgid "systempath: A system file name as a string." msgstr "systemsti: Namnet på ei systemfil som ein streng." #. BYkqo #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id61658101307414\n" "help.text" msgid "A file: URL as a string." msgstr "Ein file: URL som ein streng." #. kyZyo #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id651589200121138\n" "help.text" msgid "Instantiates a UNO service with the ProcessServiceManager." msgstr "Startar ei UNO-teneste med ProcessServiceManager." #. SF7gE #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id361589200121646\n" "help.text" msgid "servicename: A fully qualified service name such as com.sun.star.ui.dialogs.FilePicker or com.sun.star.sheet.FunctionAccess." msgstr "" #. rZoCx #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id901599410483300\n" "help.text" msgid "Adds a date or time interval to a given date/time a number of times and returns the resulting date." msgstr "Legg til eit dato- eller klokkeslett-intervall i eit gjeve dato/klokkeslett eit bestemt tal gonger og returnerer den nye datoen." #. aRMEj #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id581618562143601\n" "help.text" msgid "interval: A string expression from the following table, specifying the date or time interval." msgstr "intervall: Eit strenguttrykk frå den følgjande tabellen som inneheld dato- eller tidsintervallet." #. Vx3AB #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id281618562144897\n" "help.text" msgid "number: A numerical expression specifying how often the interval value will be added when positive or subtracted when negative." msgstr "number: Eit numerisk uttrykk som bestemmer kor ofte verdien av intervall skal leggjast til når han er positiv eller trekkjast frå når han er negativ." #. CCveG #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id811618561843272\n" "help.text" msgid "date: A given datetime.datetime value, the interval value will be added number times to this datetime.datetime value." msgstr "" #. Zcf9q #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id181618561778320\n" "help.text" msgid "A datetime.datetime value." msgstr "" #. HAVdW #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id991589202413257\n" "help.text" msgid "Returns the number of date or time intervals between two given date/time values." msgstr "Returnerer talet på dato- eller klokkeslett-intervall mellom to gjevne dato-/klokkeslett-verdiar." #. 68XgA #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id481618563770490\n" "help.text" msgid "interval: A string expression specifying the date interval, as detailed in above DateAdd method." msgstr "" #. DQFt3 #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id121618563772932\n" "help.text" msgid "date1, date2: The two datetime.datetime values to be compared." msgstr "" #. ZR7AD #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id121618563454738\n" "help.text" msgid "A number." msgstr "Eit tal" #. K4Lp7 #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id81589202925519\n" "help.text" msgid "The DatePart function returns a specified part of a date." msgstr "" #. vCQGJ #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id761618672192231\n" "help.text" msgid "interval: A string expression specifying the date interval, as detailed in above DateAdd method." msgstr "" #. KuDhD #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id61618672313838\n" "help.text" msgid "date: The date/time from which the result is calculated." msgstr "dato: Datoen/klokkeslettet som resultatet skal reknast ut for." #. P3vuB #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id511619445271897\n" "help.text" msgid "firstdayofweek, firstweekofyear: optional parameters that respectively specify the starting day of a week and the starting week of a year, as detailed in above DateDiff method." msgstr "førstedagiveka, førstevekeiåret: valfrie parameterar som spesifiserer den første dagen i veka og den første veka i året ut frå forklaringa ovanfor i metoden DateDiff." #. 5Yz25 #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id791618672371743\n" "help.text" msgid "The extracted part for the given date/time." msgstr "Den uttrukne delen av ein gjeven dato/eit gjeve klokkeslett." #. Dc9Cs #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id121589203370778\n" "help.text" msgid "Computes a date value from a date string." msgstr "Reknar ut ein datoverdi frå ein datostreng." #. qTtuh #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id441618674018955\n" "help.text" msgid "The computed date." msgstr "Den utrekna datoen." #. GuCbF #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id458161678389887\n" "help.text" msgid "Converts a number to a string, and then formats it according to the format that you specify." msgstr "Konverterer eit tal til ein streng og formaterer det i høve til det gjevne formatet." #. St67G #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "hd_id751618825527776\n" "help.text" msgid "Formatting Codes" msgstr "Formateringskodar" #. G2TzF #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "hd_id681618825574599\n" "help.text" msgid "Predefined Formats" msgstr "Førehandsdefinerte format" #. osJdR #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id451618876389887\n" "help.text" msgid "Returns the default context of the process service factory, if existent, else returns a null reference." msgstr "Returnerer standardsamanhengen for prosesstenestefabrikken viss denne finst, elles ein nullreferanse." #. d4EQf #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id881618848030897\n" "help.text" msgid "GetDefaultContext is an alternative to the getComponentContext() method available from XSCRIPTCONTEXT global variable or from uno.py module." msgstr "GetDefaultContext er eit alternativ til metoden getComponentContext() som er tilgjengeleg frå den globale variabelen XSCRIPTCONTEXT eller frå modulen uno.py." #. dk35X #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id381618831451271\n" "help.text" msgid "The default component context is used, when instantiating services via XMultiServiceFactory. See the Professional UNO chapter in the Developer's Guide on api.libreoffice.org for more information." msgstr "Standard komponentkontekst vert brukt ved instansiering av tenester via XMultiServiceFactory. Sjå kapittelet Professional UNO i Utviklarens guide til api.libreoffice.org for meir informasjon." #. LACDh #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id154618876389887\n" "help.text" msgid "Returns a numerical value that specifies the graphical user interface. This function is only provided for backward compatibility with previous versions." msgstr "Returnerer ein numerisk verdi som gjev den grafiske brukarflata. Denne funksjonen er berre tatt med for å vera bakoverkompatibel med tidlegare versionar." #. SmsEL #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id341618848532640\n" "help.text" msgid "Refer to system() method from platform Python module to identify the operating system." msgstr "Sjå metoden system()i Python-modulen platform for å identifisere operativsystemet." #. BJTbw #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id451618876389788\n" "help.text" msgid "Returns the operating system-dependent directory separator used to specify file paths." msgstr "Returnerer teiknet som vert brukt av operativsystemet for å skilja mapper i filstiane." #. BWvPB #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id341618848562340\n" "help.text" msgid "Use os.pathsep from os Python module to identify the path separator." msgstr "Bruk os.pathsep i Python-modulen os til å identifisere sti-skiljeteiknet." #. Jvd3v #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id451618678389887\n" "help.text" msgid "Returns the number of system ticks provided by the operating system. You can use this function to optimize certain processes. Use this method to estimate time in milliseconds:" msgstr "Returnerer talet på «system-ticks». Denne funksjonen kan brukast for å optimalisera ulike prosessar. Bruk denne metoden for å estimere tid i millisekunder:" #. t3ADN #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "bm_id61618905161499\n" "help.text" msgid "Basic service;GlobalScope.BasicLibraries" msgstr "Basic-teneste;GlobalScope.BasicLibraries" #. KRHNc #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id741622396277528\n" "help.text" msgid "Returns the UNO object containing all shared Basic libraries and modules." msgstr "Returnerer det UNO-objektet som inneheld alle delte Basic-bibliotek og -modular." #. MCrF8 #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id911622396571584\n" "help.text" msgid "This method is the Python equivalent to GlobalScope.BasicLibraries in Basic scripts." msgstr "Denne metoden er Python sitt svar på GlobalScope.BasicLibraries i Basic-skript." #. DEARA #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id281622398076950\n" "help.text" msgid "The following example loads the Gimmicks Basic library if it has not been loaded yet." msgstr "Det neste eksempelet lastar inn Basic-biblioteket Gimmicks, viss dette ikkje alt er gjort." #. ZaDVN #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "bm_id61618905163671\n" "help.text" msgid "Basic service;GlobalScope.DialogLibraries" msgstr "Basic-teneste;GlobalScope.DialogLibraries" #. jusQK #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id381622397863419\n" "help.text" msgid "Returns the UNO object containing all shared dialog libraries." msgstr "Returnerer det UNO-objektet som inneheld alle delte dialog-bibliotek." #. QEFwP #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id491622397863810\n" "help.text" msgid "This method is the Python equivalent to GlobalScope.DialogLibraries in Basic scripts." msgstr "Denne metoden er Python sitt svar på GlobalScope.BasicLibraries i Basic-skript." #. 8ozVo #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id811622398234384\n" "help.text" msgid "The following example shows a message box with the names of all available dialog libraries." msgstr "Det neste eksempelet viser eit meldingsfelt med namna på alle tilgjengelege dialog-bibliotek." #. Vb2CW #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "bm_id61618905164342\n" "help.text" msgid "Basic service;InputBox" msgstr "Basic service;InputBox" #. qRtw5 #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "pyc_id751619081201175\n" "help.text" msgid "txt = s.InputBox('Please enter a phrase:', \"Dear user\")" msgstr "txt = s.InputBox ('Skriv inn eit uttrykk:','Kjære brukar')" #. B2mnv #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "pyc_id261619081319555\n" "help.text" msgid "s.MsgBox(txt, s.MB_ICONINFORMATION, \"Confirmation of phrase\")" msgstr "" #. 42vSm #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id651618921455396\n" "help.text" msgid "For in-depth information please refer to Input/Output to Screen with Python on the Wiki." msgstr "Sjå djuptgåande informasjon på Inndata/utdata til skjermen med Python på Wiki'en." #. WMifG #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "bm_id681618905411293\n" "help.text" msgid "Basic service;MsgBox" msgstr "Basic-teneste;MsgBox" #. ogocf #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id231618922407948\n" "help.text" msgid "Displays a dialog box containing a message and returns an optional value.
MB_xx constants help specify the dialog type, the number and type of buttons to display, plus the icon type. By adding their respective values they form bit patterns, that define the MsgBox dialog appearance." msgstr "Viser eit dialogvindauge som inneheld ei melding og returnerer ein valfri verdi.
MB_xx-konstanter hjelper til å spesifisere type dialogvindauge, talet på knappetypar som skal visast og ikontypen. Når du legg inn dei respektive verdiane, lagar desse eit bit-mønstre som definerer utsjånaden på dialogvindauget MsgBox." #. 5adLA #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id711619082902143\n" "help.text" msgid "An optional integer as detailed in above IDxx properties." msgstr "Eit valfritt heiltal som forklart i IDxx-eigenskapane ovanfor." #. hvEhT #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "bm_id791618906935711\n" "help.text" msgid "Basic service;Now" msgstr "Basic-teneste;Now" #. f96nJ #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id191619084216660\n" "help.text" msgid "Returns the current system date and time as a datetime.datetime Python native object." msgstr "Returnerer den gjeldande system-datoen og -klokkeslettet som datetime.datetime Python-objekt." #. qxE2n #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "bm_id831618907521168\n" "help.text" msgid "Basic service;RGB" msgstr "Basic-teneste;RGB" #. vBVsk #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id621619448293385\n" "help.text" msgid "Returns an integer color value consisting of red, green, and blue components." msgstr "Returnerer ein heiltals fargeverdi sett saman av dei raude, grøne og blå komponentane." #. SDu3C #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "bm_id81618907850447\n" "help.text" msgid "Basic service;ThisComponent" msgstr "Basic-teneste;ThisComponent" #. 7wnpT #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id141622840830978\n" "help.text" msgid "If the current component refers to a %PRODUCTNAME document, this method returns the UNO object representing the document." msgstr "Viss den gjeldande komponenten refererer til eit %PRODUCTNAME-dokument, returnerer denne metoden det UNO-objektet som representerer dokumentet." #. 72GZE #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id961622841287976\n" "help.text" msgid "The method will return None when the current component does not correspond to a document." msgstr "Metoden returnerer None (ingen) når den gjeldande komponenten ikkje svarar til eit dokument." #. xbQ6U #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "bm_id81618907858201\n" "help.text" msgid "Basic service;ThisDatabaseDocument" msgstr "Basic-teneste;ThisDatabaseDocument" #. GXewr #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id271622912644859\n" "help.text" msgid "If the script is being executed from a Base document or any of its subcomponents this method returns the main component of the Base instance." msgstr "Viss skriptet vert køyrd frå eit Base-dokument eller ein av underkomponentane i dokumentet, vil denne metoden returnera hovudkomponenten i Base-eksemplaret." #. 6MCpX #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id811622912819443\n" "help.text" msgid "This method returns None otherwise." msgstr "Denne metoden returnerer elles None (ingen)." #. q3CG8 #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id201623153844931\n" "help.text" msgid "Visit the OfficeDatabaseDocument API page to learn more about Base's main component structure." msgstr "Sjå API-sida OfficeDatabasedokument for å læra meir om hovudkomponentstrukturen i Base." #. mAUuG #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "bm_id81618907851793\n" "help.text" msgid "Basic service;Xray" msgstr "Basic-teneste;Xray" #. TwoGN #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id451619094057178\n" "help.text" msgid "Inspect Uno objects or variables." msgstr "Inspiserer UNO-objekt eller -variablar" #. CDCQx #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id21619094660345\n" "help.text" msgid "obj: A variable or UNO object." msgstr "" #. fMbAm #: sf_basic.xhp msgctxt "" "sf_basic.xhp\n" "par_id951618554355538\n" "help.text" msgid "Input/Output to Screen with Python on the wiki" msgstr "Inndata/utdata til skjermen med Python på wiki-en" #. RYwFj #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "tit\n" "help.text" msgid "SFDocuments.Calc service" msgstr "Tenesta SFDocuments.Calc" #. nXFgM #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "hd_id731582733781114\n" "help.text" msgid "SFDocuments.Calc service" msgstr "Tjenesten SFDocuments.Calc" #. EkFAT #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id381589189355849\n" "help.text" msgid "The SFDocuments shared library provides a number of methods and properties to facilitate the management and handling of %PRODUCTNAME documents." msgstr "" #. CBPyB #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id351591014177269\n" "help.text" msgid "The SFDocuments.Calc service is a subclass of the SFDocuments.Document service. All methods and properties defined for the Document service can also be accessed using a Calc service instance." msgstr "" #. 4uAEX #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id591589189364267\n" "help.text" msgid "The Calc service is focused on:" msgstr "" #. Gy8dD #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id891589189452545\n" "help.text" msgid "Handling sheets within a Calc document (copy, insert, move, etc)" msgstr "Handsaming av ark i eit Calc-dokument (kopiera, setja inn, flytta osv.)" #. SCCmJ #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id811589189463041\n" "help.text" msgid "Exchanging data between Basic data structures and Calc ranges" msgstr "Dataudveksling mellom Basic data-strukturar og Calc-område" #. YS7kC #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id141599569935662\n" "help.text" msgid "Copying and importing massive amounts of data" msgstr "Kopiering og import av enorme datamengder" #. UFCyZ #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id851638217526844\n" "help.text" msgid "This help page describes methods and properties that are applicable only to Calc documents." msgstr "" #. A47hJ #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "hd_id581582885621841\n" "help.text" msgid "Service invocation" msgstr "Oppkall av tenester" #. RAtZX #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id141609955500101\n" "help.text" msgid "Before using the Calc service the ScriptForge library needs to be loaded or imported:" msgstr "" #. z3JcW #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id591589191059889\n" "help.text" msgid "The Calc service is closely related to the UI service of the ScriptForge library. Below are a few examples of how the Calc service can be invoked." msgstr "Tenesta Calc er i nær slekt med tenesta UI i biblioteket ScriptForge. Du finn nokre få eksempel nedanfor på korleis tenesta Calc kan kallast opp." #. mKqEu #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id551621623999947\n" "help.text" msgid "The code snippet below creates a Calc service instance that corresponds to the currently active Calc document." msgstr "Kodesnutten nedanfor lagar eit eksemplar av tenesta Calc, som svarar til det gjeldande Calc-dokumentet." #. gECrc #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id341621467500466\n" "help.text" msgid "Another way to create an instance of the Calc service is using the UI service. In the following example, a new Calc document is created and oDoc is a Calc service instance:" msgstr "Ein annan måte å laga eit eksemplar av tenesta Calc på, er å bruka tenesta UI. I det neste eksempelet vert det laga eit nytt Calc-dokument der oDoc er eit eksemplar av tenesta Calc:" #. x6qdq #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id921621467621019\n" "help.text" msgid "Or using the OpenDocument method from the UI service:" msgstr "Eller med metoden OpenDocument frå tenesta UI:" #. MDxMC #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id741621467697967\n" "help.text" msgid "It is also possible to instantiate the Calc service using the CreateScriptService method:" msgstr "Det er også mogleg å starta tenesta Calc med metoden CreateScriptService:" #. CKafD #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id271621467810774\n" "help.text" msgid "In the example above, \"MyFile.ods\" is the name of an open document window. If this argument is not provided, the active window is considered." msgstr "I eksempelet ovanfor er «MiFil.ods» namnet på eit opna dokumentvindauge. Viss dette argumentet ikkje er gjeve, vert det aktive vindauget vurdert brukt." #. gfpHw #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id71158288562139\n" "help.text" msgid "It is recommended to free resources after use:" msgstr "Det vert tilrådd å frigje ressursar etter bruk:" #. 3EHn2 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id231611610666018\n" "help.text" msgid "However, if the document was closed using the CloseDocument method, it becomes unnecessary to free resources using the command described above." msgstr "Viss dokumentet vart lukka ved hjelp av metoden CloseDocument, er det ikkje nødvendig å frigjera ressursar med kommandoen nemnd ovanfor." #. WqVjE #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id71611090922315\n" "help.text" msgid "The use of the prefix \"SFDocuments.\" while calling the service is optional." msgstr "Bruk av prefikset «SFDocuments.» ved oppkall av tenesta er frivillig." #. Cpd5a #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "hd_id991591016893982\n" "help.text" msgid "Definitions" msgstr "Definisjonar" #. 4gE5A #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id511591016999246\n" "help.text" msgid "Many methods require a \"Sheet\" or a \"Range\" as argument. Single cells are considered a special case of a Range." msgstr "Mange metodar krev eit \"Ark\" eller eit \"Område\" som argument. Enkeltceller vert rekna som eit spesialtilfelle av eit Område." #. kq2Br #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id511591019278671\n" "help.text" msgid "Both may be expressed either as a string or as a reference (= object) depending on the situation:" msgstr "Begge kan uttrykkjast anten som ein streng eller som ein referanse (= objekt), avhengig av situasjonen:" #. du8tS #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id571591019367284\n" "help.text" msgid "Within a specific Calc instance, sheets and ranges are given as strings such as \"Sheet1\" and \"D2:F6\"." msgstr "Innføre ein spesifikk Calc-førekomst, er ark og område gjevne som strengar som «Ark1» og «D2:F6»." #. HGR2H #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id121591019432157\n" "help.text" msgid "Additionally, the .Sheet and .Range properties return a reference that may be used as argument of a method called from another instance of the Calc service." msgstr "I tillegg returnerer eigenskapane .Sheet og .Range ein referanse som kan brukast som argument i ein metode som vert kalla opp frå ein annan førekomst av tenesta Calc." #. AHSav #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id421591017227464\n" "help.text" msgid "The example below copies data from document A (opened as read-only and hidden) to document B." msgstr "Eksempelet nedanfor kopierer data frå dokument A (opna skriveverna og gøymd) til dokument B." #. iED65 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id341591020333849\n" "help.text" msgid "Either the sheet name as a string or an object produced by the .Sheet property." msgstr "Anten arknamnet som ein string eller eit object laga av eigenskapen .Sheet." #. GDuU3 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id651591020343023\n" "help.text" msgid "The shortcut \"~\" (tilde) represents the current sheet." msgstr "Snarvegen «~» (tilde) representerer det gjeldande arket." #. nskFb #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id291591020728110\n" "help.text" msgid "Either a string designating a set of contiguous cells located in a sheet of the current instance or an object produced by the .Range property." msgstr "Anten ein streng som gjev eit sett med samanhengande celler som er plasserte i eit ark i gjeldande førekomst, eller eit objekt laga av .Range." #. 6CySa #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id691591020711395\n" "help.text" msgid "The shortcut \"~\" (tilde) represents the current selection or the first selected range if multiple ranges are selected." msgstr "Snarvegen «~» (tilde) representerer den gjeldande markeringa eller det første området, viss det er markert fleire område." #. 7JEat #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id701592230700986\n" "help.text" msgid "The shortcut \"*\" represents all used cells." msgstr "Snarvegen «*» (stjerne) representerer alle brukte celler." #. gNtqP #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id641591021597701\n" "help.text" msgid "The sheet name is optional in a range (default = the active sheet). Surrounding single quotes and $ signs are allowed but ignored." msgstr "Arknamnet er valfritt i eit område (standard = det aktive arket). Omkringliggjande enkelt sitatteikn og $-teikn er tillatne, men vert ignorerte." #. GVF9g #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id371592406978640\n" "help.text" msgid "Except for the CurrentSelection property, the Calc service considers only single ranges of cells." msgstr "Med unnatak av eigenskapen CurrentSelection vurderer tenesta Calc berre enkeltområde med celler." #. vRxTa #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id91591025127496\n" "help.text" msgid "Examples of valid ranges" msgstr "Eksempel på gyldige område" #. BABCv #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id481591024294524\n" "help.text" msgid "1) '$SheetX'.D2
2) $D$2" msgstr "1) '$ArkX'.D2
2) $D$2" #. pMZEe #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id721591024294894\n" "help.text" msgid "A single cell" msgstr "Ei enkelt celle" #. MuiK2 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id21591024294492\n" "help.text" msgid "1) '$SheetX'.D2:F6
2) D2:D10" msgstr "1) '$ArkX'.D2:F6
2) D2:D10" #. P7Ete #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id9159102429464\n" "help.text" msgid "Single range with multiple cells" msgstr "Enkelt område med fleire celler" #. xj6ob #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id161592230749179\n" "help.text" msgid "'$SheetX'.*" msgstr "'$ArkX'.*" #. eQu5j #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id581592230749243\n" "help.text" msgid "All used cells in the given sheet" msgstr "Alle brukte celler i det gjevne arket" #. UErNm #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id641591024294318\n" "help.text" msgid "1) '$SheetX'.A:A (column A)
2) 3:5 (rows 3 to 5)" msgstr "1) '$ArkX'.A:A kolonne A)
2) 3:5 (radene 3 til 5)" #. qpGBr #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id431591024294723\n" "help.text" msgid "All cells in contiguous columns or rows up to the last used cell" msgstr "Alle celler i samanhengande kolonnar eller rader opp til den sist brukte cella" #. qezwg #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id871591024294202\n" "help.text" msgid "myRange" msgstr "mittOmråde" #. 97TnU #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id721591024294721\n" "help.text" msgid "A range named \"myRange\" at spreadsheet level" msgstr "Eit område med namnet «mittOmråde» på reknearknivå" #. WxyY4 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id181591024294534\n" "help.text" msgid "1) ~.someRange
2) SheetX.someRange" msgstr "1) ~eitOmråde
2) ArkX.eitOmråde" #. 9gjmL #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id911591024294816\n" "help.text" msgid "A range name at sheet level" msgstr "Eit områdenamn på arknivå" #. Z6dKJ #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id781591024294621\n" "help.text" msgid "myDoc.Range(\"SheetX.D2:F6\")" msgstr "mittDok.Område(\"ArkX.D2:F6\")" #. ENndn #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id681591024294568\n" "help.text" msgid "A range within the sheet SheetX in file associated with the myDoc Calc instance" msgstr "Eit område innanfor arket SheetX i fila knytt til myDoc Calc-førekomsten" #. Yero3 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id101591024294151\n" "help.text" msgid "~.~ or ~" msgstr "~.~ eller ~" #. kmjCL #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id22159102429479\n" "help.text" msgid "The current selection in the active sheet" msgstr "Den gjeldande markeringa på det aktive arket" #. qFqGJ #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "hd_id351582885195476\n" "help.text" msgid "Properties" msgstr "Eigenskapar" #. FeCia #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id151591018231905\n" "help.text" msgid "All the properties generic to any document are implicitly applicable also to Calc documents. For more information, read the Document service Help page." msgstr "Alle eigenskapane som er generiske for alle dokument, gjeld implisitt også for Calc-dokument. Viss du vil ha meir informasjon, kan du lesa Document service Help page." #. DTzRF #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id911591018242565\n" "help.text" msgid "The properties specifically available for Calc documents are:" msgstr "Eigenskapane som er spesielt tilgjengelege for Calc-dokument er:" #. G4iX6 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id41582885195836\n" "help.text" msgid "Name" msgstr "Namn" #. PK7n2 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id31582885195372\n" "help.text" msgid "Readonly" msgstr "Skriveverna" #. oFX3A #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id221591018408168\n" "help.text" msgid "Argument" msgstr "Argument" #. H9m2q #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id31582885195238\n" "help.text" msgid "Return type" msgstr "" #. DDSFu #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id931582885195131\n" "help.text" msgid "Description" msgstr "Beskriving" #. 3MHFG #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id301592407165942\n" "help.text" msgid "No" msgstr "Nei" #. pJnFE #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id81592407165611\n" "help.text" msgid "None" msgstr "Ingen" #. UUDuD #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id59159240716522\n" "help.text" msgid "String or array of strings" msgstr "Streng eller ei matrise av strengar" #. kAAXc #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id85159240716560\n" "help.text" msgid "The single selected range as a string or the list of selected ranges as an array." msgstr "" #. PFB5D #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id301592407165606\n" "help.text" msgid "Yes" msgstr "" #. 5GeyC #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id81592407165545\n" "help.text" msgid "SheetName or RangeName as String" msgstr "" #. TBHV2 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id85159240716828\n" "help.text" msgid "Returns the first used cell in a given range or sheet." msgstr "" #. BkCoD #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id301592407166642\n" "help.text" msgid "Yes" msgstr "" #. ToQBc #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id81592407165145\n" "help.text" msgid "SheetName or RangeName as String" msgstr "" #. boSak #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id85159240716225\n" "help.text" msgid "Returns the leftmost column number in a given range or sheet." msgstr "" #. 3AKqL #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id301592407167972\n" "help.text" msgid "Yes" msgstr "" #. zf3hK #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id81592407165695\n" "help.text" msgid "SheetName or RangeName as String" msgstr "" #. BXscD #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id85159240716128\n" "help.text" msgid "Returns the topmost row number in a given range or sheet." msgstr "" #. BHFeu #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id101593094953259\n" "help.text" msgid "Yes" msgstr "Ja" #. KedYU #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id741593094953790\n" "help.text" msgid "RangeName As String" msgstr "Områdenamn som streng" #. FhLMF #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id311593094953330\n" "help.text" msgid "The number of rows (>= 1) in the given range." msgstr "" #. cU3Ah #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id221582885195686\n" "help.text" msgid "Yes" msgstr "Ja" #. ALJCP #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id501591018870619\n" "help.text" msgid "SheetName or RangeName as String" msgstr "" #. SNj7Q #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id881582885195976\n" "help.text" msgid "Returns the last used cell in a given range or sheet." msgstr "" #. 75PEK #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id601592315106598\n" "help.text" msgid "Yes" msgstr "Ja" #. 3h43j #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id831592315106202\n" "help.text" msgid "SheetName or RangeName as String" msgstr "" #. bU5vD #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id791592315106790\n" "help.text" msgid "The last used column in a given range or sheet." msgstr "" #. q9Bx7 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id981591025591597\n" "help.text" msgid "Yes" msgstr "Ja" #. r6diM #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id81591025591696\n" "help.text" msgid "SheetName or RangeName as String" msgstr "" #. SDdEC #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id421591025591509\n" "help.text" msgid "The last used row in a given range or sheet." msgstr "" #. 4t3He #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id81591025591672\n" "help.text" msgid "Yes" msgstr "Ja" #. 2BJKz #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id561591025591239\n" "help.text" msgid "RangeName As String" msgstr "Områdenamn som streng" #. 2tmEj #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id571591025591367\n" "help.text" msgid "A range reference that can be used as argument of methods like CopyToRange." msgstr "" #. boDiE #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id81591025591007\n" "help.text" msgid "Yes" msgstr "" #. kJCwG #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id561591025592149\n" "help.text" msgid "RangeName As String" msgstr "" #. ey2LS #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id571591025599937\n" "help.text" msgid "Returns the address of the smallest area that contains the specified range so that the area is surrounded by empty cells or sheet edges. This is equivalent to applying the Command + *Ctrl + * shortcut to the given range." msgstr "" #. 66iAb #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id541591025591511\n" "help.text" msgid "Yes" msgstr "Ja" #. dWFQE #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id661591025591903\n" "help.text" msgid "SheetName As String" msgstr "Arknamn som streng" #. 4KoAw #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id731591025591753\n" "help.text" msgid "A sheet reference that can be used as argument of methods like CopySheet." msgstr "" #. WanFm #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id541591025591322\n" "help.text" msgid "Yes" msgstr "" #. wRCYZ #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id661591025591188\n" "help.text" msgid "RangeName As String" msgstr "" #. w7Gft #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id731591025591006\n" "help.text" msgid "Returns the sheet name of a given range address." msgstr "" #. HLpEQ #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id581591025591579\n" "help.text" msgid "Yes" msgstr "Ja" #. V43zC #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id751591025591667\n" "help.text" msgid "None" msgstr "Ingen" #. B5BXR #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id861591025591250\n" "help.text" msgid "Array of strings" msgstr "Matrise av strengar" #. qGsms #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id491591025591370\n" "help.text" msgid "The list with the names of all existing sheets." msgstr "" #. EaAB2 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id711593095062771\n" "help.text" msgid "Yes" msgstr "Ja" #. PFLkD #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id311593095062171\n" "help.text" msgid "RangeName As String" msgstr "Områdenamn som streng" #. BKFhE #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id681593095062358\n" "help.text" msgid "The number of columns (>= 1) in the given range." msgstr "" #. cju3B #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id391592315404944\n" "help.text" msgid "Yes" msgstr "Ja" #. DMf2S #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id1001592315404525\n" "help.text" msgid "RangeName As String" msgstr "Områdenamn som streng" #. VaGpB #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id321592315404430\n" "help.text" msgid "A com.sun.star.Table.XCellRange UNO object." msgstr "" #. nAD2d #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id501592315567199\n" "help.text" msgid "Yes" msgstr "" #. yNxZn #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id411592315560025\n" "help.text" msgid "RangeName As String" msgstr "" #. UydnH #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id41592315565185\n" "help.text" msgid "A com.sun.star.sheet.XSheetCellCursor UNO object. After moving the cursor, the resulting range address can be accessed through the AbsoluteName UNO property of the cursor object, which returns a string value that can be used as argument for properties and methods of the Calc service." msgstr "" #. QbTFX #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id501592315565569\n" "help.text" msgid "Yes" msgstr "Ja" #. jWLAC #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id411592315565235\n" "help.text" msgid "SheetName As String" msgstr "Arknamn som streng" #. cJAB7 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id41592315560095\n" "help.text" msgid "A com.sun.star.sheet.XSpreadsheet UNO object." msgstr "" #. hwjGf #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id321611613059105\n" "help.text" msgid "Visit %PRODUCTNAME API Documentation's website to learn more about XCellRange, XSheetCellCursor and XSpreadsheet UNO objects." msgstr "" #. V5dF8 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "hd_id501582887473754\n" "help.text" msgid "Methods" msgstr "Metodar" #. soCDf #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id891611613601554\n" "help.text" msgid "List of Methods in the Calc Service" msgstr "Liste over metodar i tenesta Calc" #. Dis6i #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id93158919969228\n" "help.text" msgid "Returns a range address as a string based on sheet coordinates, i.e. row and column numbers." msgstr "" #. 4TBiF #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id21635434153216\n" "help.text" msgid "If only a pair of coordinates is given, then an address to a single cell is returned. Additional arguments can specify the bottom-right cell of a rectangular range." msgstr "" #. 2BuFG #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id821591631203080\n" "help.text" msgid "row1, column1: Specify the row and column numbers of the top-left cell in the range to be considered. Row and column numbers start at 1." msgstr "" #. i7N7S #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id821591631203212\n" "help.text" msgid "row2, column2: Specify the row and column numbers of the bottom-right cell in the range to be considered. If these arguments are not provided, or if values smaller than row1 and column1 are given, then the address of the single cell range represented by row1 and column1 is returned." msgstr "" #. Egj6k #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id821591631203336\n" "help.text" msgid "sheetname: The name of the sheet to be appended to the returned range address. The sheet must exist. The default value is \"~\" corresponding to the currently active sheet." msgstr "" #. idfEg #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id131611616623705\n" "help.text" msgid "The examples below in Basic and Python consider that \"Sheet1\" is the currently active sheet." msgstr "" #. eXJNG #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id501611617808112\n" "help.text" msgid "The method A1Style can be combined with any of the many properties and methods of the Calc service that require a range as argument, such as GetValue, GetFormula, ClearAll, etc." msgstr "" #. Hfeug #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id93158919969864\n" "help.text" msgid "If the argument sheetname is provided, the given sheet is activated and it becomes the currently selected sheet. If the argument is absent, then the document window is activated." msgstr "" #. EhMzz #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id821591631203996\n" "help.text" msgid "sheetname: The name of the sheet to be activated in the document. The default value is an empty string, meaning that the document window will be activated without changing the active sheet." msgstr "arknamn: Namnet på det arket som skal aktiverast i dokumentet. Standardverdien er ein tom streng, noko som gjer at dokumentvindauget vert aktivert, utan at det gjeldande arket vert endra." #. 2cgiA #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id131611616623714\n" "help.text" msgid "The example below activates the sheet named \"Sheet4\" in the currently active document." msgstr "Eksempelet nedanfor aktiverer arket med namnet «Ark4» i det gjeldande dokumentet." #. LRebz #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id501611617808220\n" "help.text" msgid "Activating a sheet makes sense only if it is performed on a Calc document. To make sure you have a Calc document at hand you can use the isCalc property of the document object, which returns True if it is a Calc document and False otherwise." msgstr "Aktivering av eit ark gjev meining berre når aktiveringa vert gjort i eit Calc-dokument. For å sikr deg at du har eit Calc-dokument tilgjengeleg, kan du bruka eigenskapen isCalc for dokumentobjektet, som returnerer Sann viss der er eit Calc-dokument og elles Usann." #. KWFFF #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id93158919969856\n" "help.text" msgid "Returns either the list with the names of all chart objects in a given sheet or a single Chart service instance." msgstr "" #. MKgeJ #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id371635438503202\n" "help.text" msgid "If only sheetname is specified, a zero-based array of strings containing the names of all charts is returned." msgstr "" #. CLbLn #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id371635438509045\n" "help.text" msgid "If a chartname is provided, then a single object corresponding to the desired chart is returned. The specified chart must exist." msgstr "" #. T2e3d #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id821591631205026\n" "help.text" msgid "sheetname: The name of the sheet from which the list of charts is to be retrieved or where the specified chart is located." msgstr "" #. Dhape #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id821591631203566\n" "help.text" msgid "chartname: The user-defined name of the chart object to be returned. If the chart does not have a user-defined name, then the internal object name can be used. If this argument is absent, then the list of chart names in the specified sheet is returned." msgstr "" #. C7CSH #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id431635438771588\n" "help.text" msgid "Use the Navigator sidebar to check the names assigned to charts under the OLE objects category." msgstr "" #. zbX9R #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id41635439328174\n" "help.text" msgid "The example below shows the number of chart objects in \"Sheet1\"." msgstr "" #. gsLHX #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id571635439417400\n" "help.text" msgid "The following example accesses the chart named \"MyChart\" in \"Sheet1\" and prints its type." msgstr "" #. auJdC #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id31592919577984\n" "help.text" msgid "Clears all the contents and formats of the given range." msgstr "Ryddar alt indhaldet og alle format i det gjevne området." #. M5PqA #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id441592919577809\n" "help.text" msgid "range: The range to be cleared, as a string." msgstr "område: Området som skal ryddast, som ein streng." #. Wz6CH #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id211592919864118\n" "help.text" msgid "Clears the formats and styles in the given range." msgstr "Ryddar format og stilar i det gjevne området." #. 6Qxnv #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id611592919864268\n" "help.text" msgid "range: The range whose formats and styles are to be cleared, as a string." msgstr "område: Det området der format og stilar skal ryddast, som ein streng." #. sMwMp #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id841592919928169\n" "help.text" msgid "Clears the values and formulas in the given range." msgstr "Ryddar verdiane og formlane i det gjevne området." #. eEGn9 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id771592919928320\n" "help.text" msgid "range: The range whose values and formulas are to be cleared, as a string." msgstr "område: Det området der verdiane og formlane skal ryddast, som ein streng." #. n6vJD #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id591591631693816\n" "help.text" msgid "Copies a specified sheet before an existing sheet or at the end of the list of sheets. The sheet to be copied may be contained inside any open Calc document. Returns True if successful." msgstr "Kopierer eit bestemt ark før eit eit ark som finst frå før eller i slutten av lista over ark. Det arket som skal kopierast, kan vera inne i kva ope Calc-dokument som helst. Returnerer Sann viss vellukka." #. YqGL2 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id871591631693741\n" "help.text" msgid "sheetname: The name of the sheet to be copied as a string or its reference as an object." msgstr "Arknamn: Namnet på arket som skal kopierast, som ein streng eller ein referanse til det som eit objekt." #. 5cEGG #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id351591632126180\n" "help.text" msgid "newname: The name of the sheet to insert. The name must not be in use in the document." msgstr "nyttnamn: Namnet på arket sol skal setjast inn. Namnet må ikkje vera i bruk andre stader i dokumentet." #. 8sSno #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id211591632192379\n" "help.text" msgid "beforesheet: The name (string) or index (numeric, starting from 1) of the sheet before which to insert the copied sheet. This argument is optional and the default behavior is to add the copied sheet at the last position." msgstr "beforesheet: Namnet (streng) eller indeksnummeret (tal, byrjar frå 1) på arket framføre som det kopierte arket skal setjast inn i. Dette argumentet er valfritt. Standar er at det kopierte arket vert sett inn sist i arket." #. yuvEn #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id961591632309410\n" "help.text" msgid "The following example makes a copy of the sheet \"SheetX\" and places it as the last sheet in the current document. The name of the copied sheet is \"SheetY\"." msgstr "Dette eksempelet lagar ein kopi av arket «ArkX» og plasserer det som det siste arket i det gjeldande dokumentet. Namnet på det kopierte arket er «ArkY»." #. pqVdW #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "bas_id231611706034607\n" "help.text" msgid "'Gets the Document object of the active window" msgstr "' Hentar dokumentobjektet frå det aktive vindauget" #. xUG9G #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id461591632297415\n" "help.text" msgid "The example below copies \"SheetX\" from \"FileA.ods\" and pastes it at the last position of \"FileB.ods\" with the name \"SheetY\":" msgstr "Eksemplet nedanfor kopierer «ArkX» frå «FilA.ods» og limer det inn ved siste plassering av «FilB.ods» med namnet «ArkY»:" #. 2AAEx #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id801595695285478\n" "help.text" msgid "To copy sheets between open documents, use CopySheet. To copy sheets from documents that are closed, use CopySheetFromFile." msgstr "" "Viss du vil kopiera ark mellom opne dokument, brukar du CopySheet. For å kopiera ark frå dokument som er\n" "lukka, brukar du CopySheetFromFile." #. 5fctt #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id931591714614755\n" "help.text" msgid "Copies a specified sheet from a closed Calc document and pastes it before an existing sheet or at the end of the list of sheets of the file referred to by a Document object." msgstr "Kopierer eit bestemt ark frå eit lukka Calc-dokument og limer det inn framføre eit ark som finst frå før, eller på slutten av lista over ark i fila referert til av eit Document-objekt." #. M9mDA #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id271611706609445\n" "help.text" msgid "If the file does not exist, an error is raised. If the file is not a valid Calc file, a blank sheet is inserted. If the source sheet does not exist in the input file, an error message is inserted at the top of the newly pasted sheet." msgstr "Viss fila ikkje finst, vert det sett opp ein feil. Viss fila ikkje er ei gyldig Calc-fil, vert det sett inn eit tomt ark.Viss kjeldearket ikkje finst i inndatafila, vert det sett inn ei feilmelding øvst i det nyleg innlimte arket." #. tCseT #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id471591714947181\n" "help.text" msgid "filename: Identifies the file to open. It must follow the SF_FileSystem.FileNaming notation. The file must not be protected with a password." msgstr "filnamn: Identifiserer fila som skal opnast. Namnet må følgja SF_FileSystem.FileNaming-notasjonen. Fila må ikkje vera verna med passord." #. gHjz6 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id9915917146142\n" "help.text" msgid "sheetname: The name of the sheet to be copied as a string." msgstr "arknamn: Namnet på arket som skal kopierast som ein streng." #. PeZ4F #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id71591714614904\n" "help.text" msgid "newname: The name of the copied sheet to be inserted in the document. The name must not be in use in the document." msgstr "nyttnamn: Namnet på arket som skal setjast inn i dokumentet. Namnet må ikkje vera i bruk andre stader i dokumentet." #. 2niVz #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id601591714614407\n" "help.text" msgid "beforesheet: The name (string) or index (numeric, starting from 1) of the sheet before which to insert the copied sheet. This argument is optional and the default behavior is to add the copied sheet at the last position." msgstr "beforesheet: Namnet (streng) eller indeksnummeret (tal, byrjar frå 1) på arket framføre som det kopierte arket skal setjast inn i. Dette argumentet er valfritt. Standar er at det kopierte arket vert sett inn sist i arket." #. iEHJy #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id981611707192039\n" "help.text" msgid "The following example copies \"SheetX\" from \"myFile.ods\" and pastes it into the document referred to by \"oDoc\" as \"SheetY\" at the first position." msgstr "Det neste eksempelet kopierer «ArkX» frå «miFil.ods» og set det inn som «ArkY» først i det dokumentet som er referert til som «oDoc»." #. kELHv #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id91592558768804\n" "help.text" msgid "Copies a specified source range (values, formulas and formats) to a destination range or cell. The method reproduces the behaviour of a Copy/Paste operation from a range to a single cell." msgstr "Kopierer eit gjeve kjeldeområde (verdiar, formlar og format) til eit målområde eller ei bestemt celle. Metoden reproduserer verkemåten til ein Kopier/lim inn-operasjon frå eit område til ei enkelt celle." #. KixB2 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id831611707431984\n" "help.text" msgid "It returns a string representing the modified range of cells. The size of the modified area is fully determined by the size of the source area." msgstr "Den returnerer ein streng som representerer det endra celleområdet. Storleiken på det modifiserte området vert fullt ut bestemt av storleiken på kjeldeområdet." #. KCiyF #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id681592558768463\n" "help.text" msgid "The source range may belong to another open document." msgstr "Kjeldeområdet kan høyra til eit anna opna dokument." #. RBQG9 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id761592558768578\n" "help.text" msgid "sourcerange: The source range as a string when it belongs to the same document or as a reference when it belongs to another open Calc document." msgstr "kjeldeområde: Kjeldeområdet som ein streng når det høyrer til same dokumentet, eller som ein referanse når det høyrer til eit anna ope Calc-dokument." #. 3MUwk #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id711592558768466\n" "help.text" msgid "destinationcell: The destination cell where the copied range of cells will be pasted, as a string. If a range is given, only its top-left cell is considered." msgstr "målcelle: Målcella der det kopierte celleområdet skal limast inn, som ein streng. Viss det er gjeve eit område, vert det berre teke omsyn til den øvre, venstre cella i området." #. FbkjF #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id431592904964362\n" "help.text" msgid "Next is an example where the source and destination are in the same file:" msgstr "I neste eksempel er kjelda og målet i same fila:" #. Zh3Wp #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id751592905035452\n" "help.text" msgid "The example below illustrates how to copy a range from another open Calc document:" msgstr "Eksempelet nedanfor viser korleis du kan kopiera eit område frå eit anna, ope Calc-dokument:" #. uFAEe #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "bas_id351592558768880\n" "help.text" msgid "'Open the source document in the background (hidden)" msgstr "' Opna kjeldedokument i bakgrunnen (gøymd)" #. PBgwL #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "bas_id1001611708508251\n" "help.text" msgid "'Do not forget to close the source document because it was opened as hidden" msgstr "' Ikkje gløym å lukka kjeldedokumentet fordi det vart opna som gøymd" #. ZzDAQ #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id61592905442071\n" "help.text" msgid "To simulate a Copy/Paste from a range to a single cell, use CopyToCell. To simulate a Copy/Paste from a range to a larger range (with the same cells being replicated several times), use CopyToRange." msgstr "For å simulera «Kopier/Lim inn» frå eit område til eienkelt celle, brukar du CopyToCell. For å simulera «Kopier/Lim inn» frå eit område til eit større område (med dei same cellene kopierte fleire gongar) brukar du CopyToRange." #. maHke #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id1615929031212\n" "help.text" msgid "Copies downwards and/or rightwards a specified source range (values, formulas and formats) to a destination range. The method imitates the behaviour of a Copy/Paste operation from a source range to a larger destination range." msgstr "Kopierer eit gjeve kjeldeområde nedover og/eller mot høgre (verdiar, formlar og format) til eit målområde. Metoden imiterer verkemåten til ein «Kopier/Lim inn»-operasjon frå eit kjeldeområde til eit større målområde." #. G4qky #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id271592904084534\n" "help.text" msgid "If the height (or width) of the destination area is > 1 row (or column) then the height (or width) of the source must be <= the height (or width) of the destination. Otherwise nothing happens." msgstr "Viss høgda (eller breidda) på målområdet er > 1 rad (eller kolonne), må høgda (eller breidda) på kjelda vera <= høgda (eller breidda) på målet. Elles skjer det ingenting." #. Pko2R #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id131592904286834\n" "help.text" msgid "If the height (or width) of the destination is = 1 then the destination is expanded downwards (or rightwards) up to the height (or width) of the source range." msgstr "Viss høgda (eller breidda) på målområdet er = 1 , vert målet utvida nedover (eller mot høgre) opp til høgda (eller breidda) på kjeldeområdet." #. jYha4 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id661592904348877\n" "help.text" msgid "The method returns a string representing the modified range of cells." msgstr "Metoden returnerer ein streng som representerer det endra celleområdet." #. wfzcw #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id41592903121807\n" "help.text" msgid "The source range may belong to another open document." msgstr "Kjeldeområdet kan høyra til eit anna opna dokument." #. CEaED #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id841592903121145\n" "help.text" msgid "sourcerange: The source range as a string when it belongs to the same document or as a reference when it belongs to another open Calc document." msgstr "kjeldeområde: Kjeldeområdet som ein streng når det høyrer til same dokumentet, eller som ein referanse når det høyrer til eit anna ope Calc-dokument." #. v3d3d #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id5515929031211000\n" "help.text" msgid "destinationrange: The destination of the copied range of cells, as a string." msgstr "målområde: Målet for det kopierte celleområdet som ein streng." #. LsHF6 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id461592905128991\n" "help.text" msgid "Copy within the same document:" msgstr "Kopiera innføre det same dokumentet:" #. dNdmJ #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "bas_id601592904507182\n" "help.text" msgid "' Returns a range string: \"$SheetY.$C$5:$J$14\"" msgstr "' Returnerer ein områdestreng: «$ArkY.$C$5:$J$14»" #. FBbwi #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id1001592905195364\n" "help.text" msgid "Copy from one file to another:" msgstr "Kopiera frå éi fil til ei anna:" #. L3GHp #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id1615929033642\n" "help.text" msgid "Creates a new chart object showing the data in the specified range. The returned chart object can be further manipulated using the Chart service." msgstr "" #. 2YZ5H #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id841592903121025\n" "help.text" msgid "chartname: The user-defined name of the chart to be created. The name must be unique in the same sheet." msgstr "" #. BBtB3 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id5515929031213680\n" "help.text" msgid "sheetname: The name of the sheet where the chart will be placed." msgstr "" #. GEiCb #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id5515929031211522\n" "help.text" msgid "range: The range to be used as the data source for the chart. The range may refer to any sheet of the Calc document." msgstr "" #. L3dSo #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id5515929031216390\n" "help.text" msgid "columnheader: When True, the topmost row of the range is used as labels for the category axis or the legend (Default = False)." msgstr "" #. iyq5m #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id5515929031211633\n" "help.text" msgid "rowheader: When True, the leftmost column of the range is used as labels for the category axis or the legend. (Default = False)." msgstr "" #. CKzBZ #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id61635441176547\n" "help.text" msgid "The examples below in Basic and Python create a chart using the data contained in the range \"A1:B5\" of \"Sheet1\" and place the chart in \"Sheet2\"." msgstr "" #. uBCvA #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id231635441342180\n" "help.text" msgid "Refer to the help page about ScriptForge's Chart service to learn more how to further manipulate chart objects. It is possible to change properties as the chart type, chart and axes titles and chart position." msgstr "" #. so8uw #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id601595777001498\n" "help.text" msgid "Apply the functions Average, Count, Max, Min and Sum, respectively, to all the cells containing numeric values on a given range." msgstr "Bruk funksjonane Gjennomsnitt, Tal på, Maks, Min og Summer respektive på alle cellene som inneheld talverdiar i eit gjeve område." #. F2UTC #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id741595777001537\n" "help.text" msgid "range: The range to which the function will be applied, as a string." msgstr "område: Området som funksjonen skal brukast på, som ein streng." #. ZhAYY #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id121611752704572\n" "help.text" msgid "The example below applies the Sum function to the range \"A1:A1000\" of the currently selected sheet:" msgstr "Eksempelet nedanfor brukar funktsjnen Sum på området «A1:A1000» i det gjeldande arket." #. iTEts #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id31611752782288\n" "help.text" msgid "Cells in the given range that contain text will be ignored by all of these functions. For example, the DCount method will not count cells with text, only numerical cells." msgstr "I det gjevne området vert celler som inneheld tekst ignorerte av alle funksjonane. For eksempel vil metoden DCount ikkje telja celler med tekst, berre celler med tal." #. BVKEy #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id501623063693649\n" "help.text" msgid "Depending on the parameters provided this method will return:" msgstr "Avhengig av kva parameterar som er gjevne, vil denne metoden returnere:" #. pBZm6 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id611623063742045\n" "help.text" msgid "A zero-based Array (or a tuple in Python) with the names of all the forms contained in a given sheet (if the form argument is absent)" msgstr "Ei null-basert matrise (eller Tuple i Python) med namna på alle skjemaa i eit gjeve dokument (viss argumentet form manglar)" #. FHWZs #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id641623063744536\n" "help.text" msgid "A SFDocuments.Form service instance representing the form specified as argument." msgstr "Eit eksemplar av tenesta SFDocuments.Form representerer skjemaet, spesifisert som eit argument." #. YdQaD #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id441623090893210\n" "help.text" msgid "sheetname: The name of the sheet, as a string, from which the form will be retrieved." msgstr "arknamn: Namnet på arket (som ein streng) som skjemaet skal hentast frå." #. BV8GH #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id451623063459286\n" "help.text" msgid "form: The name or index corresponding to a form stored in the specified sheet. If this argument is absent, the method will return a list with the names of all forms available in the sheet." msgstr "skjema: Namnet eller indeksnummeret på skjemaet som er lagra i det gjevne arket. Viss dette argument manglar, vil metoden returnera ei liste med namna på alle skjemaa som er tilgjengelege i arket." #. sFFyE #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id251623063305557\n" "help.text" msgid "In the following examples, the first line gets the names of all forms stored in \"Sheet1\" and the second line retrieves the Form object of the form named \"Form_A\" which is stored in \"Sheet1\"." msgstr "I dei neste eksempla får den første linja namna på alle skjemaa som er lagra i «Ark1» og den anden linje hentar objektet Form frå skjemaet med namnet «Skjema_A», som er lagra i «Ark1»." #. y9kCE #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id401591632726431\n" "help.text" msgid "Converts a column number ranging between 1 and 1024 into its corresponding letter (column 'A', 'B', ..., 'AMJ'). If the given column number is outside the allowed range, a zero-length string is returned." msgstr "Konverterer eit kolonnenummerområde mellom 1 og 1024 til dei tilsvarande bokstavane (kolonne 'A', 'B', …, 'AMJ'). Viss det gjevne kolonnenummeret er utanfor det tillate området, vert det returnert ein null-lengde streng." #. EfsXe #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id83159163272628\n" "help.text" msgid "columnnumber: The column number as an integer value in the interval 1 ... 1024." msgstr "kolonnenummer: Kolonnenummeret som eit heiltal i intervallet 1 … 1024." #. 6yjtp #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id11621539831303\n" "help.text" msgid "Displays a message box with the name of the third column, which by default is \"C\"." msgstr "Viser eit meldingsfelt med namnet på den tredje kolonnen, standard er «C»." #. XNAhU #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id451611753568778\n" "help.text" msgid "The maximum number of columns allowed on a Calc sheet is 1024." msgstr "Det høgste talet på kolonnar tillatne i eit Calc-ark er 1024." #. ksYoG #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id921593880142573\n" "help.text" msgid "Get the formula(s) stored in the given range of cells as a single string, a 1D or a 2D array of strings." msgstr "Hentar formelen eller fomlane som er lagra i det gjevne celleområdet som ein enkel streng, ei 1D- eller 2D-matrise." #. KDFkQ #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id891593880142588\n" "help.text" msgid "range: The range where to get the formulas from, as a string." msgstr "område: Området som formlane vert henta frå, som ein streng." #. tBeSN #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id461611755257141\n" "help.text" msgid "The following example returns a 3 by 2 array with the formulas in the range \"A1:B3\" (3 rows by 2 columns):" msgstr "Det neste eksempelet returnere ei 3 × 2 matrise med formlar i området «A1:B3» (3 rader gonge 2 kolonnar):" #. AoHGB #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id331592231156425\n" "help.text" msgid "Get the value(s) stored in the given range of cells as a single value, a 1D array or a 2D array. All values are either doubles or strings." msgstr "Hent verdien/verdiane som er lagra i det gjevne celleområdet, som éin enkelt verdi, ei 1D-matrise eller ei 2D-matrise. Alle verdiar er anten doble eller strengar." #. XACNZ #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id91592231156434\n" "help.text" msgid "range: The range where to get the values from, as a string." msgstr "område: Området som verdiane vert henta frå, som ein streng." #. ojRBo #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id991611756492772\n" "help.text" msgid "If a cell contains a date, the number corresponding to that date will be returned. To convert numeric values to dates in Basic scripts, use the Basic CDate builtin function. In Python scripts, use the CDate function from the Basic service." msgstr "Viss ei celle inneheld ein dato, vert talet som svarar til denne datoen returnert. For å konvertera tal til datoar i Basic-skript, bruk den innebygde Basic-funksjonen CDate. IPython, bruk funksjonen CDate frå tenesta Basic." #. YYMuH #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id771593685490395\n" "help.text" msgid "Imports the contents of a CSV-formatted text file and places it on a given destination cell." msgstr "Importerer innhaldet av ei CSV-formatert tekstfil og set det inn i ei gjeve målcelle." #. cxrHr #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id751611756909199\n" "help.text" msgid "The destination area is cleared of all contents and formats before inserting the contents of the CSV file. The size of the modified area is fully determined by the contents of the input file." msgstr "Alt innhald og alle format i målområdet vert fjerna før innhaldet i CSV-fila vert sett inn. Storleiken på det endra området vert bestemt fullt og heilt av innhaldet i inndatafila." #. D2w2A #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id911593685490873\n" "help.text" msgid "The method returns a string representing the modified range of cells." msgstr "Metoden returnerer ein streng som representerer det endra celleområdet." #. GrquM #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id851593685490824\n" "help.text" msgid "filename: Identifies the file to open. It must follow the SF_FileSystem.FileNaming notation." msgstr "filnamn: Identifiserer fila som skal opnast. Namnet må følgja notasjonen SF_FileSystem.FileNaming ." #. VdTtY #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id641593685490936\n" "help.text" msgid "destinationcell: The destination cell to insert the imported data, as a string. If instead a range is given, only its top-left cell is considered." msgstr "målcelle: Målcella som dei importerte dataa skal setjast inn i, som ein streng. Viss det er gjeve eit område, vert det berre teke omsyn til den øvre, venstre cella." #. BrTfu #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id641593685863838\n" "help.text" msgid "filteroptions: The arguments for the CSV input filter. The default filter makes following assumptions:" msgstr "filterindstillingar: Argumentet for CSV-inndatafilteret. Standardfilteret gjer desse antakingane:" #. Mb4c6 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id661593686250471\n" "help.text" msgid "The input file encoding is UTF8." msgstr "Teiknsettet i inndatafila er UTF8." #. CEpDn #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id161593686260876\n" "help.text" msgid "The field separator is a comma, a semi-colon or a Tab character." msgstr "Felt-skiljeteiknet er eit komma, eit semikolon eller eit tabulatorteikn." #. CDfys #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id711593686274293\n" "help.text" msgid "The string delimiter is the double quote (\")." msgstr "Strengskiljeteiknet er det doble sitatteiknet (\")." #. qowXx #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id171593686280838\n" "help.text" msgid "All lines are included." msgstr "Alle linjer er inkluderte." #. MBwZg #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id881593686287161\n" "help.text" msgid "Quoted strings are formatted as text." msgstr "Strengar med sitatteikn er formaterte som tekst." #. bujFG #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id161593686293473\n" "help.text" msgid "Special numbers are detected." msgstr "Spesielle tal vert oppdaga." #. TYXKD #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id791593686300499\n" "help.text" msgid "All columns are presumed to be texts, except if recognized as valid numbers." msgstr "Alle kolonnar vert sett på som tekstar, bortsett viss dei vert kjende att som gyldige tal." #. Byno7 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id381593686307406\n" "help.text" msgid "The language is English/US, which implies that the decimal separator is \".\" and the thousands separator is \",\"." msgstr "Språket er engelsk/amerikansk, noko som betyr at desimalskiljeteikn er '.' og tusenskiljeteikn er ','." #. tDYGo #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id531611757154931\n" "help.text" msgid "To learn more about the CSV Filter Options, refer to the CSV Filter Options help page." msgstr "" #. vPPYx #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id881599568986824\n" "help.text" msgid "Imports the contents of a database table, query or resultset, i.e. the result of a SELECT SQL command, inserting it on a destination cell." msgstr "Importerer innhaldet i ein databasetabell, ei spørjing eller eit resultatsett, dvs. resultatet av ein SELECT SQL-kommando ved å setja det inn i ei målcelle." #. DorV6 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id81611763957509\n" "help.text" msgid "The destination area is cleared of all contents and formats before inserting the imported contents. The size of the modified area is fully determined by the contents in the table or query." msgstr "Alt innhald og alle format i målområdet vert fjerna før det importerte innhaldet vert sett inn. Storleiken på det endra området vert bestemt fullt og heilt av innhaldet i matrisa eller spørjinga." #. tfp3o #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id51599568986387\n" "help.text" msgid "The method returns True when the import was successful." msgstr "Metoden returnerer Sann når han lukkast." #. rgoAd #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id311599568986784\n" "help.text" msgid "filename: Identifies the file to open. It must follow the SF_FileSystem.FileNaming notation." msgstr "filnamn: Identifiserer fila som skal opnast. Namnet må følgja notasjonen SF_FileSystem.FileNaming ." #. j2J5e #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id711596555746281\n" "help.text" msgid "registrationname: The name to use to find the database in the databases register. This argument is ignored if a filename is provided." msgstr "registreringsnamn: Namnet som vert brukt for å finna databasen i databaseregisteret. Dette argument vert ignorert viss det er gjeve eit filnamn." #. 2hSHw #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id211599568986329\n" "help.text" msgid "destinationcell: The destination of the imported data, as a string. If a range is given, only its top-left cell is considered." msgstr "målcelle: Målet for dei importerte dataa, som ein streng. Viss det er gjeve eit område, vert det berre teke omsyn til den øverste, venstre cella." #. aMfVw #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id451599489278429\n" "help.text" msgid "sqlcommand: A table or query name (without surrounding quotes or square brackets) or a SELECT SQL statement in which table and field names may be surrounded by square brackets or quotes to improve its readability." msgstr "sql-kommando: Ein tabell- eller eit spørjingsnamn (utan hermeteikn eller klammeparentesar) eller eit SELECT SQL-uttrykk der tabell- og feltnamna kan innehalda hermeteikn eller klammeparentesar for å gjera uttrykket enklare å lesa." #. wFpLr #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id271599489278141\n" "help.text" msgid "directsql: When True, the SQL command is sent to the database engine without pre-analysis. Default is False. The argument is ignored for tables. For queries, the applied option is the one set when the query was defined." msgstr "direkte_sql: Når denne er Sann, vert SQL-kommandoen sendt til databasemotoren utan førehandsanalyse. Standard er Usann. Argumentet vert ignorert for tabellar. For spørjingar er det brukte alternativet det som vart sett då spørjinga vart definert." #. toj8z #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id121591698472929\n" "help.text" msgid "Inserts a new empty sheet before an existing sheet or at the end of the list of sheets." msgstr "Set inn eit nytt tomt ark framføre eit ark som finst frå før eller sist i lista over ark." #. Xbm7k #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id941591698472748\n" "help.text" msgid "sheetname: The name of the new sheet." msgstr "arknamn: Namnet på det nye arket." #. XbXNM #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id84159169847269\n" "help.text" msgid "beforesheet: The name (string) or index (numeric, starting from 1) of the sheet before which to insert the new sheet. This argument is optional and the default behavior is to insert the sheet at the last position." msgstr "beforesheet: Namnet (streng) eller indeksnummeret (tal, byrjar frå 1) på arket framføre som det nye arket skal setjast inn i. Dette argumentet er valfritt. Standar er at det kopierte arket vert sett inn sist i arket." #. UCmit #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id241611764359510\n" "help.text" msgid "The following example inserts a new empty sheet named \"SheetX\" and places it before \"SheetY\":" msgstr "Det neste eksempelet set inn eit nytt, tomt ark med namnet «ArkX» framføre «ArkY»:" #. DcrWC #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id6415925694762\n" "help.text" msgid "Moves a specified source range to a destination range of cells. The method returns a string representing the modified range of cells. The dimension of the modified area is fully determined by the size of the source area." msgstr "Flytter eit gjeve kjeldeområde til eit målområde med celler. Metoden returnerer ein streng som representerer celleområdet som er endra. Dimensjonen på det endra området vert bestemt fullt ut av storleiken på kjeldeområdet." #. UqxZv #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id571592569476332\n" "help.text" msgid "source: The source range of cells, as a string." msgstr "kjelde: kjeldeområdet av celler, som ein streng." #. G6BSW #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id891592569476362\n" "help.text" msgid "destination: The destination cell, as a string. If a range is given, its top-left cell is considered as the destination." msgstr "mål: Målcella som ein streng. Viss det er gjeve eit område, vert cella øvst til venstre i området rekna som målet." #. NorEd #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id831591698903829\n" "help.text" msgid "Moves an existing sheet and places it before a specified sheet or at the end of the list of sheets." msgstr "Flyttar eit eksisterande ark og plasserer det framføre eit spesifisert ark eller på slutten av lista over ark." #. dgAxB #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id351591698903911\n" "help.text" msgid "sheetname: The name of the sheet to move. The sheet must exist or an exception is raised." msgstr "arknamn: Namnet på arket som skal flyttast. Arknamnet må finnast elles vert det sett eit unntak." #. fevuS #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id9159169890334\n" "help.text" msgid "beforesheet: The name (string) or index (numeric, starting from 1) of the sheet before which the original sheet will be placed. This argument is optional and the default behavior is to move the sheet to the last position." msgstr "beforesheet: Namnet (streng) eller indeksnummeret (tal, byrjar frå 1) på arket framføre som det opphavlege arket skal setjast inn i. Dette argumentet er valfritt. Standar er at det kopierte arket vert sett inn sist i arket." #. pd5t4 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id951611766058734\n" "help.text" msgid "The example below moves the existing sheet \"SheetX\" and places it before \"SheetY\":" msgstr "Eksempelet nedanfor flytter det eksisterande «ArkX» og set det framføre «ArkY»:" #. Q9iwN #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id51592233506371\n" "help.text" msgid "Returns a new range (as a string) offset by a certain number of rows and columns from a given range." msgstr "Returnerer eit nytt område (som ein streng) forskyvt med eit bestemt tal på rader og kolonnar frå eit gjeve område." #. VCUXL #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id61611768400376\n" "help.text" msgid "This method has the same behavior as the homonymous Calc's Offset function." msgstr "Denne funksjonen gjer det same som den einslydande funksjonen Forskyv i Calc." #. G2oD2 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id901592233506293\n" "help.text" msgid "reference: The range, as a string, that the method will use as reference to perform the offset operation." msgstr "referanse: Området, som ein streng, som metoden vil bruka som referanse til å utføra forskyvingsoperasjonen." #. Ra7aW #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id781592234124856\n" "help.text" msgid "rows: The number of rows by which the initial range is offset upwards (negative value) or downwards (positive value). Use 0 (default) to stay in the same row." msgstr "rader: Kor mange rader som det opphavlege området skal forskyvast oppover (negativ verdi) eller nedover (positiv verdi). Bruk 0 (standard) for å forbli i same rada." #. FvqjV #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id971592234138769\n" "help.text" msgid "columns: The number of columns by which the initial range is offset to the left (negative value) or to the right (positive value). Use 0 (default) to stay in the same column." msgstr "kolonnar: Kor mange kolonnar som det opphavlege området skal forskyvast mot venstre (negativ verdi) eller mot høgre (positiv verdi). Bruk 0 (standard) for å forbli i same kolonnen." #. VzgGM #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id321592234150061\n" "help.text" msgid "height: The vertical height for an area that starts at the new range position. Omit this argument when no vertical resizing is needed." msgstr "høgd: Den loddrette høgda for eit område som byrjar ved den nye områdeposisjonen. Utelat dette argumentet når det ikkje er behov for loddrett endring av storleiken." #. JxENN #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id271592234165247\n" "help.text" msgid "width: The horizontal width for an area that starts at the new range position. Omit this argument when no horizontal resizing is needed." msgstr "breidde: Den vassrette breidd for eit område som byrjar ved den nye områdeposisjonen. Utelat dette argumentet når det ikkje er behov for vassrett endring av storleiken." #. t9QDN #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id871592234172652\n" "help.text" msgid "Arguments rows and columns must not lead to zero or negative start row or column." msgstr "Argumenta rader og kolonnar kan ikkje resultera i null eller negativ startrad eller startkolonne." #. JAxEm #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id211592234180073\n" "help.text" msgid "Arguments height and width must not lead to zero or negative count of rows or columns." msgstr "Argumenta høgd og breidd kan ikkje resultera i null eller eit negativt tal på rader eller kolonnar." #. BkCDz #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "bas_id651592234465732\n" "help.text" msgid "'SheetX.$C$3 (A1 moved by two rows and two columns down)" msgstr "' ArkX.$C$3 (A1 flytt to rader og to kolonnar ned)" #. 8ukCQ #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "bas_id521592234478848\n" "help.text" msgid "'SheetX.$C$3:$H$7 (A1 offset by two rows and columns with width of 5 rows and 6 columns)" msgstr "' ArkX.$C$3:$H$7 (A1 forskjøve med to rader og kolonnar med ei breidd på 5 rader og 6 kolonnar)" #. GwPQh #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id51592233506021\n" "help.text" msgid "Opens a non-modal dialog that can be used to select a range in the document and returns a string containing the selected range." msgstr "" #. CWn2A #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id301637936295380\n" "help.text" msgid "This method opens the same dialog that is used by %PRODUCTNAME when the Shrink button is pressed. For example, the Tools - Goal Seek dialog has a Shrink button to the right of the Formula cell field." msgstr "" #. XUoah #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id551637936545121\n" "help.text" msgid "This method does not change the current selection." msgstr "" #. tAHiV #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id901592233506001\n" "help.text" msgid "title: The title of the dialog, as a string." msgstr "" #. Yyn74 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id781592234124502\n" "help.text" msgid "selection: An optional range that is initially selected when the dialog is displayed." msgstr "" #. zo7VK #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id971592234138989\n" "help.text" msgid "singlecell: When True (default) only single-cell selection is allowed. When False range selection is allowed." msgstr "" #. SqEWv #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id321592234150345\n" "help.text" msgid "closeafterselect: When True (default) the dialog is closed immediately after the selection is made. When False the user can change the selection as many times as needed and then manually close the dialog." msgstr "" #. yDiCm #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id51592233503441\n" "help.text" msgid "Returns the input string after substituting its token characters by their values in a given range." msgstr "" #. Qu4DK #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id551637936596521\n" "help.text" msgid "This method does not change the current selection." msgstr "" #. eEqCY #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id171637938442558\n" "help.text" msgid "This method can be used to quickly extract specific parts of a range name, such as the sheet name or first cell column and row, and use them to compose a new range address." msgstr "" #. RAAVz #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id901592233506232\n" "help.text" msgid "inputstr: The string containing the tokens that will be replaced by the corresponding values in range." msgstr "" #. NJdUy #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id781592234161102\n" "help.text" msgid "range: A RangeName from which values will be extracted. If it contains a sheet name, the sheet must exist." msgstr "" #. BgCCD #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id971592234102889\n" "help.text" msgid "tokencharacter: Character used to identify tokens. By default \"%\" is the token character. The following tokens are accepted:" msgstr "" #. WTDwR #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id261637943912156\n" "help.text" msgid "%S - The sheet name containing the range, including single quotes when necessary." msgstr "" #. YHLeU #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id441637943912380\n" "help.text" msgid "%R1 - The row number of the top left cell of the range." msgstr "" #. joJi7 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id521637943912620\n" "help.text" msgid "%C1 - The column letter of the top left cell of the range." msgstr "" #. YAfmV #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id371637943912860\n" "help.text" msgid "%R2 - The row number of the bottom right cell of the range." msgstr "" #. imuBD #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id291637943913116\n" "help.text" msgid "%C2 - The column letter of the bottom right cell of the range." msgstr "" #. gpmpG #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id941637943467476\n" "help.text" msgid "The example below extracts each element of the RangeName defined in sRange and uses them to compose a message." msgstr "" #. nbJ59 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id241637944350648\n" "help.text" msgid "The Printf method can be combined with SetFormula to create formulas over multiple cells. For instance, consider a table with numeric values in the range \"A1:E10\" from which formulas are to be created to sum the values in each row and place the results in the range \"F1:F10\":" msgstr "" #. foAvd #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "bas_id371637944971921\n" "help.text" msgid "' Note the use of the \"$\" character" msgstr "" #. wBpRw #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id156589200121138\n" "help.text" msgid "This method sends the contents of the given sheet to the default printer or to the printer defined by the SetPrinter method of the Document service." msgstr "" #. BaDL9 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id981611169416934\n" "help.text" msgid "Returns True if the sheet was successfully printed." msgstr "" #. CnNEC #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id368519200121646\n" "help.text" msgid "sheetname: The sheet to print, default is the active sheet." msgstr "" #. xk3k3 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id211635436910093\n" "help.text" msgid "pages: The pages to print as a string, like in the user interface. Example: \"1-4;10;15-18\". Default is all pages." msgstr "" #. DBFDA #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id141635436912146\n" "help.text" msgid "copies: The number of copies. Default is 1." msgstr "" #. C8abL #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id661591699085351\n" "help.text" msgid "Removes an existing sheet from the document." msgstr "Fjernar eit ark frå dokumentet." #. dVxiA #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id331591699085330\n" "help.text" msgid "sheetname: The name of the sheet to remove." msgstr "arknamn: Namnet på arket som skal fjernast." #. GwKHr #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id971591704316873\n" "help.text" msgid "Renames the given sheet and returns True if successful." msgstr "Gjev det gjevne arket eit nytt namn og returnerer Sann viss dette lukkast." #. ofAiN #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id161591704316337\n" "help.text" msgid "sheetname: The name of the sheet to rename." msgstr "arknamn: Namnet på arket som skal gjevast nytt namn." #. JHEDe #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id931591704316998\n" "help.text" msgid "newname: the new name of the sheet. It must not exist yet." msgstr "nyttnamn: Det nye arknamnet. Namnet må ikkje finnast frå før." #. bwtAA #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id351611775260443\n" "help.text" msgid "This example renames the active sheet to \"SheetY\":" msgstr "I dette eksempelet endrar du namnet på det aktive arket til «ArkY»:" #. qEM6N #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id191592745582983\n" "help.text" msgid "Stores the given value starting from a specified target cell. The updated area expands itself from the target cell or from the top-left corner of the given range to accommodate the size of the input value argument. Vectors are always expanded vertically." msgstr "Lagrar den gjevne verdien frå ei oppgjeve målcelle. Det oppdaterte området utvidar seg frå målcella eller frå øvre, venstre hjørne i det gjevne området for å få plass til storleiken på inndataargumentet value. Vektorar vert alltid utvida loddrett." #. tm6AR #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id671592745582573\n" "help.text" msgid "The method returns a string representing the modified area as a range of cells." msgstr "Metoden returnerer ein streng som representerer det endra området som eit celleområde." #. FAuKq #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id801592745582116\n" "help.text" msgid "targetcell: The cell or a range as a string from where to start to store the given value." msgstr "målcelle: Cella eller eit område som ein streng der lagringa av den gjevne verdien skal byrja." #. aK7EZ #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id321592745582192\n" "help.text" msgid "value: A scalar, a vector or an array (in Python, one or two-dimensional lists and tuples) with the new values to be stored from the target cell or from the top-left corner of the range if targetcell is a range. The new values must be strings, numeric values or dates. Other types will cause the corresponding cells to be emptied." msgstr "verdi: Ein skalar, ein vektor eller ei matrise (i Python, ein- eller todimensjonale lister og tuppler) med dei nye verdiane som skal lagrast frå målcella, eller frå øvre, venstre hjørne av området viss målcella er eit område. Dei nye verdiane må vera strengar, talverdiar eller datoar. Andre typar vil føra til at dei tilsvarande cellene vert tømde." #. 7BCXQ #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id331611776151376\n" "help.text" msgid "The following example uses the builtin DimArray function to create an array and then store it in cell \"A1\":" msgstr "Det meste eksempelet brukar den innebygde funksjonen DimArray for å laga ei matrise og lagra ho i cella «A1»." #. fZfKc #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id601611775600983\n" "help.text" msgid "This example uses the RangeInit method of the ScriptForge Array service to create an array with values that are then stored from cell \"A1\" and downwards." msgstr "Dette eksempelet brukar metoden RangeInit frå ScriptForge Array service for å laga ei matrise med verdiar som vert lagra frå cella «A1» og nedover." #. kmatN #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "bas_id251592745582536\n" "help.text" msgid "'Fill 1st column with values from 1 to 1000" msgstr "' Fyll første kolonne med verdiar frå 1 til 1000" #. YNGtV #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id291592905671530\n" "help.text" msgid "To dump the full contents of an array in a sheet, use SetArray. To dump the contents of an array only within the boundaries of the targeted range of cells, use SetValue." msgstr "Viss du vil dumpa heile innhaldet i ei matrise i eit ark, brukar du SetArray. Viss du vil dumpa innhaldet i ei matrise berre innanfor grensene for det gjevne celleområdet, brukar du SetValue." #. ecovS #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id601592231799489\n" "help.text" msgid "Stores the given value in the specified range. The size of the modified area is equal to the size of the target range." msgstr "Lagrar den gjevne verdien i det spesifiserte området. Storleiken på det endra området er lik storleiken på målområdet." #. PeoKo #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id1001592233389953\n" "help.text" msgid "The method returns a string representing the modified area as a range of cells." msgstr "Metoden returnerer ein streng som representerer det endra området som eit celleområde." #. xYrHQ #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id361592231799255\n" "help.text" msgid "targetrange: The range where to store the given value, as a string." msgstr "målområde: Området som verdiane vert henta frå skal lagrast, som ein streng." #. dydXF #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id461592232081985\n" "help.text" msgid "value: A scalar, a vector or an array with the new values for each cell of the range. The new values must be strings, numeric values or dates. Other types will cause the corresponding cells to be emptied." msgstr "verdi: Ein skalar, ein vektor eller ei matrise med dei nye verdiane for kvar celle i området. Dei nye verdiane må vera strengar, talverdiar eller datoar. Andre typar vil føra til at dei tilsvarande cellene vert tømde." #. CgwVF #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id841592745785192\n" "help.text" msgid "The full range is updated and the remainder of the sheet is left unchanged. If the size of value is smaller than the size of targetrange, then the remaining cells will be emptied." msgstr "Heile området vert oppdatert medan resten av arket ikkje vert endra. Viss storleiken på verdi er mindre enn storleiken på målområdet vert dei resterande cellene tømde." #. QFkLr #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id191611776838396\n" "help.text" msgid "If the size of value is larger than the size of targetrange, then value is only partially copied until it fills the size of targetrange." msgstr "Viss storleiken av verdi er større enn storleiken på målområdet, vert verdi berre delvis kopiert til storleiken på målområdet er fylt opp." #. ykBk6 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id71611776941663\n" "help.text" msgid "Vectors are expanded vertically, except if targetrange has a height of exactly 1 row." msgstr "Vektorar vert alltid utvida loddrett unnateke viss målområdet er nøyaktig 1 rad høgt." #. FJCPf #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "bas_id541592232948567\n" "help.text" msgid "'Below the Value array is smaller than the TargetRange (remaining cells are emptied)" msgstr "' Nedanfor er verdi-matrisa mindre enn målområdet (resterande celler vert tømde)" #. vuu9B #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "bas_id541592232948825\n" "help.text" msgid "'Below the Value and TargetRange have the same size" msgstr "' Nedanfor har verdien og målområdet same storleiken" #. 4LFnH #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id731621689592755\n" "help.text" msgid "If you want to fill a single row with values, you can use the Offset function. In the example below, consider that arrData is a one-dimensional array:" msgstr "Ønskjer du å fylla ei enkelt rad med verdiar, kan du bruka funksjonen Offset. I eksempelet nedanfor bør du gå ut frå at arrData er ei eindimensjonal matrise:" #. g8mER #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id521595767687154\n" "help.text" msgid "Applies the specified cell style to the given target range. The full range is updated and the remainder of the sheet is left untouched. If the cell style does not exist, an error is raised." msgstr "Bruker den gjevne cellestilen på det gjevne målområdet. Heile området vert oppdatert, og resten av arket vert ståande urørt. Viss cellestilen ikkje finst, oppstår det ein feil." #. nxDCd #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id70159576768715\n" "help.text" msgid "The method returns a string representing the modified area as a range of cells." msgstr "Metoden returnerer ein streng som representerer det endra området som eit celleområde." #. FtFpL #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id22159576768782\n" "help.text" msgid "targetrange: The range to which the style will be applied, as a string." msgstr "målområde: Området som stilen skal brukast på, som ein streng." #. aAGcy #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id181595767687247\n" "help.text" msgid "style: The name of the cell style to apply." msgstr "stil: Namnet på cellestilen som skal brukast.." #. DCAWV #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id481593880376480\n" "help.text" msgid "Inserts the given (array of) formula(s) in the specified range. The size of the modified area is equal to the size of the range." msgstr "Set inn den gjevne (matrisa av) formelen/formlane i det spesifiserte området. Storleiken på det endra området er lik storleiken på området." #. d8CAU #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id711593880376106\n" "help.text" msgid "The method returns a string representing the modified area as a range of cells." msgstr "Metoden returnerer ein streng som representerer det endra området som eit celleområde." #. F5XDi #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id891593880376776\n" "help.text" msgid "targetrange: The range to insert the formulas, as a string." msgstr "målområde: Området der formlane skal setjast inn, som ein streng." #. A2UQF #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id941593880376500\n" "help.text" msgid "formula: A string, a vector or an array of strings with the new formulas for each cell in the target range." msgstr "formel: Ein streng, ein vektor eller ei matrise av strengar med nye formlar til kvar celle i målområdet." #. 746E8 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id551593880376513\n" "help.text" msgid "The full range is updated and the remainder of the sheet is left unchanged." msgstr "Heile området vert oppdatert medan resten av arket er uendra." #. Wot7x #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id811593880756356\n" "help.text" msgid "If the given formula is a string, the unique formula is pasted along the whole range with adjustment of the relative references." msgstr "Viss den gjevne formelen er ein streng, vert den unike formelen limt inn langs heile området med justering av dei relative referansane." #. zr47n #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id491593880857823\n" "help.text" msgid "If the size of formula is smaller than the size of targetrange, then the remaining cells are emptied." msgstr "Vis storleiken på formel er mindre enn storleiken på målområde, vert dei resterande cellene tømde." #. LwoGL #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id701611778103306\n" "help.text" msgid "If the size of formula is larger than the size of targetrange, then the formulas are only partially copied until it fills the size of targetrange." msgstr "Viss storleiken på formel er større enn storleiken på målområdet, vert formelen berre delvis kopiert til storleiken på målområdet er fylt opp." #. GQC3N #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id761611777946581\n" "help.text" msgid "Vectors are always expanded vertically, except if targetrange has a height of exactly 1 row." msgstr "Vektorar vert alltid utvida loddrett unnateke viss målområdet er nøyaktig 1 rad høgt." #. rNEEY #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "bas_id681593880376489\n" "help.text" msgid "'Horizontal vector, partially empty" msgstr "' Vassrett vektor delvis tom" #. 52GZX #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "bas_id961593881331390\n" "help.text" msgid "'D2 contains the formula \"=H2\"" msgstr "' D2 inneheld formelen \"=H2\"" #. gF7Gb #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id481593880373070\n" "help.text" msgid "Moves a given range of cells downwards by inserting empty rows. The current selection is not affected." msgstr "" #. 5qm5w #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id801637929435655\n" "help.text" msgid "Depending on the value of the wholerow argument the inserted rows can either span the width of the specified range or span all columns in the row." msgstr "" #. uvH4j #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id711593880370247\n" "help.text" msgid "This method returns a string representing the new location of the initial range." msgstr "" #. cvqws #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id811637929284110\n" "help.text" msgid "If the shifted range exceeds the sheet edges, then nothing happens." msgstr "" #. bUdZp #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id891593880376123\n" "help.text" msgid "range: The range above which rows will be inserted, as a string." msgstr "" #. fVYpB #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id941593880376566\n" "help.text" msgid "wholerow: If set to False (default), then the width of the inserted rows will be the same as the width of the specified range. Otherwise, the inserted row will span all columns in the sheet." msgstr "" #. rXzZX #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id551593880373045\n" "help.text" msgid "rows: The number of rows to be inserted. The default value is the height of the original range. The number of rows must be a positive number." msgstr "" #. dacHK #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "bas_id881637931053547\n" "help.text" msgid "' Moves the range \"A3:D3\" down by one row; affects only columns A to D" msgstr "" #. v4w3P #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "bas_id661637931232893\n" "help.text" msgid "' The inserted row spans all columns in the sheet" msgstr "" #. vsryg #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "bas_id291637931053897\n" "help.text" msgid "' Moves the range \"A3:D3\" down by five rows" msgstr "" #. pwuUG #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "bas_id501638218784265\n" "help.text" msgid "' Moves the range \"A3:D10\" down by two rows and shows the new location of the original range" msgstr "" #. hVfv3 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id481593880376255\n" "help.text" msgid "Deletes the leftmost columns of a given range and moves to the left all cells to the right of the affected range. The current selection is not affected." msgstr "" #. EzzWo #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id801637929460261\n" "help.text" msgid "Depending on the value of the wholecolumn argument the deleted columns can either span the height of the specified range or span all rows in the column." msgstr "" #. BXEkG #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id711593880371259\n" "help.text" msgid "This method returns a string representing the location of the remaining portion of the initial range. If all cells in the original range have been deleted, then an empty string is returned." msgstr "" #. CyRpL #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id891593880376205\n" "help.text" msgid "range: The range from which cells will be deleted, as a string." msgstr "" #. zWG3Y #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id941593880356026\n" "help.text" msgid "wholecolumn: If set to False (default), then the height of the deleted columns will be the same as the height of the specified range. Otherwise, the deleted columns will span all rows in the sheet." msgstr "" #. JLdBr #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id551593880373306\n" "help.text" msgid "columns: The number of columns to be deleted from the specified range. The default value is the width of the original range, which is also the maximum value of this argument." msgstr "" #. 8UycD #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "bas_id881637931064919\n" "help.text" msgid "' Deletes the range \"B3:B6\"; moves left all cells to the right" msgstr "" #. vM8hB #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "bas_id291637931056991\n" "help.text" msgid "' Deletes the first column in the range \"A3:D6\"" msgstr "" #. FPVSg #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "bas_id661637931232569\n" "help.text" msgid "' The deleted columns (A to D) spans all rows in the sheet" msgstr "" #. TAB2b #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id481593880373529\n" "help.text" msgid "Deletes the topmost rows of a given range and moves upwards all cells below the affected range. The current selection is not affected." msgstr "" #. zkYo7 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id801637929435361\n" "help.text" msgid "Depending on the value of the wholerow argument the deleted rows can either span the width of the specified range or span all columns in the row." msgstr "" #. s9Nfb #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id711593880370299\n" "help.text" msgid "This method returns a string representing the location of the remaining portion of the initial range. If all cells in the original range have been deleted, then an empty string is returned." msgstr "" #. H5EtV #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id891593880376583\n" "help.text" msgid "range: The range from which cells will be deleted, as a string." msgstr "" #. JQtGb #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id941593880300966\n" "help.text" msgid "wholerow: If set to False (default), then the width of the deleted rows will be the same as the width of the specified range. Otherwise, the deleted row will span all columns in the sheet." msgstr "" #. ueo8E #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id551593880373265\n" "help.text" msgid "rows: The number of rows to be deleted from the specified range. The default value is the height of the original range, which is also the maximum value of this argument." msgstr "" #. jHP9x #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "bas_id881637931064667\n" "help.text" msgid "' Deletes the range \"A3:D3\"; moves all cells below it by one row up" msgstr "" #. Make5 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "bas_id291637931056647\n" "help.text" msgid "' Deletes the first row in the range \"A3:D6\"" msgstr "" #. APQKA #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "bas_id661637931232493\n" "help.text" msgid "' The deleted rows spans all columns in the sheet" msgstr "" #. gKkbB #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id481593880372568\n" "help.text" msgid "Moves a given range of cells to the right by inserting empty columns. The current selection is not affected." msgstr "" #. CDi3E #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id801637929335255\n" "help.text" msgid "Depending on the value of the wholecolumn argument the inserted columns can either span the height of the specified range or span all rows in the column." msgstr "" #. Fh33o #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id711593880372560\n" "help.text" msgid "This method returns a string representing the new location of the initial range." msgstr "" #. pLAHD #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id811637929283210\n" "help.text" msgid "If the shifted range exceeds the sheet edges, then nothing happens." msgstr "" #. SeAGD #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id891593880370543\n" "help.text" msgid "range: The range which will have empty columns inserted to its left, as a string." msgstr "" #. KtD6Y #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id941593880373316\n" "help.text" msgid "wholecolumn: If set to False (default), then the height of the inserted columns will be the same as the height of the specified range. Otherwise, the inserted columns will span all rows in the sheet." msgstr "" #. fBzCG #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id5515938803791960\n" "help.text" msgid "columns: The number of columns to be inserted. The default value is the width of the original range." msgstr "" #. nmXTU #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "bas_id881637931052587\n" "help.text" msgid "' Moves the range \"A3:A6\" right by one column; affects only rows 3 to 6" msgstr "" #. 5mWBq #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "bas_id291637931053225\n" "help.text" msgid "' Moves the range \"A3:A6\" right by five columns" msgstr "" #. G53xT #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "bas_id661637931232548\n" "help.text" msgid "' The inserted column spans all rows in the sheet" msgstr "" #. FrC59 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id141595692394382\n" "help.text" msgid "Sorts the given range based on up to 3 columns/rows. The sorting order may vary by column/row. It returns a string representing the modified range of cells. The size of the modified area is fully determined by the size of the source area." msgstr "Sorterer det gjevne området basert på opptil tre kolonnar/rader. Sorteringsrekkjefølgja kan variera etter kolonne/rad. Det vert returnert ein streng som representerer det endra celleområdet. Storleiken på det endra området vert fullt ut bestemt av storleiken på kjeldeområdet." #. MVGBC #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id171595692394598\n" "help.text" msgid "range: The range to be sorted, as a string." msgstr "område: Området som skal sorterast, som ein streng." #. aenrK #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id171595692814163\n" "help.text" msgid "sortkeys: A scalar (if 1 column/row) or an array of column/row numbers starting from 1. The maximum number of keys is 3." msgstr "sorteringsnøklar: Ein skalar (viss 1 kolonne/rad) eller ei matrise av kolonnar/rader som byrjar frå 1. Det høgste talet på nøklar er 3." #. aQF93 #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id421595692962095\n" "help.text" msgid "sortorder: A scalar or an array of strings containing the values \"ASC\" (ascending), \"DESC\" (descending) or \"\" (which defaults to ascending). Each item is paired with the corresponding item in sortkeys. If the sortorder array is shorter than sortkeys, the remaining keys are sorted in ascending order." msgstr "sorteringsrekkjefølgje: Ein skalar eller ei matrise med strengar som inneheld verdiane ASC (stigande), DESC (synkande) eller \"\" (som normalt er stigande). Kvart element er bunde saman med det tilsvarande elementet i sorteringsnøklar. Viss sorteringsrekkjefølgje-matrisa er kortare enn sorteringsnøklar, vert dei resterande nøklane sorterte stigande." #. GVpuf #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id361595692394604\n" "help.text" msgid "destinationcell: The destination cell of the sorted range of cells, as a string. If a range is given, only its top-left cell is considered. By default the source Range is overwritten." msgstr "målcelle: Målcella for det sorterte celleområdet, som ein streng. Viss det er gjeve eit område, vert berre cella øvst til venstre rekna med. Kjeldeområdet vert som standard overskrive." #. QyaTf #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id441595693011034\n" "help.text" msgid "containsheader: When True, the first row/column is not sorted." msgstr "inneheld_overskrift: Når Sann, vert den første rada/kolonnen ikkje sortert." #. AbVtY #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id241595693169032\n" "help.text" msgid "casesensitive: Only for string comparisons. Default = False" msgstr "Store/små : (Skil store og små bokstavar). Berre for samanlikning av strengar. Standard = Usann." #. CL5Gm #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id1001595693326226\n" "help.text" msgid "sortcolumns: When True, the columns are sorted from left to right. Default = False : rows are sorted from top to bottom." msgstr "sorter_kolonnar: Når Sann vert kolonnane sorterte frå venstre mot høgre. Standard =Usann : rader vert sorterte ovanfrå og nedover." #. LvjpD #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "bas_id641595692394484\n" "help.text" msgid "'Sort range based on columns A (ascending) and C (descending)" msgstr "' Sorteringsområdet basert på kolonnar. A (stigande) og C (fallande)" #. HyPhE #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "tit\n" "help.text" msgid "SFDocuments.Chart service" msgstr "" #. bv49k #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "bm_id681600788076499\n" "help.text" msgid "SFDocuments.Chart service" msgstr "" #. nPHDK #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id181600788076612\n" "help.text" msgid "The Chart service provides a set of properties and methods to handle charts in Calc documents. With this service it is possible to:" msgstr "" #. uEEEZ #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id301600788076785\n" "help.text" msgid "Access chart objects in Calc documents and manipulate their properties." msgstr "" #. rzioM #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id1001600788076848\n" "help.text" msgid "Create and insert new charts into a Calc document." msgstr "" #. grjQS #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id67160078807676\n" "help.text" msgid "Export charts as image files." msgstr "" #. mZuuF #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "hd_id331635273472588\n" "help.text" msgid "Chart names" msgstr "" #. QPAjE #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id251635273489315\n" "help.text" msgid "Charts may have two different names:" msgstr "" #. GdHpK #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id41635273536840\n" "help.text" msgid "An internal name given by %PRODUCTNAME as soon as the chart object is created (usually \"Object 1\", \"Object 2\" and so on)." msgstr "" #. 3zCYQ #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id641635273537122\n" "help.text" msgid "A user-defined name, which can be defined by right-clicking the chart and choosing Name in the context menu." msgstr "" #. 6CV3D #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id191635273980553\n" "help.text" msgid "The Chart service primarily uses the user-defined name to access a chart object. If it does not exist, than the internal name is used." msgstr "" #. yYSdL #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "hd_id281600788076359\n" "help.text" msgid "Service invocation" msgstr "" #. jkE4f #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id141609955500101\n" "help.text" msgid "Before using the Chart service the ScriptForge library needs to be loaded or imported:" msgstr "" #. LvW6m #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id321614902851541\n" "help.text" msgid "The Chart service is instantiated from a Calc service instance either using the Charts or CreateChart methods." msgstr "" #. QtZnt #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id531635274285114\n" "help.text" msgid "The example below creates a Chart service instance from an existing chart in the current Calc document:" msgstr "" #. Cqd8G #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id851635274721129\n" "help.text" msgid "The following example instantiate the Chart service by creating a new chart object based on the data contained in the range \"Sheet1.A1:C10\"." msgstr "" #. BZ2EU #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id881635275036852\n" "help.text" msgid "Read the CreateChart method description to learn more about its arguments." msgstr "" #. gjYRg #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id131635275172617\n" "help.text" msgid "The examples above can be written in Python as follows:" msgstr "" #. QxXb9 #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "hd_id711600788076834\n" "help.text" msgid "Properties" msgstr "" #. z42Tx #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id461600788076917\n" "help.text" msgid "Name" msgstr "" #. 5RCfg #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id221600788076591\n" "help.text" msgid "Readonly" msgstr "" #. 5Ckhe #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id761600788076328\n" "help.text" msgid "Type" msgstr "" #. EJsLr #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id67160078807636\n" "help.text" msgid "Description" msgstr "" #. 5yKq5 #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id311600788076756\n" "help.text" msgid "No" msgstr "" #. BURxX #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id441600788076826\n" "help.text" msgid "Specifies the chart type as a string that can assume one of the following values: \"Pie\", \"Bar\", \"Donut\", \"Column\", \"Area\", \"Line\", \"XY\", \"Bubble\", \"Net\"." msgstr "" #. MEEhi #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id49160078807654\n" "help.text" msgid "No" msgstr "" #. qaDDb #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id81600788076419\n" "help.text" msgid "When True indicates that the chart is three-dimensional and each series is arranged in the z-direction." msgstr "" #. YkDSU #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id471635276257118\n" "help.text" msgid "When False series are arranged considering only two dimensions." msgstr "" #. qEBab #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id711600788076534\n" "help.text" msgid "No" msgstr "" #. gk8ns #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id541600788076645\n" "help.text" msgid "Specifies if the chart is displayed with 3D elements. If the value is a string, it must be either \"Bar\", \"Cylinder\", \"Cone\" or \"Pyramid\"." msgstr "" #. HgqhX #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id541600788076141\n" "help.text" msgid "If the boolean True value is specified, then the chart is displayed using 3D bars." msgstr "" #. vDs4z #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id891600788076190\n" "help.text" msgid "No" msgstr "" #. m224E #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id91600788076674\n" "help.text" msgid "Specifies how much pie segments are offset from the chart center as a percentage of the radius. Applicable to pie and donut charts only." msgstr "" #. hbjwH #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id561633021747903\n" "help.text" msgid "No" msgstr "" #. AaBHr #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id831633021749007\n" "help.text" msgid "When True, specifies a filled net chart. Applicable to net charts only." msgstr "" #. xgCB2 #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id391600788076253\n" "help.text" msgid "No" msgstr "" #. 8YDHE #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id21600788076541\n" "help.text" msgid "Specifies whether or not the chart has a legend." msgstr "" #. BNBDQ #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id211600788076138\n" "help.text" msgid "No" msgstr "" #. MLPCx #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id521600788076371\n" "help.text" msgid "When True, chart series are stacked and each category sums up to 100%. Applicable to Area, Bar, Bubble, Column and Net charts." msgstr "" #. yGCZ7 #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id21600788076758\n" "help.text" msgid "No" msgstr "" #. Gbsst #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id781600788076694\n" "help.text" msgid "When True, chart series are stacked. Applicable to Area, Bar, Bubble, Column and Net charts." msgstr "" #. 9Dnwe #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id261600788076841\n" "help.text" msgid "No" msgstr "" #. VwMyU #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id11600788076757\n" "help.text" msgid "Specifies the main title of the chart." msgstr "" #. FGSKV #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id531600789141795\n" "help.text" msgid "No" msgstr "" #. eH3Ag #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id301600789141619\n" "help.text" msgid "Specifies the title of the X axis." msgstr "" #. mmRtZ #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id541600789286532\n" "help.text" msgid "No" msgstr "" #. scox2 #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id701600789286280\n" "help.text" msgid "Specifies the title of the Y axis." msgstr "" #. CRLf5 #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id941608709527698\n" "help.text" msgid "Yes" msgstr "" #. YCRTC #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id100100678952791\n" "help.text" msgid "UNO Object" msgstr "" #. cDJES #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id661300789527859\n" "help.text" msgid "Returns the object representing the chart, which is an instance of the ScChartObj class." msgstr "" #. kDUCf #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id941600789527698\n" "help.text" msgid "Yes" msgstr "" #. LAgXE #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id100160078952791\n" "help.text" msgid "UNO Object" msgstr "" #. yRYAq #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id631600789527859\n" "help.text" msgid "Returns the com.sun.star.chart.XDiagram object representing the diagram of the chart." msgstr "" #. CAXYe #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id941600789527099\n" "help.text" msgid "Yes" msgstr "" #. yh7k9 #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id100160078953251\n" "help.text" msgid "UNO Object" msgstr "" #. FpeAy #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id631600789522587\n" "help.text" msgid "Returns the com.sun.star.drawing.XShape object representing the shape of the chart." msgstr "" #. DdVs9 #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id941600789527208\n" "help.text" msgid "Yes" msgstr "" #. winTd #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id100160078952007\n" "help.text" msgid "UNO Object" msgstr "" #. 5GESc #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id631600789527364\n" "help.text" msgid "Returns the com.sun.star.table.XTableChart object representing the data being displayed in the chart." msgstr "" #. A278T #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "hd_id581635335807782\n" "help.text" msgid "Creating a chart" msgstr "" #. EK2E7 #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id231635335826090\n" "help.text" msgid "Consider the following data in the range \"A1:B6\" of a sheet named \"Report\"." msgstr "" #. ZSw7Y #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id911635336313498\n" "help.text" msgid "The examples below in Basic and Python show how to create a line chart from this data with legends." msgstr "" #. whbDd #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id931635338174647\n" "help.text" msgid "The chart does not need to be created in the same sheet where the data is located. It can be created in any existing sheet in the current file by specifying the sheet name in the second argument of the CreateChart method." msgstr "" #. RtuMk #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "hd_id501582887473754\n" "help.text" msgid "Methods" msgstr "" #. mNZFS #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id891611613601554\n" "help.text" msgid "List of Methods in the Chart Service" msgstr "" #. WfVxL #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id93158919969864\n" "help.text" msgid "Saves the chart as an image file in a specified location. Returns True if the image file could be successfully created." msgstr "" #. SAtUt #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id821591631203996\n" "help.text" msgid "filename: Identifies the path and file name where the image will be saved. It must follow the notation defined in SF_FileSystem.FileNaming." msgstr "" #. 2YEEE #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id821591631203116\n" "help.text" msgid "imagetype: The name of the image type to be created. The following values are accepted: \"gif\", \"jpeg\", \"png\" (default), \"svg\" and \"tiff\"." msgstr "" #. XRASx #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id821591631203133\n" "help.text" msgid "overwrite: Specifies if the destination file can be overwritten (Default = False)." msgstr "" #. MCGBa #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id93158919969165\n" "help.text" msgid "Changes the position of the chart in the current sheet and modifies its width and height. Returns True if resizing was successful." msgstr "" #. aMKE5 #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id821591631200626\n" "help.text" msgid "xpos, ypos: Specify the new X and Y positions of the chart. If any of these values are omitted or if negative values are provided, the corresponding positions are left unchanged." msgstr "" #. qvsYR #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id821591631204288\n" "help.text" msgid "width: Specify the new width of the chart. If this argument is omitted or if a negative value is provided, the chart width is left unchanged." msgstr "" #. nGioo #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id821591631203208\n" "help.text" msgid "height: Specify the new height of the chart. If this argument is omitted or if a negative value is provided, the chart height is left unchanged." msgstr "" #. EyY7j #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "par_id301635340527472\n" "help.text" msgid "All arguments are provided as integer values that correspond to 1/100 of a millimeter." msgstr "" #. h7zov #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "bas_id431635340711712\n" "help.text" msgid "' Changes only X and Y position" msgstr "" #. VHc2V #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "bas_id241635340728398\n" "help.text" msgid "' Changes only the chart width and height" msgstr "" #. BEAYa #: sf_chart.xhp msgctxt "" "sf_chart.xhp\n" "bas_id201635340749006\n" "help.text" msgid "' Keyword arguments are supported" msgstr "" #. zNFY6 #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "tit\n" "help.text" msgid "SFDatabases.Database service" msgstr "Tenesta SFDatabases.Database" #. K7nuj #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "hd_id371587913266310\n" "help.text" msgid "SFDatabases.Database service" msgstr "Tenesta SFDatabases.Database" #. RByov #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id891599407198144\n" "help.text" msgid "The Database service provides access to databases either embedded or described in Base documents. This service provides methods to:" msgstr "Tenesta Database gjev tilgang til databasar anten innebygde eller omtalte i Base-dokument. Denne tenesta leverer metodar til:" #. 7dqXS #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id551615386924481\n" "help.text" msgid "Get access to data in database tables." msgstr "Få tilgang til data i databasetabellar" #. 29pT5 #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id551615386924285\n" "help.text" msgid "Run SELECT queries and perform aggregate functions." msgstr "Køyr SELECT-spørjingar og utfør SAMANDRAG-funksjonar." #. LYsPD #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id551615386924111\n" "help.text" msgid "Run SQL action statements such as INSERT, UPDATE, DELETE, etc." msgstr "Køyr SQL-handlingsuttrykk som INSERT (set inn), UPDATE (oppdater), DELETE (slett) og så vidare." #. 7CSTo #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id811599407236602\n" "help.text" msgid "Each instance of the Database service represents a single database and gives access to its tables, queries and data." msgstr "" #. JopCB #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id111625692871642\n" "help.text" msgid "This service does not provide access to forms or reports in the Base document that contains the database. To access forms in a Base document, refer to the method FormDocuments of the Base service." msgstr "" #. Snu6R #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id231615386789950\n" "help.text" msgid "All exchanges between this service and the database are done using SQL only." msgstr "Alle utvekslingar mellom denne tenesta og databasen vert gjort berre ved hjelp av SQL." #. MiGUE #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id121599407322804\n" "help.text" msgid "SQL statements may be run in direct or indirect mode. In direct mode the statement is transferred to the database engine without any syntax checking or review." msgstr "SQL-uttrykk kan køyrast i direct (direkte) eller indirect (indirekte) modus. I direkte tilstand vert uttrykket overført til databasemotoren utan kontroll av syntaksen eller gjennomsyn." #. Kg5Cn #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id681599407189019\n" "help.text" msgid "The provided interfaces include simple tables and queries lists, as well as access to database data." msgstr "Grensesnitta som føljer med, inkluderer enkle tabellar og spørjingar i tillegg til tilgang til databasedata." #. 644XA #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id891599407280007\n" "help.text" msgid "To make SQL statements more readable, you may use square brackets \"[ ]\" to enclose names of tables, queries and fields instead of using other enclosing characters that may be exclusive to certain Relational Database Management Systems (RDBMS). But beware that enclosing characters are mandatory in this context." msgstr "" #. CAFnK #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "hd_id91587913266988\n" "help.text" msgid "Service invocation" msgstr "Oppkall av tenester" #. 8ASCW #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id141609955500101\n" "help.text" msgid "Before using the Database service the ScriptForge library needs to be loaded or imported:" msgstr "" #. Cr4oo #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id541599408159668\n" "help.text" msgid "To create a instance of the Database service you can use the CreateScriptService method:" msgstr "" #. ArhV5 #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id551625693442959\n" "help.text" msgid "In the syntax described above you can use either \"SFDatabases.Database\" or simply \"Database\" as the first argument of the CreateScriptService method." msgstr "" #. S7oNc #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id111615146818256\n" "help.text" msgid "filename: The name of the Base file. Must be expressed using SF_FileSystem.FileNaming notation." msgstr "" #. fUxEZ #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id771615146944307\n" "help.text" msgid "registrationname: The name of a registered database. If filename is provided, this argument should not be used." msgstr "" #. J2NA3 #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id491615147048748\n" "help.text" msgid "Conversely, if a registrationname is specified, the filename parameter should not be defined." msgstr "" #. YQF4D #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id841615147168279\n" "help.text" msgid "readonly: Determines if the database will be opened as readonly (Default = True)." msgstr "" #. 9FEG5 #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id291615147236001\n" "help.text" msgid "user, password: Additional connection parameters to the database server." msgstr "" #. ZG5pH #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "bas_id871625698095504\n" "help.text" msgid "' Run queries, SQL statements, ..." msgstr "" #. uWJrQ #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "pyc_id791625698186675\n" "help.text" msgid "# Run queries, SQL statements, ..." msgstr "" #. Z2VVg #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "hd_id771615147491563\n" "help.text" msgid "Accessing Databases with the UI Service" msgstr "Tilgang til databasen med tenesta UI" #. 5Kifs #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id901599408410712\n" "help.text" msgid "It is also possible to access the database associated with a Base document using the ScriptForge.UI service, as shown in the examples below:" msgstr "" #. T6mkQ #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "bas_id631615147843278\n" "help.text" msgid "' User and password are supplied below, if needed" msgstr "' Brukar og passord vert oppgjeve nedanfor om nødvendig" #. F43tz #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "bas_id921599408791887\n" "help.text" msgid "' Run queries, SQL statements, ..." msgstr "" #. FsCDs #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "pyc_id731625699527917\n" "help.text" msgid "# User and password are supplied below, if needed" msgstr "" #. BDNDo #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "pyc_id201625699438702\n" "help.text" msgid "# Run queries, SQL statements, ..." msgstr "" #. AVkg5 #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id361619188184750\n" "help.text" msgid "The GetDatabase method used in the example above is part of ScriptForge's Base service." msgstr "" "Metoden GetDatabase\n" " som er brukt i eksempelet ovanfor er ein del av ScriptForge-tenesta Base." #. EF9Lc #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "hd_id841587913266618\n" "help.text" msgid "Properties" msgstr "Eigenskapar" #. x4Z5A #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id521587913266568\n" "help.text" msgid "Name" msgstr "Namn" #. QUrYT #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id421587913266368\n" "help.text" msgid "Readonly" msgstr "Skriveverna" #. 3kQCm #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id631587914939732\n" "help.text" msgid "Type" msgstr "Type" #. RYuuo #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id951587913266220\n" "help.text" msgid "Description" msgstr "Beskriving" #. BzLQb #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id651587913266754\n" "help.text" msgid "Yes" msgstr "Ja" #. up8WT #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id421587914989890\n" "help.text" msgid "Array of strings" msgstr "Matrise av strengar" #. dGoYp #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id351587913266349\n" "help.text" msgid "The list of stored queries." msgstr "Lista over lagra spørjingar." #. bfdLR #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id931599409717463\n" "help.text" msgid "Yes" msgstr "Ja" #. 2DDTs #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id71599409717945\n" "help.text" msgid "Array of strings" msgstr "Matrise av strengar" #. rGTvw #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id341599409717612\n" "help.text" msgid "The list of stored tables." msgstr "Lista over lagra tabellar." #. u5YE4 #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id741599409777967\n" "help.text" msgid "Yes" msgstr "Ja" #. evuSw #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id551599409777759\n" "help.text" msgid "The UNO object representing the current database connection." msgstr "UNO-objektet som representerer den gjeldande databasekoplinga." #. w9YZG #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id271599409887585\n" "help.text" msgid "Yes" msgstr "Ja" #. NeTGg #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id861599409887284\n" "help.text" msgid "The UNO object representing the metadata describing the database system attributes." msgstr "UNO-objektet som representerer metadataa som forklarer attributta for databasesystemet." #. ApsdK #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id231614360519973\n" "help.text" msgid "List of Methods in the Database Service" msgstr "Liste over metodar i tenesta database" #. emrA2 #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id201587913266596\n" "help.text" msgid "Closes the current database connection." msgstr "Lukkar den gjeldande databasekoplinga." #. nwbSh #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id13159655484952\n" "help.text" msgid "Computes the given aggregate function on a field or expression belonging to a table." msgstr "Reknar ut den gjevne samandragsfunksjonen for eit felt eller uttrykk som høyrer til ein tabell." #. E9LsG #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id101615148468548\n" "help.text" msgid "Optionally, a SQL WHERE clause can be specified as a filter that will be applied prior to the aggregate function." msgstr "Ein SQL WHERE-setningsdel kan eventuelt setjast som eit filter som skal brukast før samandragsfunksjonen" #. AKqei #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id441596554849949\n" "help.text" msgid "expression: A SQL expression in which the field names are surrounded with square brackets." msgstr "" #. c2Rzq #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id381596554849698\n" "help.text" msgid "tablename: A table name (without square brackets)." msgstr "" #. cjGPp #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id521596554849185\n" "help.text" msgid "criteria: A WHERE clause without the \"WHERE\" keyword, in which field names are surrounded with square brackets." msgstr "" #. AGBFS #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id781615150306678\n" "help.text" msgid "The example below assumes the file Employees.odb has a table named EmployeeData." msgstr "Eksempelet nedanfor går ut frå at fila Employees.odb har ein tabell med namnet EmployeeData." #. KAqZB #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "bas_id871615150277916\n" "help.text" msgid "' Counts the number of employees in the table" msgstr "' Tel kor mange tilsette i tabellen" #. AVstM #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "bas_id291615150373387\n" "help.text" msgid "' Returns the sum of all salaries in the table" msgstr "' Returnerer summen av alle lønningane i tabellen" #. cMiVJ #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "bas_id931615150423062\n" "help.text" msgid "' Below are some examples of how tables can be filtered" msgstr "' Nedanfor vert det vist nokre eksempel på filtrering av tabellar" #. kCmmv #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id41599488113961\n" "help.text" msgid "Computes a SQL expression on a single record returned by a WHERE clause defined by the Criteria parameter." msgstr "Reknar ut eit SQL-uttrykk på ein enkelt post som vert returnert av ein WHERE-setning definert av parameteren Kriterium." #. 8yUaz #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id601615381471954\n" "help.text" msgid "If the query returns multiple records, only the first one is considered. Use the OrderClause parameter to determine how query results are sorted." msgstr "Viss spørjinga returnerer fleire postar, vert berre den første rekna med. Bruk parameterenOrderClause til å bestemma korleis spørjingsresultata skal sorterast." #. tNnSe #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id671599488113986\n" "help.text" msgid "expression: A SQL expression in which the field names are surrounded with square brackets." msgstr "" #. eGbAr #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id441599488113247\n" "help.text" msgid "tablename: A table name (without square brackets)." msgstr "" #. F9xaH #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id40159948811316\n" "help.text" msgid "criteria: A WHERE clause without the \"WHERE\" keyword, in which field names are surrounded with square brackets." msgstr "" #. SusUk #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id71599488689029\n" "help.text" msgid "orderclause: An ORDER BY clause without the \"ORDER BY\" keywords. Field names should be surrounded with square brackets." msgstr "" #. CPoBx #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id481599489278579\n" "help.text" msgid "Stores the contents of a table or the results of a SELECT query or of an SQL statement in a two-dimensional array. The first index in the array corresponds to the rows and the second index refers to the columns." msgstr "Lagrar innhaldet i ein tabell eller resultatet av ei SELECT-spørjing eller av eit SQL-uttrykk i ei todimensjonal matrise. Den første indeksen i matrisa svarar til radene og den andre indeksen til kolonnane." #. GXji8 #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id821615384762425\n" "help.text" msgid "An upper limit can be specified to the number of returned rows. Optionally column names may be inserted in the first row of the array." msgstr "Du kan setja ei øvre grense for kor mange rader som skal returnerast. Kolonnenamn kan eventuelt setjast inn i den første rada i matrisa." #. gX7AY #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id271599490209915\n" "help.text" msgid "The returned array will be empty if no rows are returned and the column headers are not required." msgstr "Den returnerte matrisa vil vera tom viss det ikkje vert returnert rader og det ikkje krevst kolonneoverskrifter." #. y5u8i #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id451599489278429\n" "help.text" msgid "sqlcommand: A table or query name (without square brackets) or a SELECT SQL statement." msgstr "" #. xAbDx #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id271599489278141\n" "help.text" msgid "directsql: When True, the SQL command is sent to the database engine without pre-analysis. Default is False. This argument is ignored for tables. For queries, the applied option is the one set when the query was defined." msgstr "" #. DEzQD #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id941599489278747\n" "help.text" msgid "header: When True, the first row of the returned array contains the column headers." msgstr "" #. P2SMx #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id591599489278926\n" "help.text" msgid "maxrows: The maximum number of rows to return. The default is zero, meaning there is no limit to the number of returned rows." msgstr "" #. 3XZPf #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id721615385125947\n" "help.text" msgid "Below are a few examples of how the GetRows method can be used:" msgstr "Nedføre er det nokre eksempel på korleis metoden GetRows kan brukast:" #. zkeuW #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "bas_id171615385196045\n" "help.text" msgid "' Returns all rows in the table with column headers" msgstr "' Returnerer alle radene i tabellen med kolonneoverskrifter" #. eFmmE #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "bas_id371615385230721\n" "help.text" msgid "' Returns the first 50 employee records ordered by the 'FirstName' field" msgstr "' Returnerer dei første 50 tilsettepostane sortert etter feltet «Fornamn»" #. FMBEy #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id31599490609759\n" "help.text" msgid "Executes an action query of an SQL statement such as creating a table, as well as inserting, updating and deleting records." msgstr "Utfører ei handlingsspørjing for ei SQL-setning, for eksempel oppretting av ein tabell, i tillegg til å setja inn, oppdatera og sletta postar." #. gyiQy #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id331615385491925\n" "help.text" msgid "The method returns True when successful." msgstr "Metoden returnerer Sann når han lukkast." #. G5bDE #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id21599490810021\n" "help.text" msgid "The RunSql method is rejected with an error message in case the database was previously opened in read-only mode." msgstr "Metoden RunSql vert avvist med ei feilmelding dersom databasen tidlegare vart opna som skriveverna." #. WnUpF #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id701599490609473\n" "help.text" msgid "sqlcommand: A query name (without square brackets) or a SQL statement." msgstr "" #. uNMDN #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id51599490609377\n" "help.text" msgid "directsql: When True, the SQL command is sent to the database engine without pre-analysis. (Default = False). For queries, the applied option is the one set when the query was defined." msgstr "" #. BC4Sc #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "tit\n" "help.text" msgid "SFDialogs.Dialog service" msgstr "Tenesta SFDialogs.Dialog" #. LzQoS #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "bm_id781582391760253\n" "help.text" msgid "SFDialogs.Dialog service" msgstr "Tenesta SFDialogs.Dialog" #. ny8EV #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id931583589764919\n" "help.text" msgid "The Dialog service contributes to the management of dialogs created with the Basic Dialog Editor. Each instance of the current class represents a single dialog box displayed to the user." msgstr "Tenesta Dialog bidreg til handsaminga av dialogar oppretta med Basic lDialog Editor. Kvar førekomst av den nåverande klassen representerer éin dialogboks som vert vist for brukaren." #. vxEvV #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id831598110550771\n" "help.text" msgid "A dialog box can be displayed in modal or in non-modal modes." msgstr "Ein dialogboks kan visast i modal eller ikkje-modal modus." #. LVjBj #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id221598110444025\n" "help.text" msgid "In modal mode, the box is displayed and the execution of the macro process is suspended until one of the OK or Cancel buttons is pressed. In the meantime, user actions executed on the box can trigger specific actions." msgstr "I modal modus vert boksen vist og utføringa av makroprosessen vert utsett til ein av OK- eller Avbryt -knappane vert trykt på. I mellomtida kan brukarhandlingar utført på boksen løysa ut spesifikke handlingar." #. FFTSj #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id981598110463521\n" "help.text" msgid "In non-modal mode, the dialog box is \"floating\" on the user desktop and the execution of the macro process continues normally. A non-modal dialog closes when it is terminated with the Terminate() method or when the %PRODUCTNAME session ends. The window close button is inactive in non-modal dialogs." msgstr "I ikkje-modal modus er dialogvindauget «flytande» på brukarskrivebordet, og køyringa av makroprosessen held fram som normalt. Eit ikkje-modalt dialogvindauge vert lukka når den vert avslutta med Terminate()-metoden eller når %PRODUCTNAME-økta vert avslutta. Lukkeknappen for vindauget er inaktiv i ikkje-modale dialogvindauge." #. GrpyR #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id721598110472337\n" "help.text" msgid "A dialog box disappears from memory after its explicit termination." msgstr "Eit dialogvindauge forsvinn frå minnet etter eksplisitt avslutning." #. asacX #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id891598188164936\n" "help.text" msgid "The SFDialogs.Dialog service is closely related to the SFDialogs.DialogControl service." msgstr "Tenesta SFDialogs.Dialog er i nært slektskap med tenesta SFDialogs.DialogControl." #. CByHp #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "hd_id581582885621841\n" "help.text" msgid "Service invocation and usage" msgstr "Oppkall og bruk av tenester" #. FfZWj #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id141609955500101\n" "help.text" msgid "Before using the Dialog service the ScriptForge library needs to be loaded or imported:" msgstr "" #. S8GrJ #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id361598174756160\n" "help.text" msgid "The Dialog service is invoked through the CreateScriptService method. It requires three positional arguments to specify the dialog box to activate:" msgstr "Tenesta Dialog vert kalla opp med metoden CreateScriptService. Ho krev tre posisjons-argument for å opna dialogvindauget." #. Ntzqh #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id31612271944733\n" "help.text" msgid "Container: \"GlobalScope\" for preinstalled libraries or a window name as defined by ScriptForge.UI service. Empty string \"\" default value stands for the current document." msgstr "Container: \"GlobalScope\" for førehandsinstallerte bibliotek eller eit vindaugenamn som er definert av tenesta ScriptForge.UI. Standardverdien tom streng \"\" står for det gjeldande dokumentet." #. juLgm #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id311612271947124\n" "help.text" msgid "Library: The case-sensitive name of a library contained in the container. Default value is \"Standard\"." msgstr "Bibliotek: Biblioteknamn (som skil mellom store og små bokstavar) finst i behaldaren. Standardverdien er «Standard»." #. FSp5N #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id821612271946316\n" "help.text" msgid "DialogName: A case-sensitive string designating the dialog." msgstr "Dialognamn: Ein streng som skil mellom store og små bokstavar, gjev dialogvindauget." #. r5vY5 #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id761620142701399\n" "help.text" msgid "Below %PRODUCTNAME Basic and Python examples are displaying the dlgConsole dialog that belongs to ScriptForge shared library:" msgstr "PRODUCTNAME Basic- og Python-eksempla nedanfor viser dialogvindauget dlgConsole, som høyrer til det delte biblioteket ScriptForge:" #. mqjFF #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "bas_id321598171269873\n" "help.text" msgid "'... controls initialization goes here..." msgstr "' … initialisering av kontrollelementa vert skrivne her…" #. yn6sy #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "bas_id471598176518738\n" "help.text" msgid "'Default mode = Modal" msgstr "' Standardmodus = Modal" #. h9a9G #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "bas_id551598171288547\n" "help.text" msgid "'... Process controls and do what is needed here" msgstr "' … Handsama kontrollelementa og gjera det som trengst her" #. VD35X #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id601619622310089\n" "help.text" msgid "Or using Python:" msgstr "Eller med Python:" #. knENA #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "pyc_id41619622700314\n" "help.text" msgid "# ... controls initialization goes here..." msgstr "' … initialisering av kontrollelementa vert skrivne her…" #. 2PTBU #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "pyc_id661611699964814\n" "help.text" msgid "# Default mode is Modal" msgstr "' Standardmodus er Modal" #. ABoA2 #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "pyc_id681619619965191\n" "help.text" msgid "# ... Process controls and do what is needed here" msgstr "' … Handsama kontrollelementa og gjera det som trengst her" #. eehkB #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id951598174966322\n" "help.text" msgid "Alternatively a Dialog instance can be retrieved via the SFDialogs.DialogEvent service, providing that the dialog was initiated with the Dialog service. DialogEvent returns the SFDialogs.Dialog service instance that triggered the event." msgstr "Alternativt kan ein førekomst av Dialog hentast via tenesta SFDialogs.DialogEvent, viss dialogvindauget vart initiert med tenesta Dialog. DialogEvent returnerer den førekomsten av tenesta SFDialogs.Dialog som utløyste hendinga." #. QBG5g #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id741619625211462\n" "help.text" msgid "with Python:" msgstr "Med Python" #. n72Hv #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id251598176312571\n" "help.text" msgid "Note that in previous examples, the prefix \"SFDialogs.\" may be omitted when deemed appropriate." msgstr "Merk at i dei tidlegare eksempla kan prefikset \"SFDialogs.\" sløyfast når det passar best." #. nXGkZ #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "hd_id651583668365757\n" "help.text" msgid "Properties" msgstr "Eigenskapar" #. zVLEC #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id871583668386455\n" "help.text" msgid "Name" msgstr "Namn" #. FBCFG #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id491583668386455\n" "help.text" msgid "ReadOnly" msgstr "Skriveverna" #. ByVDE #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id271583668474014\n" "help.text" msgid "Type" msgstr "Type" #. 8AUBJ #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id401583668386455\n" "help.text" msgid "Description" msgstr "Beskriving" #. iZZec #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id371583668519172\n" "help.text" msgid "Yes" msgstr "Ja" #. av994 #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id771583668386455\n" "help.text" msgid "Value = 1. An OK button was pressed." msgstr "Verdi = 1. Der vart trykt på ein OK-knapp." #. GKcTG #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id541583839708548\n" "help.text" msgid "Yes" msgstr "Ja" #. z4BZ4 #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id731583839708412\n" "help.text" msgid "Value = 0. A Cancel button was pressed." msgstr "Verdi = 0. Der vart trykt på ein Avbryt-knapp." #. cThsX #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id761584027709516\n" "help.text" msgid "No" msgstr "Nei" #. 48bDT #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id971584027709752\n" "help.text" msgid "Specify the title of the dialog." msgstr "Spesifiser tittelen på dialogvindauget." #. 2pjyZ #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id31583839767743\n" "help.text" msgid "No" msgstr "Nei" #. 3Rypn #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id111583839767195\n" "help.text" msgid "Specify the height of the dialog box." msgstr "Spesifiser høgda på dialogvindauget." #. KD2zy #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id771583839920487\n" "help.text" msgid "Yes" msgstr "Ja" #. ABrxD #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id451583839920858\n" "help.text" msgid "Specifies if the dialog box is currently in execution in modal mode." msgstr "Viser om dialogvindauget vert køyrd i modal-modus." #. sA5Nj #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id571588333908716\n" "help.text" msgid "Yes" msgstr "Ja" #. JoAYu #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id721588333908708\n" "help.text" msgid "The name of the dialog" msgstr "Namnet på dialogvindauget" #. jcbwB #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id501583774433513\n" "help.text" msgid "No" msgstr "Nei" #. Tfrah #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id151598177605296\n" "help.text" msgid "A dialog may have several pages that can be traversed by the user step by step. The Page property of the Dialog object defines which page of the dialog is active." msgstr "Eit dialogvindauge kan ha fleire sider som brukaren kan gå gjennom steg for steg. Kva side i dialogvindauget som er gjeldande, vert definert i sideeigenskapen." #. FZG3n #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id271588334016191\n" "help.text" msgid "No" msgstr "Nei" #. 3sRE5 #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id251588334016874\n" "help.text" msgid "Specify if the dialog box is visible on the desktop. By default it is not visible until the Execute() method is run and visible afterwards." msgstr "Spesifiserer om dialogvindauget er synleg på skrivebordet. Som standard er han ikkje synleg før etter at metoden Execute() er utført." #. w6DwG #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id451598177924437\n" "help.text" msgid "Yes" msgstr "Ja" #. W2CkE #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id191598177924897\n" "help.text" msgid "The UNO object representing the dialog model. Refer to XControlModel and UnoControlDialogModel in Application Programming Interface (API) documentation for detailed information." msgstr "Det UNO-objektet som representer modellen for dialogvindauget. Sjå detaljert informasjon i XControlModel og UnoControlDialogModel i dokumentasjonen for API-en ( Application Programming Interface)." #. YFYi4 #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id811598178083501\n" "help.text" msgid "Yes" msgstr "Ja" #. bmedG #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id731598178083442\n" "help.text" msgid "The UNO object representing the dialog view. Refer to XControl and UnoControlDialog in Application Programming Interface (API) documentation for detailed information." msgstr "Det UNO-objektet som representer modellen for dialogvindauget. Sjå detaljert informasjon i XControlModel og UnoControlDialogModel i dokumentasjonen for API-en ( Application Programming Interface)." #. S4DWL #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id31385839767743\n" "help.text" msgid "No" msgstr "Nei" #. G6Qsw #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id111583839717695\n" "help.text" msgid "Specify the width of the dialog box." msgstr "Spesifiser breidda på dialogvindauget." #. q8eyc #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "hd_id421612628828054\n" "help.text" msgid "Event properties" msgstr "Hendingseigenskapar" #. EbGWN #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id41612629140856\n" "help.text" msgid "Returns a URI string with the reference to the script triggered by the event. Read its specification in the scripting framework URI specification." msgstr "Returnerer ein URI-streng med referanse til skriptet som utløyste hendinga. Sjå spesifikasjonen i spesifikasjonane for skript-ramma." #. XCC7C #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id961612628879819\n" "help.text" msgid "Name" msgstr "Skriv inn eit namn for objektet" #. V3bin #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id401612628879819\n" "help.text" msgid "ReadOnly" msgstr "Skriveverna" #. uW85z #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id281612628879819\n" "help.text" msgid "Basic IDE Description" msgstr "Basic IDE-beskriving" #. dFkbN #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id111612629836630\n" "help.text" msgid "Yes" msgstr "Ja" #. aKBvg #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id1001612629836902\n" "help.text" msgid "When receiving focus" msgstr "Når han får fokus" #. 4FBaJ #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id291612629836294\n" "help.text" msgid "Yes" msgstr "Ja" #. 8U7FZ #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id62161262983683\n" "help.text" msgid "When losing focus" msgstr "Når han mistar fokus" #. wBCKi #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id81612629836634\n" "help.text" msgid "Yes" msgstr "Ja" #. CK5vU #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id881612629836744\n" "help.text" msgid "Key pressed" msgstr "Ved tastetrykk" #. gXJGu #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id591612629836830\n" "help.text" msgid "Yes" msgstr "Ja" #. CJwi7 #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id161612629836775\n" "help.text" msgid "Key released" msgstr "Etter tastetrykk" #. wS7GH #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id891612629836630\n" "help.text" msgid "Yes" msgstr "Ja" #. GcDU7 #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id461612629836679\n" "help.text" msgid "Mouse moved while key presses" msgstr "Muserørsle medan ein tast er trykt" #. eUS49 #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id131612629836291\n" "help.text" msgid "Yes" msgstr "Ja" #. QrByH #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id151612629836151\n" "help.text" msgid "Mouse inside" msgstr "Mus innanfor" #. CRGTF #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id211612629836725\n" "help.text" msgid "Yes" msgstr "Ja" #. 69s4B #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id361612629836624\n" "help.text" msgid "Mouse outside" msgstr "Mus utanfor" #. ojLRr #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id311612629836481\n" "help.text" msgid "Yes" msgstr "Ja" #. XaS8A #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id721612629836752\n" "help.text" msgid "Mouse moved" msgstr "Mus flytt" #. MnMUF #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id981612629836116\n" "help.text" msgid "Yes" msgstr "Ja" #. NtqPz #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id381612629836635\n" "help.text" msgid "Mouse button pressed" msgstr "Museknapp trykt ned" #. czknv #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id711612629836704\n" "help.text" msgid "Yes" msgstr "Ja" #. J2uzg #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id35161262983642\n" "help.text" msgid "Mouse button released" msgstr "Museknapp sloppe" #. gTQjc #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id921606472825856\n" "help.text" msgid "Methods" msgstr "Metodar" #. DiCyL #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id871583933076448\n" "help.text" msgid "Set the focus on the current Dialog instance. Return True if focusing was successful." msgstr "Set fokus på det gjeldande dialogvindauget. Returner Sann viss fokuseringa lukkast." #. 7QdPA #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id151598178880227\n" "help.text" msgid "This method is called from a dialog or control event, or when a dialog is displayed in non-modal mode." msgstr "Denne metoden vert kalla opp frå eit dialogvindauge, ei kontrollhending eller når det vert vist eit dialogvindauge i ikkje-modal modus." #. uoBhE #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id811620109056270\n" "help.text" msgid "Python and %PRODUCTNAME Basic examples both assume that the dialog is stored in current document's Standard library." msgstr "Både Python- og %PRODUCTNAME-Basic-eksempla går ut frå at dialogvidauget er lagra i Standard-biblioteket i det gjeldande dokument." #. 4qLn9 #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id161584541257982\n" "help.text" msgid "Return either:" msgstr "Returner anten:" #. isSnB #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id421598179770993\n" "help.text" msgid "the list of the controls contained in the dialog" msgstr "lista over kontrollelement som er i dialogvidauget" #. hdSWz #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id81598185229301\n" "help.text" msgid "a DialogControl class instance based on its name" msgstr "ein DialogControl-klasseførekomst basert på namnet" #. AEAHd #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id1001584541257789\n" "help.text" msgid "ControlName : A valid control name as a case-sensitive string. If absent, the list of control names is returned as a zero-based array." msgstr "KontrolNamn: Eit gyldig kontrollnamn som ein streng (som skil mellom små og store bokstavar). Viss denne manglar vert lista over kontrollnamn returnert som ei nullbasert matrise." #. j8x9C #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id381598185776500\n" "help.text" msgid "Ends the display of a modal dialog and gives back the argument as return value for the current Execute() running action." msgstr "Avsluttar visinga av eit modalt dialogvindauge og returnerer argumentet som returverdi for den gjeldande køyrehandlinga Execute ()." #. gjvwy #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id551598185953362\n" "help.text" msgid "EndExecute() is usually contained in the processing of a macro triggered by a dialog or control event." msgstr "EndExecute() er til vanleg å finna i handsaminga av ein makro som er utløyst av ei hending i eit dialogvindauge eller eit kontrollelement." #. yukGC #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id451598185776957\n" "help.text" msgid "returnvalue: The value passed to the running Execute() method." msgstr "returverdi: Verdien som vert sendt til den køyrande Execute()-metoden." #. ABome #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id411620110780170\n" "help.text" msgid "Using %PRODUCTNAME Basic:" msgstr "Med %PRODUCTNAME Basic:" #. EtAN6 #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id11620110819754\n" "help.text" msgid "Using Python:" msgstr "Med Python:" #. ML9Mz #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id81620201915101\n" "help.text" msgid "Above com.sun.star.lang.EventObject mentions are optional. Such annotations help identify %PRODUCTNAME Application Programming Interface (API)." msgstr "Overnemnde com.sun.star.lang.EventObject er valfrie. Slike merknadar hjelper til med å identifisere %PRODUCTNAME Application Programming Interface (API)." #. FD9fr #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id29159818646178\n" "help.text" msgid "Display the dialog box and, when modal, wait for its termination by the user. The returned value is either:" msgstr "Viser dialogvindauget og ventar, når modal, på avslutning av brukaren. Den returnerte verdien er anten:" #. PRCaG #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id541598186676277\n" "help.text" msgid "0 : Cancel button pressed" msgstr "0: knappen Avbryt er trykt" #. eCGBY #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id821598186716345\n" "help.text" msgid "1 : OK button pressed" msgstr "1: knappen OK er trykt" #. MovhC #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id951598186738346\n" "help.text" msgid "Otherwise the dialog stopped with an EndExecute() statement issued by a dialog or control event" msgstr "Elles vart dialogvindauget stoppa med eit EndExecute()-uttrykk sendt frå ei hending i eit dialogvindauge eller eit kontrollelement" #. eBFXT #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id741598187335869\n" "help.text" msgid "For non-modal dialog boxes the method always returns 0 and the execution of the macro continues." msgstr "For ikkje-modale dialogvindauge returnerer metoden alltid 0 og utføringa av makroen held fram-." #. Ej2iF #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id11598186461227\n" "help.text" msgid "modal: False when non-modal dialog. Default = True." msgstr "modal: Usann ved eit ikkje-modalt dialogvindauge. Standard = Sann ." #. fGatm #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id231620110023843\n" "help.text" msgid "In this Basic example myDialog dialog is stored in current document's Standard library." msgstr "I dette Basic-eksempelet er dialogvindauget myDialog lagra i det gjeldande dokumentet sitt Standard-bibliotek." #. ouEVN #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id191620110162627\n" "help.text" msgid "This Python code displays DlgConvert modal dialog from Euro shared Basic library." msgstr "Denne Python-koden viser det modale dialogvindauget DlgConvert i det delte Basic-biblioteket DlgConvert." #. HU6Jv #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id21598187900349\n" "help.text" msgid "Replaces all fixed text strings in a dialog by their translated versions based on a L10N service instance. This method translates the following strings:" msgstr "" #. JixXU #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id641625855723650\n" "help.text" msgid "The method returns True if successful." msgstr "" #. v5Zt5 #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id61637871260604\n" "help.text" msgid "To create a list of translatable strings in a dialog use the AddTextsFromDialog method from the L10N service." msgstr "" #. ECNVg #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id451598185776205\n" "help.text" msgid "l10n: A L10N service instance from which translated strings will be retrieved." msgstr "" #. MeJAT #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id951620300689850\n" "help.text" msgid "The following example loads translated strings and applies them to the dialog \"MyDialog\"." msgstr "" #. p3KMX #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id901637872163895\n" "help.text" msgid "Read the L10N service help page to learn more about how PO and POT files are handled." msgstr "" #. ARCGg #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id21598187953679\n" "help.text" msgid "Terminate the Dialog service for the current instance. Return True if the termination was successful." msgstr "Avslutt tenesta Dialog i den gjeldande førekomsten. Returner Sann viss avslutninga lukkast." #. CgAYf #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id951620300687150\n" "help.text" msgid "Below Basic and Python examples open DlgConsole and dlgTrace non-modal dialogs. They are respectively stored in ScriptForge and Access2Base shared libraries. Dialog close buttons are disabled and explicit termination is performed at the end of a running process." msgstr "Basic- og Python-eksempla nedanfor opnar dei ikkje-modale dialogvindauga DlgConsole og dlgTrace. Dei er lagra i dei delte biblioteka ScriptForge og Access2Base. Knappane for å lukka dialogvindauga er kopla frå, og eksplisitt avslutning vert utført på slutten av ein køyrande prosess." #. W3W3Y #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id301620302137482\n" "help.text" msgid "In this example a button in DlgConsole is substituting inhibited window closing:" msgstr "I dette eksempelet erstattar ein knapp i DlgConsole hemma lukking av vindauget:" #. 7z7hg #: sf_dialog.xhp msgctxt "" "sf_dialog.xhp\n" "par_id811620112217958\n" "help.text" msgid "With Python:" msgstr "Med Python:" #. BFfGX #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "tit\n" "help.text" msgid "SFDialogs.DialogControl service" msgstr "Tenesta SFDialogs.DialogControl" #. UBz5i #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "bm_id781582391760253\n" "help.text" msgid "SFDialogs.DialogControl service" msgstr "Tenesta SFDialogs.DialogControl" #. tZzKc #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id931583589764919\n" "help.text" msgid "The DialogControl service manages the controls belonging to a dialog defined with the Basic Dialog Editor. Each instance of the current service represents a single control within a dialog box." msgstr "Tenesta DialogControl handsamar dei kontrollelementa som høyrer til eit dialogvindauge som er definert med Dialog Editor i Basic. Kvar førekomst av den gjeldande tenesta representerer eitt kontrollelement i eit dialogvindauge." #. 7dDgL #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id701598191157426\n" "help.text" msgid "The focus is set on getting and setting the values displayed by the controls of the dialog box. Formatting is accessible via the XControlModel and XControlView properties." msgstr "Fokus vert sett på å hente verdiane som vert viste av kontrollelementa i dialogvindauget. Formatering er tilgjengeleg via eigenskapane XControlModel og XControlView." #. fFfwe #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id981598191184526\n" "help.text" msgid "Note that the unique DialogControl.Value property content varies according to the control type." msgstr "Merk at innhaldet av den unike eigenskapen DialogControl.Value varierer i høve til type kontrollelement." #. MBrzA #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id991612698027551\n" "help.text" msgid "A special attention is given to controls of type tree control. It is easy to populate a tree, either branch by branch, or with a set of branches at once. Populating a tree control can be performed statically or dynamically." msgstr "Kontrollar av typen trekontroll får spesiell merksemd. Det er enkelt å fylla eit tre, anten forgreina etter grein eller med eit sett med greiner samstundes. Utfylling av ein trekontroll kan gjerast statisk eller dynamisk." #. 9LpGF #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id891598188164936\n" "help.text" msgid "The SFDialogs.DialogControl service is closely related to the SFDialogs.Dialog service." msgstr "Tenesta SFDialogs.DialogControl er i nær slekt med tenesta SFDialogs.Dialog." #. uGTGK #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "hd_id581582885621841\n" "help.text" msgid "Service invocation" msgstr "Oppkall av tenester" #. LGkgR #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id141609955500101\n" "help.text" msgid "Before using the DialogControl service the ScriptForge library needs to be loaded or imported:" msgstr "" #. EnxDs #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id361598174756160\n" "help.text" msgid "The DialogControl service is invoked from an existing Dialog service instance through its Controls() method. The dialog must be initiated with the SFDialogs.Dialog service." msgstr "Tenesta DialogControl vert opna frå ei Dialog-teneste som finst frå før, med Controls() -metoden. Dialogvindauget må opnast med tenesta SFDialogs.Dialog." #. RCFrE #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "bas_id581598453210170\n" "help.text" msgid "myControl.Value = \"Dialog started at \" & Now()" msgstr "myControl.Value = \"Dialogvindauget byrja \" & Now()" #. WVG8J #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "bas_id961598453222539\n" "help.text" msgid "' ... process the controls actual values" msgstr "' … handsamar dei aktuelle verdiane for kontrollelementet" #. gxhUu #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "pyc_id861620225235002\n" "help.text" msgid "text.Value = \"Dialog started at \" + strftime(\"%a, %d %b %Y %H:%M:%S\", localtime())" msgstr "text.Value = \"Dialogvindauget byrja \" + strftime(\"%a, %d %b %Y %H:%M:%S\", localtime())" #. nu3f3 #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "pyc_id841620225235377\n" "help.text" msgid "# ... process the controls actual values" msgstr "' … handsamar dei aktuelle verdiane for kontrollelementet" #. 2PPv4 #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id951598174966322\n" "help.text" msgid "Alternatively a control instance can be retrieved via the SFDialogs.DialogEvent service, providing the dialog was initiated with the Dialog service. DialogEvent returns the SFDialogs.DialogControl class instance that triggered the event." msgstr "Alternativt kan ein kontrollførekomst hentast via tenesta SFDialogs.DialogEvent viss dialogvindauget vart initiert med tenesta Dialog. DialogEvent returnerer den førekomsten av tenesta SFDialogs.Dialog som utløyste hendinga." #. 75WJy #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id251598176312571\n" "help.text" msgid "Note that in previous examples, the prefix \"SFDialogs.\" may be omitted." msgstr "Merk at i dei tidlegare eksempla kan prefikset \"SFDialogs.\" sløyfast." #. F9uKj #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "hd_id71598455687512\n" "help.text" msgid "Control types" msgstr "Kontrolltypar" #. jKJBV #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id851598455863395\n" "help.text" msgid "The DialogControl service is available for these control types:" msgstr "Tenesta DialogControl er tilgjengeleg for desse kontrolltypane:" #. 7xddb #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "hd_id651583668365757\n" "help.text" msgid "Properties" msgstr "Eigenskapar" #. 94RMV #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id871583668386455\n" "help.text" msgid "Name" msgstr "Namn" #. eccsg #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id491583668386455\n" "help.text" msgid "ReadOnly" msgstr "Skriveverna" #. KRYNv #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id271583668474014\n" "help.text" msgid "Type" msgstr "Type" #. U9ZYU #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id291598538799794\n" "help.text" msgid "Applicable to" msgstr "Gjeld for" #. emDac #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id401583668386455\n" "help.text" msgid "Description" msgstr "Beskriving" #. xNGhR #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id371583668519172\n" "help.text" msgid "No" msgstr "Nei" #. aTyMC #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id771583668386455\n" "help.text" msgid "Specifies if a command button has or not the behaviour of a Cancel button." msgstr "Bestemmer om ein kommandoknapp har eller ikkje har verkemåten til ein Avbryt-knapp." #. Gft3Z #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id541583839708548\n" "help.text" msgid "No" msgstr "Nei" #. UXoyn #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id731583839708412\n" "help.text" msgid "Specifies the text associated with the control." msgstr "Viser teksten som er knytt til kontrollen." #. Uo2SP #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id761584027709516\n" "help.text" msgid "Yes" msgstr "Ja" #. YKEAg #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id261598539120502\n" "help.text" msgid "All" msgstr "Alle" #. c5GAw #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id971584027709752\n" "help.text" msgid "One of the types listed above." msgstr "Ein av typane lista opp ovanfor." #. oMipU #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id67161270548283\n" "help.text" msgid "No" msgstr "Nei" #. 59ovD #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id341612705482566\n" "help.text" msgid "UNO
object" msgstr "UNO
objekt" #. w2ZhT #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id1001612705482919\n" "help.text" msgid "The currently upmost node selected in the tree control. Refer to XmutableTreeNode in Application Programming Interface (API) documentation for detailed information." msgstr "Den øvste noden som er vald i trekontrollen. Sjå XmutableTreeNode i dokumentasjonen til Application Programming Interface (API)." #. veivJ #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id31583839767743\n" "help.text" msgid "No" msgstr "Nei" #. y2irQ #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id111583839767195\n" "help.text" msgid "Specifies whether a command button is the default (OK) button." msgstr "Viser om ein kommandoknapp er standardknappen (OK)." #. GAdvJ #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id771583839920487\n" "help.text" msgid "No" msgstr "Nei" #. tBmrq #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id891598539196786\n" "help.text" msgid "All" msgstr "Alle" #. 8S9xG #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id451583839920858\n" "help.text" msgid "Specifies if the control is accessible with the cursor." msgstr "Viser om kontrollen er tilgjengeleg med markøren." #. 2E9Cb #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id571588333908716\n" "help.text" msgid "No" msgstr "Nei" #. 6L9ke #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id491598529331618\n" "help.text" msgid "(read-only)" msgstr "(skriveverna)" #. QbN5U #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id721588333908708\n" "help.text" msgid "Specifies the format used to display dates and times. It must be one these strings:" msgstr "Spesifiserer formatet som vert brukt for å visa datoar og klokkeslett. Det må vera ein av desse strengane:" #. 5eRkE #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id891598456980194\n" "help.text" msgid "For dates: \"Standard (short)\", \"Standard (short YY)\", \"Standard (short YYYY)\", \"Standard (long)\", \"DD/MM/YY\", \"MM/DD/YY\", \"YY/MM/DD\", \"DD/MM/YYYY\", \"MM/DD/YYYY\" , \"YYYY/MM/DD\", \"YY-MM-DD\", \"YYYY-MM-DD\"." msgstr "For datoar: \"Standard (kort)\", \"Standard (kort ÅÅ)\", \"Standard (kort ÅÅÅÅ)\", \"Standard (lang)\", \"DD/MM/ÅÅ\", \"MM/DD/ÅÅ\", \"ÅÅ/MM/DD\", \"DD/MM/ÅÅÅÅ\", \"MM/DD/ÅÅÅÅ\" , \"ÅÅÅÅ/MM/DD\", \"ÅÅ-MM-DD\", \"ÅÅÅÅ-MM-DD\"." #. CDCLC #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id221598456991070\n" "help.text" msgid "For times: \"24h short\", \"24h long\", \"12h short\", \"12h long\"." msgstr "Til klokkeslett: \"24t kort\", \"24t lang\", \"12t kort\", \"12t lang\"." #. nLCxq #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id501583774433513\n" "help.text" msgid "Yes" msgstr "Ja" #. rDJFC #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id151598177605296\n" "help.text" msgid "Specifies the number of rows in a ListBox, a ComboBox or a TableControl." msgstr "" #. kaaLt #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id271588334016191\n" "help.text" msgid "No" msgstr "Nei" #. Ey9iG #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id251588334016874\n" "help.text" msgid "Specifies which item is selected in a ListBox, a ComboBox or a TableControl." msgstr "" #. azv7C #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id961598457655506\n" "help.text" msgid "No" msgstr "Nei" #. 6N6Eb #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id2159845765568\n" "help.text" msgid "Specifies if the control is read-only." msgstr "Spesifiserer om kontrollelementet er skriveverna." #. bubBB #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id621598457951781\n" "help.text" msgid "No" msgstr "Nei" #. r83sC #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id821598457951782\n" "help.text" msgid "Specifies whether a user can make multiple selections in a listbox." msgstr "Spesifiserer om ein brukar kan gjera fleire val i ein listeboks." #. BBJCw #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id351598458170114\n" "help.text" msgid "Yes" msgstr "Ja" #. uHsgi #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id151598539764402\n" "help.text" msgid "All" msgstr "Alle" #. HLjFU #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id621598458170392\n" "help.text" msgid "The name of the control." msgstr "Namnet på kontrollelementet" #. jSSnv #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id80159845835726\n" "help.text" msgid "No" msgstr "Nei" #. 8GZkA #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id841598539781888\n" "help.text" msgid "All" msgstr "Alle" #. BdxvF #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id791598458357756\n" "help.text" msgid "A dialog may have several pages that can be traversed by the user step by step. The Page property of the Dialog object defines which page of the dialog is active." msgstr "Eit dialogvindauge kan ha fleire sider som brukaren kan gå gjennom steg for steg. Kva side i dialogvindauget som er gjeldande, vert definert i sideeigenskapen." #. isrYW #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id441598458459145\n" "help.text" msgid "The Page property of a control defines the page of the dialog on which the control is visible." msgstr "Side-eigenskapen til eit kontrollelement definerer kva side i dialogvindauget kontrollelementet er synleg." #. Cj3Kq #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id161598458580581\n" "help.text" msgid "Yes" msgstr "Ja" #. 6EFh7 #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id921598458580608\n" "help.text" msgid "Dialog
service" msgstr "Tenesta Dialog
" #. SDCx4 #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id181598539807426\n" "help.text" msgid "All" msgstr "Alle" #. sqEuV #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id801598458580456\n" "help.text" msgid "The parent SFDialogs.Dialog class object instance." msgstr "Foreldreklassen SFDialogs.Dialog sin objektførekomst." #. GTGu9 #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id971598458773352\n" "help.text" msgid "No" msgstr "Nei" #. LP96H #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id451598458773588\n" "help.text" msgid "Specifies the file name containing a bitmap or other type of graphic to be displayed on the specified control. The filename must comply with the FileNaming attribute of the ScriptForge.FileSystem service." msgstr "Spesifiserer at filnamnet som inneheld punktgrafikk eller ein annan type grafikk vert vist på det gjevne kontrollelementet. Filnamnet må vera i samsvar med FileNaming for tenesta ScriptForge.FileSystem." #. LZLsc #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id831612700624650\n" "help.text" msgid "Yes" msgstr "Ja" #. QxAW9 #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id711612700624483\n" "help.text" msgid "UNO
object" msgstr "UNO
object" #. m4N4j #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id11612700624514\n" "help.text" msgid "An object representing the lowest root node (usually there is only one such root node). Refer to XmutableTreeNode in Application Programming Interface (API) documentation for detailed information." msgstr "Eit objekt som representerer den lågaste rotnoden (til vanleg finst det berre éin slik rotnode). Sjå lXmutableTreeNode i API-dokumentasjonen (Application Programming Interface) for detaljert informasjon." #. PqsSY #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id401598516577225\n" "help.text" msgid "No" msgstr "Nei" #. AciNr #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id311598516577712\n" "help.text" msgid "Specifies the data contained in a combobox or a listbox." msgstr "Spesifiserer dataa i ein kombinasjonsboks eller ein listeboks." #. q532w #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id781598516764550\n" "help.text" msgid "Yes" msgstr "Ja" #. 4h8VF #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id11159851676440\n" "help.text" msgid "Gives access to the text being displayed by the control." msgstr "Gjev tilgang til teksten som vert vist av kontrollelementet." #. We5gv #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id411598517275112\n" "help.text" msgid "No" msgstr "Nei" #. EijF2 #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id171598539985022\n" "help.text" msgid "All" msgstr "Alle" #. CbBZJ #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id651598517275384\n" "help.text" msgid "Specifies the text that appears as a tooltip when you hold the mouse pointer over the control." msgstr "Spesifiserer teksten som vert vist som eit verktøytips når du held musepeikaren over kontrollelementet." #. kVtki #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id821598517418463\n" "help.text" msgid "No" msgstr "Nei" #. ZemBe #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id141598517418822\n" "help.text" msgid "Specifies if the checkbox control may appear dimmed (grayed) or not." msgstr "Bestemmer om kontrollelementet for avkryssingsboksen kan vera nedtona (gråa ut) eller ikkje." #. BDWA7 #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id701598517671373\n" "help.text" msgid "No" msgstr "Nei" #. ZHrsm #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id1001598540024225\n" "help.text" msgid "Refer to Value property" msgstr "Sjå Verdieigenskapar" #. PqKgo #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id661598517730941\n" "help.text" msgid "No" msgstr "Nei" #. 8r3sG #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id761598540042290\n" "help.text" msgid "All" msgstr "Alle" #. xLL83 #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id881598517730836\n" "help.text" msgid "Specifies if the control is hidden or visible." msgstr "Bestemmer om kontrollelementet skal vera gøymt eller synleg." #. Xw6X9 #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id451598177924437\n" "help.text" msgid "Yes" msgstr "Ja" #. dBNCA #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id94159817792441\n" "help.text" msgid "UNO
object" msgstr "UNO
objekt" #. gbjHB #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id311598540066789\n" "help.text" msgid "All" msgstr "Alle" #. F8rNE #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id191598177924897\n" "help.text" msgid "The UNO object representing the control model. Refer to XControlModel and UnoControlDialogModel in Application Programming Interface (API) documentation for detailed information." msgstr "Det UNO-objektet som representer modellen for kontrollelementet. Sjå detaljert informasjon iXControlModel og UnoControlDialogModel i dokumentasjonen for API-en ( Application Programming Interface)." #. xfhaP #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id811598178083501\n" "help.text" msgid "Yes" msgstr "Ja" #. o2H9W #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id981598178083938\n" "help.text" msgid "UNO
object" msgstr "UNO
objekt" #. rrwm6 #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id551598540079329\n" "help.text" msgid "All" msgstr "Alle" #. ZM6sk #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id731598178083442\n" "help.text" msgid "The UNO object representing the control view. Refer to XControl and UnoControlDialog in Application Programming Interface (API) documentation for detailed information." msgstr "Det UNO-objektet som representer visinga av kontrollelementet. Sjå detaljert informasjon i XControl og UnoControlDialog i dokumentasjonen for API-en ( Application Programming Interface)." #. SAkJX #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id741612699446459\n" "help.text" msgid "Yes" msgstr "Ja" #. yuAdF #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id311612699446893\n" "help.text" msgid "UNO
object" msgstr "UNO
objekt" #. 7XckG #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id691612699446892\n" "help.text" msgid "The UNO object representing the tree control data model. Refer to XMutableTreeDataModel in Application Programming Interface (API) documentation for detailed information." msgstr "UNO-objektet som representerer trekontrolldatamodellen. Sjå detaljert informasjon om dette i XMutableTreeDataModel i dokumentasjonen for API-en (Application Programming Interface)." #. dfWTW #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "hd_id81598540704978\n" "help.text" msgid "The Value property" msgstr "Value-eigenskapen" #. JHK7w #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id10159854325492\n" "help.text" msgid "Control type" msgstr "Kontrolltype" #. 33wWa #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id741598543254158\n" "help.text" msgid "Type" msgstr "Type" #. QLVMB #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id961598543254444\n" "help.text" msgid "Description" msgstr "Beskriving" #. jEyx9 #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id741598543254108\n" "help.text" msgid "For toggle buttons only" msgstr "Berre for veksleknappar" #. gCWiY #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id741598543254376\n" "help.text" msgid "Boolean or Integer" msgstr "Boolsk eller heiltal" #. 7GZGS #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id521598543254630\n" "help.text" msgid "0, False: not checked
1, True: checked
2: grayed, don't know" msgstr "0, Usann: ikkje merkt
1, Sann: merkt
2: nedtona, veit ikkje" #. nZVA5 #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id331598543254947\n" "help.text" msgid "The selected value. The ListIndex property is an alternate option." msgstr "Den valde verdien. Eigenskapen ListIndex er eit alternativt val." #. MWkEW #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id5159854325443\n" "help.text" msgid "Numeric" msgstr "Numerisk" #. kgfXR #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id971598543254757\n" "help.text" msgid "A file name formatted in accordance with the FileNaming property of the ScriptForge.FileSystem service" msgstr "Eit filnamn formatert etter eigenskapen FileNaming i tenesta ScriptForge.FileSystem" #. 9NVHN #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id221598543254760\n" "help.text" msgid "String or Numeric" msgstr "Streng eller numerisk" #. 53Ztp #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id42159854325422\n" "help.text" msgid "String or array of strings" msgstr "Streng eller ei matrise av strengar" #. 9NwJs #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id601598543254780\n" "help.text" msgid "The selected row(s) as a scalar or as an array depending on the MultiSelect attribute" msgstr "Den(e) valde rada(radene) som ein skalar eller som ei matrise, avhengig av attributtet MultiSelect" #. tFGhf #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id461598543254909\n" "help.text" msgid "Numeric" msgstr "Numerisk" #. YvPAp #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id631598543254771\n" "help.text" msgid "Numeric" msgstr "Numerisk" #. fBArb #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id91598543254766\n" "help.text" msgid "Must be within the predefined bounds" msgstr "Må vera innføre dei førehandsdefinerte grensene" #. ZragT #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id851598543254624\n" "help.text" msgid "Each button has its own name. They are linked together if their TAB positions are contiguous. If a radiobutton is set to True, the other related buttons are automatically set to False" msgstr "Kvar knapp har sitt eige namn. Dei er knytt saman viss tabulatorposisjonane deira er samanhengande. Viss ein radioknapp er sett til Sann vert dei andre relaterte knappane automatisk sette til Usann." #. m6Uyb #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id531598543254869\n" "help.text" msgid "Numeric" msgstr "Numerisk" #. MWdGb #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id21598543254994\n" "help.text" msgid "Must be within the predefined bounds" msgstr "Må vera innføre dei førehandsdefinerte grensene" #. CVTcE #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id441598543254951\n" "help.text" msgid "One-dimensional array with the data of the currently selected row." msgstr "" #. a9AMF #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id441598543254738\n" "help.text" msgid "The text appearing in the field" msgstr "Teksten som vert vist i feltet" #. CABLr #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "hd_id421612628828054\n" "help.text" msgid "Event properties" msgstr "Hendingseigenskapar" #. c7srp #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id41612629140856\n" "help.text" msgid "Returns a URI string with the reference to the script triggered by the event. Read its specification in the scripting framework URI specification." msgstr "Returnerer ein URI-streng med referanse til skriptet som utløyste hendinga. Sjå spesifikasjonen i scripting framework URI specification." #. fkFAt #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id961612628879819\n" "help.text" msgid "Name" msgstr "Namn" #. 2sB8F #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id401612628879819\n" "help.text" msgid "ReadOnly" msgstr "Skriveverna" #. 2A2Ex #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id281612628879819\n" "help.text" msgid "Description as labeled in the Basic IDE" msgstr "Beskriving ut frå etiketten i Basic IDE" #. rSRBQ #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id91612707166532\n" "help.text" msgid "Yes" msgstr "Ja" #. aABgD #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id291612707166258\n" "help.text" msgid "Execute action" msgstr "Utfør handling" #. KnFdW #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id79161270716675\n" "help.text" msgid "Yes" msgstr "Ja" #. JrRob #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id831612707166731\n" "help.text" msgid "While adjusting" msgstr "Ved justering" #. mpuj3 #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id111612629836630\n" "help.text" msgid "Yes" msgstr "Ja" #. 7Swj5 #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id1001612629836902\n" "help.text" msgid "When receiving focus" msgstr "Når han får fokus" #. Mp4i7 #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id291612629836294\n" "help.text" msgid "Yes" msgstr "Ja" #. ozGia #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id62161262983683\n" "help.text" msgid "When losing focus" msgstr "Når han mistar fokus" #. TR5uW #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id51612707354544\n" "help.text" msgid "Yes" msgstr "Ja" #. HREcr #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id211612707354899\n" "help.text" msgid "Item status changed" msgstr "Elementstatus endra" #. L6e2x #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id81612629836634\n" "help.text" msgid "Yes" msgstr "Ja" #. sVo6A #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id881612629836744\n" "help.text" msgid "Key pressed" msgstr "Ved tastetrykk" #. pPBHX #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id591612629836830\n" "help.text" msgid "Yes" msgstr "Ja" #. P6NX8 #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id161612629836775\n" "help.text" msgid "Key released" msgstr "Etter tastetrykk" #. XJGHA #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id891612629836630\n" "help.text" msgid "Yes" msgstr "Ja" #. oCDXm #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id461612629836679\n" "help.text" msgid "Mouse moved while key presses" msgstr "Muserørsle medan ein tast er trykt" #. nLbMG #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id131612629836291\n" "help.text" msgid "Yes" msgstr "Ja" #. 9XdcG #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id151612629836151\n" "help.text" msgid "Mouse inside" msgstr "Mus innanfor" #. BZ7sC #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id211612629836725\n" "help.text" msgid "Yes" msgstr "Ja" #. mzbBD #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id361612629836624\n" "help.text" msgid "Mouse outside" msgstr "Mus utanfor" #. fAD8Y #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id311612629836481\n" "help.text" msgid "Yes" msgstr "Ja" #. FCBxu #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id721612629836752\n" "help.text" msgid "Mouse moved" msgstr "Mus flytt" #. 4DCtC #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id981612629836116\n" "help.text" msgid "Yes" msgstr "Ja" #. 8B9ct #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id381612629836635\n" "help.text" msgid "Mouse button pressed" msgstr "Museknapp trykt ned" #. krueU #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id711612629836704\n" "help.text" msgid "Yes" msgstr "Ja" #. 4c5qE #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id35161262983642\n" "help.text" msgid "Mouse button released" msgstr "Museknapp sloppe" #. FkyLb #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id851612707606863\n" "help.text" msgid "No" msgstr "Nei" #. VudpK #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id351612707606197\n" "help.text" msgid "(Not in Basic IDE) when the expansion button is pressed on a node in a tree control" msgstr "(Ikkje i Basic IDE) når utvidingsknappen vert trykt på ein node i ein trekontroll" #. TkEgQ #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id121612707606251\n" "help.text" msgid "No" msgstr "Nei" #. quWBQ #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id881612707606121\n" "help.text" msgid "(Not in Basic IDE) when a node in a tree control is selected" msgstr "(Ikkje i Basic IDE) når ein node i ein trekontroll er vald" #. qyb3B #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id811612707606330\n" "help.text" msgid "Yes" msgstr "Ja" #. th6Kr #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id621612707606219\n" "help.text" msgid "Text modified" msgstr "Tekst endra" #. YFbGT #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "hd_id421583670049913\n" "help.text" msgid "Methods" msgstr "Metodar" #. xNrc5 #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id891611613601554\n" "help.text" msgid "List of Methods in the DialogControl Service" msgstr "Liste over metodar i tenesta DialogControl" #. 5jtfg #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id831612711823126\n" "help.text" msgid "Create and return a new node of the tree control as a UNO object subordinate to a parent node. Refer to XMutableTreeNode in Application Programming Interface (API) documentation for detailed information." msgstr "" "Opprett og returner ein ny node av trekontrollen som eit UNO-objekt underordna ein overordna node.\n" "Sjå detaljert informasjon om XMutableTreeNode i dokumentasjonen til Application Programming Interface (API)." #. MrQnS #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id741612711823706\n" "help.text" msgid "This method may be called before displaying the dialog box to build the initial tree. It may also be called from a dialog or control event - using the OnNodeExpanded event - to complete the tree dynamically." msgstr "Du kan kalla opp denne metoden før du viser dialogfeltett for å byggja det første treet. Han kan også kallast opp frå ei dialog- eller kontrollhending ved å bruka hendinga OnNodeExpanded for å fullføra treet dynamisk." #. T8xdA #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id761612711823834\n" "help.text" msgid "parentnode: A node UNO object, of type com.sun.star.awt.tree.XMutableTreeNode." msgstr "overordna_node: Eit UNO nodeobjekt av typen com.sun.star.awt.tree.XMutableTreeNode." #. qJ9ej #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id791612711823819\n" "help.text" msgid "displayvalue: The text appearing in the tree control box." msgstr "visingsverdi: Teksten vert vist i kontrollfeltet for treet." #. Pzz72 #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id911612711823382\n" "help.text" msgid "datavalue: Any value associated with the new node. datavalue may be a string, a number or a date. Omit the argument when not applicable." msgstr "dataverdi: Kva verdi som helst som er knytt saman med den nye noden. dataverdi kan vera ein streng, eit tal eller ein dato. Sløyf argumentet når det ikkje er bruk for det." #. 2pLPL #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id901620317110685\n" "help.text" msgid "%PRODUCTNAME Basic and Python examples pick up current document's myDialog dialog from Standard library." msgstr "%PRODUCTNAME Basic- og Python-eksempel hentar minDialog frå Standard-biblioteket for det gjeldande dolumentet." #. 8B3qP #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id221612713087885\n" "help.text" msgid "Return True when a subtree, subordinate to a parent node, could be inserted successfully in a tree control. If the parent node had already child nodes before calling this method, the child nodes are erased." msgstr "Returnerer Sann når eit undertre, som er underordna ein overordna node, kan setjast inn i ein trekontroll. Viss den overordna noden har underordna noder frå før metoden vart brukt, vert dei underordna nodane sletta." #. beond #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id781612713087722\n" "help.text" msgid "parentnode: A node UNO object, of type com.sun.star.awt.tree.XMutableTreeNode." msgstr "overordna_node: Eit UNO nodeobjekt av typen com.sun.star.awt.tree.XMutableTreeNode." #. QJ73V #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id36161271308759\n" "help.text" msgid "flattree: a two dimension array sorted on the columns containing the display values. Such an array can be issued by the GetRows method applied on the SFDatabases.Database service. When an array item containing the text to be displayed is Empty or Null, no new subnode is created and the remainder of the row is skipped." msgstr "flatt_tre: Ei to-dimensjonal matrise sortert etter kolonnane som inneheld visingsverdiane. Ei slik matrise kan sendast av metoden GetRows brukt på tenesta SFDatabases.Database. Når eit matriseelement som inneheld teksten som skal visast, er Empty eller Null vert det ikkje laga ein ny undermetode og resten av rada vert hoppa over." #. r5QNj #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "bas_id61612716027443\n" "help.text" msgid "Flat tree >>>> Resulting subtree" msgstr "Flat tree >>>> Resulting subtree" #. MUi8U #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id51612713087915\n" "help.text" msgid "withdatavalue: When False default value is used, every column of flattree contains the text to be displayed in the tree control. When True, the texts to be displayed (displayvalue) are in columns 0, 2, 4, ... while the data values (datavalue) are in columns 1, 3, 5, ..." msgstr "med_dataverdi: Når standardverdien Usann vert brukt, inneheld kvar kolonne i flatt_tre den teksten som skal visast i kontrolltreet. Når Sann vert brukt, er tekstane (displayvalue som skal visast i kolonnane 0, 2, 4, … , medan dataverdiane (dataverdi) er i kolonnane 1, 3, 5, …" #. fWnhZ #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id151612780723320\n" "help.text" msgid "Returns a new root node of the tree control, as a node UNO object of type com.sun.star.awt.tree.XMutableTreeNode. The new tree root is inserted below pre-existing root nodes. " msgstr "Returnerer ein ny rotnode for trekontrollen som eit UNO-nodeobjekt av typen com.sun.star.awt.tree.XMutableTreeNode. Den nye trerota vert sett inn under rotnodar som finst frå før. " #. YT845 #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id821612780723965\n" "help.text" msgid "This method may be called before displaying the dialog box to build the initial tree. It may also be called from a dialog or control event to complete the tree dynamically." msgstr "Du kan kalla opp denne metoden før du viser dialogfeltet for å byggja det første treet. Han kan også kallast opp frå ei dialog- eller kontrollhending ved å bruka hendinga OnNodeExpanded for å fullføra treet dynamisk." #. JXyjD #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id791612117823819\n" "help.text" msgid "displayvalue: The text appearing in the tree control box." msgstr "visingsverdi: Teksten som vert vist i kontrollfeltet for treet." #. XxGFd #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id171612781589503\n" "help.text" msgid "Traverses the tree and finds recursively, starting from the root, a node meeting some criteria. Either - 1 match is enough - having its display value matching displayvalue pattern or having its data value equal to datavalue. The comparisons may be or not case-sensitive. The first matching occurrence is returned as a node UNO object of type com.sun.star.awt.tree.XMutableTreeNode. " msgstr "Går gjennom treet rekursivt, frå rota og finn ein node som oppfyller nokre kriterium. Anten - 1 treff er nok - å ha ein visingsverdi som samsvarar med mønsteret displayvalue eller å ha dataverdien lik dataverdi. Samanlikningane kan skilja mellom store og små bokstavar eller ikkje. Den første samsvarande førekomsten vert returnert som eit UNO-nodeobjekt av typen com.sun.star.awt.tree.XMutableTreeNode. " #. 5Jxkj #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id741612782475457\n" "help.text" msgid "When not found, the method returns Nothing, to be tested with the IsNull() builtin function." msgstr "Viss han ikkje finst, returnerer metoden Nothing (ingenting), som skal testast med den innebygde funksjonen IsNull() (er null())." #. n7pE8 #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id41612781589363\n" "help.text" msgid "This method may be called before displaying the dialog box to build the initial tree. It may also be called from a dialog or control event." msgstr "Du kan kalla opp denne metoden før du viser dialogfeltet for å byggja det første treet. Han kan også kallast opp frå ei dialog- eller kontrollhending." #. Dd4Ti #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id541613670199211\n" "help.text" msgid "One argument out of displayvalue or datavalue must be specified. If both present, one match is sufficient to select the node." msgstr "Eit av argumenta visningsverdi eller dataverdi må vera spesifisert. Viss begge er brukte, er eitt treff nok til å velja ei forgreining." #. MF7PA #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id591612781589560\n" "help.text" msgid "displayvalue: The pattern to be matched. Refer to SF_String.IsLike() method for the list of possible wildcards. When equal to the zero-length string (default), this display value is not searched for." msgstr "visingsverdi: Mønsteret som skal samsvara. Sjå ei liste over moglege jokerteikn i metoden SF_String.IsLike() . Når denne visingsverdien er lik den tomme strengen (standard), vert det ikkje søkt etter denne visingsverdien." #. BE58W #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id141582384726168\n" "help.text" msgid "casesensitive: Default value is False" msgstr "Store-og-små: Standardverdien er Usann" #. 3oU3L #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id871583933076448\n" "help.text" msgid "Set the focus on the control. Return True if focusing was successful." msgstr "Set fokus på kontrollelementet. Returner Sann viss fokuseringa lukkast." #. 6YvuU #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id151598178880227\n" "help.text" msgid "This method is often called from a dialog or control event." msgstr "Denne metoden vert ofte kalla opp frå ei dialogvindauge- eller kontrollhending." #. it2QN #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id541638553960464\n" "help.text" msgid "Fills a TableControl with the given data. All preexisting data is cleared before inserting the new data passed as argument." msgstr "" #. Vmmag #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id551638554058131\n" "help.text" msgid "When the TableControl is added to the dialog, it is possible to use the Basic IDE to define whether column and row headers will be shown in the table. If the TableControl has column and/or row headers, the first column and/or row in the provided data array are used as labels for the table headers." msgstr "" #. qn4UN #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id411638569396108\n" "help.text" msgid "This method returns True when successful." msgstr "" #. LESVB #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id1001584541257133\n" "help.text" msgid "dataarray: Data to be entered into the table represented as an Array of Arrays in Basic or a tuple of tuples in Python. The data must include column and row headers if they are to be displayed by the TableControl." msgstr "" #. 6AKaJ #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id1001584541257025\n" "help.text" msgid "widths: Array containing the relative widths of each column. In other words, widths = Array(1, 2) means that the second column is twice as wide as the first one. If the number of values in the array is smaller than the number of columns in the table, then the last value in the array is used to define the width of the remaining columns." msgstr "" #. AEGq3 #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id1001584541257007\n" "help.text" msgid "alignments: Defines the alignment in each column as a string in which each character can be \"L\" (Left), \"C\" (Center), \"R\" (Right) or \" \" (whitespace, default, meaning left for strings and right for numeric values). If the length of the string is shorter than the number of columns in the table, then the last character in the string is used to define the alignment of the remaining columns." msgstr "" #. CK6RC #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id381638569172413\n" "help.text" msgid "The following example assumes that the dialog myDialog has a TableControl named Grid1 with \"Show row header\" and \"Show column header\" properties set to \"Yes\"." msgstr "" #. N9Byz #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id171638650502346\n" "help.text" msgid "The Value property returns the selected row in the table. If no row is selected, an empty Array object is returned. The following code snippet shows how to test if any row is selected in the table." msgstr "" #. C3f3k #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "bas_id361638651540588\n" "help.text" msgid "MsgBox \"No row selected.\"" msgstr "" #. iQ94A #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "bas_id781638651541028\n" "help.text" msgid "MsgBox \"Row \" & oTable.ListIndex & \" is selected.\"" msgstr "" #. HNmmm #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id671598619892378\n" "help.text" msgid "Add a new line at the end of a multiline text field. A newline character will be inserted when appropriate. The method returns True when successful." msgstr "Legg til ei ny linje på slutten av eit tekstfelt med fleire linjer. Der vert sett inn eit linjeskiftteikn når det høver. Metoden returnerer Sann når han lukkast." #. D29nu #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id941598619892915\n" "help.text" msgid "An error is raised if the actual control is not of the type TextField or is not multiline." msgstr "Det oppstår ein feil viss den faktiske kontrollen ikkje er av typen TextField eller ikkje har fleire linjer." #. jmBh7 #: sf_dialogcontrol.xhp msgctxt "" "sf_dialogcontrol.xhp\n" "par_id1001584541257789\n" "help.text" msgid "Line: The string to insert. Default is an empty line." msgstr "Linje: Strengen som skal setjast inn. Standard er ei tom linje." #. opNus #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "tit\n" "help.text" msgid "ScriptForge.Dictionary service" msgstr "Tenesta ScriptForge.Dictionary" #. 4L4A6 #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "hd_id731582733781114\n" "help.text" msgid "ScriptForge.Dictionary service" msgstr "Tenesta ScriptForge.Dictionary" #. LJG3Z #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id891582884466217\n" "help.text" msgid "A dictionary is a collection of key-item pairs" msgstr "Ei ordliste er ei samling av nøkkelelementpar" #. fZDre #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id861582884516571\n" "help.text" msgid "The key is a case-insensitive string" msgstr "Nøkkelen er ein streng som skil mellom store og små bokstavar" #. 2AdDG #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id531582884549542\n" "help.text" msgid "Items may be of any type" msgstr "Elementa kan vera av kva type som helst" #. Bqyf3 #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id891582884593057\n" "help.text" msgid "Keys and items can be retrieved, counted, updated, and much more." msgstr "Nøklar og element kan hentast, teljast, oppdaterast og mykje meir." #. LtaTT #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id971582884636922\n" "help.text" msgid "The Dictionary service is similar to the built-in %PRODUCTNAME Basic Collection object, however with more features. For example, Collection objects do not support the retrieval of keys. Moreover, Dictionaries provide additional capabilities as replacing keys, testing if a specific key already exists and converting the Dictionary into an Array object or JSON string." msgstr "" #. RkMHR #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "hd_id581582885621841\n" "help.text" msgid "Service invocation" msgstr "Oppkall av tenester" #. Qp3A4 #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id821610388789467\n" "help.text" msgid "The following example creates myDict as an empty dictionary." msgstr "Eksempelet nedføre opprettar myDict som ei tom ordbok." #. BghTS #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id71158288562139\n" "help.text" msgid "It is recommended to free resources after use:" msgstr "Det vert tilrådd å frigje ressursar etter bruk:" #. gpGvc #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id551626869252987\n" "help.text" msgid "The example below creates an empty instance of the Dictionary service and uses the Python native update method to populate it with the contents of a Python dict object." msgstr "" #. bnDdK #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "pyc_id61626869417128\n" "help.text" msgid "# Initialize myDict as an empty dict object" msgstr "" #. Zijqj #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "pyc_id921626869402748\n" "help.text" msgid "# Load the values of dico into myDict" msgstr "" #. G4WCE #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id981626869718081\n" "help.text" msgid "It is possible to create an instance of the Dictionary service using a Python dict object as argument as shown in the following example." msgstr "" #. ymvAC #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "pyc_id201626869185236\n" "help.text" msgid "# Initialize myDict with the content of dico" msgstr "" #. UHQFC #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id211626699007613\n" "help.text" msgid "Because Python has built-in dictionary support, most of the methods in the Dictionary service are available for Basic scripts only. Exceptions are ConvertToPropertyValues and ImportFromPropertyValues that are supported in both Basic and Python." msgstr "" #. Dd4Pp #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "hd_id351582885195476\n" "help.text" msgid "Properties" msgstr "Eigenskapar" #. hYF2s #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id41582885195836\n" "help.text" msgid "Name" msgstr "Namn" #. EgAoj #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id31582885195372\n" "help.text" msgid "Read-only" msgstr "Skriveverna" #. pHem5 #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id31582885195238\n" "help.text" msgid "Type" msgstr "Type" #. NnCGT #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id931582885195131\n" "help.text" msgid "Description" msgstr "Beskriving" #. B8ZfD #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id221582885195686\n" "help.text" msgid "Yes" msgstr "Ja" #. JnMbF #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id881582885195976\n" "help.text" msgid "The number of entries in the dictionary" msgstr "Talet på oppføringar i ordboka" #. TZ37p #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id441582886030118\n" "help.text" msgid "Yes" msgstr "Ja" #. G6fcd #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id131582886030297\n" "help.text" msgid "Array of Variants" msgstr "Matrise med variantar" #. EykBP #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id471582886030489\n" "help.text" msgid "The list of items as a one dimensional array" msgstr "Lista over elementa som ei eindimensjonal matrise" #. HTnKu #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id971582886791838\n" "help.text" msgid "Yes" msgstr "Ja" #. mXmC9 #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id271582886791111\n" "help.text" msgid "Array of Strings" msgstr "Matrise av strengar" #. MxjyM #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id16158288679167\n" "help.text" msgid "The list of keys as a one dimensional array" msgstr "Lista over nøklar som ei eindimensjonal matrise" #. EvjDj #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id461582886731495\n" "help.text" msgid "The Keys and Items properties return their respective contents, using an identical ordering. The order is unrelated to the creation sequence." msgstr "Eigenskapane Keys og Items returnerer deira respektive indhald i ei identisk rekkjefølgje. Rekkefølgja er ikkje relatert til rekkjefølgja sett ved opprettinga." #. suQ9E #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id931610389113917\n" "help.text" msgid "The following example uses the Keys property to iterate over all keys in the dictionary myDict." msgstr "Det neste eksempelet brukar eigenskapen Keys for gå gjennom alle nøklane i myDict fleire gonger." #. Thoy8 #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id921606472825856\n" "help.text" msgid "Methods" msgstr "Metodar" #. PqSBg #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id831582887670029\n" "help.text" msgid "Adds a new key-item pair into the dictionary. Returns True if successful." msgstr "Legg eit nytt nøkkelelementpar til ordboka. Returnerer Sann viss det lukkast." #. 4zw8b #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id341582887670030\n" "help.text" msgid "key: String value used to identify the Item. The key is not case-sensitive." msgstr "" #. UFFFG #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id401582887670030\n" "help.text" msgid "item: Any value, including an array, a Basic object, a UNO object, a dictionary, etc." msgstr "" #. aNDWv #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id1001610391308765\n" "help.text" msgid "Every key must be unique in the same dictionary. If the key already exists in the dictionary, a DUPLICATEKEYERROR will be raised. Keys that are made of space characters will raise a INVALIDKEYERROR error." msgstr "Kvar nøkkel må vera unik i den same ordlista. Viss nøkkelen finst frå før i ordlista, vert det sett opp ein DUPLICATEKEYERROR. Nøklar som er laga av mellomromsteikn, vil setja opp feilen INVALIDKEYERROR." #. FDWkm #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id81582888424104\n" "help.text" msgid "Stores the contents of the dictionary in a two-columns zero-based array. The keys are stored in the first column and the items are stored in the second column." msgstr "Lagrar innhaldet i ordboka i ei to-kolonnars, null-basert matrise. Nøklane er lagra i den første kolonnen og elementa i den andre kolonnen." #. FdwcF #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id341610391565678\n" "help.text" msgid "If the dictionary is empty, this method will return an empty Array." msgstr "Viss ordboka er tom, vil denne metoden returnere ei tom matrise." #. MnEGs #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id831601296836981\n" "help.text" msgid "Converts the contents of a dictionary to JSON (JavaScript Object Notation) text." msgstr "Konverterer innhaldet i ordboka til tekst i JSON (JavaScript Object Notation)." #. nAZ9s #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "hd_id261601297024828\n" "help.text" msgid "Limitations" msgstr "Avgrensingar" #. DDmVt #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id401601297178073\n" "help.text" msgid "This method supports the following data types: String, Boolean, numbers, Null and Empty. Arrays containing items of those types are also allowed, whatever their dimensions. Dates are converted into strings, however they cannot be used inside Arrays. Other data types are converted to their string representation using the SF_String.Represent service." msgstr "Denne metoden har støtte for desse datatypane: String, Boolean, numbers, Null og Empty. Matriser som inneheld element av desse er også tillatne, kva dimensjon dei måtte ha. Datoar vert konverterte til strengar som vert brukte i matrisene. Andre datatypar vert konverterte til det dei er representert med i strengen ved hjelp av tenesta SF_String.Represent." #. stuTQ #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id8816012968362\n" "help.text" msgid "indent: When indent is a positive number or a text, JSON array elements and object members are pretty-printed with that indentation level. A negative indent value will add new lines with no indentation. The default value is an empty string \"\" which selects the most compact representation. Using a positive integer for indent indents that many spaces per level. When indent is a string, such as Chr(9) or Tab(1), the Tab character is used to indent each level." msgstr "" #. sQuKi #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id151582889470596\n" "help.text" msgid "Stores the contents of the dictionary into an array of PropertyValues." msgstr "" #. rTa2V #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id231610392665049\n" "help.text" msgid "Each entry in the array is a com.sun.star.beans.PropertyValue. The key is stored in Name, the item is stored in Value." msgstr "Kvar oppføring er ein com.sun.star.beans.PropertyValue. Nøkkelen er lagra i Name, elementet i Value." #. 5MnFS #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id341610392705367\n" "help.text" msgid "If one of the items has a type Date, it is converted to a com.sun.star.util.DateTime structure. If one of the items is an empty array, it is converted to Null. The resulting array is empty when the dictionary is empty." msgstr "Viss eitt av elementa har ein type Data, vert denne konvertert til ein com.sun.star.util.DateTime-struktur. Viss eitt av elementa er ei tom matrise, vert det konvertert til Null. Sluttmatrisa er tom når ordboka er tom." #. EU4BC #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "bas_id531610393130289\n" "help.text" msgid "'Adds some properties to the dictionary" msgstr "' Legg nokre eigenskapar til i ordboka" #. dEAPF #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "bas_id571610393137959\n" "help.text" msgid "'Converts to an Array of PropertyValue objects" msgstr "' Konverterer til ei matrise av objekta PropertyValue" #. XCGFp #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id771626700938786\n" "help.text" msgid "Note in the example below that a Python dictionary needs to be passed as the second argument of the CreateScriptService method." msgstr "" #. oZEpN #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id421610393306916\n" "help.text" msgid "Many services and methods in the UNO library take in parameters represented using the PropertyValue struct, which is part of the %PRODUCTNAME API." msgstr "" #. 3afLF #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id841582889812916\n" "help.text" msgid "Determines if a key exists in the dictionary." msgstr "Bestemmer om det finst ein nøkkel i ordboka." #. RgUSD #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id971582889812917\n" "help.text" msgid "key: The key to be looked up in the dictionary." msgstr "" #. UAkEx #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "bas_id811606485130666\n" "help.text" msgid "'Adds some properties to the dictionary" msgstr "' Legg nokre eigenskapar til i ordboka" #. JBBVt #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id791601391980978\n" "help.text" msgid "Adds the content of a JSON (JavaScript Object Notation) string into the current dictionary. Returns True if successful." msgstr "Legg til innhaldet av ein streng i JSON (JavaScript Object Notation) til i den gjeldande ordboka. Returnnerer Sann viss dette lukkast." #. NtQCD #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "hd_id961601392113644\n" "help.text" msgid "Limitations" msgstr "Avgrensingar" #. dGRph #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id481601392181131\n" "help.text" msgid "The JSON string may contain numbers, text, booleans, null values and arrays containing those types. It must not contain JSON objects namely sub-dictionaries." msgstr "JSON-strengen kan innehalda tal, tekst, boolske verdiar, nullverdiar og matriser som inneheld desse typane. Han kan ikkje innehald JSON-objekt, altså underordlister." #. LyxQD #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id511601392205908\n" "help.text" msgid "An attempt is made to convert text to date if the item matches one of these patterns: YYYY-MM-DD, HH:MM:SS or YYYY-MM-DD HH:MM:SS." msgstr "Det vert gjort eit forsøk på å omforma tekst til dato viss elementet passa med eitt av desse mønstera: ÅÅÅÅ-MM-DD, TT:MM:SS eller ÅÅÅÅ-MM-DD TT:MM:SS." #. 5cknM #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id69160139198061\n" "help.text" msgid "inputstr: The string to import." msgstr "" #. GDAGm #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id201601391980268\n" "help.text" msgid "overwrite: When True, entries with same name may exist in the dictionary and their values are overwritten. When False (default), repeated keys will raise an error. Beware that dictionary keys are not case-sensitive while names are case-sensitive in JSON strings." msgstr "" #. aBFC5 #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "bas_id521601393254694\n" "help.text" msgid "'The (sub)-dictionaries \"address\" and \"phoneNumbers\" (0) and (1) are imported as Empty values." msgstr "' (Under)-ordbøkene «Addresse» og «Telefonnummer» (0) og (1) vert importerte som tomme strengar." #. 9j5u2 #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id651588941968228\n" "help.text" msgid "Inserts the contents of an array of PropertyValue objects into the current dictionary. PropertyValue Names are used as Keys in the dictionary, whereas Values contain the corresponding values. Returns True if successful." msgstr "Set inn innhaldet frå ei matrise med PropertyValue-objekta i den gjeldande ordlista. Namna i PropertyValue vert brukte som nøklar i ordlista, medan «Verdiar» inneheld dei tilsvarande verdiane. Returnerer Sann viss vellukka." #. BQybf #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id751588941968522\n" "help.text" msgid "propertyvalues: A zero-based 1-dimensional array containing com.sun.star.beans.PropertyValue objects. This parameter may also be a single PropertyValue object not contained in an Array." msgstr "" #. g5bHm #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id21588941968131\n" "help.text" msgid "overwrite: When True, entries with same name may exist in the dictionary and their values are overwritten. When False (default), repeated keys will raise an error. Note that dictionary keys are not case-sensitive in Basic, whereas names are case-sensitive in sets of property values and in Python dictionaries." msgstr "" #. GKtsH #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id641626703615898\n" "help.text" msgid "The examples below first create an array with two PropertyValue objects and then convert it to a dictionary." msgstr "" #. 3rJRP #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id891582890366737\n" "help.text" msgid "Retrieves an existing dictionary entry based on its key. Returns the value of the item if successful, otherwise returns Empty." msgstr "Hentar ei ordbokoppføring som finst frå før basert på nøkkelen. Returnerer verdien av elementet viss vellukka, elles vert Empty returnert." #. MV7Wq #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id551582890399669\n" "help.text" msgid "key: Not case-sensitive. If it does not exist, Empty value is returned." msgstr "" #. rGqyT #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id181610395933967\n" "help.text" msgid "The following example iterates over all keys in the dictionary and uses the Item method to access their values." msgstr "Det neste eksempelet går gjennom alle nøklane i ordboka fleire gongar og brukar metoden Item til å få tilgang til verdiane." #. QJTte #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id891582890388737\n" "help.text" msgid "Removes an existing dictionary entry based on its key. Returns True if successful." msgstr "Fjernar ei eksisterande ordboksoppføring basert på nøkkelen. Returnerer Sann vis det lukkast." #. EhVL2 #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id551582890366999\n" "help.text" msgid "key: Not case-sensitive. Must exist in the dictionary, otherwise an UNKNOWNKEYERROR error is raised." msgstr "" #. GyK3j #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id921582896275624\n" "help.text" msgid "Removes all the entries from the dictionary. Returns True if successful." msgstr "Fjernar alle oppføringane i ordboka.. Returnerer Sann viss det lukkast." #. GSzP5 #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id281582895615444\n" "help.text" msgid "Replaces an existing item value based on its key. Returns True if successful." msgstr "Fjernar ein eksisterande elementverdi basert på nøkkelen. Returnerer Sann vis det lukkast." #. w4w9A #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id991582895615535\n" "help.text" msgid "key: String value representing the key whose value will be replaced. Not case-sensitive. If the key does not exist in the dictionary, an UNKNOWNKEYERROR error is raised." msgstr "" #. FA4hz #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id721582895615186\n" "help.text" msgid "value: The new value of the item referred to with the key parameter." msgstr "" #. Y46D4 #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id571582896597766\n" "help.text" msgid "Replaces an existing key in the dictionary by a new key. The item value is left unchanged. Returns True if successful." msgstr "Erstattar ein eksisterande nøkkel i ordlista med ein ny nøkkel. Elementverdien vert ikkje endra. Returnerer Sann viss det lukkast." #. jKp7C #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id911582896597619\n" "help.text" msgid "key: String value representing the key to be replaced. Not case-sensitive. If the key does not exist in the dictionary, a UNKNOWNKEYERROR error is raised." msgstr "" #. Dku2D #: sf_dictionary.xhp msgctxt "" "sf_dictionary.xhp\n" "par_id531582896597989\n" "help.text" msgid "value: String value for the new key. Not case-sensitive. If the new key already exists in the dictionary, an DUPLICATEKEYERROR error is raised." msgstr "" #. jasej #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "tit\n" "help.text" msgid "SFDocuments.Document service" msgstr "Tenesta SFDocuments.Document" #. KmD7j #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "hd_id731582733781114\n" "help.text" msgid "SFDocuments.Document service" msgstr "Tenesta SFDocuments.Document" #. FoEeH #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id381589189355849\n" "help.text" msgid "The SFDocuments library provides methods and properties to facilitate the management and manipulation of LibreOffice documents." msgstr "Biblioteket SFDocuments gjev metodar og eigenskapar for å letta handsaming og manipulering av LibreOffice-dokument." #. urZhL #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id591589189364267\n" "help.text" msgid "Methods that are applicable for all types of documents (Text Documents, Sheets, Presentations, etc) are provided by the SFDocuments.Document service. Some examples are:" msgstr "Metodar som kan brukast på alle typar av dokument (tekstdokument, rekneark, presentasjonar og så vidare) vert leverte av tenesta SFDocuments.Document. Nokre eksempel er:" #. VgG69 #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id891589189452545\n" "help.text" msgid "Opening, closing and saving documents" msgstr "Opning, lukking og lagring av dokument" #. XfHGF #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id811589189463041\n" "help.text" msgid "Accessing standard or custom properties of documents" msgstr "Tilgang til standard eller tilpassa eigenskapar for dokumenta" #. C6JgF #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id301611085807704\n" "help.text" msgid "The properties, methods or arguments marked with (*) are NOT applicable to Base documents." msgstr "Dei eigenskapane, metodane eller argumenta som er merkte med (*) kan IKKJE brukast på database-dokument." #. HPr8i #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id241589189701274\n" "help.text" msgid "Methods and properties that are specific to certain LibreOffice components are stored in separate services, such as SFDocuments.SF_Calc and SFDocuments.SF_Base." msgstr "Metodar og eigenskapar som er spesifikke for LibreOffice-komponentar vert lagra i åtskilde tenester, som for eksempel SFDocuments.SF_Calc og SFDocuments.SF_Base." #. Fdi8i #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id641611090052376\n" "help.text" msgid "Although the Basic language does not offer inheritance between object classes, the latter services may be considered as subclasses of the SFDocuments.Document service. Such subclasses can invoke the properties and methods described below." msgstr "Sjølv om Basic-språket ikkje tilbyr nedarving mellom objektklassar, kan objektklassane sjåast på som underklasser av tenesta SFDocuments.Document. Slike underklassar kan kalla opp dei eigenskapane og metodane som er omtalte nedanfor." #. YMWaA #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "hd_id581582885621841\n" "help.text" msgid "Service invocation" msgstr "Oppkall av tenester" #. XVADJ #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id141609955500101\n" "help.text" msgid "Before using the Document service the ScriptForge library needs to be loaded or imported:" msgstr "" #. X6BV3 #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id581611090387382\n" "help.text" msgid "Below are three variants of how the Document service can be invoked." msgstr "Nedanfor finn du tre ulike måtar å kalla opp tenesta Document." #. o39cT #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id181622816732197\n" "help.text" msgid "Using the getDocument method from the ScriptForge.UI service:" msgstr "Med metoden getDocument frå tenesta ScriptForge.UI:" #. 6AZF9 #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id181622818236233\n" "help.text" msgid "Alternatively you can use the methods CreateDocument and OpenDocument from the UI service." msgstr "Du kan også bruka metodane CreateDocument og OpenDocument frå tenesta UI." #. kv6B9 #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id691622816765571\n" "help.text" msgid "Directly if the document is already open." msgstr "Direkte viss dokumentet alt er opna." #. yFDEW #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id821622816825012\n" "help.text" msgid "From a macro triggered by a document event." msgstr "Frå ein makro utløyst av ei dokument-hending." #. FxfW2 #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id831622816562430\n" "help.text" msgid "The Document service is closely related to the UI and FileSystem services." msgstr "Tenesta Document er i nær slekt med tenestene UI og FileSystem." #. QF9FG #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id891582733781994\n" "help.text" msgid "Except when the document was closed by program with the CloseDocument method (it is then superfluous), it is recommended to free resources after use:" msgstr "Bortsett frå når dokumentet vart lukka av eit program med CloseDocument-metoden (det er då overflødig),vert det tilrådd å frigjera ressursar etter bruk:" #. LyvNw #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id71611090922315\n" "help.text" msgid "The use of the prefix \"SFDocuments.\" while calling the service is optional." msgstr "Bruk av prefikset «SFDocuments.» ved oppkall av tenesta er frivillig." #. z3oxC #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "hd_id351582885195476\n" "help.text" msgid "Properties" msgstr "Eigenskapar" #. 6NTY6 #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id41582885195836\n" "help.text" msgid "Name" msgstr "Namn" #. wUbi9 #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id31582885195372\n" "help.text" msgid "Readonly" msgstr "Skriveverna" #. NfJEr #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id31582885195238\n" "help.text" msgid "Type" msgstr "Type" #. QZzvi #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id931582885195131\n" "help.text" msgid "Description" msgstr "Beskriving" #. wBpru #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id861582885655779\n" "help.text" msgid "No" msgstr "Nei" #. QEZC4 #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id581582885655885\n" "help.text" msgid "Returns a ScriptForge.Dictionary object instance. After update, can be passed again to the property for updating the document.
Individual items of the dictionary may be either strings, numbers, (Basic) dates or com.sun.star.util.Duration items." msgstr "Returnerer ein objektførekomst frå ScriptForge.Dictionary. Etter ei oppdatering kan den igjen sendast til den gjeldande eigenskapen som oppdaterer dokumentet.
Individuelle element i ordboka kan vera anten strenge, tal, (Basic-)dato eller com.sun.star.util.Duration-element." #. DktDb #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id441582886030118\n" "help.text" msgid "No" msgstr "Nei" #. DNFGz #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id471582886030489\n" "help.text" msgid "Gives access to the Description property of the document (also known as \"Comments\")" msgstr "Gjev tilgang til dokumenteigenskapen Description (også kjend som «Nerknadar»)" #. wMzx8 #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id971582886791838\n" "help.text" msgid "Yes" msgstr "Ja" #. Mm6E5 #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id16158288679167\n" "help.text" msgid "Returns a ScriptForge.Dictionary object containing all the entries. Document statistics are included. Note that they are specific to the type of document. As an example, a Calc document includes a \"CellCount\" entry. Other documents do not." msgstr "Returnerer eit ScriptForge.Dictionary-objekt som inneheld alle oppføringane. Dokumentstatistikk er inkludert. Legg merke til at dei er spesifikke for dokumenttypen. For eksempel inneheld eit Calc-dokument ei CellCount-oppføring. Andre dokument gjer det ikkje." #. Ew7vi #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id201589194571955\n" "help.text" msgid "Yes" msgstr "Ja" #. Aw2Tv #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id941589194571801\n" "help.text" msgid "String value with the document type (\"Base\", \"Calc\", \"Writer\", etc)" msgstr "Strengverdi med dokumenttypen («Base», «Calc», «Writer» og så vidare)" #. Yo8T4 #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id761589194633950\n" "help.text" msgid "Yes" msgstr "Ja" #. pSbRu #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id611589194633853\n" "help.text" msgid "Exactly one of these properties is True for a given document." msgstr "Nøyaktig éin av desse eigenskapane er Sann for eit gjeve dokument." #. oKQWB #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id231589194910179\n" "help.text" msgid "No" msgstr "Nei" #. CDTBC #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id311589194910190\n" "help.text" msgid "Gives access to the Keywords property of the document. Represented as a comma-separated list of keywords" msgstr "Gjev tilgang til nøkkelordeigenskapen for dokumentet. Representert som ei kommadelt liste over nøkkelord" #. EHM84 #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id921589638614972\n" "help.text" msgid "Yes" msgstr "Ja" #. JGTQz #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id801589638614518\n" "help.text" msgid "True if the document is actually in read-only mode" msgstr "True viss dokumentet faktisk er i skriveverna tilstand" #. zK55N #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id201589195028733\n" "help.text" msgid "No" msgstr "Nei" #. 99ZxC #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id371589195028843\n" "help.text" msgid "Gives access to the Subject property of the document." msgstr "Gjev tilgang til emne-eigenskapen for dokumentet." #. dH6ct #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id451589195028910\n" "help.text" msgid "No" msgstr "Nei" #. TCiBh #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id771589195028748\n" "help.text" msgid "Gives access to the Title property of the document." msgstr "Gjev tilgang til tittel-eigenskapen for dokumentet." #. SwDBh #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id221582885195686\n" "help.text" msgid "Yes" msgstr "Ja" #. PRmJE #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id371582885195525\n" "help.text" msgid "UNO Object" msgstr "UNO-objekt" #. 9TNH3 #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id881582885195976\n" "help.text" msgid "The UNO object com.sun.star.lang.XComponent or com.sun.star.comp.dba.ODatabaseDocument representing the document" msgstr "UNO-objektet com.sun.star.lang.XComponent eller com.sun.star.comp.dba.ODatabaseDocument, som representerer dokumentet" #. coFyk #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id861611146581334\n" "help.text" msgid "The example below prints all the properties of a document. Note that the oDoc object returned by the UI.OpenDocument method is a SFDocuments.Document object." msgstr "Eksempelet nedanfor skriv ut alle eigenskapane brukte i dokument. Merk at objektet oDoc, som vert returnert av metoden UI.OpenDocument, er eit SFDocuments.Document-objekt." #. eqL5J #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id571622826920742\n" "help.text" msgid "To access document properties in a Python script the user needs to directly access them using their names, as shown below:" msgstr "For få tilgang til dokumenteigenskapar i eit Python-skript som brukaren treng for å få direkte tilgang til dei ved hjelp av namna, som vist nedanfor:" #. wmiy9 #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id651606319520519\n" "help.text" msgid "List of Methods in the Document Service" msgstr "Liste over metodar i tenesta document" #. UVWQb #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id93158919969864\n" "help.text" msgid "Returns True if the document could be activated. Otherwise, there is no change in the actual user interface. It is equivalent to the Activate method of the UI service." msgstr "Returnerer Sann viss dokumentet kunne aktiverast. Elles er det inga endring i det faktiske brukargrensesnittet. Det svarar til metoden Activate i tenesta UI." #. qcuXA #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id421611148353046\n" "help.text" msgid "This method is useful when one needs to give focus for a document that is minimized or hidden." msgstr "Denne metoden er nyttig når ein må fokusera på eit dokument som er minimert eller gøymd." #. vFzrg #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id601611148017930\n" "help.text" msgid "The example below considers that the file \"My_File.ods\" is already open but not active." msgstr "Eksempelet nedanfor finn at fila «Mi_Fil.ods» alt er opna, men ikkje aktiv." #. zGRcs #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id601611148080503\n" "help.text" msgid "Keep in mind that you can invoke the Document service by passing to CreateScriptService either \"Document\" or \"SFDocuments.Document\"" msgstr "Hugs at du kan kalla opp tenesta Document ved å overføra anten «Document» eller «SFDocuments.Document» til tenesta CreateScriptService" #. rB7Ab #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id651589200121138\n" "help.text" msgid "Closes the document. If the document is already closed, regardless of how the document was closed, this method has no effect and returns False." msgstr "Lukker dokumentet. Viss dokumentet alt er lukka, same korleis, har denne metode ingen verknad og returnerer Usann." #. 64F7E #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id341611149562894\n" "help.text" msgid "The method will also return False if the user declines to close it." msgstr "Metoden returnerer også Usann viss brukaren avviser å lukka han." #. AGBjg #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id981611149616934\n" "help.text" msgid "Returns True if the document was successfully closed." msgstr "Returnerer Sann viss det lukkast å lukka dokumentet." #. Wt7L9 #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id361589200121646\n" "help.text" msgid "saveask : If True (default), the user is invited to confirm if the changes should be written on disk. This argument is ignored if the document was not modified." msgstr "saveask: Viss Sann (standard) vert brukaren beden om å stadfesta om endringane skal skrivast til lagringsmediumet. Argumentet vert ignorert om det ikkje er gjort endringar i dokumentet." #. RhAbC #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id651589200121080\n" "help.text" msgid "Creates a new menu entry in the menubar of a given document window." msgstr "" #. A7owo #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id981611149616155\n" "help.text" msgid "This method returns an instance of the SFWidgets.Menu service." msgstr "" #. GKeq5 #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id721643121487974\n" "help.text" msgid "The menu created is only available during the current %PRODUCTNAME session and is not saved neither in the document nor in the global application settings. Hence closing the document window will make the menu disappear. It will only reappear when the macro that creates the menu is executed again." msgstr "" #. szVYB #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id361589200120316\n" "help.text" msgid "menuheader: The toplevel name of the new menu." msgstr "" #. iCSZE #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id361589200129686\n" "help.text" msgid "before: The name (as a string) or position (as an integer starting at 1) of an existing menu before which the new menu will be placed. If no value is defined for this argument, the menu will be created at the last position in the menubar." msgstr "" #. LX4b9 #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id361589200122507\n" "help.text" msgid "submenuchar: The delimiter used to create menu trees when calling methods as AddItem from the Menu service. The default value is \">\"." msgstr "" #. FhwFZ #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "bas_id751622827903865\n" "help.text" msgid "Set oMenu = oDoc.CreateMenu(\"My Menu\")" msgstr "" #. iDefE #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "bas_id391643120224507\n" "help.text" msgid "' Add items to the menu" msgstr "" #. t4cXb #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "bas_id100164312025160\n" "help.text" msgid "' After creating the menu, the service instance can be disposed of" msgstr "" #. WuNHU #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "pyc_id221622827943208\n" "help.text" msgid "menu = doc.CreateMenu(\"My Menu\")" msgstr "" #. Jx4RF #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id271643139068194\n" "help.text" msgid "Refer to the SFWidgets.Menu help page to learn more about how to create/remove menus in %PRODUCTNAME document windows." msgstr "" #. CGKZA #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id156589200123048\n" "help.text" msgid "Exports the document directly as a PDF file to the specified location. Returns True if the PDF file was successfully created." msgstr "" #. PBk4E #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id811638276067119\n" "help.text" msgid "The export options can be set either manually using the File - Export As - Export as PDF dialog or by calling the methods GetPDFExportOptions and SetPDFExportOptions from the Session service." msgstr "" #. SFwEd #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id211635436910641\n" "help.text" msgid "filename: The full path and file name of the PDF to be created. It must follow the SF_FileSystem.FileNaming notation." msgstr "" #. E6KyY #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id141635436912005\n" "help.text" msgid "overwrite: Specifies if the destination file can be overwritten (Default = False). An error will occur if overwrite is set to False and the destination file already exists." msgstr "" #. d9RRn #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id141635436913587\n" "help.text" msgid "pages: String specifying which pages will be exported. This argument uses the same notation as in the dialog File - Export As - Export as PDF." msgstr "" #. kBDPk #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id141635436919655\n" "help.text" msgid "password: Specifies a password to open the PDF file." msgstr "" #. joeXi #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id141635436913365\n" "help.text" msgid "watermark: Text to be used as watermark in the PDF file, which will be drawn in every page of the resulting PDF." msgstr "" #. NmChF #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id301638234284727\n" "help.text" msgid "The following example exports the current document as a PDF file, defines a password and overwrites the destination file if it already exists." msgstr "" #. wEW7B #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id311638276257020\n" "help.text" msgid "The code snippet below gets the current PDF export options and uses them to create the PDF file." msgstr "" #. 7uUWr #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "bas_id851638277174798\n" "help.text" msgid "' Sets to True the option to export comments as PDF notes" msgstr "" #. HNC9m #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id156589200121138\n" "help.text" msgid "This method sends the contents of the document to the default printer or to the printer defined by the SetPrinter method." msgstr "" #. CJxTR #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id981611169416934\n" "help.text" msgid "Returns True if the document was successfully printed." msgstr "" #. uQMeV #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id211635436910093\n" "help.text" msgid "pages: The pages to print as a string, like in the user interface. Example: \"1-4;10;15-18\". Default is all pages." msgstr "" #. EHtFi #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id141635436912146\n" "help.text" msgid "copies: The number of copies. Default is 1." msgstr "" #. VDMiZ #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id651589200165470\n" "help.text" msgid "Removes a toplevel menu from the menubar of a given document window." msgstr "" #. wfDbr #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id981611149610695\n" "help.text" msgid "Returns True if the specified menu could be removed. If the specified menu does not exist, the method returns False." msgstr "" #. eNVDJ #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id571643121106014\n" "help.text" msgid "This method can be used to remove any menu entry from the document window, including default menus. However, none of these changes in the menubar are saved to the document or to the application settings. To restore the menubar to the default settings, simply close and reopen the document window." msgstr "" #. E6ahL #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id361589200121156\n" "help.text" msgid "menuheader: The toplevel name of the menu to be removed." msgstr "" #. yRoDW #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "bas_id391643120223147\n" "help.text" msgid "oDoc.RemoveMenu(\"My Menu\")" msgstr "" #. BnmiF #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "pyc_id221622827946338\n" "help.text" msgid "doc.RemoveMenu(\"My Menu\")" msgstr "" #. Ab7PE #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id991589202413257\n" "help.text" msgid "Runs a UNO command on the document window associated with the service instance. A few typical commands are: Save, SaveAs, ExportToPDF, Undo, Copy, Paste, etc." msgstr "" #. qBhYc #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id261589202778896\n" "help.text" msgid "The document itself does not need to be active to be able to run commands." msgstr "Dokumentet treng ikkje vera aktivt for å kunna køyra kommandoar." #. 9FuBU #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id921611152932311\n" "help.text" msgid "Commands can be run with or without arguments. Arguments are not validated before running the command. If the command or its arguments are invalid, then nothing will happen." msgstr "" #. w62Bk #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id31644182402479\n" "help.text" msgid "For a complete list of UNO commands that can be run in %PRODUCTNAME, refer to the Wiki page Development/DispatchCommands." msgstr "" #. HBVsV #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id401589202413575\n" "help.text" msgid "command: Case-sensitive string containing the UNO command name. The inclusion of the prefix \".uno:\" in the command is optional. The command itself is not checked for correctness. If nothing happens after the command call, then the command is probably wrong." msgstr "" #. xi32t #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id521644182774710\n" "help.text" msgid "args: For each argument to be passed to the command, specify a pair containing the argument name and value." msgstr "" #. MqEx7 #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id721611153068137\n" "help.text" msgid "The following example runs the SelectData command in a Calc file named \"MyFile.ods\", which will result in the selection of the data area based on the currently selected cell. Note that this command does not require any arguments." msgstr "" #. GGDgF #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id371644184276886\n" "help.text" msgid "Below is an example that runs the UNO command ReplaceAll and passes values for its arguments SearchString and ReplaceString. Running this command will replace all occurrence of the string \"abc\" by \"ABC\" in the current sheet." msgstr "" #. Z4Egf #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "bas_id631644184414955\n" "help.text" msgid "' Arguments passed to the command:" msgstr "" #. H5eQ9 #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id41644184549167\n" "help.text" msgid "Note that calling the command ReplaceAll without arguments will open the Find and Replace dialog." msgstr "" #. Cp7Wk #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id811644243228448\n" "help.text" msgid "In Python it is also possible to call RunCommand using keyword arguments:" msgstr "" #. m9AyA #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id191611153511038\n" "help.text" msgid "Each %PRODUCTNAME component has its own set of commands available. One easy way to learn commands is going to Tools - Customize - Keyboard. When you position your mouse over a function in the Function list, a tooltip will appear with the corresponding UNO command." msgstr "" #. enSv9 #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id81589202925519\n" "help.text" msgid "Stores the document to the file location from which it was loaded. The method is ignored if the document was not modified." msgstr "Lagrar dokumentet der det vart henta frå. Metoden vert ignorert viss dokumentet ikkje er endra." #. sFUcr #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id731611153918907\n" "help.text" msgid "Returns False if the document could not be saved. An error is raised if the file is open as read-only, or if it is a new file that has not been saved yet." msgstr "Returnerer Usann viss dokumentet ikkje kan lagrast. Det vert sett opp ein feil viss fila er opna som skriveverna eller viss det er ei ny fil utan namn." #. Ys5oF #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id211589203690937\n" "help.text" msgid "The document itself does not need to be active to run this method." msgstr "Dokumentet treng ikkje vera aktivt for å bruk denne metoden." #. 75K92 #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id121589203370778\n" "help.text" msgid "Stores the document to the given file location. The new location becomes the new file name on which simple Save method calls will be applied." msgstr "Lagrar dokumentet i den gjevne filplasseringa. Den nye plasseringa vert det nye filnamnet som vert brukt av det enkle metodekallet «Lagra»." #. R8D2A #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id31611154475602\n" "help.text" msgid "Returns False if the document could not be saved. An error is raised when overwriting the destination is rejected or when the destination has its read-only attribute set." msgstr "Returnerer Usann viss dokumentet ikkje kan lagrast. Der vert sett opp ein feil viss målet ikkje kan overskrivast eller når målet er skriveverna." #. GAAfy #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id391589203370902\n" "help.text" msgid "The document itself does not need to be active to run this method." msgstr "Dokumentet treng ikkje vera aktivt for å bruk denne metoden." #. 7tX6c #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id331589203370950\n" "help.text" msgid "filename: A string containing the file name to be used. It must follow the SF_FileSystem.FileNaming notation." msgstr "filnamn: Ein streng som inneheld det filnamnet som skal brukast. Namnet må følgja notasjonen SF_FileSystem.FileNaming." #. niFkh #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id631589204010142\n" "help.text" msgid "overwrite: If True, the destination file may be overwritten (default = False)." msgstr "overskriv: Viss Sann kan målfila overskrivast (standard = Usann." #. snX8q #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id811589204084107\n" "help.text" msgid "password (*): A non-space string to protect the document." msgstr "passord (*): Ein streng utan mellomrom som skal brukast for å verna dokumentet." #. g3wDy #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id451589204163772\n" "help.text" msgid "filtername (*): The name of a filter that should be used for saving the document. If this argument is passed, then the filter must exist." msgstr "filternamn (*): Namnet på eit filter som skal brukast for å lagra dokumentet. Viss argumentet vert sendt vidare, må filteret finnast." #. qZaAJ #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id981589204207800\n" "help.text" msgid "filteroptions (*): An optional string of options associated with the filter." msgstr "filterinnstillingar (*): Ein valfri streng med innstillingar for dette filteret." #. FJywB #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id911589205147502\n" "help.text" msgid "Stores a copy of or export the document to the given file location. The actual location is unchanged." msgstr "Lagrar ein kopi eller eksporterer dokumentet til den gjevne filplasseringa. Den aktuelle plasseringa vert ikkje endra." #. ovvew #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id381611154800685\n" "help.text" msgid "Returns False if the document could not be saved. An error is raised when overwriting the destination is rejected or when the destination has its read-only attribute set." msgstr "Returnerer Usann viss dokumentet ikkje kan lagrast. Der vert sett opp ein feil viss målet ikkje kan overskrivast eller når målet er skriveverna." #. BFKFn #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id11589205147643\n" "help.text" msgid "The document itself does not need to be active to run this method." msgstr "Dokumentet treng ikkje vera aktivt for å bruk denne metoden." #. FAjhF #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id301589205147697\n" "help.text" msgid "filename: A string containing the file name to be used. It must follow the SF_FileSystem.FileNaming notation." msgstr "filnamn: Ein streng som inneheld det filnamnet som skal brukast. Namnet må følgja notasjonen SF_FileSystem.FileNaming." #. zr6Rx #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id851589205147348\n" "help.text" msgid "overwrite: If True, the destination file may be overwritten (default = False)." msgstr "overskriv: Viss Sann kan målfila overskrivast (standard = Usann." #. k2uRD #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id821589205147330\n" "help.text" msgid "password (*): A non-space string to protect the document." msgstr "passord (*): Ein streng utan mellomrom som skal brukast for å verna dokumentet." #. eyrsV #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id67158920514729\n" "help.text" msgid "filtername (*): The name of a filter that should be used for saving the document. If this argument is passed, then the filter must exist." msgstr "filternamn (*): Namnet på eit filter som skal brukast for å lagra dokumentet. Viss argumentet vert sendt vidare, må filteret finnast." #. vA4NU #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id881589205147911\n" "help.text" msgid "filteroptions (*): An optional string of options associated with the filter." msgstr "filterinnstillingar (*): Ein valfri streng med innstillingar for dette filteret." #. 96EBt #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id911298505147502\n" "help.text" msgid "Defines the printer options for the document." msgstr "" #. zoaQX #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id381651114800685\n" "help.text" msgid "Returns True when successful." msgstr "" #. hGfVh #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id301589205741697\n" "help.text" msgid "printer: The name of the printer queue where to print to. When absent, the default printer is set." msgstr "" #. mRrfG #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id851985205147348\n" "help.text" msgid "orientation: Either PORTRAIT or LANDSCAPE. When absent, left unchanged with respect to the printer settings." msgstr "" #. ENyZH #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id821985205147330\n" "help.text" msgid "paperformat: Specifies the paper format as a string value that can be either A3, A4, A5, LETTER, LEGAL or TABLOID. Left unchanged when absent." msgstr "" #. WCH7E #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "tit\n" "help.text" msgid "ScriptForge.Exception service (SF_Exception)" msgstr "Tenesta ScriptForge.Exception (SF_Exception)" #. ikEsF #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "hd_id521580038927003\n" "help.text" msgid "ScriptForge.Exception service" msgstr "Tenesta ScriptForge.Exception" #. 4X7Xk #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id181587139648008\n" "help.text" msgid "The Exception service is a collection of methods to assist in code debugging in Basic and Python scripts and in error handling in Basic scripts." msgstr "Tenesta Exception (unnatak) er ei samling av metodar som hjelper til med med feilsøking (debugging) av kode i Basic- og Python-skript og feilhandsaming i Basic-skript." #. XeYa4 #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id141587140927573\n" "help.text" msgid "In Basic scripts, when a run-time error occurs, the methods and properties of the Exception service help identify the error context and allow to handle it." msgstr "Når det oppstår ein køyretidsfeil i Basic-skript, hjelper metodane og eigenskapane til Exception-tenesta til å identifisere feilsamanhengen og tillata å handsama han." #. ENY3v #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id401621450898070\n" "help.text" msgid "The SF_Exception service is similar to the VBA Err object." msgstr "Tenesta SF_Exception liknar på objektet VBA Err." #. vpB42 #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id361621450908874\n" "help.text" msgid "The Number property identifies the error." msgstr "Eigenskapen Number identifiserer feilen." #. TnWpD #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id861621450910254\n" "help.text" msgid "Use the Raise method to interrupt processing. The RaiseWarning method can be used to trap an anomaly without interrupting the macro execution." msgstr "Bruk metoden Raise for å avbryta handsaminga. Metoden RaiseWarning kan brukast til å fanga opp eit avvik frå reglane utan å bryta av makrokøyringa." #. CpxKC #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id621587225732733\n" "help.text" msgid "Errors and warnings raised with the Exception service are stored in memory and can be retrieved using the Console method." msgstr "Feil og åtvaringar som oppstår med tenesta Exception vert lagra i minnet og kan hentast fram ved hjelp av metoden Console." #. CpBSQ #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id411587141146677\n" "help.text" msgid "The Exception service console stores events, variable values and information about errors. Use the console when the Basic IDE is not easily accessible, for example in Calc user defined functions (UDF) or during events processing." msgstr "Tenestekonsollen Exception lagrar hendingar, variabelverdiar og opplysningar om feil. Bruk konsollen når BASIC-IDE ikkje er lett tilgjengeleg, for eksempel i Calc user defined functions eller under handsaming av hendingar." #. NrY9C #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id251621034725811\n" "help.text" msgid "Use the DebugPrint method to add any relevant information to the console. Console entries can be dumped to a text file or visualized in a dialog window." msgstr "Bruk metoden DebugPrint for å leggja kva relevant informasjon som helst til i konsollen. Konsolloppføringar kan dumpast til ei tekstfil eller visualiserast i eit dialogvindauge." #. 9AW2i #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id111587141158495\n" "help.text" msgid "When an error occurs, an application macro may:" msgstr "Når det oppstår ein feil, kan ein programmakro:" #. hxxxr #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id451587141202844\n" "help.text" msgid "Report the error in the Exception console" msgstr "Rapporter feilen i konsollen Exception" #. N9X2f #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id751587141235313\n" "help.text" msgid "Inform the user about the error using either a standard message or a custom message" msgstr "Informere brukaren om feilen ved hjelp av ei standardmelding eller ei eigendefinert melding" #. C3NMD #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id931587141260777\n" "help.text" msgid "Optionally stop its execution" msgstr "Eventuelt stoppa utføringa" #. vFJRL #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id771621035263403\n" "help.text" msgid "In Python scripts the Exception service is mostly used for debugging purposes. Methods such as DebugPrint, Console and DebugDisplay are useful to quickly print messages, log data and open the console window from within a Python script." msgstr "I Python-skript vert tenesta Exception mest brukt til feilsøkingsføremål. Metodar som DebugPrint, Console og DebugDisplay er nyttige for raskt å skriva ut meldingar, logge data og opna konsollvindauget frå eit Python-skript." #. VAaLU #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id211621035276160\n" "help.text" msgid "Not all methods and properties are available for Python scripts since the Python language already has a comprehensive exception handling system." msgstr "Ikkje alle metodar og eigenskapar er tilgjengelege for Python-skript sidan Python-språket alt har eit omfattande unntakshandsamingssystem." #. yQzKr #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "hd_id201586594659135\n" "help.text" msgid "Service invocation" msgstr "Oppkall av tenester" #. T8o7G #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id161610652161795\n" "help.text" msgid "The following examples show three different approaches to call the method Raise. All other methods can be executed in a similar fashion." msgstr "Eksempla nedanfor viser tre forskjellige framgangsmåtar for å kalle opp metoden Raise. Alle andre metodar kan utførast på ein liknande måte." #. tGmaZ #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id901621036227048\n" "help.text" msgid "The code snippet below creates an instance of the Exception service, logs a message and displays the Console window." msgstr "Kodesnutten nedanfor lagar eit eksemplar av tenesta Exception, loggar ei melding og viser vindauget Console." #. HABsh #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "hd_id651584978211886\n" "help.text" msgid "Properties" msgstr "Eigenskapar" #. JDNi6 #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id911621036526404\n" "help.text" msgid "The properties listed below are only available for Basic scripts." msgstr "Eigenskapane som er oppført nedanfor er berre tilgjengelege for Basic-skript." #. s3E9G #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id271584978211792\n" "help.text" msgid "Name" msgstr "Namn" #. b96rE #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id241584978211550\n" "help.text" msgid "Readonly" msgstr "Skriveverna" #. TkMLa #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id621584978211403\n" "help.text" msgid "Description" msgstr "Beskriving" #. tJZkJ #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id71584978715562\n" "help.text" msgid "No" msgstr "Nei" #. RyJkE #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id581584978715701\n" "help.text" msgid "The error message text." msgstr "Teksten i feilmeldinga." #. Wcy7s #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id241610652688334\n" "help.text" msgid "Default value is \"\" or a string containing the Basic run-time error message." msgstr "Standardverdien er \"\" eller ein streng som inneheld Basic-feilmeldinga om køyretid." #. BT7GF #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id211584978211383\n" "help.text" msgid "No" msgstr "Nei" #. AnFVG #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id691584978211774\n" "help.text" msgid "The code of the error. It can be a numeric value or text." msgstr "Koden for feilen. Det kan vera ein numerisk verdi eller ein tekst." #. dCADC #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id151610652632828\n" "help.text" msgid "Default value is 0 or the numeric value corresponding to the Basic run-time error code." msgstr "Standardverdien er 0 eller den talverdien som svarar til koden for Basic køyretidsfeil." #. uLE2Q #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id671584978666689\n" "help.text" msgid "No" msgstr "Nei" #. G3q2n #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id951584978666296\n" "help.text" msgid "The location in the code where the error occurred. It can be a numeric value or text." msgstr "Staden i koden der feilen oppstod. Det kan vera ein talverdi eller ein tekst." #. kBXGC #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id681610652723345\n" "help.text" msgid "Default value is 0 or the code line number for a standard Basic run-time error." msgstr "Standardverdien er 0 eller kodelinjenummeret for ein standard Basic køyretidsfeil." #. mnFGS #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id461584978880380\n" "help.text" msgid "Raising or clearing an Exception resets its properties." msgstr "Når du set eller ryddar ein Exception vert eigenskapane nullstilte." #. ssXEB #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id881608131596153\n" "help.text" msgid "List of Methods in the Exception Service" msgstr "Liste over metodar i tenesta Exception" #. CDgEM #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id271579683706571\n" "help.text" msgid "Resets the current error status and clears the SF_Exception properties." msgstr "Tilbakestiller gjeldande feilstatus og slettar SF_Exception-eigenskapane." #. 7jFLi #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id701610654263121\n" "help.text" msgid "The following example shows how to catch a division-by-zero exception, whose error code is 11." msgstr "Eksempelet nedanfor viser korleis du fangar opp eit unnatak for deling med null, der feilkoden er 11." #. JhADn #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "bas_id51587215508130\n" "help.text" msgid "'If division by zero, ignore the error" msgstr "' viss divisjon med null, ignorer feilen" #. afnTr #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id201610654368082\n" "help.text" msgid "For a complete list of Basic run-time error codes, refer to Debugging a Basic Program." msgstr "Viss du vil ha ei fullstendig liste over feilkoder for Basic køyretid, kan du sjå Debugging a Basic Program." #. efEEX #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id651598718179382\n" "help.text" msgid "Displays the console messages in a modal or non-modal dialog. In both modes, all the past messages issued by a DebugPrint() method or resulting from an exception are displayed. In non-modal mode, subsequent entries are added automatically." msgstr "Viser konsollmeldingane i eit modalt eller ikkje-modalt dialogvindauge. I begge modusane vert alle tidlegare meldingar utsend av ein DebugPrint()-metode viste, eller som er eit resultat av eit unnatak. I ikkje-modal modus vert dei etterfølgjande oppføringane lagde til automatisk." #. KKgdp #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id161598718286205\n" "help.text" msgid "If the console is already open, when non-modal, it is brought to the front." msgstr "Viss konsollen alt er ope som ikkje-modal, vert han flytt fremst." #. ypzYc #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id801598718629151\n" "help.text" msgid "A modal console can only be closed by the user. A non-modal console can either be closed by the user or upon macro termination." msgstr "Ein modal konsoll kan berre lukkast av brukaren. Ein ikkje-modal konsoll kan anten lukkast av brukaren eller ved makroavslutning." #. HUgnb #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id511598718179819\n" "help.text" msgid "modal: Determine if the console window is modal (True) or non-modal (False). Default value is True." msgstr "modal: Bestemmer om konsollvindauget er modalt (Sann) eller ikkje-modalt (Usann). Standardverdien er Sann" #. xu6FA #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id641587215098903\n" "help.text" msgid "Clears the console keeping an optional number of recent messages. If the console is activated in non-modal mode, it is refreshed." msgstr "Tømmer konsollen og beheld ei valfri mengd av dei siste meldingane. Viss konsollen er slått på i ikkje-modal modus, vert han oppdatert." #. SE7ei #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id351587215098527\n" "help.text" msgid "keep: The number of recent messages to be kept. Default value is 0." msgstr "keep: Talet på nylege meldingar som skal behaldast. Standardverdien er 0" #. GLEVv #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id521610655023824\n" "help.text" msgid "The following example clears the console keeping the 10 most recent messages." msgstr "Det neste eksempelet tømmer konsollen men beheld dei 10 siste meldingane." #. 4LD2d #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id281587218077400\n" "help.text" msgid "Exports the contents of the console to a text file. If the file already exists and the console is not empty, it will be overwritten without warning. Returns True if successful." msgstr "Eksporterer innhaldet i konsollen til ei tekstfil. Viss fila finst frå før og konsollen ikkje er tom, vert ho overskrive utan varsel. Returnerer Sann viss vellukka." #. HEXvU #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id851587218077862\n" "help.text" msgid "filename: The name of the text file the console should be dumped into. The name is expressed according to the current FileNaming property of the SF_FileSystem service. By default, URL notation and the native operating system's format are both admitted." msgstr "filnamn: Namnet på tekstfila konsollen skal dumpast inn i. Namnet er uttrykt i samsvar med den gjeldande FileNaming-eigenskapen i tenesta SF_FileSystem. Som standard er både URL-notasjon og formatet brukt av operativsystemet tillatne." #. F3tVM #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id701621043185177\n" "help.text" msgid "Concatenates all the arguments into a single human-readable string and displays it in a MsgBox with an Information icon and an OK button." msgstr "Slår saman alle argumenta til éin enkelt lesbar streng og viser han i ein MsgBox med eit informasjonsikon og ein OK-knapp." #. KaGM6 #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id791621097689492\n" "help.text" msgid "The final string is also added to the Console." msgstr "Den endelege strengen vert også lagt til i konsollen." #. QhRgF #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id481587218636884\n" "help.text" msgid "arg0[, arg1, ...]: Any number of arguments of any type." msgstr "arg0[, arg1, ...]: Eit vilkårleg tal på argument av kva type som helst." #. 2qser #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id281587218637490\n" "help.text" msgid "Assembles all the given arguments into a single human-readable string and adds it as a new entry in the console." msgstr "Set saman alle dei gjevne argumenta til éin enkelt leseleg streng og legg han til som ei ny oppføring i konsollen." #. mUSEP #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id481587218637988\n" "help.text" msgid "arg0[, arg1, ...]: Any number of arguments of any type." msgstr "arg0[, arg1, …]: Eit vilkårleg tal på argument av kva type som helst." #. ZxYFC #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id111621624672183\n" "help.text" msgid "Displays the list of arguments in a readable form in the Python shell (APSO) console. Arguments are separated by a TAB character (simulated by spaces)." msgstr "" #. ujSFu #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id841621426229467\n" "help.text" msgid "The same string is added to the ScriptForge debug console." msgstr "" #. ixNfF #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id391126449167833\n" "help.text" msgid "arg0[, arg1, ...]: Any number of arguments of any type. The maximum length of each individual argument is 1024 characters." msgstr "" #. f5WaM #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id261123015276160\n" "help.text" msgid "In python use simply the builtin print() statement." msgstr "" #. CUoch #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id111621426672183\n" "help.text" msgid "Opens an APSO Python shell as a non-modal window. The Python script keeps running after the shell is opened. The output from print statements inside the script are shown in the shell." msgstr "Opnar eit APSO Python-skall som eit ikkje-modalt vindauge. Python-skriptet held fram med å køyra etter at skalet er opna. Utdata frå print-setningar inne i skriptet vert viste i skalet." #. f9ZzM #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id841621426922467\n" "help.text" msgid "Only a single instance of the APSO Python shell can be opened at any time. Hence, if a Python shell is already open, then calling this method will have no effect." msgstr "Berre éin enkelt førekomst av APSO Python-skalet kan opnast når som helst. Difor, viss eit Python-skal er opna frå før, vil oppkall av denne metoden ikkje ha nokon effekt." #. KGi8B #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id391621449167833\n" "help.text" msgid "variables: a Python dictionary with variable names and values that will be passed on to the APSO Python shell. By default all local variables are passed using Python's builtin locals() function." msgstr "variablar: ei Python-ordbok med variabelnamn og verdiar som vert sende vidare til APSO Python-skalet. Som standard vert alle lokale variablar gjevne vidare ved å bruka Python sin innebygde funksjon locals()." #. zT7Gq #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id991621449657850\n" "help.text" msgid "The example below opens the APSO Python shell passing all global and local variables considering the context where the script is running." msgstr "Eksempelet nedanfor opnar APSO Python-skalet og sender alle globale og lokale variablar vidare med tanke på samanhengen skriptet køyrer i." #. yUoFK #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id521621449800348\n" "help.text" msgid "When the APSO Python shell is open, any subsequent output printed by the script will be shown in the shell. Hence, the string printed in the example below will be displayed in the Python shell." msgstr "Når APSO Python-skalet er ope, vert alle utdata som følgjer etter og skrivne ut av skriptet viste i skalet. Difor vert strengen som er skrive ut i eksempelet nedanfor vist i Python-skalet." #. 5xNCX #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "pyc_id731621449899901\n" "help.text" msgid "print(\"Hello world!\")" msgstr "print(\"Hallo verda!\")" #. aXDEK #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id541587219824771\n" "help.text" msgid "Generates a run-time error. An error message is displayed to the user and reported in the console. The execution is stopped. The Raise() method can be placed inside the normal script flow or in a dedicated error-handling routine." msgstr "Genererer ein køyretidsfeil. Ei feilmelding vert vist til brukaren og rapportert i konsollen. Utføringa er stoppa. Metoden Raise() kan setjast inn i den normale skriptflyten eller i ein dedisert feilhandsamingsrutine." #. RuDTE #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id921587220542454\n" "help.text" msgid "The code snippets presented next are equivalent. They show alternative ways to raise an exception with code 2100." msgstr "Dei neste kodesnuttane er likeverdige. Dei viser alternative måtar å gjera unntak på med kode 2100." #. 6wEJq #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id851587219824597\n" "help.text" msgid "Number: The error code, as a number or as a string. Default value is that of Err Basic builtin function." msgstr "Tal: Feilkoden som eit tal eller som ein streng. Standardverdien er den same som for den innebygde Basic-funksjonen Err." #. 7zRRT #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id461587220986452\n" "help.text" msgid "Source: The location of the error, as a number or as a string. Default value is that of Erl Basic builtin function." msgstr "Kjelde: Plasseringa av feilen som eit tal eller som ein streng. Standardverdien er den same som for den innebygde Basic-funksjonen Erl." #. fSwCd #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id721587221018162\n" "help.text" msgid "Description: The message to display to the user and to report in the console. Default value is that of Error$ Basic builtin function." msgstr "Description: Meldinga som skal visast til brukaren og rapporterast i konsollen). Standardverdien er den same som i den innebyggde Basic-funksjonen Error$ (Feil$)." #. Kzh7r #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "bas_id211587222852310\n" "help.text" msgid "'See variants below ..." msgstr "' Sjå variantar nedanfor …" #. DV6VJ #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id111587222580987\n" "help.text" msgid "To raise an exception with the standard values:" msgstr "For å setja eit unnatak med standardverdiar:" #. SABN3 #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id751587222598238\n" "help.text" msgid "To raise an exception with a specific code:" msgstr "For å setja eit unnatak med ein bestemt kode:" #. QXgCy #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id501587222607771\n" "help.text" msgid "To replace the usual message:" msgstr "For å byta ut den vanlege meldinga:" #. gdvqM #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "bas_id431587222670849\n" "help.text" msgid "SF_Exception.Raise(, , \"It is not a good idea to divide by zero.\")" msgstr "SF_Exception.Raise(, , \"Det er ein dårleg ide å dividera med null.\")" #. TaFgn #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id611587222617174\n" "help.text" msgid "To raise an application error:" msgstr "Slik set du opp ein programfeil:" #. ifrWg #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "bas_id71587222694657\n" "help.text" msgid "SF_Exception.Raise(\"MyAppError\", \"Example_Raise()\", \"Something wrong happened !\")" msgstr "SF_Exception.Raise(\"MyAppError\", \"Example_Raise()\", \"Noko har gått gale!\")" #. LuTSJ #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id1001587224839900\n" "help.text" msgid "This method has exactly the same syntax, arguments and behavior as the Raise() method." msgstr "Denne metode har nøyaktig same syntaks, argument og oppførsel som metoden Raise()." #. AXEnW #: sf_exception.xhp msgctxt "" "sf_exception.xhp\n" "par_id761587224839624\n" "help.text" msgid "However, when a warning is raised, the macro execution is not stopped." msgstr "Når ei åtvaring vert sett, vert makroutføringa ikkje stoppa." #. QTGXf #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "tit\n" "help.text" msgid "ScriptForge.FileSystem service" msgstr "Tenesta ScriptForge.FileSystem" #. Nkwib #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "bm_id781582391760253\n" "help.text" msgid "ScriptForge.FileSystem service" msgstr "Tenesta ScriptForge.FileSystem" #. wXVQJ #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id931583589764919\n" "help.text" msgid "The FileSystem service includes routines to handle files and folders. Next are some examples of the features provided by this service:" msgstr "Tenesta FileSystem inneheld rutinar for handsaming av filer og mapper. Her kjem nokre eksempel på funksjonane som vert leverte av denne tenesta:" #. NtXUq #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id121612917070593\n" "help.text" msgid "Verify whether a file or folder exists." msgstr "Verifiserer om ei fil eller ei mappa finst." #. gqggf #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id121612917070594\n" "help.text" msgid "Create and delete folders and files." msgstr "Laga og sletta filer og mapper." #. FFUnD #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id121612917070595\n" "help.text" msgid "Launch dialog boxes to open/save files." msgstr "Starta dialogvindauge for å opna og gøyma filer." #. bgECC #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id121612917070596\n" "help.text" msgid "Access the list of files in a folder, etc." msgstr "Få tilgang til lista over filer i ei mappe osv." #. J2NqD #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id121612917368946\n" "help.text" msgid "The methods in the FileSystem service are mostly based on the XSimpleFileAccess UNO interface." msgstr "Metodane i tenesta FileSystem er for det meste basert på XSimpleFileAccess UNO interface." #. wEqaV #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "hd_id961583589783025\n" "help.text" msgid "Definitions" msgstr "Definisjonar" #. bczfJ #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id821612988815351\n" "help.text" msgid "The table below lists the main parameters used by most of the methods in the FileSystem service." msgstr "Tabellen nedanfor viser hovudparameterane som vert brukte av dei fleste metodane i FileSystem-tenestene." #. fV4jz #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id891612988600163\n" "help.text" msgid "Parameter" msgstr "Parameter" #. KdPjY #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id711612988600163\n" "help.text" msgid "Description" msgstr "Beskriving" #. dEUyj #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id321612988600163\n" "help.text" msgid "The full name of the file including the path without a path separator at the end." msgstr "Det fullstendige namnet på filen, inkludert stien utan eit stiskiljeteikn til slutt." #. Da76k #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id321612988600165\n" "help.text" msgid "The full name of the folder including the path. It may or may not contain the ending path separator." msgstr "Det fullstendige namnet på mappa, inkludert stien. Det kan innehalda eller ikkje innehalda det avsluttande stiskilleteiknet." #. LwB6Z #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id321612988600167\n" "help.text" msgid "The last component of the Folder Name or File Name including its extension. This parameter is always expressed using the native format of the operating system." msgstr "Den siste komponenten i mappenamnet eller filnamnet inkludert utvidinga. Denne parameteren vert alltid sett med formatet brukt i operativsystemet." #. fjYSD #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id321612988600169\n" "help.text" msgid "The last component of the Folder Name or File Name without its extension." msgstr "Den siste komponenten i mappenamnet eller filnamnet utan utvidinga." #. 57Aab #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id321612988600172\n" "help.text" msgid "Any of the above names containing wildcards in its last component. Admitted wildcards are:" msgstr "Nokre av namna ovanfor inneheld jokerteikn i den siste komponenten. Tillatne jokerteikn er:" #. arzQR #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id851583590809104\n" "help.text" msgid "\"?\" represents any single character" msgstr "\"?\" står for eitt enkelt teikn" #. wG8Bw #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id161583590819320\n" "help.text" msgid "\"*\" represents zero, one, or multiple characters" msgstr "\"*\" står for ingen, eitt eller fleire teikn" #. BjZMB #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id911584540527980\n" "help.text" msgid "The FileSystem service allows to perform operations over multiple files at the same time. By using name patterns, user scripts can copy, move or delete multiple files. Conversely, Basic built-in methods can only handle single files." msgstr "Tenesta FileSystem gjer det mogleg å utføra operasjonar på fleire filer samstundes. Ved hjelp av namnemønster kan brukarskript kopiera, flytta eller slette fleire filer. På den annen sida kan grunnleggjande innebygde metodar berre handsama enkeltfiler." #. zNCtF #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "hd_id991612918109871\n" "help.text" msgid "File Naming Notation" msgstr "Notasjon for filnamn" #. ZfsFV #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id791612918141083\n" "help.text" msgid "The notation used to express file and folder names, both for arguments and returned values, is defined by the FileNaming property of the FileSystem service." msgstr "Notasjonen som vert brukt for å uttrykkja fil- og mappe-namn, både i argumenta og returverdiane, er definerte av eigenskapen FileNaming i tenesta FileSystem." #. KV9FF #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id951612918220255\n" "help.text" msgid "In short, the possible representation types are \"URL\" (URL file notation), \"SYS\" (operating system notation) and \"ANY\" (default). See more information below." msgstr "Kort sagt, dei moglege representasjonstypane er «URL» (URL-filnotasjon), «SYS» (operativsystemnotasjon) og «ANY» (standard). Sjå meir informasjon i nedanfor." #. L84BJ #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id861583589907100\n" "help.text" msgid "An example of the URL notation is file:///C:/Documents/my_file.odt. Whenever possible consider using the URL notation because it is a more portable alternative." msgstr "Eit eksempel på URL-notasjonen er file:///C:/Documents/my_file.odt. Når det er mogleg, bør du vurdera å bruka URL-notasjonen fordi det er eit meir berbart alternativ." #. QrDqQ #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id931626652451855\n" "help.text" msgid "The use of the shortcut \"~\" (tilde), which is common in Linux-based operating systems, is not supported to express a path to a folder and file name. Instead of using \"~/Documents/my_file.odt\" use the full path \"/home/user/Documents/my_file.odt\"." msgstr "" #. mao7x #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "hd_id581582885621841\n" "help.text" msgid "Service invocation" msgstr "Oppkall av tenester" #. Miw3e #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id691612990276070\n" "help.text" msgid "The following code snippet invokes the FileSystem service. The method BuildPath was used as an example." msgstr "Den neste kodesnutten kallar opp tenesta FileSystem. Metoden BuildPath er brukt som eksempel." #. Gsznv #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "hd_id651583668365757\n" "help.text" msgid "Properties" msgstr "Eigenskapar" #. QFtWW #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id871583668386455\n" "help.text" msgid "Name" msgstr "Namn" #. iXYjt #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id491583668386455\n" "help.text" msgid "Readonly" msgstr "Skriveverna" #. GC4Vu #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id271583668474014\n" "help.text" msgid "Type" msgstr "Type" #. FFkx3 #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id401583668386455\n" "help.text" msgid "Description" msgstr "Beskriving" #. CyEEJ #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id371583668519172\n" "help.text" msgid "No" msgstr "Nei" #. Gihmg #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id771583668386455\n" "help.text" msgid "Sets or returns the current files and folders notation, either \"ANY\", \"URL\" or \"SYS\":" msgstr "Set eller returnerer gjeldande fil- og mappenotasjon, anten «ANY», «URL» eller «SYS»:" #. QQGcp #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id881585396501844\n" "help.text" msgid "\"ANY\": (default) the methods of the FileSystem service accept both URL and current operating system's notation for input arguments but always return URL strings." msgstr "\"ANY\": (standard) metodane i tenesta FileSystem godtar både URL-adressa og gjeldande operativsystemnotasjon for inndataargument, men returnerer alltid URL-strengar." #. 6FA2G #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id261583669091722\n" "help.text" msgid "\"URL\": the methods of the FileSystem service expect URL notation for input arguments and return URL strings." msgstr "\"URL\": metodane i tenesta FileSystem ventar URL-notasjon i inndata-argument og returnerer URL-strengar." #. QxFC6 #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id731583669120436\n" "help.text" msgid "\"SYS\": the methods of the FileSystem service expect current operating system's notation for both input arguments and return strings." msgstr "\"SYS\": metodane i tenesta FileSystem ventar operativsystemet sin notasjon brukt både i inndata-argument og returnerstrengane." #. VBAzn #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id211583765169579\n" "help.text" msgid "Once set, the FileNaming property remains unchanged either until the end of the %PRODUCTNAME session or until it is set again." msgstr "Når eigenskapen FileNaming er sett, vert han uendra anten til slutten av %PRODUCTNAME-økta eller til han vert sett på nytt." #. FayZT #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id541583839708548\n" "help.text" msgid "Yes" msgstr "Ja" #. ygE64 #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id731583839708412\n" "help.text" msgid "Returns the configuration folder of %PRODUCTNAME." msgstr "Returnerer konfigurasjonsmappa for %PRODUCTNAME." #. svPxn #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id761584027709516\n" "help.text" msgid "Yes" msgstr "Ja" #. gjTpP #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id971584027709752\n" "help.text" msgid "Returns the folder where extensions are installed." msgstr "Returnerer mappa som utvidingane er installerte i." #. DTGEP #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id31583839767743\n" "help.text" msgid "Yes" msgstr "Ja" #. FP6D9 #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id111583839767195\n" "help.text" msgid "Returns the user home folder." msgstr "Returnerer brukaren si heimemappe." #. LUE79 #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id771583839920487\n" "help.text" msgid "Yes" msgstr "Ja" #. dz5ju #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id451583839920858\n" "help.text" msgid "Returns the installation folder of %PRODUCTNAME." msgstr "Returnerer installasjonsmappa for %PRODUCTNAME." #. trBL7 #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id571588333908716\n" "help.text" msgid "Yes" msgstr "Ja" #. 3yNj2 #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id721588333908708\n" "help.text" msgid "Returns the folder containing the system templates files." msgstr "Returnerer mappa som inneheld systemet sine malfiler." #. hDFSQ #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id501583774433513\n" "help.text" msgid "Yes" msgstr "Ja" #. e2ruR #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id71583774433459\n" "help.text" msgid "Returns the temporary files folder defined in the %PRODUCTNAME path settings." msgstr "Returnerer mappa til dei mellombels filene som er definerte i %PRODUCTNAME sti-innstillingar." #. wjVgE #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id271588334016191\n" "help.text" msgid "Yes" msgstr "Ja" #. Ggnnt #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id251588334016874\n" "help.text" msgid "Returns the folder containing the user-defined template files." msgstr "Returnerer mappa som inneheld dei brukardefinerte malfilene." #. rpvtx #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id891611613601554\n" "help.text" msgid "List of Methods in the FileSystem Service" msgstr "Liste over metodar i tenesta FileSystem" #. EgkPG #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id871583933076448\n" "help.text" msgid "Joins a folder path and the name of a file and returns the full file name with a valid path separator. The path separator is added only if necessary." msgstr "Slår saman ein mappesti og namnet på ei fil og returnerer det fullstendige filnamnet med eit gyldig stikiljeteikn. Stiskiljeteiknet vert lagt til berre om det er nødvendig." #. 2pwBF #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id90158393307695\n" "help.text" msgid "foldername: The path with which name will be combined. The specified path does not need to be an existing folder." msgstr "" #. xFCWJ #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id891583933076975\n" "help.text" msgid "name: The name of the file to be appended to foldername. This parameter uses the notation of the current operating system." msgstr "" #. DwTpc #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id33160111891079\n" "help.text" msgid "Compares two files and returns True when they seem identical." msgstr "Samanliknar to filer og returnerer Sann når dei ser ut til å vera like." #. 6A5Da #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id631601119001315\n" "help.text" msgid "Depending on the value of the comparecontents argument, the comparison between both files can be either based only on file attributes (such as the last modified date), or based on the file contents." msgstr "" #. MGA4A #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id481601118910755\n" "help.text" msgid "filename1, filename2: The files to compare." msgstr "" #. aKfwh #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id111601118910848\n" "help.text" msgid "comparecontents: When True, the contents of the files are compared (default = False)." msgstr "" #. EZNG5 #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id161584541257982\n" "help.text" msgid "Copies one or more files from one location to another. Returns True if at least one file has been copied or False if an error occurred." msgstr "Kopierer éi eller fleire filer frå éin stad til ein annan. Returnerer Sann viss minst éi fil er kopiert, eller Usann viss det skjedde ein feil." #. xE9SU #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id401612998805699\n" "help.text" msgid "An error will also occur if the source parameter uses wildcard characters and does not match any files." msgstr "" #. AZCsn #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id331612998814805\n" "help.text" msgid "The method stops immediately after it encounters an error. The method does not roll back nor does it undo changes made before the error occurred." msgstr "Metoden stoppar straks når det oppstår ein feil. Metoden rullar ikkje tilbake, og angrar heller ikkje endringar som vart gjort før feilen oppstod." #. aVGzZ #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id1001584541257789\n" "help.text" msgid "source: It can be a FileName or a NamePattern indicating one or more files to be copied." msgstr "" #. ycEpt #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id111584542310166\n" "help.text" msgid "destination: It can be either a FileName specifying where the single source file is to be copied, or a FolderName into which the multiple files from source are to be copied." msgstr "" #. frwD2 #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id491612999134752\n" "help.text" msgid "If destination does not exist, it is created." msgstr "" #. z3Tok #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id591612999166788\n" "help.text" msgid "Wildcard characters are not allowed in destination." msgstr "" #. zFyVX #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id251584542431558\n" "help.text" msgid "overwrite: If True (default), files may be overwritten. The method will fail if destination is readonly, regardless of the value specified in overwrite." msgstr "" #. uRMe8 #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id691626216252568\n" "help.text" msgid "In the examples below the first line copies a single file whereas the second line copies multiple files using wildcards." msgstr "" #. GevfF #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id411626216328023\n" "help.text" msgid "Beware that subfolders and their contents are not copied when wildcards are used in the source argument." msgstr "" #. TdGi7 #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id731584544734412\n" "help.text" msgid "Copies one or more folders from one location to another. Returns True if at least one folder has been copied or False if an error occurred." msgstr "Kopierer éi eller fleire mapper frå éin stad til ein annan. Returnerer Sann viss minst éi mappe er kopiert, eller Usann viss det skjedde ein feil." #. TSLCU #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id21612999775377\n" "help.text" msgid "An error will also occur if the source parameter uses wildcard characters and does not match any folders." msgstr "" #. m3Hzh #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id701612999808912\n" "help.text" msgid "The method stops immediately after it encounters an error. The method does not roll back nor does it undo changes made before the error occurred." msgstr "Metoden stoppar straks når det oppstår ein feil. Metoden rullar ikkje tilbake, og angrar heller ikkje endringar som vart gjort før feilen oppstod." #. GCCf3 #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id851584544734202\n" "help.text" msgid "source: It can be a FolderName or a NamePattern indicating one or more folders to be copied." msgstr "" #. msqGq #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id321584544734273\n" "help.text" msgid "destination: Specifies the FolderName into which the single or multiple folders defined in source are to be copied." msgstr "" #. iLKYc #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id491612999134762\n" "help.text" msgid "If destination does not exist, it is created." msgstr "" #. TvYDS #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id591612999166740\n" "help.text" msgid "Wildcard characters are not allowed in destination." msgstr "" #. 3A2C2 #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id251584542431525\n" "help.text" msgid "overwrite: If True (default), files may be overwritten. The method will fail if destination is readonly, regardless of the value specified in overwrite." msgstr "" #. 7CxBB #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id751626216627481\n" "help.text" msgid "In the examples below all files, folders and subfolders are copied." msgstr "" #. fNBgH #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id31158454067562\n" "help.text" msgid "Creates the specified FolderName. Returns True if the folder could be successfully created." msgstr "Lagar det spesifiserte FolderName. Returnerer Sann viss det kan lukkast å laga mappa." #. 9H3cp #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id431613000475359\n" "help.text" msgid "If the specified folder has a parent folder that does not exist, it is created." msgstr "Viss den spesifiserte mappa har ei overordna mappe som ikkje finst, vert denne laga." #. 7gTts #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id491584540675469\n" "help.text" msgid "foldername: A string representing the folder to be created. If the folder already exists, an exception will be raised." msgstr "" #. 2zcfH #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id731585322689518\n" "help.text" msgid "Creates a specified file and returns a TextStream service instance that can be used to write to the file." msgstr "" #. YMZDA #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id821613001057759\n" "help.text" msgid "The method returns a Null object if an error occurred." msgstr "Metoden returnerer objektet Null viss det går feil." #. 2NPVD #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id901585322689715\n" "help.text" msgid "filename: The name of the file to be created." msgstr "" #. gEJA4 #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id501585322689209\n" "help.text" msgid "overwrite: Boolean value that determines if filename can be overwritten (default = True)." msgstr "" #. CkbhC #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id551585322689192\n" "help.text" msgid "encoding: The character set to be used. The default encoding is \"UTF-8\"." msgstr "" #. eoE92 #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id141613001281573\n" "help.text" msgid "To learn more about the names of character sets, visit IANA's Character Set page. Beware that %PRODUCTNAME does not implement all existing character sets." msgstr "Du kan læra meir om namna på teiknsetta på sida IANA's Character Set. Merk at %PRODUCTNAME ikkje implementerer alle teiknsetta som finst." #. DVGxr #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id11584882040881\n" "help.text" msgid "Deletes one or more files. Returns True if at least one file has been deleted or False if an error occurred." msgstr "Slettar éi eller fleire filer. Returnerer Sann viss minst éi fil er sletta, eller Usann viss det skjedde ein feil." #. y69YZ #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id21612999775356\n" "help.text" msgid "An error will also occur if the filename parameter uses wildcard characters and does not match any files." msgstr "" #. TWJRd #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id21613001848493\n" "help.text" msgid "The files to be deleted must not be readonly." msgstr "Fila som skal slettast må ikkje vera skriveverna." #. PEFBq #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id701612999808832\n" "help.text" msgid "The method stops immediately after it encounters an error. The method does not roll back nor does it undo changes made before the error occurred." msgstr "Metoden stoppar straks når det oppstår ein feil. Metoden rullar ikkje tilbake, og angrar heller ikkje endringar som vart gjort før feilen oppstod." #. DkCdk #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id441584882040860\n" "help.text" msgid "filename: It can be a FileName or a NamePattern indicating one or more files to be deleted." msgstr "" #. FnaSi #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id851626217167909\n" "help.text" msgid "In the examples below only files are deleted, subfolders are not deleted." msgstr "" #. c9ZCd #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id11584882015881\n" "help.text" msgid "Deletes one or more folders. Returns True if at least one folder has been deleted or False if an error occurred." msgstr "Slettar éi eller fleire mapper. Returnerer Sann viss minst éi mappe er sletta, eller Usann viss det skjedde ein feil." #. bGmGo #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id21612999775346\n" "help.text" msgid "An error will also occur if the foldername parameter uses wildcard characters and does not match any folders." msgstr "" #. GsqDD #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id21613001848853\n" "help.text" msgid "The folders to be deleted must not be readonly." msgstr "Mappa som skal slettast må ikkje vera skriveverna." #. kRSqe #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id701612999808842\n" "help.text" msgid "The method stops immediately after it encounters an error. The method does not roll back nor does it undo changes made before the error occurred." msgstr "Metoden stoppar straks når det oppstår ein feil. Metoden rullar ikkje tilbake, og angrar heller ikkje endringar som vart gjort før feilen oppstod." #. 7YCXM #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id451584882542247\n" "help.text" msgid "foldername: It can be a FolderName or a NamePattern indicating one or more folders to be deleted." msgstr "" #. cCnG9 #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id651626217314709\n" "help.text" msgid "In the examples below only folders and their contents are deleted. Files in the parent folder \"C:\\Temp\" are not deleted." msgstr "" #. gSG9s #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id11584882015025\n" "help.text" msgid "Returns a string containing the folder where the specified extension package is installed." msgstr "" #. xuDgD #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id21612999775311\n" "help.text" msgid "The current value of the property SF_FileSystem.FileNaming is used to determine the notation of the returned string." msgstr "" #. jWSSt #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id891644442917193\n" "help.text" msgid "Use the property Extensions from the Platform service to get string array with the IDs of all installed extensions." msgstr "" #. w9vDF #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id451584882542121\n" "help.text" msgid "extension: A string value with the ID of the extension. If the extension is not installed, an exception is raised." msgstr "" #. YhQmv #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id651626217313369\n" "help.text" msgid "The examples below in Basic and Python return the folder where the APSO extension is installed." msgstr "" #. ZbyLn #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id161583764426709\n" "help.text" msgid "Returns True if a given file name is valid and exists, otherwise the method returns False." msgstr "Returnerer Sann viss eit gjeve filnamn er gyldig og fila finst, elles returnerer metoden Usann." #. 7j5TN #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id91613003122613\n" "help.text" msgid "If the filename parameter is actually an existing folder name, the method returns False." msgstr "" #. fr2Ei #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id361583764426547\n" "help.text" msgid "filename: A string representing the file to be tested." msgstr "" #. ChDCL #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id11158394432779\n" "help.text" msgid "Returns a zero-based array of the files stored in a given folder. Each entry in the array is a string containing the full path and file name." msgstr "Returnerer ei null-basert matrise av filene som er lagra i ei gjeve mappe. Kvart element i matrisa er ein streng som inneheld full sti og filnamnet." #. JVjE3 #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id641613003790120\n" "help.text" msgid "If the argument foldername specifies a folder that does not exist, an exception is raised." msgstr "" #. nFaPD #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id821613003779799\n" "help.text" msgid "The resulting list may be filtered with wildcards." msgstr "Den resulterande lista kan filtrerast med jokerteikn." #. bq6vD #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id731583944543140\n" "help.text" msgid "foldername: A string representing a folder. The folder must exist. This argument must not designate a file." msgstr "" #. EM5cJ #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id591585648450060\n" "help.text" msgid "filter: A string containing wildcards (\"?\" and \"*\") that will be applied to the resulting list of files (default = \"\")." msgstr "" #. zG7ec #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id51583765642590\n" "help.text" msgid "Returns True if the specified FolderName is valid and exists, otherwise the method returns False." msgstr "" #. 9xtCG #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id151613004111990\n" "help.text" msgid "If the foldername parameter is actually an existing file name, the method returns False." msgstr "" #. qrf4A #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id1001583765642211\n" "help.text" msgid "foldername: A string representing the folder to be tested." msgstr "" #. eAFVs #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id521584110618989\n" "help.text" msgid "Returns the BaseName (equal to the last component) of a folder or file name, without its extension." msgstr "" #. YnBXv #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id731613004316790\n" "help.text" msgid "The method does not check if the specified file or folder exists." msgstr "" #. 3FPjB #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id691584110618308\n" "help.text" msgid "filename: A string representing the file name and its path." msgstr "" #. jwFaP #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id1001626271201609\n" "help.text" msgid "In the examples below, the first GetBaseName method call corresponds to a folder, so the function returns the last component of the path. The second call receives a file name as input, so the name of the file is returned without its extension." msgstr "" #. A56XC #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id831584032680866\n" "help.text" msgid "Returns the extension part of a file or folder name without the dot \".\" character." msgstr "" #. pdCJv #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id941613060736524\n" "help.text" msgid "The method does not check for the existence of the specified file or folder." msgstr "" #. Aqvwt #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id561613060896361\n" "help.text" msgid "If this method is applied to a folder name or to a file without an extension, then an empty string is returned." msgstr "" #. NzK5z #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id821584032680311\n" "help.text" msgid "filename: A string representing the file name and its path." msgstr "" #. Am6Bu #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id48160068505010\n" "help.text" msgid "The builtin FileLen Basic function returns the number of bytes contained in a file as a Long value, i.e. up to 2GB." msgstr "" #. 2FHpa #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id571613061005426\n" "help.text" msgid "The GetFileLen method can handle files with much larger sizes by returning a Currency value." msgstr "" #. PK2Fo #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id161600685050367\n" "help.text" msgid "filename: A string representing an existing file." msgstr "" #. o2GGJ #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id191584811478936\n" "help.text" msgid "Returns the last modified date of a given file." msgstr "" #. VMB4i #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id25158481147822\n" "help.text" msgid "filename: A string representing an existing file." msgstr "" #. VEZR6 #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id711584032366587\n" "help.text" msgid "Returns the last component of a file or folder name in native operating system format." msgstr "" #. 4vAvz #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id541613061300811\n" "help.text" msgid "The method does not check if the specified file or folder exists." msgstr "" #. iajZD #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id671584032366193\n" "help.text" msgid "filename: A string representing the file name and its path." msgstr "" #. ffxFe #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id871584113432747\n" "help.text" msgid "Returns a string containing the name of the parent folder of a specified file or folder name." msgstr "" #. 2eBgA #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id611613061603039\n" "help.text" msgid "The method does not check if the specified file or folder exists." msgstr "" #. YUAQ3 #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id471584113432231\n" "help.text" msgid "filename: A string with the file or folder name to be analyzed." msgstr "" #. Uc93M #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id82158385117289\n" "help.text" msgid "Returns a randomly generated temporary file name that is useful for performing operations that require a temporary file." msgstr "" #. FS3qq #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id391613061770924\n" "help.text" msgid "The returned file name does not have any suffix. The folder part of the returned string is the system's temporary folder." msgstr "" #. W7gF7 #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id971613061774934\n" "help.text" msgid "The method does not create the temporary file." msgstr "" #. ch2AJ #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id58160104251423\n" "help.text" msgid "Hash functions are used by some cryptographic algorithms, in digital signatures, message authentication codes, fraud detection, fingerprints, checksums (message integrity check), hash tables, password storage and much more." msgstr "" #. qxDnP #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id301601042791356\n" "help.text" msgid "The HashFile method returns the result of a hash function, applied on a given file and using a specified algorithm. The returned value is a string of lower-case hexadecimal digits." msgstr "" #. eAW33 #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id861601043268484\n" "help.text" msgid "The hash algorithms supported are: MD5, SHA1, SHA224, SHA256, SHA384 and SHA512." msgstr "" #. s5ZiA #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id28160104251451\n" "help.text" msgid "filename: A string representing an existing file." msgstr "" #. Eomhm #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id71601042959846\n" "help.text" msgid "algorithm: One of the supported algorithms." msgstr "" #. HzFs2 #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id51584791330688\n" "help.text" msgid "Moves one or more files from one location to another. Returns True if at least one file has been moved or False if an error occurred." msgstr "" #. RFrNE #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id631613062890648\n" "help.text" msgid "An error will also occur if the source parameter uses wildcard characters and does not match any files." msgstr "" #. ETmEP #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id241613062902777\n" "help.text" msgid "The method stops immediately after it encounters an error. The method does not roll back nor does it undo changes made before the error occurred." msgstr "" #. DbC6F #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id721584791330406\n" "help.text" msgid "source: It can be a FileName or NamePattern to designate one or more files to be moved." msgstr "" #. BHa7Y #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id291584791330181\n" "help.text" msgid "destination: If source is a FileName then this parameter indicates the new path and file name of the moved file." msgstr "" #. ZzA3Y #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id31613063334246\n" "help.text" msgid "If the move operation involves multiple files, then destination must be a folder name. If it does not exist, it is created." msgstr "" #. 39oR8 #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id391613063494599\n" "help.text" msgid "If source and destination have the same parent folder, the method will rename the source." msgstr "" #. 7bzK4 #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id941613063476533\n" "help.text" msgid "Wildcard characters are not allowed in destination." msgstr "" #. Bysqd #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id91626272612758\n" "help.text" msgid "In the following examples only files are moved, subfolders are not." msgstr "" #. iYBMe #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id301584791330868\n" "help.text" msgid "Moves one or more folders from one location to another. Returns True if at least one folder has been moved or False if an error occurred." msgstr "Flyttar éi eller fleire mapper frå éin stad til ein annan. Returnerer Sann viss minst éi mappe er flytt, eller Usann viss det skjedde ein feil." #. RHjYG #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id411613072570664\n" "help.text" msgid "An error will also occur if the source parameter uses wildcard characters and does not match any folders." msgstr "" #. F2DaD #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id601613072595264\n" "help.text" msgid "The method stops immediately after it encounters an error. The method does not roll back nor does it undo changes made before the error occurred." msgstr "Metoden stoppar straks når han møter ein feil. Metoden rullar ikkje tilbake, og angrar heller ikkje endringar som vart gjort før feilen oppstod." #. xVGBy #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id541584791330777\n" "help.text" msgid "source: It can be a FolderName or NamePattern to designate one or more folders to be moved." msgstr "" #. 4Ampu #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id551584791330279\n" "help.text" msgid "destination: If the move operation involves a single folder, then destination is the name and path of the moved folder and it must not exist." msgstr "" #. dD7SB #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id11613072890641\n" "help.text" msgid "If multiple folders are being moved, then destination designates where the folders in source will be moved into. If destination does not exist, it is created." msgstr "" #. A69QS #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id301613072928159\n" "help.text" msgid "Wildcard characters are not allowed in destination." msgstr "" #. JNTia #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id121585320922117\n" "help.text" msgid "Opens a file and returns a TextStream object that can be used to read from, write to, or append to the file." msgstr "Opnar ei fil og returnerer objektet TextStream som kan brukast til å lesa frå, skriva til eller leggja til fila." #. ePMpQ #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id591613073104711\n" "help.text" msgid "Note that the method does not check if the given file is really a text file." msgstr "Merk at metoden ikkje kontrollerer pm den gjevne fila faktisk er ei tekstfil." #. SGJCd #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id951613073135036\n" "help.text" msgid "The method returns a Null object (in Basic) or None (in Python) if an error occurred." msgstr "" #. mxuwo #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id551585320922678\n" "help.text" msgid "filename: Identifies the file to open." msgstr "" #. tsRLR #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id671585320922388\n" "help.text" msgid "iomode: Indicates the input/output mode. It can be one of three constants: svc.ForReading (default), svc.ForWriting, or svc.ForAppending." msgstr "" #. z27vT #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id21585321398586\n" "help.text" msgid "create: Boolean value that indicates whether a new file can be created if the specified filename doesn't exist:" msgstr "" #. VDFAi #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id721613073434797\n" "help.text" msgid "If True a new file and its parent folders will be created if they do not exist;" msgstr "Viss Sann vert ei fil og den overordna mappa for fila oppretta viss dei ikkje finst frå før." #. EypVC #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id201613073469289\n" "help.text" msgid "If False then new files are not created (default)." msgstr "Viss Usann vert den nye fila ikkje oppretta (standard)." #. wjGYH #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id771585321576210\n" "help.text" msgid "encoding: The character set to be used. The default encoding is \"UTF-8\"." msgstr "" #. FuYwe #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id871583670342501\n" "help.text" msgid "Opens a dialog box to open or save files." msgstr "Opnar eit dialogvindauge for å lagra og opna filer." #. SjDBv #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id881613074436979\n" "help.text" msgid "If the SAVE mode is set and the picked file exists, a warning message will be displayed." msgstr "Viss SAVE-modus er sett og den valde fila finst frå før, vert det vist ei åtvaring." #. YgsLZ #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id481583670342502\n" "help.text" msgid "defaultfile: This argument is a string composed of a folder and file name:" msgstr "" #. fyVCs #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id511613074665951\n" "help.text" msgid "The folder part indicates the folder that will be shown when the dialog opens (default = the last selected folder)." msgstr "Mappedelen peikar på den mappa som vert vist når dialogvindauget vert opna (standard = den sist opna mappa)." #. xs5hU #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id631613074685308\n" "help.text" msgid "The file part designates the default file to open or save." msgstr "Fildelen peikar på den standardfila som skal opnast eller lagrast." #. fBHyg #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id981583670342502\n" "help.text" msgid "mode: A string value that can be either \"OPEN\" (for input files) or \"SAVE\" (for output files). The default value is \"OPEN\"." msgstr "" #. uvwDP #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id31583670342502\n" "help.text" msgid "filter: The extension of the files displayed when the dialog is opened (default = no filter)." msgstr "" #. niaGR #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id881626276134300\n" "help.text" msgid "The examples below open a file picker with the \"txt\" filter applied." msgstr "" #. HkwaR #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id521583671701777\n" "help.text" msgid "Opens a dialog box to select a folder." msgstr "Opnar eit dialogfelt for å velja ei mappe." #. mG6QD #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id951583671701872\n" "help.text" msgid "defaultfolder: A string containing the folder name that will be displayed when the dialog is opened (default = the last selected folder)." msgstr "" #. ymABK #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id821583671701764\n" "help.text" msgid "freetext: Text to display in the dialog (default = \"\")." msgstr "" #. 4FFby #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "bas_id921583671701610\n" "help.text" msgid "aFolder = FSO.PickFolder(\"C:\\Documents\", \"Choose a folder or press Cancel\")" msgstr "" #. ENDba #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "pyc_id631626276402296\n" "help.text" msgid "aFolder = fso.PickFolder(r\"C:\\Documents\", \"Choose a folder or press Cancel\")" msgstr "" #. xdfBh #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id431584016761996\n" "help.text" msgid "Returns a zero-based array of strings corresponding to the folders stored in a given foldername." msgstr "" #. LVNZq #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id431613075267241\n" "help.text" msgid "The list may be filtered with wildcards." msgstr "" #. 7pDiA #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id701584016761945\n" "help.text" msgid "foldername: A string representing a folder. The folder must exist. foldername must not designate a file." msgstr "" #. Xmg8b #: sf_filesystem.xhp msgctxt "" "sf_filesystem.xhp\n" "par_id471585648674921\n" "help.text" msgid "filter: A string containing wildcards (\"?\" and \"*\") that will be applied to the resulting list of folders (default = \"\")." msgstr "" #. XQG8t #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "tit\n" "help.text" msgid "SFDocuments.Form service" msgstr "" #. kanuY #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "bm_id781582391760253\n" "help.text" msgid "SFDocuments.Form service" msgstr "" #. LDpRB #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id931583589764919\n" "help.text" msgid "The Form service provides methods and properties to manage forms in %PRODUCTNAME documents. This service supports forms in Base, Calc and Writer documents and allows to:" msgstr "" #. U3zGB #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id381618172063851\n" "help.text" msgid "Open and activate forms." msgstr "" #. SC6Yb #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id261618172129782\n" "help.text" msgid "Navigate through records shown by the form." msgstr "" #. krQfB #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id281618172141607\n" "help.text" msgid "Get access to the controls inside the form." msgstr "" #. itKdZ #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id371618172155483\n" "help.text" msgid "Get access to subforms of a parent form." msgstr "" #. QcJ24 #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id351616768789190\n" "help.text" msgid "The SFDocuments.Form service is available from %PRODUCTNAME 7.2 onwards." msgstr "" #. Ga5NU #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id451616765867881\n" "help.text" msgid "Forms are usually used in %PRODUCTNAME documents to create user interfaces connected to relational databases. Hence, the Form service provides quick access to the linked database through the SFDatabases.Database service." msgstr "" #. rGB5M #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id891598188164936\n" "help.text" msgid "The SFDocuments.Form service is closely related to the SFDocuments.FormControl service." msgstr "" #. 3HUmh #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "hd_id161616766330804\n" "help.text" msgid "Definitions" msgstr "" #. GYDbT #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id951618172906010\n" "help.text" msgid "Forms are usually created in Base documents, but they can be added to Writer and Calc documents as well." msgstr "" #. nKUdb #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id671618173380680\n" "help.text" msgid "In Base, each form you create using the Insert - Form functionality or through the Form Wizard is actually a FormDocument that can be handled with the Form service. Base documents can contain an unlimited number of form documents." msgstr "" #. kegBD #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id841618177362626\n" "help.text" msgid "Below is an example showing the hierarchy of all the elements involved in accessing forms and subforms in a Base document. Suppose you have a Base file named Employees.odb and inside it you created a form document to add new employees to the database. The form document contains a main form named EmployeeData that gives access to a table. There is also a subform WorksAtPlant that allows you to associate the new employee to one of the plants of the company." msgstr "" #. izkiB #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "bas_id151618176848874\n" "help.text" msgid "Employees.odb (Base document)" msgstr "" #. cz2fJ #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "bas_id941618176869485\n" "help.text" msgid "|-- EmployeeData (Main Form)" msgstr "" #. k8nxK #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id221618173444457\n" "help.text" msgid "A FormDocument can be seen as a set of forms that provide access to datasets such as database tables and queries from within %PRODUCTNAME documents. The names of forms and subforms inside a FormDocument can be accessed using the Form Navigator." msgstr "Eit FormDocument (skjemadokument) kan sjåast på som eit sett med skjema som gjev tilgang til datasett som for eksempel database-tabellar og -spørjinghar i %PRODUCTNAM- dokument. Du har tilgang til namna på skjema og underskjema i eit skjemadokument med Skjemanavigatoren." #. AMFVt #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "hd_id851616767037521\n" "help.text" msgid "Forms and Subforms" msgstr "Skjema og underskjema" #. GA63u #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id681616767265034\n" "help.text" msgid "A form document is composed of one or more forms which, in turn, may also contain any number of subforms. A Form is an abstract set of controls that are linked to a specified data source, which can be a database table, a query or a SQL SELECT statement." msgstr "Eit skjemadokument er sett saman ev eitt eller fleire skjema, som igjen kan innehalda eit vilkårleg tal på underskjema. Eit skjema er eit abstrakt sett av kontrollelement som er knytte til ei bestemt datakjelde, som kan vera ei bestemt datakjelde, som igjen kan vera ein databasetabell, ei spørjing eller eit SQL SELECT-uttrykk." #. fDvBD #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id711618178831976\n" "help.text" msgid "In Calc and Writer documents, each form can be linked to datasets located in different databases. On the other hand, in Base documents the database contained in the document is common to all forms." msgstr "I Calc- og Writer-dokument kan kvart skjema koplast til datasett plassert i ulike databasar. På den andre sida, kan databasar i Base-dokument vera felles for alle skjemaa." #. wDfhy #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id191616837111507\n" "help.text" msgid "To invoke the SFDocuments.Form service refer to the methods Forms(), FormDocuments() and OpenFormDocument() of the SFDocuments.Document service" msgstr "For å kalla opp tenesta SFDocuments.Form referererd dutil metodane Forms(), FormDocuments() og OpenFormDocument() i tenesta SFDocuments.Document" #. gs4KC #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "hd_id581582885621841\n" "help.text" msgid "Service invocation" msgstr "Oppkall av tenester" #. WyEtQ #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id141609955500101\n" "help.text" msgid "Before using the Form service the ScriptForge library needs to be loaded or imported:" msgstr "" #. KfjEA #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "hd_id991618179698545\n" "help.text" msgid "In Writer documents" msgstr "I Writer-dokument" #. 8s4VD #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id51616767892693\n" "help.text" msgid "The code snippet below shows how to access the form named Form1 that is inside a Writer file:" msgstr "Kodesnutten nedanfor viser korleis du får tilgang til skjemaet med namnet Form1 i ei Writer-fil:" #. NFikt #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id531618179517628\n" "help.text" msgid "Forms can be accessed by their names or by their indices, as shown below:" msgstr "Du kan få tilgang til skjema etter namnet deira eller med indeksar slik som vist nedanfor:" #. 8PHy6 #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id181618250546617\n" "help.text" msgid "If you try to access a FormDocument that is currently opened in Design Mode an exception will be raised." msgstr "Viss du prøver å få tilgang til eit FormDocument som er opna i Utformingsmodus, vert det sett opp eit unntak." #. xNr3R #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "hd_id921618179792926\n" "help.text" msgid "In Calc documents" msgstr "I Calc-dokument" #. yCpnG #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id481618179851104\n" "help.text" msgid "A form in a Calc file must have a unique name inside its sheet. Hence, the Forms method requires two arguments, the first indicating the sheet name and the second specifying the form name." msgstr "" #. i9Um4 #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id51622028165429\n" "help.text" msgid "This is achieved identically using Python:" msgstr "" #. 2fB94 #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "hd_id201618180055756\n" "help.text" msgid "In Base documents" msgstr "" #. J3Btp #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id711616768164987\n" "help.text" msgid "A FormDocument inside a Base document is accessed by its name. The following example opens the form document named thisFormDocument and accesses the form MainForm:" msgstr "" #. pbtEM #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "bas_id271598171225874\n" "help.text" msgid "' The statement below is necessary only if the form hasn't been opened yet" msgstr "" #. EDADK #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "bas_id51616768358888\n" "help.text" msgid "' Or, alternatively, to access the form by its index ..." msgstr "" #. 2v2aG #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id991618249636036\n" "help.text" msgid "To perform any action on a form using the Form service, the FormDocument must have been opened either manually by the user or programmatically in a user script. The latter can be done by calling the OpenFormDocument method of the Base service." msgstr "" #. DDerZ #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id11618180564274\n" "help.text" msgid "To access a given subform of a form use the SubForms method. Note that in the example below mySubForm is a new instance of the Form service." msgstr "" #. e7fcY #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id681622028653480\n" "help.text" msgid "Previous examples translate in Python as:" msgstr "" #. ebc4K #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "pyc_id811622808499801\n" "help.text" msgid "# The statement below is necessary only if the form hasn't been opened yet" msgstr "" #. GdyX6 #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "pyc_id511622808538351\n" "help.text" msgid "# Or, alternatively, to access the form by its index ..." msgstr "# eller alternativt for å få tilgang til skjemaet med indeksen for det …" #. QFFzk #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "hd_id211618180379064\n" "help.text" msgid "In Form events" msgstr "I skjemahendingar" #. WBzCD #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id421616768529754\n" "help.text" msgid "To invoke the Form service when a form event takes place:" msgstr "For å kalla opp tenesta Form når ei hending finn stad:" #. k2fKf #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id721623150543016\n" "help.text" msgid "It is recommended to free resources after use of the Form service." msgstr "Det vert tilrådd å frigjera resursar etter å ha brukt tenesta «Form»." #. pF9UQ #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id221623150547406\n" "help.text" msgid "This operation is done implicitly when a form document is closed with the CloseFormDocument() method described below." msgstr "Denne handlinga vert utført utan vilkår når eit skjemadokument vert lukka med metoden CloseFormDocument() forklart nedanfor." #. GueeT #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "hd_id651583668365757\n" "help.text" msgid "Properties" msgstr "Eigenskapar" #. 9LaxS #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id871583668386455\n" "help.text" msgid "Name" msgstr "Namn" #. SpGw6 #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id491583668386455\n" "help.text" msgid "Readonly" msgstr "Skriveverna" #. K7Bsy #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id271583668474014\n" "help.text" msgid "Type" msgstr "Type" #. ekeZU #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id401583668386455\n" "help.text" msgid "Description" msgstr "Beskriving" #. wSC47 #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id371583668519172\n" "help.text" msgid "No" msgstr "Nei" #. jJ2dL #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id771583668386455\n" "help.text" msgid "Specifies if the form allows to delete records." msgstr "Spesifiserer om skjemaet tillet at postar vert sletta." #. DBxgx #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id541583839708548\n" "help.text" msgid "No" msgstr "Nei" #. j5J3C #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id731583839708412\n" "help.text" msgid "Specifies if the form allows to add records." msgstr "Spesifiserer om skjemaet tillet at det vert lagt til postar." #. FCFEk #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id761584027709516\n" "help.text" msgid "No" msgstr "Nei" #. 8qCAE #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id971584027709752\n" "help.text" msgid "Specifies if the form allows to update records." msgstr "Spesifiserer om skjemaet tillet at postar vert oppdaterte." #. VxAL4 #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id31583839767743\n" "help.text" msgid "Yes" msgstr "Ja" #. CRA7v #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id111583839767195\n" "help.text" msgid "Specifies the hierarchical name of the Base Form containing the actual form." msgstr "Spesifiserer det hierarkiske namnet på Base-formularet som inneheld det aktuelle skjemaet." #. FehA2 #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id771583839920487\n" "help.text" msgid "No" msgstr "Nei" #. V8tZX #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id451583839920858\n" "help.text" msgid "Specifies uniquely the current record of the form's underlying table, query or SQL statement." msgstr "Spesifiserer eintydig den aktuelle posten i skjemaet sin underliggjande tabell, spørjing eller SQL-uttrykk." #. 3jDxi #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id571588333908716\n" "help.text" msgid "No" msgstr "Nei" #. 7NUo8 #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id721588333908708\n" "help.text" msgid "Identifies the current record in the dataset being viewed on a form. If the row number is positive, the cursor moves to the given row number with respect to the beginning of the result set. Row count starts at 1. If the given row number is negative, the cursor moves to an absolute row position with respect to the end of the result set. Row -1 refers to the last row in the result set." msgstr "Identifiserer den gjeldande posten i datasettet som vert vist i eit skjema. Viss radnummeret er positivt,vert markøren flytt til det gjevne radnummeret i forhold til byrjinga av resultatsettet. Talet på rader byrjar på 1. Viss det gjevne radnummeret er negativt, vert markøren flytt til ei absolutt radplassering i forhold til slutten av resultatsettet. Rad -1 refererer til den siste rada i resultatsettet." #. FKDA7 #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id501583774433513\n" "help.text" msgid "No" msgstr "Nei" #. eAsdX #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id151598177605296\n" "help.text" msgid "Specifies a subset of records to be displayed as a SQL WHERE-clause without the WHERE keyword." msgstr "Spesifiserer ei delmengd av postar som skal visast som ein SQL WHERE-setning utan nøkkelordet WHERE." #. uyje5 #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id271588334016191\n" "help.text" msgid "Yes" msgstr "Ja" #. FQDDW #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id251588334016874\n" "help.text" msgid "Specifies how records in a child subform are linked to records in its parent form." msgstr "Set korleis postar i eit underliggjande skjema er lenkja til eit overliggjande skjema." #. DMwPW #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id901616774153495\n" "help.text" msgid "Yes" msgstr "Ja" #. 2EiCA #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id981616774153723\n" "help.text" msgid "Specifies how records in a child subform are linked to records in its parent form." msgstr "Set korleis postar i eit underliggjande skjema er lenkja til eit overliggjande skjema." #. ppCiD #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id501616774304840\n" "help.text" msgid "Yes" msgstr "Ja" #. kPfzG #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id461616774304497\n" "help.text" msgid "The name of the current form." msgstr "Namnet på det gjeldande skjemaet." #. vpBCA #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id751616774384451\n" "help.text" msgid "No" msgstr "Nei" #. ppErx #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id321616774384489\n" "help.text" msgid "Specifies in which order the records should be displayed as a SQL ORDER BY clause without the ORDER BY keywords." msgstr "Spesifiserer kva rekkjefølgje postar skal visast som ein SQL ORDER BY-setning utan nøkkelordet ORDER BY." #. AGC5s #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id261616774918923\n" "help.text" msgid "Yes" msgstr "Ja" #. rjCpM #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id171616774918881\n" "help.text" msgid "The parent of the current form. It can be either a SFDocuments.Form or a SFDocuments.Document object." msgstr "Opphavet til det gjeldande skjemaet. Det kan vera eit av objekta SFDocuments.Form eller SFDocuments.Document" #. rLS8r #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id501616777650751\n" "help.text" msgid "No" msgstr "Nei" #. USDVC #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id91616777650933\n" "help.text" msgid "Specifies the source of the data, as a table name, a query name or a SQL statement." msgstr "Gjev datakjelda som eit tabellnamn, eit spørjingsnamn eller eit SQL-yttrykk." #. rtCsj #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id451598177924437\n" "help.text" msgid "Yes" msgstr "Ja" #. GxHLP #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id94159817792441\n" "help.text" msgid "UNO
object" msgstr "UNO
objekt" #. VYFDs #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id191598177924897\n" "help.text" msgid "The UNO object representing interactions with the form. Refer to XForm and DataForm in the API documentation for detailed information." msgstr "" #. cwE3k #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "hd_id421612628828054\n" "help.text" msgid "Event properties" msgstr "" #. eTuoa #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id41612629140856\n" "help.text" msgid "The properties below return or set URI strings that define the script triggered by the event." msgstr "" #. fdses #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id961612628879819\n" "help.text" msgid "Name" msgstr "" #. DsQGQ #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id401612628879819\n" "help.text" msgid "ReadOnly" msgstr "Skriveverna" #. 5FemG #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id281612628879819\n" "help.text" msgid "Basic IDE Description" msgstr "Basic IDE-beskriving" #. PgdP8 #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id111612629836630\n" "help.text" msgid "No" msgstr "" #. GAgms #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id1001612629836902\n" "help.text" msgid "Before record change" msgstr "" #. Mr9ns #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id291612629836294\n" "help.text" msgid "No" msgstr "" #. DwhZn #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id62161262983683\n" "help.text" msgid "Fill parameters" msgstr "" #. DrMbU #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id81612629836634\n" "help.text" msgid "No" msgstr "" #. eAJAN #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id881612629836744\n" "help.text" msgid "Prior to reset" msgstr "" #. Y9d6z #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id591612629836830\n" "help.text" msgid "No" msgstr "" #. LKxEu #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id161612629836775\n" "help.text" msgid "Before record action" msgstr "" #. Zyx2S #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id891612629836630\n" "help.text" msgid "No" msgstr "" #. 2HBeC #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id461612629836679\n" "help.text" msgid "Before submitting" msgstr "" #. 2fJrZ #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id131612629836291\n" "help.text" msgid "No" msgstr "" #. BX4AH #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id151612629836151\n" "help.text" msgid "Confirm deletion" msgstr "" #. W9izF #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id211612629836725\n" "help.text" msgid "No" msgstr "" #. pDvPB #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id361612629836624\n" "help.text" msgid "After record change" msgstr "" #. WprGG #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id311612629836481\n" "help.text" msgid "No" msgstr "" #. Xn2CS #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id721612629836752\n" "help.text" msgid "Error occurred" msgstr "" #. B3zCy #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id981612629836116\n" "help.text" msgid "No" msgstr "" #. L3Ac6 #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id381612629836635\n" "help.text" msgid "When loading" msgstr "" #. 9Z9vv #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id711612629836704\n" "help.text" msgid "No" msgstr "" #. XL4Js #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id35161262983642\n" "help.text" msgid "When reloading" msgstr "" #. P6DEi #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id44161677878329\n" "help.text" msgid "No" msgstr "" #. ywCsh #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id661616778783899\n" "help.text" msgid "Before reloading" msgstr "" #. eGnRj #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id651616778529764\n" "help.text" msgid "No" msgstr "" #. E6JUH #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id311616778529570\n" "help.text" msgid "After resetting" msgstr "" #. VDAk5 #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id601616778529481\n" "help.text" msgid "No" msgstr "" #. 99FfH #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id351616778529352\n" "help.text" msgid "After record action" msgstr "" #. CxndA #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id711616778529292\n" "help.text" msgid "No" msgstr "" #. DTDCq #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id981616778529250\n" "help.text" msgid "When unloading" msgstr "" #. iWroa #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id521616778529932\n" "help.text" msgid "No" msgstr "" #. pVPR9 #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id511616778529291\n" "help.text" msgid "Before unloading" msgstr "" #. cTdFS #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id961618181634322\n" "help.text" msgid "To learn more about URI strings, refer to the Scripting Framework URI Specification." msgstr "" #. bkBH8 #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id921606472825856\n" "help.text" msgid "List of methods in the Form service" msgstr "" #. KwDij #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id871583933076448\n" "help.text" msgid "Sets the focus on the current Form instance. Returns True if focusing was successful." msgstr "" #. 9qj5F #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id81616858956290\n" "help.text" msgid "The behavior of the Activate method depends on the type of document where the form is located:" msgstr "" #. YVgyr #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id761616858967361\n" "help.text" msgid "In Writer documents: Sets the focus on that document." msgstr "" #. HKFTw #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id931616859010103\n" "help.text" msgid "In Calc documents: Sets the focus on the sheet to which the form belongs." msgstr "" #. 6jx5G #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id41616859019478\n" "help.text" msgid "In Base documents: Sets the focus on the FormDocument the Form refers to." msgstr "" #. J5C7y #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id921618228229529\n" "help.text" msgid "The following example assumes you want to activate the form named FormA located in Sheet1 of the currently open Calc file. It first gets access to the document using the Document service and ThisComponent and then activates the form." msgstr "Det følgjande eksempelet går ut frå at du ønskjer å aktiverer skjemaet FormA (skjemaA) på Ark1 i den gjeldande opne Calc-fila. Det får først tilgang til dokumentet med tenesta Document og ThisComponent og aktiverer deretter skjemaet." #. 4EC5M #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "bas_id21618228468066\n" "help.text" msgid "'Gets hold of the form that will be activated" msgstr "" #. M2Wks #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "bas_id201618228487565\n" "help.text" msgid "'Activates the form" msgstr "" #. YHxMm #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id81618228720782\n" "help.text" msgid "ThisComponent applies to Calc and Writer documents. For Base documents use ThisDataBaseDocument." msgstr "ThisComponent gjeld for Calc- og Writer-dokument. For Base-dokument, bruk ThisDataBaseDocument." #. QznyJ #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id501616860541195\n" "help.text" msgid "Closes the form document containing the actual Form instance. The Form instance is disposed." msgstr "" #. CcCpD #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id611618229004669\n" "help.text" msgid "This method only closes form documents located in Base documents. If the form is stored in a Writer or Calc document, calling CloseFormDocument will have no effect." msgstr "" #. a8CxQ #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id161584541257982\n" "help.text" msgid "The value returned by the Controls method depends on the arguments provided:" msgstr "" #. YkyY2 #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id421598179770993\n" "help.text" msgid "If the method is called without arguments, then it returns the list of the controls contained in the form. Beware that the returned list does not contain any subform controls." msgstr "" #. SsiUX #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id81598185229301\n" "help.text" msgid "If the optional ControlName argument is provided, the method returns a FormControl class instance referring to the specified control." msgstr "" #. 7CFJU #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id1001584541257789\n" "help.text" msgid "controlname : A valid control name as a case-sensitive string. If absent, the list of control names is returned as a zero-based array." msgstr "" #. unh4B #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id291616861407907\n" "help.text" msgid "Return a SFDatabases.Database instance giving access to the execution of SQL commands on the database the current form is connected to and/or that is stored in the current Base document." msgstr "" #. fZRst #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id991616861417207\n" "help.text" msgid "Each form has its own database connection, except in Base documents where they all share the same connection." msgstr "" #. wFSWb #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id701616861134906\n" "help.text" msgid "user, password: The login optional parameters (Default = \"\")." msgstr "" #. 83Jju #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id771616861842867\n" "help.text" msgid "The form cursor is positioned on the first record. Returns True if successful." msgstr "" #. rapRE #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id331616863143187\n" "help.text" msgid "The form cursor is positioned on the last record. Returns True if successful." msgstr "" #. HZELb #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id361616863143954\n" "help.text" msgid "The form cursor is positioned on the new record area. Returns True if successful." msgstr "" #. 2QwcR #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id541616863143461\n" "help.text" msgid "The form cursor is positioned on the next record. Returns True if successful." msgstr "" #. a2gGn #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id271616863582607\n" "help.text" msgid "offset: The number of records to go forward (Default = 1)." msgstr "" #. e6huC #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id616168637945\n" "help.text" msgid "The form cursor is positioned on the previous record. Returns True if successful." msgstr "" #. tAnVw #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id751616863794125\n" "help.text" msgid "offset: The number of records to go backwards (Default = 1)." msgstr "" #. Kp4Wo #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id811616864216529\n" "help.text" msgid "Reloads the current data from the database and refreshes the form. The cursor is positioned on the first record. Returns True if successful." msgstr "" #. 5gBGr #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id891616864510614\n" "help.text" msgid "The value returned by the Subforms method depends on the arguments provided:" msgstr "" #. 4yG2j #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id951616864510585\n" "help.text" msgid "If the method is called without any arguments, then it returns the list of subforms contained in the current form or subform instance." msgstr "" #. AD3Q6 #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id591616864510445\n" "help.text" msgid "If the optional subform argument is provided, the method returns a new SFDocuments.Form instance based on the specified form/subform name or index." msgstr "" #. GCRsS #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id341616864510747\n" "help.text" msgid "subform: A subform stored in the current Form class instance given by its name or index." msgstr "" #. uKm6R #: sf_form.xhp msgctxt "" "sf_form.xhp\n" "par_id211618230389251\n" "help.text" msgid "When this argument is absent, the method returns a list of available subforms as a zero-based array. If the form has a single subform, you can set subform = 0 to get access to it." msgstr "" #. CfGgB #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "tit\n" "help.text" msgid "SFDocuments.FormControl service" msgstr "" #. vND8Z #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "bm_id781582391760253\n" "help.text" msgid "SFDocuments.FormControl service" msgstr "" #. XFkrG #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id931583589764919\n" "help.text" msgid "The FormControl service provides access to the controls that belong to a form, a subform or a table control of a FormDocument. Each instance of the FormControl service refers to a single control in the form. This service allows users to:" msgstr "" #. irNFC #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id451618771561326\n" "help.text" msgid "Get and set the properties of the control represented by the FormControl instance." msgstr "" #. S5aH9 #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id601618771565183\n" "help.text" msgid "Access the current value displayed by the control." msgstr "" #. P5xzV #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id981618771567951\n" "help.text" msgid "Set the focus on the desired control." msgstr "" #. LUDRM #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id301616939922857\n" "help.text" msgid "To use the FormControl service in a particular form, subform or table control, all controls must have unique names." msgstr "" #. JMFEb #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id541618771629112\n" "help.text" msgid "Radio buttons that share the same group name must also have unique control names." msgstr "" #. mAwyv #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id51618771641273\n" "help.text" msgid "The main purpose of the FormControl service is setting and getting the properties and values displayed by the controls in a form." msgstr "" #. K2Bgc #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id81618774023346\n" "help.text" msgid "All controls have a Value property. However, its contents will vary according to the control type. For more information, read The Value Property below." msgstr "" #. kF29h #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id881618771651907\n" "help.text" msgid "It is also possible to format the controls via the XControlModel and XControlView properties." msgstr "" #. WEST9 #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id891598188164936\n" "help.text" msgid "The SFDocuments.FormControl service is closely related to the SFDocuments.Form service." msgstr "" #. rUEuw #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "hd_id581582885621841\n" "help.text" msgid "Service invocation" msgstr "Oppkall av tenester" #. pzkhK #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id141609955500101\n" "help.text" msgid "Before using the FormControl service the ScriptForge library needs to be loaded or imported:" msgstr "" #. BeDqF #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id361598174756160\n" "help.text" msgid "The FormControl service is invoked from an existing Form service instance through its Controls method." msgstr "" #. 56bE7 #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "pyc_id721622556808773\n" "help.text" msgid "control.Value = 'Current Time = ' + strftime(\"%a, %d %b %Y %H:%M:%S\", localtime())" msgstr "" #. FaP92 #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id781618772761258\n" "help.text" msgid "To learn more about how to open a FormDocument and get access to its forms, refer to the SFDocuments.Form service help page." msgstr "" #. qeXCN #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id951598174966322\n" "help.text" msgid "Alternatively a FormControl instance can be retrieved via the SFDocuments.FormEvent service, which returns the SFDocuments.FormControl class instance that triggered the event." msgstr "" #. bSfxy #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "bas_id801598175242937\n" "help.text" msgid "' oControl now represents the instance of the FormControl class that triggered the current event" msgstr "" #. EgCtB #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id251598176312571\n" "help.text" msgid "Note that in previous examples, the prefix \"SFDocuments.\" may be omitted." msgstr "" #. 7gE8Y #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id951618773412097\n" "help.text" msgid "The FormEvent service is used exclusively to create instances of the SFDocuments.Form and SFDocuments.FormControl services when a form or control event takes place." msgstr "" #. AppFj #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "hd_id71598455687512\n" "help.text" msgid "Control types" msgstr "" #. ezcW8 #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id851598455863395\n" "help.text" msgid "The FormControl service is available for the following control types:" msgstr "" #. BESBv #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "hd_id651583668365757\n" "help.text" msgid "Properties" msgstr "" #. VrBfK #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id871583668386455\n" "help.text" msgid "Name" msgstr "" #. hDr9G #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id491583668386455\n" "help.text" msgid "Readonly" msgstr "Skriveverna" #. kWac7 #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id271583668474014\n" "help.text" msgid "Type" msgstr "" #. dXwGN #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id291598538799794\n" "help.text" msgid "Applicable to" msgstr "" #. bEQWc #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id401583668386455\n" "help.text" msgid "Description" msgstr "Beskriving" #. N3ejK #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id371583668519172\n" "help.text" msgid "No" msgstr "" #. PszFp #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id771583668386455\n" "help.text" msgid "Specifies the action triggered when the button is clicked. Accepted values are: none, submitForm, resetForm, refreshForm, moveToFirst, moveToLast, moveToNext, moveToPrev, saveRecord, moveToNew, deleteRecord, undoRecord." msgstr "" #. fmzNT #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id541583839708548\n" "help.text" msgid "No" msgstr "" #. 62Bud #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id731583839708412\n" "help.text" msgid "Specifies the text displayed by the control." msgstr "" #. nFFDY #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id411616942306677\n" "help.text" msgid "Yes" msgstr "" #. 8H6BR #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id461616942306745\n" "help.text" msgid "Specifies the rowset field mapped onto the current control." msgstr "" #. AJUH6 #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id761584027709516\n" "help.text" msgid "Yes" msgstr "" #. Enqxp #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id261598539120502\n" "help.text" msgid "All" msgstr "" #. FsCJK #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id971584027709752\n" "help.text" msgid "One of the control types listed above." msgstr "" #. DH84k #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id31583839767743\n" "help.text" msgid "No" msgstr "" #. pRrwC #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id111583839767195\n" "help.text" msgid "Specifies whether a command button is the default OK button." msgstr "" #. 2dP2A #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id241616942739459\n" "help.text" msgid "No" msgstr "" #. Sukx9 #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id271616942739359\n" "help.text" msgid "Specifies the default value used to initialize a control in a new record." msgstr "" #. nFBUQ #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id771583839920487\n" "help.text" msgid "No" msgstr "" #. fQYqd #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id891598539196786\n" "help.text" msgid "All (except HiddenControl)" msgstr "" #. MmDQ5 #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id451583839920858\n" "help.text" msgid "Specifies if the control is accessible with the cursor." msgstr "" #. VDkDh #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id571588333908716\n" "help.text" msgid "No" msgstr "" #. 8X3Ho #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id721588333908708\n" "help.text" msgid "Specifies the format used to display dates and times. It must be one of following strings:" msgstr "" #. 6CqCN #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id891598456980194\n" "help.text" msgid "For dates: \"Standard (short)\", \"Standard (short YY)\", \"Standard (short YYYY)\", \"Standard (long)\", \"DD/MM/YY\", \"MM/DD/YY\", \"YY/MM/DD\", \"DD/MM/YYYY\", \"MM/DD/YYYY\" , \"YYYY/MM/DD\", \"YY-MM-DD\", \"YYYY-MM-DD\"." msgstr "" #. f6gni #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id221598456991070\n" "help.text" msgid "For times: \"24h short\", \"24h long\", \"12h short\", \"12h long\"." msgstr "" #. RqjAh #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id501583774433513\n" "help.text" msgid "Yes" msgstr "" #. E4aHX #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id151598177605296\n" "help.text" msgid "Returns the number of rows in a ListBox or a ComboBox." msgstr "" #. ApC5v #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id271588334016191\n" "help.text" msgid "No" msgstr "" #. XQ3AV #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id251588334016874\n" "help.text" msgid "Specifies which item is selected in a ListBox or ComboBox. In case of multiple selection, the index of the first item is returned or only one item is set." msgstr "" #. 5DjjX #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id891616944120697\n" "help.text" msgid "No" msgstr "" #. nNqW5 #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id901616944120614\n" "help.text" msgid "Specifies the data contained in a ComboBox or a ListBox as a zero-based array of string values." msgstr "" #. rvVZ7 #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id21616944586559\n" "help.text" msgid "Combined with ListSourceType, may also contain the name of a table, a query or a complete SQL statement." msgstr "" #. jqgF5 #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id821616944631740\n" "help.text" msgid "No" msgstr "" #. sqr2g #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id131616944631625\n" "help.text" msgid "Specifies the type of data contained in a combobox or a listbox." msgstr "" #. Fdm4C #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id881616944631341\n" "help.text" msgid "It must be one of the com.sun.star.form.ListSourceType.* constants." msgstr "" #. BQ7JE #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id961598457655506\n" "help.text" msgid "No" msgstr "" #. EV4jD #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id2159845765568\n" "help.text" msgid "Specifies if the control is read-only." msgstr "" #. CXDED #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id621598457951781\n" "help.text" msgid "No" msgstr "" #. e7HnA #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id821598457951782\n" "help.text" msgid "Specifies whether the user can select multiple items in a listbox." msgstr "" #. TZuvX #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id351598458170114\n" "help.text" msgid "Yes" msgstr "" #. AtLKa #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id151598539764402\n" "help.text" msgid "All" msgstr "" #. EuBGK #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id621598458170392\n" "help.text" msgid "The name of the control." msgstr "" #. SNTgh #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id161598458580581\n" "help.text" msgid "Yes" msgstr "" #. CTjAM #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id181598539807426\n" "help.text" msgid "All" msgstr "" #. z8w8o #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id801598458580456\n" "help.text" msgid "Depending on the parent type, a form, a subform or a tablecontrol, returns the parent SFDocuments.Form or SFDocuments.FormControl class object instance." msgstr "" #. fyoXF #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id971598458773352\n" "help.text" msgid "No" msgstr "" #. RnXeR #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id451598458773588\n" "help.text" msgid "Specifies the file name containing a bitmap or other type of graphic to be displayed on the control. The filename must comply with the FileNaming attribute of the ScriptForge.FileSystem service." msgstr "" #. PHBtj #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id251616946015886\n" "help.text" msgid "No" msgstr "" #. oYA7V #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id91616946015258\n" "help.text" msgid "A control is said required when the underlying data must not contain a null value." msgstr "" #. NbTpX #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id781598516764550\n" "help.text" msgid "Yes" msgstr "" #. Rv448 #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id11159851676440\n" "help.text" msgid "Gives access to the text being displayed by the control." msgstr "" #. 7kxit #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id411598517275112\n" "help.text" msgid "No" msgstr "" #. MNqBi #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id171598539985022\n" "help.text" msgid "All (except HiddenControl)" msgstr "" #. VXR9Y #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id651598517275384\n" "help.text" msgid "Specifies the text that appears as a tooltip when you hover the mouse pointer over the control." msgstr "" #. Awzep #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id821598517418463\n" "help.text" msgid "No" msgstr "" #. 6S5EL #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id141598517418822\n" "help.text" msgid "Specifies if the checkbox control may appear dimmed (grayed) or not." msgstr "" #. mCQFz #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id701598517671373\n" "help.text" msgid "No" msgstr "" #. mHxWu #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id1001598540024225\n" "help.text" msgid "This property depends on the current control type. Refer to The Value property for more information." msgstr "" #. ybVim #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id661598517730941\n" "help.text" msgid "No" msgstr "" #. G52FE #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id761598540042290\n" "help.text" msgid "All (except HiddenControl)" msgstr "" #. 5juZG #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id881598517730836\n" "help.text" msgid "Specifies if the control is hidden or visible." msgstr "" #. FAYCA #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id451598177924437\n" "help.text" msgid "Yes" msgstr "" #. UZ7ug #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id94159817792441\n" "help.text" msgid "UNO
object" msgstr "" #. 65CSA #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id311598540066789\n" "help.text" msgid "All" msgstr "" #. 25EFH #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id191598177924897\n" "help.text" msgid "The UNO object representing the control model. Refer to XControlModel and UnoControlModel in the API documentation for more information." msgstr "" #. FzDR6 #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id811598178083501\n" "help.text" msgid "Yes" msgstr "" #. Bdvyd #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id981598178083938\n" "help.text" msgid "UNO
object" msgstr "" #. DFQ5P #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id551598540079329\n" "help.text" msgid "All" msgstr "" #. XahSM #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id731598178083442\n" "help.text" msgid "The UNO object representing the control view. Refer to XControl and UnoControl in the API documentation for more information." msgstr "" #. pqsod #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "hd_id81598540704978\n" "help.text" msgid "The Value property" msgstr "" #. PbEBw #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id10159854325492\n" "help.text" msgid "Control type" msgstr "" #. bsmCC #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id741598543254158\n" "help.text" msgid "Type" msgstr "" #. MWgHB #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id961598543254444\n" "help.text" msgid "Description" msgstr "Beskriving" #. FLUGH #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id741598543254108\n" "help.text" msgid "Applicable to toggle buttons only." msgstr "" #. jpLCR #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id741598543254376\n" "help.text" msgid "Boolean or Integer" msgstr "" #. ErAZY #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id521598543254630\n" "help.text" msgid "0, False: not checked
1, True: checked
2: grayed out, don't know (applicable if TripleState is True)" msgstr "" #. 3frrW #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id331598543254947\n" "help.text" msgid "The selected value, as a String. The ListIndex property is an alternate option to access the index of the selected value." msgstr "" #. faEEm #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id5159854325443\n" "help.text" msgid "Numeric" msgstr "" #. VyagB #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id971598543254757\n" "help.text" msgid "A file name formatted in accordance with the FileNaming property of the ScriptForge.FileSystem service" msgstr "" #. CaGtr #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id221598543254760\n" "help.text" msgid "String or Numeric" msgstr "" #. gtxJY #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id42159854325422\n" "help.text" msgid "String or array of strings" msgstr "" #. kBH32 #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id601598543254780\n" "help.text" msgid "The selected row(s) as a single string or an array of strings. Only a single value can be set. If the box is linked to a database, this property gets or sets the underlying data. Otherwise it gets or sets the data being displayed." msgstr "" #. f7EZX #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id461598543254909\n" "help.text" msgid "Numeric" msgstr "" #. DrhU9 #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id851598543254624\n" "help.text" msgid "Each button has its own name. Multiple RadioButton controls are linked together when they share the same group name. If a RadioButton is set to True, the other related buttons are automatically set to False" msgstr "" #. WEsqT #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id531598543254869\n" "help.text" msgid "Numeric" msgstr "" #. LxeLY #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id21598543254994\n" "help.text" msgid "Must be within the predefined bounds" msgstr "" #. mpoa7 #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id951616947400919\n" "help.text" msgid "Numeric" msgstr "" #. x6ZLt #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id48161694740085\n" "help.text" msgid "Must be within the predefined bounds" msgstr "" #. UZLYC #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id441598543254738\n" "help.text" msgid "The text appearing in the field" msgstr "" #. WBHoJ #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "hd_id421612628828054\n" "help.text" msgid "Event properties" msgstr "" #. tqnsA #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id41612629140856\n" "help.text" msgid "The properties below return or set URI strings that define the script triggered by the event." msgstr "" #. 7Azyz #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id961612628879819\n" "help.text" msgid "Name" msgstr "" #. N4btE #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id401612628879819\n" "help.text" msgid "ReadOnly" msgstr "Skriveverna" #. RXoDM #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id281612628879819\n" "help.text" msgid "Description as labeled in the Basic IDE" msgstr "Beskriving ut frå etiketten i Basic IDE" #. yhjPA #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id91612707166532\n" "help.text" msgid "No" msgstr "" #. HVTKN #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id291612707166258\n" "help.text" msgid "Execute action" msgstr "" #. T5CTw #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id79161270716675\n" "help.text" msgid "No" msgstr "" #. qs3LA #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id831612707166731\n" "help.text" msgid "While adjusting" msgstr "" #. vUbN6 #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id301616948330694\n" "help.text" msgid "No" msgstr "" #. PopWN #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id901616948330305\n" "help.text" msgid "Approve action" msgstr "" #. PmE7k #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id821616948330888\n" "help.text" msgid "No" msgstr "" #. rjQCJ #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id111616948330257\n" "help.text" msgid "Prior to reset" msgstr "" #. octLi #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id271616948330553\n" "help.text" msgid "No" msgstr "" #. D7yir #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id451616948330759\n" "help.text" msgid "Before updating" msgstr "" #. YM7Nt #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id71616948330769\n" "help.text" msgid "No" msgstr "" #. pHG54 #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id211616948330895\n" "help.text" msgid "Changed" msgstr "" #. UaRoN #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id121616948330654\n" "help.text" msgid "No" msgstr "" #. tfW7M #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id2216169483303\n" "help.text" msgid "Error occurred" msgstr "" #. vDFhJ #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id111612629836630\n" "help.text" msgid "No" msgstr "" #. NN9FK #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id1001612629836902\n" "help.text" msgid "When receiving focus" msgstr "" #. tLp7Y #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id291612629836294\n" "help.text" msgid "No" msgstr "" #. DDcCF #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id62161262983683\n" "help.text" msgid "When losing focus" msgstr "" #. EBVQM #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id51612707354544\n" "help.text" msgid "No" msgstr "" #. PLPUr #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id211612707354899\n" "help.text" msgid "Item status changed" msgstr "" #. zBci2 #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id81612629836634\n" "help.text" msgid "No" msgstr "" #. vPrAA #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id881612629836744\n" "help.text" msgid "Key pressed" msgstr "" #. 8cFqR #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id591612629836830\n" "help.text" msgid "No" msgstr "" #. 6rrBt #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id161612629836775\n" "help.text" msgid "Key released" msgstr "" #. 7Pzmy #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id891612629836630\n" "help.text" msgid "No" msgstr "" #. 2pMWG #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id461612629836679\n" "help.text" msgid "Mouse moved while key presses" msgstr "" #. SGYBr #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id131612629836291\n" "help.text" msgid "No" msgstr "" #. AJGQd #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id151612629836151\n" "help.text" msgid "Mouse inside" msgstr "" #. 6cFkB #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id211612629836725\n" "help.text" msgid "No" msgstr "" #. tfmtf #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id361612629836624\n" "help.text" msgid "Mouse outside" msgstr "" #. 6E7WA #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id311612629836481\n" "help.text" msgid "No" msgstr "" #. CeNku #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id721612629836752\n" "help.text" msgid "Mouse moved" msgstr "" #. iSxsS #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id981612629836116\n" "help.text" msgid "No" msgstr "" #. 9yirD #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id381612629836635\n" "help.text" msgid "Mouse button pressed" msgstr "" #. b6pFV #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id711612629836704\n" "help.text" msgid "No" msgstr "" #. D5vXU #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id35161262983642\n" "help.text" msgid "Mouse button released" msgstr "" #. 9Ui2H #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id31616948666215\n" "help.text" msgid "No" msgstr "" #. mdLSp #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id951616948666674\n" "help.text" msgid "After resetting" msgstr "" #. jb4at #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id811612707606330\n" "help.text" msgid "No" msgstr "" #. m3Rb7 #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id621612707606219\n" "help.text" msgid "Text modified" msgstr "" #. bfgkG #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id41616948721642\n" "help.text" msgid "No" msgstr "" #. imn6B #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id311616948721872\n" "help.text" msgid "After updating" msgstr "" #. tcpN5 #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id961618181634181\n" "help.text" msgid "To learn more about URI strings, refer to the Scripting Framework URI Specification." msgstr "" #. RpNkd #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id891611613601554\n" "help.text" msgid "List of Methods in the FormControl Service" msgstr "" #. CKZDf #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id161584541257982\n" "help.text" msgid "This method is applicable only to controls of the TableControl type. The returned value depends on the arguments provided." msgstr "" #. DB3PG #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id701618777636827\n" "help.text" msgid "If the optional argument controlname is absent, then a zero-based Array containing the names of all controls is returned." msgstr "" #. GgAeu #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id851618777715892\n" "help.text" msgid "On the other hand, if a controlname is provided, the method returns a FormControl class instance corresponding to the specified control." msgstr "" #. eoLJG #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id1001584541257789\n" "help.text" msgid "controlname: A valid control name as a case-sensitive string. If absent, the list of control names is returned as a zero-based array." msgstr "" #. F4Sdy #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "bas_id471618778075117\n" "help.text" msgid "' Returns an Array with the names of all controls in \"myTableControl\"" msgstr "" #. YoHSo #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id931618778110273\n" "help.text" msgid "' Returns a FormControl class instance corresponding to \"myCheckBox\"" msgstr "" #. AGA7Z #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id391622559441530\n" "help.text" msgid "Using Python:" msgstr "Med Python:" #. CprjV #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id871583933076448\n" "help.text" msgid "Sets the focus on the control. Returns True if focusing was successful." msgstr "Set fokus på kontrollelementet. Returner Sann viss fokuseringa lukkast." #. LuxFE #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id151598178880227\n" "help.text" msgid "This method is often called from a form or control event." msgstr "Denne metoden vert ofte kalla opp frå eit skjema eller ei kontrollhending." #. haAXC #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "hd_id141618777179310\n" "help.text" msgid "Additional examples" msgstr "Fleire eksempel" #. JopFS #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id331618777195723\n" "help.text" msgid "Below are two examples that illustrate the use of the FormControl service." msgstr "Nedanfor er det to eksempel som viser bruken av tenesta FormControl." #. 5iGmg #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id371618776324489\n" "help.text" msgid "The first example reads the current value in a ComboBox containing city names and writes it to a FixedTest control in a Form:" msgstr "Det første eksempelet les gjeldande verdi i ein kombinasjonsboks som inneheld bynamn, og skriv det til «FixedTest» i eit skjema:" #. 3eh6E #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "pyc_id991622562833004\n" "help.text" msgid "bas = CreateScriptService('ScriptForge.Basic') # Basic-like methods" msgstr "" #. 8jneo #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "pyc_id781622561048794\n" "help.text" msgid "lbl_city.Caption = \"Selected city: \" + combo_city.Value" msgstr "lbl_city.Caption = \"Vald by: \" + combo_city.Value" #. kz9SK #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id251618776614814\n" "help.text" msgid "The following code snippet can be used to process RadioButton controls that share the same group name. In this example, suppose there are three radio buttons with names optA, optB and optC and we wish to display the caption of the selected control." msgstr "Den neste kodesnutten kan brukast til å handsama radioknapp-kontrollar som har felles gruppenamn. I dette eksempelet går ein ut frå at det er tre radioknappar med namna optA, optB og optC og vi ønskjer å visa teksten for den valde kontrollen." #. hRhNC #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "bas_id251618776933304\n" "help.text" msgid "MsgBox \"Selected option: \" & optControl.Caption" msgstr "MsgBox \"Vald innstilling: \" & optControl.Caption" #. YnBgM #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "pyc_id991622562822004\n" "help.text" msgid "bas = CreateScriptService('ScriptForge.Basic') # Basic-like methods" msgstr "" #. TNTT9 #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "pyc_id441622562080419\n" "help.text" msgid "bas.MsgBox('Selected option: ' + control.Caption)" msgstr "" #. czP76 #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "tit\n" "help.text" msgid "Creating Python Scripts with ScriptForge" msgstr "Laga Python-skript med ScriptForge" #. 8BEWT #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "hd_id461623364876507\n" "help.text" msgid "Creating Python Scripts with ScriptForge" msgstr "Laga Python-skript med ScriptForge" #. 6JuA3 #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "hd_id361623410405420\n" "help.text" msgid "Differences between Basic and Python" msgstr "Skilnadar mellom Basic og Python" #. 3GzhB #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id41623410443946\n" "help.text" msgid "The ScriptForge library is available both for Basic and Python. Most services, methods and properties work identically in both programming languages. However, due to differences in how each language works, ScriptForge users must be aware of some characteristics of the library when using Python:" msgstr "" "Biblioteket ScriptForge er tilgjengeleg for både Basic og Python.\n" "Dei fleste tenester, metodar og eigenskapar fungerer på same måte i begge programmeringsspråka. På grunn av skilnadar i korleis kvart av språka fungerer, må brukarane av ScriptForge vera klar over nokre av eigenskapane ved bruk av Python:" #. HsKzK #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id551623410718241\n" "help.text" msgid "Methods and Property names: In Python, all methods and properties can be used in lowercased, ProperCased or camelCased formats." msgstr "Metodar og namn på eigenskapar: I Python kan alle metodar og eigenskapar brukast i format med små bokstavar, eigennamn eller camelCased." #. Rg29x #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id741623411104297\n" "help.text" msgid "Arguments: All keyword arguments passed on to methods are lowercased." msgstr "Argument: Alle argument-nøkkelord som vert sende vidare til metodar vert skrivne med små bokstavar." #. C6VCu #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id441623411216354\n" "help.text" msgid "Dates: All date objects are passed and returned as datetime.datetime native Python objects." msgstr "Datoar: Alle datoobjekt vert sende og returnerte som datetime.datetime opphavlege Python-objekt." #. FcX93 #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id891623411367669\n" "help.text" msgid "Arrays: One-dimensional arrays are passed and returned as tuples (which is an immutable object). Two-dimensional arrays are passed and returned as tuples of tuples." msgstr "Matriser: Eindimensjonale matriser vert sende og returnerte som tuplar (som er eit objekt som ikkje kan endrast). Todimensjonale matriser vert sende og returnerte som tuplar av tuplar." #. S6wwX #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id981623411507442\n" "help.text" msgid "None: Python's None keyword is equivalent to Basic's Null, Empty or Nothing." msgstr "Ingen: Pythonnøkkelordet None er likeverdige med Basic sine Null, Empty og Nothing." #. 2G2uk #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id21623411611447\n" "help.text" msgid "UNO objects: All UNO structures are exchanged between Basic and Python without any changes." msgstr "UNO-objekt: Alle UNO-strukturar kan utvekslast mellom Basic og Python utan endringar." #. WFDrN #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id651623412069496\n" "help.text" msgid "Debugging: Whenever an error occurs in Python scripts that use ScriptForge, the error message provided by the Python execution stack displays the line of code that triggered the error. In Basic error messages do not display this information." msgstr "Feilsøkjing: Når det oppstår ein feil i Python-skript som brukar ScriptForge, viser feilmeldinga frå Python-køyringsstakken kodelinja som utløyste feilen. I Basic-feilmeldingar vert denne informasjonen ikkje vist." #. cPtYB #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id31623411828158\n" "help.text" msgid "Visit %PRODUCTNAME Python Scripts Help for more information on Python scripting using %PRODUCTNAME." msgstr "" #. CZiTF #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "hd_id391623411150080\n" "help.text" msgid "Running Python scripts on %PRODUCTNAME" msgstr "Køyra Pythonskript i %PRODUCTNAME" #. 2j29F #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id411623364895100\n" "help.text" msgid "Depending on what you intend to achieve, you may choose one of the following approaches to running Python scripts in %PRODUCTNAME:" msgstr "Avhengig av kva du vil oppnå, kan du velja ein av desse måtane for å køyra Python-skript i %PRODUCTNAME:" #. XHP4Z #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id681623365274024\n" "help.text" msgid "Run Scripts inside the current %PRODUCTNAME process: Python scripts are executed from within the %PRODUCTNAME process by using the Tools - Macros - Run Macro menu or the APSO extension to call user scripts stored in the Python scripts folder. You can also use the APSO Python shell to interactively run Python scripts." msgstr "Køyra skript i gjeldande %PRODUCTNAME-prosess: Python-skript vert køyrde inne i %PRODUCTNAME-prosessen ved hjelp av menyen Verktøy → Makroar → Køyr makro eller APSO-utvidinga for å kalla opp brukarskript som er lagra i pythonskriptmapp. Du kan også bruka APSO Python-skalet til å køyra Python-skript interaktivt." #. pnXQT #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id761623365278133\n" "help.text" msgid "Run Scripts separately from the %PRODUCTNAME process: Python scripts are executed from an external process that connects to an ongoing %PRODUCTNAME process using a socket." msgstr "Køyra Pythonskript skilde frå %PRODUCTNAME-prosessen: Python-skript vert køyrde frå ein ekstern prosess som koplar seg til ein køyrande %PRODUCTNAME-prosess ved hjelp av ein sokkel." #. uyCPN #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id631623365667011\n" "help.text" msgid "If you plan to run scripts from inside the %PRODUCTNAME process, it is recommended to install the APSO (Alternative Script Organizer for Python) extension. However, to develop Python scripts from outside %PRODUCTNAME, you can choose your preferred Python IDE." msgstr "Viss du køyrer skript inne frå %PRODUCTNAME-prosessen, vert det tilrådd å installera utvidinga APSO (Alternative Script Organizer for Python). Viss du vil utvikla Python-skript utanfor %PRODUCTNAME, kan du velja den Python-IDE-en du likar best." #. R4Rfk #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "hd_id431623365836802\n" "help.text" msgid "Running Scripts from inside the %PRODUCTNAME process" msgstr "Å køyra skript frå innføre %PRODUCTNAME-prosessen" #. UFGaA #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "hd_id111623365861568\n" "help.text" msgid "Using the APSO extension" msgstr "Med APSO-utvidinga" #. GAQwg #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id681623365892513\n" "help.text" msgid "The easiest way to get started with Python scripting in %PRODUCTNAME is by installing the APSO extension. After installing it, open any %PRODUCTNAME component and go to Tools - Macros - Organize Python Scripts." msgstr "Den enklaste måten å koma i gang med Python-skripting i %PRODUCTNAME, er å installera APSO-utvidinga. Når du har installert ho, opnar du kva %PRODUCTNAME-komponent som helst og går til Verktøy → Makroar → Organiser Pythonskript." #. iXiDt #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id111623366334727\n" "help.text" msgid "In APSO's main window go to Menu - Python Shell." msgstr "I hovudvindauget for APSO går du til Meny → Python-skal." #. JBFa3 #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id931623366329927\n" "help.text" msgid "Alternatively you can open APSO using the default shortcut Alt + Shift + F11." msgstr "Du kan også opna APSO med standardsnarvegen Alt + Skift + F11." #. TKAXE #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id661623366478092\n" "help.text" msgid "Now you can start typing Python commands and the shell will print the corresponding output after each line of code is executed." msgstr "No kan du skriva inn Python-kommandoar. Skalet vil skriva ut dei tilsvarande utdataa når kvar kodelinje er utført." #. zGCxS #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id581623366559478\n" "help.text" msgid "To start using the ScriptForge library, you need to import the CreateScriptService method, with which you will be able to access the services provided by the library. The example below uses the Basic service to display a message box." msgstr "For å bruka biblioteket ScriptForge må du importera metoden CreateScriptService. Med denne har du tilgang til dei tenestene som biblioteket har. Eksempelet nedanfor brukar tenest Basic for å visa ein meldingsboks." #. F7c8N #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id701623366829587\n" "help.text" msgid "To run the example above, enter each line in the Python shell, one by one, pressing the Enter key after you type each line of code." msgstr "Viss du vil køyra eksempelet ovanfor, skriv du inn kvar linje i Python-skalet éi etter éi, og trykkjer Enter etter at du har skrive inn kvar kodelinje." #. 4PS26 #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id471623366906045\n" "help.text" msgid "Now you can start executing Python commands using any of the ScriptForge services. For example, the code snippet below uses the UI service to create a blank Writer document." msgstr "No kan du byrja å køyra Python-kommandoar ved hjelp av alle ScriptForge-tenestene. Kodesnutten nedanfor brukar for eksempel UI-tenesta til å laga eit tomt Writer-dokument." #. N5A9E #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "hd_id961623367376768\n" "help.text" msgid "Creating Python script files" msgstr "Oppretta Python skriptfiler" #. xqmvY #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id821623367433650\n" "help.text" msgid "You can create your own Python files and edit them with your preferred text editor. Later you can call them from within any %PRODUCTNAME component." msgstr "Du kan laga dine eigne Python-filer og redigera dei med det tekstredigeringsprogrammet du likar best. Seinare kan du kalla dei opp frå kva %PRODUCTNAME-komponent som helst." #. arDpS #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id51623367560321\n" "help.text" msgid "The first step is to locate where your user scripts are stored. For that, refer to Python Scripts Organization and Location help page." msgstr "Det første steget er å finna ut kvar brukarskripta er lagra. Sjå hjelpsidene Pythonskript, organisering og lokalisering." #. NdM4Y #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id821623367773032\n" "help.text" msgid "Now you can create a text file inside your Python user scripts folder, for instance sf_test.py, and start typing your scripts." msgstr "Nå kan du oppretta ei tekstfil i Python-brukarskriptmappa, for eksempel sf_test.py og byrja å skriva skripta dine." #. rFyBp #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id271623367917630\n" "help.text" msgid "Next is a simple example that gets the numeric value from a Calc cell and increments it by 1. Simply type the following code into the sf_test.py file." msgstr "Det neste er eit enkelt eksempel som hentar talverdien frå ei Calc-celle og aukar denne med 1. Berre skriv inn denne koden i fila sf_test.py." #. EQxF2 #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id171623368511426\n" "help.text" msgid "This example creates the increment_cell function. Note that g_exportedScripts is a tuple that tells which functions will be displayed in %PRODUCTNAME as user scripts." msgstr "Dette eksempelet opprettar funksjonen increment_cell. Merk at g_exportedScripts er ein tuple som fortel kva funksjonar som vert viste i %PRODUCTNAME som brukar-skript." #. UUnv4 #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id471623368615244\n" "help.text" msgid "To run this script from within a Calc document:" msgstr "Slik køyrer du dette skriptet frå eit Calc-dokument:" #. FynYm #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id811623368677444\n" "help.text" msgid "Create or open a Calc file." msgstr "Lag eller opna ei Calc-fil." #. qdWEL #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id281623368679141\n" "help.text" msgid "Enter some numeric value into cell \"A1\" in the current sheet." msgstr "Skriv inn nokre talverdiar i cella «A1» i det gjeldande arket." #. bFQSh #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id111623368679893\n" "help.text" msgid "Go to Tools - Macros - Run Macros ." msgstr "Gå til menyen Verktøy → Makroar → Køyr makro." #. HkBwz #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id421623368680565\n" "help.text" msgid "Choose My Macros - sf_test in the library selector. Then choose the increment_cell function under the Macro Name list." msgstr "Vel «Mine makroar» → «sf_test» i bibliotekveljaren. Vel så funksjonen increment_cell i lista Makronamn." #. FPZD6 #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id131623368875763\n" "help.text" msgid "Click Run. Note that the value in cell \"A1\" was incremented by 1." msgstr "Trykk på Run. Merk at verdien i cella «A1» vert auka med 1." #. 9FozC #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id781623368934689\n" "help.text" msgid "You can also use APSO to run Python scripts in a similar manner:" msgstr "Du kan også bruka APSO for å køyra Python-skript på ein liknande måte:" #. Lyyxc #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id501623369002537\n" "help.text" msgid "First open APSO by going to Tools - Macros - Organize Python Scripts." msgstr "Opna først APSO ved å gå til Verktøy → Makroar → Organiser Python-skript." #. ayPs5 #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id521623369004825\n" "help.text" msgid "In the macro list, navigate to My Macros - sf_test - increment_cell." msgstr "Naviger til Mine makroar → sf_test → increment_cell på makrolista ." #. WaGHv #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id101623369005929\n" "help.text" msgid "Click Execute." msgstr "Trykk på Køyr." #. ujB4e #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "hd_id531623369208159\n" "help.text" msgid "Running Scripts separately from the %PRODUCTNAME process" msgstr "Å køyra skript uavhengig av %PRODUCTNAME-prosessen" #. 9yG9z #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "hd_id261623370168228\n" "help.text" msgid "Determining the Installation Path" msgstr "Bestemma installasjonsstien" #. 2ijCM #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id261623369722023\n" "help.text" msgid "The first step to run scripts from a separate process is to find the folder where %PRODUCTNAME is installed. There are several ways to do that, but ScriptForge provides a quick way to identify your installation path. For that, open APSO's Python shell and type:" msgstr "Det første steget for å køyra skript frå ein uavhengig prosess, finn du i mappa der %PRODUCTNAME er installert. Det er fleire måtar å gjere dette på, men ScriptForge har ein rask måte å identifisera installasjonsstien på. Opna APSO sitt Python-skal og skriv:" #. UEwkB #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id81623370150730\n" "help.text" msgid "The output from the code above is the base directory where %PRODUCTNAME is installed. Now you need to add the \"program\" subfolder to the resulting path. This is the base folder from which you will run Python scripts from a separate process." msgstr "Utdataa frå koden ovanfor er basismappa der %PRODUCTNAME er installert. Nå må du leggja til «program»-undermappa i den resulterande stien. Dette er basismappa du vil køyra Python-skript frå i ein uavhengig prosess." #. EvDcx #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id451623370201479\n" "help.text" msgid "For example, suppose you get /usr/lib/libreoffice/ as the result from running the Python code above. Then you need to consider /usr/lib/libreoffice/program as the path to run your Python scripts." msgstr "Gå for eksempel ut frå at du får /usr/lib/libreoffice/ som resultat av å køyra Python-koden ovanfor. Så får du vurdera om /usr/lib/libreoffice/program er den beste stien å køyra Python-skripta frå." #. 6EYGe #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "hd_id231623370501084\n" "help.text" msgid "Start %PRODUCTNAME with socket settings" msgstr "Start %PRODUCTNAME med sokkel-instillingar" #. F94mp #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id721623369245475\n" "help.text" msgid "To run Python scripts from a separate process, you need to start %PRODUCTNAME with a few additional options that specify the hostname and port through which the external process will communicate with the %PRODUCTNAME component process." msgstr "Viss du vil køyra Python-skript frå ein eigen prosess, må du starta %PRODUCTNAME med nokre få tilleggsinnstillingar som spesifiserer vertsnamnet og porten som den eksterne prosessen skal kommunisera med komponentprosessen %PRODUCTNAME gjennom." #. mfbEM #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id221623369584132\n" "help.text" msgid "Open the your operating system's command prompt, navigate to the program folder of your %PRODUCTNAME installation directory and type:" msgstr "Opna kommandolinja for operativsystemet, finn fram til programmappa i installasjonsmappa for %PRODUCTNAME og skriv inn:" #. 6hDm4 #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id981623370706743\n" "help.text" msgid "The command above will start %PRODUCTNAME with a communication channel open so that other processes can exchange messages with it." msgstr "Kommandoen ovanfor startar %PRODUCTNAME med ein kommunikasjonskanal open, slik at andre prosessar kan utveksla meldingar med han." #. SB5LE #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id621623370871360\n" "help.text" msgid "Note that the previous example opens %PRODUCTNAME start center. If you want to open a specific component, for instance Writer, you can add the --writer flag to the command, as follows." msgstr "Legg merke til at det førre eksempelet opnar startsenteret for %PRODUCTNAME. Viss du vil opna ein bestemt komponent, for eksempel Writer, kan du leggja til --writer-flagget i kommandoen som vist nedanfor." #. cVRuV #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id431623373618951\n" "help.text" msgid "Take note of the host and port parameters, which in this example are localhost and 2021, respectively." msgstr "Legg merkje til parametera host og port, som i dette eksempelet er localhost og 2021." #. Z7z5C #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "hd_id861623370468356\n" "help.text" msgid "Running an External Python Shell" msgstr "Køyra eit eksternt Python-skal" #. eBmVz #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id621623371253647\n" "help.text" msgid "Start the Python shell from within the program folder inside your %PRODUCTNAME installation path. Follow the steps above to learn how to find your installation path." msgstr "" "Opna Python-skalet frå mappa program i installasjonsstien for %PRODUCTNAME. Følj stega\n" " ovanfor for å læra å finna installasjonsstien." #. 69F7S #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id11623373098602\n" "help.text" msgid "On Linux / Mac OS:" msgstr "I Linux / Mac OS:" #. PFWiq #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id311623373151552\n" "help.text" msgid "On Windows:" msgstr "I Windows:" #. HGBuK #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id791623373520018\n" "help.text" msgid "This will open the Python shell and now you can start typing commands that will be executed by %PRODUCTNAME. But first you need to set up the socket connection." msgstr "Dette opnar Python-skalet slik at du kan byrja å skriva inn kommandoar som skal køyrast av %PRODUCTNAME. Men først må du setja opp sokkelkoplinga." #. s54tE #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id351623373686414\n" "help.text" msgid "The second line of code above defines the host and port settings so that the Python shell can communicate with an ongoing %PRODUCTNAME process opened with the same socket settings." msgstr "Den andre kodelinja ovanfor definerer innstillingane host og port slik at Python-skalet kan kommunisera med ein køyrande %PRODUCTNAME-prosess som er opna med dei same sokkelinnstillingane." #. RiXDx #: sf_intro.xhp msgctxt "" "sf_intro.xhp\n" "par_id721623373769471\n" "help.text" msgid "Now you can run other Python commands and they will be able to communicate with the %PRODUCTNAME process. For example:" msgstr "No kan du køyra andre Python-kommandoar, og dei vil kunna kommunisera med %PRODUCTNAME-prosessen. For eksempel:" #. VCRTD #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "tit\n" "help.text" msgid "ScriptForge.L10N service" msgstr "Tenesta ScriptForge.L10N" #. q7BSh #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "hd_id521585843652750\n" "help.text" msgid "ScriptForge.L10N service" msgstr "Tenesta ScriptForge.L10N" #. FRAiJ #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id411585843652556\n" "help.text" msgid "This service provides a number of methods related to the translation of strings with minimal impact on the program's source code. The methods provided by the L10N service can be used mainly to:" msgstr "Denne tenesta inneheld ei rekkje metodar knytt til omsetjinga av strengar med minimal innverknad på kjeldekodane for programmet. Metodane som er leverte av tenesta L10N kan i hovudsak brukast til å:" #. gw2rW #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id601614351922212\n" "help.text" msgid "Create POT files that can be used as templates for translation of all strings in the program." msgstr "Laga POT-filer som kan brukast som malar for omsetjing av alle strengane i programmet." #. sbVQL #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id131614352196513\n" "help.text" msgid "Get translated strings at runtime for the language defined in the Locale property." msgstr "Henta omsette strengar under køyringa for det språket som er definert i eigenskapen Locale." #. kCrgU #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id971614966420419\n" "help.text" msgid "The acronym L10N stands for Localization and refers to a set of procedures for translating software to a specific country or region." msgstr "Akronymet L10N står for lokalisering og refererer til eit sett med prosedyrar for oversetting av programvare til eit bestemt land eller region." #. supr5 #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id291585843652438\n" "help.text" msgid "PO files have long been promoted in the free software community as a means to providing multilingual user interfaces. This is accomplished through the use of human-readable text files with a well defined structure that specifies, for any given language, the source language string and the localized string." msgstr "PO-filer har lenge vore promoterte i det gratis programvarefellesskapet som eit middel for å levera fleirspråklege brukargrensesnitt. Dette vert oppnådd ved bruk av lesbare tekstfiler med ein veldefinert struktur som for eit gjeve språk spesifiserer kjeldespråkstrengen og den lokaliserte strengen." #. j6xsd #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id181585843652814\n" "help.text" msgid "The main advantage of the PO format is dissociation of the programmer and the translator. PO files are independent text files, so the programmer can send POT template files to translators, who will then translate their contents and return the translated PO files for each supported language." msgstr "Den største fordelen med PO-formatet er åtskiljinga av programmeraren og omsetjaren. PO-filer er uavhengige tekstfiler, slik at programmeraren kan senda POT-malfiler til omsetjarar, som deretter vil omsetja innhaldet og returnere dei omsette PO-filene for kvart støtta språk." #. iBQxR #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id811614352321187\n" "help.text" msgid "The L10N service is based on the GNU implementation of PO (portable object) files. To learn more about this file format, visit GNU gettext Utilities: PO Files." msgstr "Tenesta L10N er basert på GNU-implementering av PO (portable object)-filer. Du kan finna meir om dette filformat i GNU gettext Utilities: PO Files." #. DGiG9 #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id91585843652832\n" "help.text" msgid "This service implements the methods listed below:" msgstr "" #. fBXDW #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id1158584365237\n" "help.text" msgid "AddText: Used by the programmer to build a set of strings that will be translated later." msgstr "AddText (Legg til tekst): Vert brukt av programmeraren til å byggja eit sett med strengar som skal omsetjast seinare." #. BtuQ3 #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id81637866601151\n" "help.text" msgid "AddTextsFromDialog: Extracts all strings from a Dialog service instance." msgstr "" #. cm7fq #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id681585843652331\n" "help.text" msgid "ExportToPOTFile: Exports the strings added by the AddText method to a POT file." msgstr "ExportToPOTFile-fil (EksporterTilPOT-fil): Eksporterer strengar lagt til med metoden AddText til ei POT-fil." #. Z7dU5 #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id531585843652697\n" "help.text" msgid "GetText: Gets the translated strings at runtime." msgstr "GetText (HentTekst): Hentar dei omsette strengane under køyringa." #. D4Fyf #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id361614361362393\n" "help.text" msgid "Note that the first two methods are used to build a set of translatable strings and export them to a POT file. However, it is not mandatory to create POT files using these methods. Since they are text files, the programmer could have created them using any text editor." msgstr "Legg merkje til at dei to første metodane vert brukte til å byggja eit sett med overførbare strengar og eksportera dei til ei POT-fil. Det er likevel ikkje heilt nødvendig å laga POT-filer ved hjelp av desse metodane. Sidan dei er tekstfiler, kunne programmeraren ha laga dei ved hjelp av kva tekstredigeringsprogram som helst." #. Rn7FL #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "hd_id351585843652312\n" "help.text" msgid "Service invocation" msgstr "Oppkall av tenester" #. 2WXAQ #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id141609955500101\n" "help.text" msgid "Before using the L10N service the ScriptForge library needs to be loaded or imported:" msgstr "" #. 9xE8t #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id421614353247163\n" "help.text" msgid "There are several ways to invoke the L10N service using up to five optional arguments that specify the folder where PO files are stored, the locale and encoding to be used, as well as a fallback PO file and its encoding." msgstr "" #. cCwBS #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id331585843652877\n" "help.text" msgid "foldername: The folder containing the PO files. It must be expressed in the FileSystem.FileNaming notation." msgstr "" #. oQD4m #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id581585843652789\n" "help.text" msgid "locale: A string in the form \"la-CO\" (language-COUNTRY) or in the form \"la\" (language) only." msgstr "" #. gswGR #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id591646219881864\n" "help.text" msgid "encoding: The character set to be used. The default encoding is \"UTF-8\"." msgstr "" #. CXd3e #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id281646219882464\n" "help.text" msgid "locale2: A string specifying the fallback locale to be used in case the PO file corresponding to the locale defined the locale parameter does not exist. This parameter is expressed in the form \"la-CO\" (language-COUNTRY) or \"la\" (language) only." msgstr "" #. TaFFX #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id881646219882951\n" "help.text" msgid "encoding2: The character set of the fallback PO file corresponding to the locale2 argument. The default encoding is \"UTF-8\"." msgstr "" #. wbSFz #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id141613001281573\n" "help.text" msgid "To learn more about the names of character sets, visit IANA's Character Set page. Beware that %PRODUCTNAME does not implement all existing character sets." msgstr "" #. 3ApdD #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id891614358528334\n" "help.text" msgid "The following example instantiates the L10N service without any optional arguments. This will only enable the AddText and ExportToPOTFile methods, which is useful for creating POT files." msgstr "" #. rFfgF #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id611614358672609\n" "help.text" msgid "The example below specifies the folder containing the PO files. Because the locale is not defined, the service instance will use the locale defined for the %PRODUCTNAME user interface, which is the same locale defined in the OfficeLocale property of the Platform service." msgstr "" #. FewYJ #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id391625855630975\n" "help.text" msgid "The example above will result in an runtime error if the PO file corresponding to the OfficeLocale locale does not exist in the specified folder." msgstr "" #. gSzLN #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id321614358809763\n" "help.text" msgid "In the example below, the locale is explicitly defined to be Belgian French (\"fr-BE\"), hence the service will load the file \"fr-BE.po\" from the folder \"C:\\myPOFiles\". If the file does not exist, an error will occur." msgstr "" #. WpYLF #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id271646220649616\n" "help.text" msgid "To avoid errors, it is possible to specify a preferred and a fallback locale and encoding. The following example will first try to load the file \"fr-BE.po\" from the specified folder and if it does not exist, the file \"en-US.po\" will be loaded." msgstr "" #. UGFWB #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id411585843652496\n" "help.text" msgid "PO files must be named in the form \"la-CO.po\" or \"la.po\", where \"la\" refers to the language and \"CO\" is the country. Some examples are: \"en-US.po\", \"fr-BE.po\" or \"fr.po\"." msgstr "PO-filer må namngjevast i forma «sp-LA.po» eller «sp.po», der «sp» refererer til språket og «LA» er landet. Nokre eksempel er: «en-US.po», «fr-BE.po» eller «fr.po»." #. zQhHX #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id171585843652545\n" "help.text" msgid "It is recommended to free resources after use:" msgstr "Det vert tilrådd å frigje ressursar etter bruk:" #. CmhnJ #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id281625854773330\n" "help.text" msgid "The examples above can be translated to Python as follows:" msgstr "" #. Z5Pb3 #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id301614358956087\n" "help.text" msgid "Several instances of the L10N service may coexist. However, each instance must use a separate directory for its PO files." msgstr "Det kan vera fleire tilfelle av tenesta L10N i same eining. Kvar førekomst skal likevel ha ei særskild mappe til PO-filene." #. 6mcLb #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "hd_id561585843652465\n" "help.text" msgid "Properties" msgstr "Eigenskapar" #. mJaFd #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id181585843652958\n" "help.text" msgid "Name" msgstr "Namn" #. FFbDK #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id741585843652162\n" "help.text" msgid "Readonly" msgstr "Skriveverna" #. X3tJK #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id291585843652823\n" "help.text" msgid "Type" msgstr "Type" #. 8ECBX #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id351585843652638\n" "help.text" msgid "Description" msgstr "Beskriving" #. j3wEj #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id451585843652928\n" "help.text" msgid "Yes" msgstr "Ja" #. uED9S #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id751585843652642\n" "help.text" msgid "The folder containing the PO files (see the FileSystem.FileNaming property to learn about the notation used)." msgstr "Mappa som inneheld PO-filene (sjå eigenskapen FileSystem.FileNaming (FileSystem.FilnaNaming) for å læra meir om den brukte notasjonen)." #. Zsp7p #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id96158584365279\n" "help.text" msgid "Yes" msgstr "Ja" #. vdfiw #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id331585843652912\n" "help.text" msgid "A zero-based array listing all the base names (without the \".po\" extension) of the PO-files found in the specified Folder." msgstr "Ei nullbasert matrise som viser alle basisnamna (utan filtypen «po») for PO-filene som finst i den gjevne Mappa." #. NWxhu #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id961585843652589\n" "help.text" msgid "Yes" msgstr "Ja" #. LSNA3 #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id561585843652947\n" "help.text" msgid "The currently active language-COUNTRY combination. This property will be initially empty if the service was instantiated without any of the optional arguments." msgstr "Den gjeldande språk-LAND-kombinasjonen. Denne eigenskapen vil i utgangspunktet vera tom viss tenesta byrja utan nokre av dei valfrie argumenta." #. 5cs7h #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id231614360519973\n" "help.text" msgid "List of Methods in the L10N Service" msgstr "Liste over metodar i tenesta L10N" #. Q24j9 #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id1001585843652271\n" "help.text" msgid "Adds a new entry in the list of localizable strings. It must not exist yet." msgstr "Legg til ei ny oppføring i lista over strengar som kan lokaliserast. Oppføringa må ikkje finnast frå før." #. 5Fs5v #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id641625855725050\n" "help.text" msgid "The method returns True if successful." msgstr "" #. gyUYQ #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id391585843652753\n" "help.text" msgid "context: The key to retrieve the translated string with the GetText method. This parameter has a default value of \"\"." msgstr "" #. YVUWx #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id581585844419114\n" "help.text" msgid "msgid: The untranslated string, which is the text appearing in the program code. It must not be empty. The msgid becomes the key to retrieve the translated string via GetText method when context is empty." msgstr "" #. 7FDE9 #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id311614361926844\n" "help.text" msgid "The msgid string may contain any number of placeholders (%1 %2 %3 ...) for dynamically modifying the string at runtime." msgstr "" #. ioGmP #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id541585844475331\n" "help.text" msgid "comment: Optional comment to be added alongside the string to help translators." msgstr "" #. TAyPG #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id461614364298440\n" "help.text" msgid "The example below creates a set of strings in English:" msgstr "Eksempelet nedanfor lagar eit sett med strengar på engelsk:" #. rWt7U #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id1001585843659821\n" "help.text" msgid "Automatically extracts strings from a dialog and adds them to the list of localizable text strings. The following strings are extracted:" msgstr "" #. bS7ZL #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id621637863440015\n" "help.text" msgid "The title of the dialog." msgstr "" #. EBFAC #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id61637863440399\n" "help.text" msgid "The caption of the following control types: Button, CheckBox, FixedLine, FixedText, GroupBox and RadioButton." msgstr "" #. uCL85 #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id251637863440626\n" "help.text" msgid "Static strings in ListBoxes and ComboBoxes." msgstr "" #. HWkAU #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id811637863596791\n" "help.text" msgid "The tooltip or help text displayed when the mouse hovers over the control." msgstr "" #. gKbEN #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id641625855723650\n" "help.text" msgid "The method returns True if successful." msgstr "" #. Kcowa #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id731637863894577\n" "help.text" msgid "The dialog from which strings will be extracted must not be open when the method is called." msgstr "" #. 75EGY #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id911637864050221\n" "help.text" msgid "When a L10N service instance is created from an existing PO file, use the GetTextsFromL10N method from the Dialog service to automatically load all translated strings into the dialog." msgstr "" #. ejhbN #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id391585843652113\n" "help.text" msgid "dialog: a Dialog service instance corresponding to the dialog from which strings will be extracted." msgstr "" #. QzWzG #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id461614364298983\n" "help.text" msgid "The following example extracts all strings from the dialog \"MyDialog\" stored in the \"Standard\" library and exports them to a POT file:" msgstr "" #. DqFBf #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id281586102707242\n" "help.text" msgid "Exports a set of untranslated strings as a POT file." msgstr "Eksporterer eit sett med ikkje omsette strengar som ei POT-fil." #. NABBq #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id711586102939257\n" "help.text" msgid "To build a set of strings you can use either a succession of AddText method calls, or by a successful invocation of the L10N service with the foldername argument present. It is also possible to use a combination of both techniques." msgstr "" #. Pb4VF #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id641625855725141\n" "help.text" msgid "The method returns True if successful." msgstr "" #. BsmCX #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id31586102707537\n" "help.text" msgid "filename: The output file in FileSystem.FileNaming notation." msgstr "" #. jQV77 #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id851586102707579\n" "help.text" msgid "header: Comments that will be added on top of the generated POT file." msgstr "" #. YhYbQ #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id111614364686973\n" "help.text" msgid "Do not include any leading \"#\" characters. If you want the header to be broken into multiple lines, insert escape sequences (\\n) where relevant. A standard header will be added alongside the text specified in the header argument." msgstr "" #. E2Loj #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id5158610270728\n" "help.text" msgid "encoding: The character set to be used (Default = \"UTF-8\")." msgstr "" #. uDu7z #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id581614364494235\n" "help.text" msgid "The generated file should successfully pass the msgfmt --check GNU command." msgstr "Den genererte fila må bestå GNU-kommandoen msgfmt --check." #. 32fPj #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id891586165768715\n" "help.text" msgid "Gets the translated string corresponding to the given msgid argument." msgstr "" #. NzGZC #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id291614365296959\n" "help.text" msgid "A list of arguments may be specified to replace the placeholders (%1, %2, ...) in the string." msgstr "Det kan setjast opp ei liste over argument som kan erstatta plasshaldarane (%1, %2, ...) i strengen." #. 9DBFa #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id231586166181909\n" "help.text" msgid "If no translated string is found, the method returns the untranslated string after replacing the placeholders with the specified arguments." msgstr "Viss det ikkje finst ein omsett streng, returnerer metoden den ikkje-omsette strengen etter å ha bytt ut plasshaldarane med dei gjevne argumenta." #. bAcmJ #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id871586352505927\n" "help.text" msgid "This method can be called either by the full name GetText or by the shortcut _ (a single underscore):" msgstr "Denne metoden kan kallast opp anten ved hjelp av det fullstendige namnet GetText eller med snarvegen _ (eit enkelt understrekingsteikn):" #. mvB66 #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id421614967136502\n" "help.text" msgid "In the ScriptForge library, all methods starting with the \"_\" character are reserved for internal use only. However, the shortcut _ used for GetText is the only exception to this rule, hence it can be safely used in Basic and Python scripts." msgstr "" #. 2ZVAQ #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id51586165768525\n" "help.text" msgid "msgid: The untranslated string, which is the text appearing in the program code. It must not be empty. It may contain any number of placeholders (%1 %2 %3 ...) that can be used to dynamically insert text at runtime." msgstr "" #. dALxK #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id11614365537450\n" "help.text" msgid "Besides using a single msgid string, this method also accepts the following formats:" msgstr "" #. Q7Bbm #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id961614365557277\n" "help.text" msgid "The context string with which the method will retrieve the msgid in the PO file, or;" msgstr "" #. rTDrq #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id981614365589866\n" "help.text" msgid "A combination context|msgid, instructing the method to retrieve the msgid using specified context value. The second part of the argument is used to improve code readability." msgstr "" #. dW6RE #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id571586165768106\n" "help.text" msgid "args: Values to be inserted into the placeholders. Any variable type is allowed, however only strings, numbers and dates will be considered." msgstr "" #. cCZDK #: sf_l10n.xhp msgctxt "" "sf_l10n.xhp\n" "par_id701614365961454\n" "help.text" msgid "Consider the following code is running on a %PRODUCTNAME installation with locale set to \"es-ES\". Additionally, there is a file \"es-ES.po\" inside the specified folder that translates the string passed to the GetText method:" msgstr "Gå ut frå at denne koden køyrer på ein %PRODUCTNAME-installasjon med nasjonale innstillingar sett til «es-ES». I tillegg er det ei fil «es-ES.po» inne i den gjevne mappa som omset strengen som vert sendt til metoden GetText:" #. yD78g #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "tit\n" "help.text" msgid "SFWidgets.Menu service" msgstr "" #. F5KPb #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "bm_id681600788076499\n" "help.text" msgid "SFWidgets.Menu service" msgstr "" #. FqGPg #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id181600788076612\n" "help.text" msgid "The Menu service can be used to create and remove menus from the menubar of a %PRODUCTNAME document window. Each menu entry can be associated with a script or with a UNO command. This service provides the following capabilities:" msgstr "" #. UYDdv #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id301600788076785\n" "help.text" msgid "Creation of menus with custom entries, checkboxes, radio buttons and separators." msgstr "" #. KB9XF #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id1001600788076848\n" "help.text" msgid "Decoration of menu items with icons and tooltips." msgstr "" #. JSwJW #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id581643133675012\n" "help.text" msgid "Menus created with this service are available only for a specified document window. They are not saved into the document or as application settings. Closing and opening the document will restore the default menubar settings." msgstr "" #. FEfWE #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id291643224925643\n" "help.text" msgid "When OLE objects such as Math formulas or Calc charts are edited from within a document, %PRODUCTNAME reconfigures the menubar according to the object. When this happens, the menus created with the Menu service are removed and are not be restored after editing the OLE object." msgstr "" #. GftK9 #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "hd_id281600788076359\n" "help.text" msgid "Service invocation" msgstr "" #. o7QCg #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id141609955500101\n" "help.text" msgid "Before using the Menu service the ScriptForge library needs to be loaded or imported:" msgstr "" #. DzDmt #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id321614902851541\n" "help.text" msgid "The Menu service is instantiated by calling the CreateMenu method from the Document service. The code snippet below creates a menu named My Menu in the current document window with two entries Item A and Item B." msgstr "" #. pf7FV #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "bas_id261643134374056\n" "help.text" msgid "Set oMenu = oDoc.CreateMenu(\"My Menu\")" msgstr "" #. Hoh4Q #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "bas_id431643134582213\n" "help.text" msgid ".AddItem(\"Item A\", Command := \"About\")" msgstr "" #. u52BY #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "bas_id571643134582396\n" "help.text" msgid ".AddItem(\"Item B\", Script := \"vnd.sun.star.script:Standard.Module1.ItemB_Listener?language=Basic&location=application\")" msgstr "" #. nd5od #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id371643135157996\n" "help.text" msgid "After creating the menu, it is recommended to call the Dispose method to free the resources used by the Menu service instance." msgstr "" #. 2VDkD #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id341636718182262\n" "help.text" msgid "In the example above, Item A is associated with the UNO command .uno:About whereas Item B is associated with the script ItemB_Listener defined in Module1 of the Standard library of the My Macros container." msgstr "" #. 9G7de #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id851635274721129\n" "help.text" msgid "The following example defines ItemB_Listener that will be called when Item B is clicked. This listener simply splits the argument string passed to the Sub and shows them in a message box." msgstr "" #. AFHBG #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "bas_id716431354225603\n" "help.text" msgid "' Process the argument string passed to the listener" msgstr "" #. GzLwF #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "bas_id901643135423012\n" "help.text" msgid "MsgBox \"Menu name: \" & sArgs(0) & Chr(13) & _" msgstr "" #. qGB7L #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "bas_id301643136028263\n" "help.text" msgid "\"Menu item: \" & sArgs(1) & Chr(13) & _" msgstr "" #. wFTww #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "bas_id181643136028557\n" "help.text" msgid "\"Item ID: \" & sArgs(2) & Chr(13) & _" msgstr "" #. 9SGVd #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "bas_id561643136028710\n" "help.text" msgid "\"Item status: \" & sArgs(3)" msgstr "" #. MQJ7M #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id531636493797707\n" "help.text" msgid "As shown in the example above, menu entries associated with a script receive a comma-separated string argument with the following values:" msgstr "" #. uprfo #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id921643136489994\n" "help.text" msgid "The toplevel name of the menu." msgstr "" #. 7Jxz9 #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id611643136491059\n" "help.text" msgid "The string ID of the selected menu entry." msgstr "" #. hENoG #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id961643136491491\n" "help.text" msgid "The numeric ID of the selected menu entry." msgstr "" #. nYABy #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id381643136494580\n" "help.text" msgid "The current state of the menu item. This is useful for checkboxes and radio buttons. If the item is checked, the value \"1\" is returned, otherwise \"0\" is returned." msgstr "" #. HHjiV #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id131635275172617\n" "help.text" msgid "The examples above can be written in Python as follows:" msgstr "" #. 6LQF4 #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "pyc_id981636717957632\n" "help.text" msgid "msg = f\"Menu name: {s_args[0]}\\n\"" msgstr "" #. GPKGe #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "pyc_id851636718008427\n" "help.text" msgid "msg += f\"Menu item: {s_args[1]}\\n\"" msgstr "" #. EfEaE #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "pyc_id331636727047102\n" "help.text" msgid "msg += f\"Item ID: {s_args[2]}\\n\"" msgstr "" #. FPzcf #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "pyc_id71643137333404\n" "help.text" msgid "msg += f\"Item status: {s_args[3]}\"" msgstr "" #. XxChZ #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "hd_id711600788076834\n" "help.text" msgid "Properties" msgstr "" #. 98USM #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id461600788076917\n" "help.text" msgid "Name" msgstr "" #. fT8mQ #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id221600788076591\n" "help.text" msgid "Readonly" msgstr "" #. DGBgA #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id761600788076328\n" "help.text" msgid "Type" msgstr "" #. 2EE9k #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id67160078807636\n" "help.text" msgid "Description" msgstr "" #. qnRDA #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id49160078807654\n" "help.text" msgid "No" msgstr "" #. LE27e #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id81600788076419\n" "help.text" msgid "Character used to define the access key of a menu item. The default character is \"~\"." msgstr "" #. GSJAG #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id311600788076756\n" "help.text" msgid "No" msgstr "" #. fb3iG #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id441600788076826\n" "help.text" msgid "Character or string that defines how menu items are nested. The default character is \">\"." msgstr "" #. bDCZ8 #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "hd_id181636719707892\n" "help.text" msgid "Menu and Submenus" msgstr "" #. YE5FL #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id741636719725402\n" "help.text" msgid "To create a menu with submenus, use the character defined in the SubmenuCharacter property while creating the menu entry to define where it will be placed. For instance, consider the following menu/submenu hierarchy." msgstr "" #. Y4ETY #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id211636720111489\n" "help.text" msgid "The code below uses the default submenu character \">\" to create the menu/submenu hierarchy defined above:" msgstr "" #. WkCis #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id121636721243578\n" "help.text" msgid "The string \"---\" is used to define line separators in menus or submenus." msgstr "" #. CYbLC #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "hd_id501582887473754\n" "help.text" msgid "Methods" msgstr "" #. Lofgb #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id891611613601554\n" "help.text" msgid "List of Methods in the Menu Service" msgstr "" #. aDqJH #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id93158919969864\n" "help.text" msgid "Inserts a check box in the menu. Returns an integer value that identifies the inserted item." msgstr "" #. T8Fkq #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id821591631203996\n" "help.text" msgid "menuitem: Defines the text to be displayed in the menu. This argument also defines the hierarchy of the item inside the menu by using the submenu character." msgstr "" #. SkMmC #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id821591631203116\n" "help.text" msgid "name: String value used to identify the menu item. By default, the last component of the menu hierarchy is used." msgstr "" #. 7zhpM #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id821591631203133\n" "help.text" msgid "status: Defines whether the item is selected when the menu is created (Default = False)." msgstr "" #. JPboo #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id11636721653313\n" "help.text" msgid "icon: Path and name of the icon to be displayed without the leading path separator. The actual icon shown depends on the icon set being used." msgstr "" #. YzJwB #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id11636721653208\n" "help.text" msgid "tooltip: Text to be displayed as tooltip." msgstr "" #. 3WPXT #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id11636721653328\n" "help.text" msgid "command: The name of a UNO command without the .uno: prefix. If the command name does not exist, nothing happens." msgstr "" #. LaF26 #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id11636721653107\n" "help.text" msgid "script: The URI for a Basic or Python script that will be executed when the item is clicked." msgstr "" #. PTXhK #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id31643198954204\n" "help.text" msgid "The arguments command and script are mutually exclusive, hence only one of them can be set for each menu item." msgstr "" #. 7fb2n #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id31643148484084\n" "help.text" msgid "Read Scripting Framework URI Specification to learn more about the URI syntax used in the script argument." msgstr "" #. Aj8cF #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "bas_id191643306748853\n" "help.text" msgid "' Menu entry associated with the .uno:Paste command" msgstr "" #. gQCkK #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "bas_id271643147793320\n" "help.text" msgid "' Runs the Basic script Standard.Module1.MyListener stored in the document" msgstr "" #. 5fxEG #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "bas_id801643306742620\n" "help.text" msgid "' Runs the Python script MyListener located in file myScripts.py in the user scripts folder" msgstr "" #. uAbp9 #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id93158919963364\n" "help.text" msgid "Inserts a label entry in the menu. Returns an integer value that identifies the inserted item." msgstr "" #. tCHcD #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id821591631203021\n" "help.text" msgid "menuitem: Defines the text to be displayed in the menu. This argument also defines the hierarchy of the item inside the menu by using the submenu character." msgstr "" #. yFQns #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id821591631203026\n" "help.text" msgid "name: String value to be returned when the item is clicked. By default, the last component of the menu hierarchy is used." msgstr "" #. DMEeJ #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id11636721652886\n" "help.text" msgid "icon: Path and name of the icon to be displayed without the leading path separator. The actual icon shown depends on the icon set being used." msgstr "" #. aZPNP #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id11636721653118\n" "help.text" msgid "tooltip: Text to be displayed as tooltip." msgstr "" #. 23fax #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id11636721653314\n" "help.text" msgid "command: The name of a UNO command without the .uno: prefix. If the command name does not exist, nothing happens." msgstr "" #. wysyV #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id11636721652057\n" "help.text" msgid "script: The URI for a Basic or Python script that will be executed when the item is clicked." msgstr "" #. QYzCL #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "bas_id41158919969106\n" "help.text" msgid "oMenu.AddItem(\"Item A\", Tooltip := \"A descriptive message\")" msgstr "" #. dxYAv #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "pyc_id321621534170554\n" "help.text" msgid "oMenu.AddItem(\"Item A\", tooltip = \"A descriptive message\")" msgstr "" #. qB7zU #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id93158919969399\n" "help.text" msgid "Inserts a radio button entry in the menu. Returns an integer value that identifies the inserted item." msgstr "" #. FTrvY #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id821591631203501\n" "help.text" msgid "menuitem: Defines the text to be displayed in the menu. This argument also defines the hierarchy of the item inside the menu by using the submenu character." msgstr "" #. syjtC #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id821591631228716\n" "help.text" msgid "name: String value to be returned when the item is clicked. By default, the last component of the menu hierarchy is used." msgstr "" #. 7WBgE #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id821591631203643\n" "help.text" msgid "status: Defines whether the item is selected when the menu is created (Default = False)." msgstr "" #. 4uxXA #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id11636721653228\n" "help.text" msgid "icon: Path and name of the icon to be displayed without the leading path separator. The actual icon shown depends on the icon set being used." msgstr "" #. ZfFDR #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id11636721653114\n" "help.text" msgid "tooltip: Text to be displayed as tooltip." msgstr "" #. Sx9Bm #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id11636721653447\n" "help.text" msgid "command: The name of a UNO command without the .uno: prefix. If the command name does not exist, nothing happens." msgstr "" #. AEnA6 #: sf_menu.xhp msgctxt "" "sf_menu.xhp\n" "par_id11636721652598\n" "help.text" msgid "script: The URI for a Basic or Python script that will be executed when the item is clicked." msgstr "" #. yYNtX #: sf_methods.xhp msgctxt "" "sf_methods.xhp\n" "tit\n" "help.text" msgid "ScriptForge Method Signatures" msgstr "" #. ycA6s #: sf_methods.xhp msgctxt "" "sf_methods.xhp\n" "hd_id31529004750471\n" "help.text" msgid "ScriptForge Method Signatures" msgstr "" #. gEAos #: sf_methods.xhp msgctxt "" "sf_methods.xhp\n" "bm_id491529070339774\n" "help.text" msgid "ScriptForge; Method signatures" msgstr "" #. Xq2N5 #: sf_methods.xhp msgctxt "" "sf_methods.xhp\n" "par_id681619700336879\n" "help.text" msgid "ScriptForge libraries aggregate macro scripting resources for %PRODUCTNAME to be invoked from Basic macros or Python scripts. Its modules and classes are invoked from user scripts as \"Services\" that expose properties, methods and events." msgstr "" #. paARG #: sf_methods.xhp msgctxt "" "sf_methods.xhp\n" "par_id681623415196030\n" "help.text" msgid "Whenever service methods are proposed solely for %PRODUCTNAME Basic, their syntax presentation matches that of Basic subroutines, functions or properties." msgstr "" #. 4dWnv #: sf_methods.xhp msgctxt "" "sf_methods.xhp\n" "par_id401623415235965\n" "help.text" msgid "Whenever service methods are proposed for Python and Basic, or solely for Python, their syntax and arguments use a specific textual layout." msgstr "" #. McY36 #: sf_methods.xhp msgctxt "" "sf_methods.xhp\n" "hd_id1001623415980365\n" "help.text" msgid "Basic only service method" msgstr "" #. tCvuL #: sf_methods.xhp msgctxt "" "sf_methods.xhp\n" "par_id791623418737799\n" "help.text" msgid "Typographical characters such as brackets, ellipsis or curly braces denote optional, repetitive or compulsory arguments:" msgstr "" #. FkDFy #: sf_methods.xhp msgctxt "" "sf_methods.xhp\n" "hd_id711623416000470\n" "help.text" msgid "Python or Basic service methods" msgstr "" #. 8C6EM #: sf_methods.xhp msgctxt "" "sf_methods.xhp\n" "par_id221623415475781\n" "help.text" msgid "The following typographical rules are mixing the UML notation, the API documentation layout and the UNO object inspector user interface:" msgstr "" #. aSSDq #: sf_methods.xhp msgctxt "" "sf_methods.xhp\n" "par_id661623417427142\n" "help.text" msgid "Optional parameters are indicated with either opt, '=' accompanying a default value, or '[ ]' brackets." msgstr "" #. 534sD #: sf_methods.xhp msgctxt "" "sf_methods.xhp\n" "par_id351623417430814\n" "help.text" msgid "arguments are lowercased, in order to comply with Python PEP 8 while Basic is case-agnostic." msgstr "" #. kFDAg #: sf_methods.xhp msgctxt "" "sf_methods.xhp\n" "par_id781623417432494\n" "help.text" msgid "Collections arguments or API sequences are denoted using UML multiplicity. That applies also to return values." msgstr "" #. bmVjq #: sf_methods.xhp msgctxt "" "sf_methods.xhp\n" "par_id741623417433319\n" "help.text" msgid "Basic data types and Python annotations are syntactically transposed as:" msgstr "" #. GGeNU #: sf_methods.xhp msgctxt "" "sf_methods.xhp\n" "par_id441613838858931\n" "help.text" msgid "Syntax" msgstr "" #. ENqPg #: sf_methods.xhp msgctxt "" "sf_methods.xhp\n" "par_id851613847558931\n" "help.text" msgid "Boolean" msgstr "" #. vWABe #: sf_methods.xhp msgctxt "" "sf_methods.xhp\n" "par_id931623419595424\n" "help.text" msgid "UNO Object" msgstr "" #. 2q5Bk #: sf_methods.xhp msgctxt "" "sf_methods.xhp\n" "par_id951623419595631\n" "help.text" msgid "User Defined
Type (UDT)" msgstr "" #. h4Tu4 #: sf_methods.xhp msgctxt "" "sf_methods.xhp\n" "par_id451623419793734\n" "help.text" msgid "ScriptForge
service" msgstr "" #. Ah5Gj #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "tit\n" "help.text" msgid "ScriptForge.Platform service" msgstr "Tenesta ScriptForge.Platform" #. PCkEG #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "bm_id681600788076499\n" "help.text" msgid "ScriptForge.Platform service" msgstr "Tenesta ScriptForge.Platform" #. 7D6Dx #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id181600788076612\n" "help.text" msgid "The Platform service provides a collection of properties about the current execution environment and context, such as:" msgstr "Tenesta Platform inneheld ei samling eigenskapar om gjeldande køyringsmiljø og samanheng, for eksempel:" #. FDJFB #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id301600788076785\n" "help.text" msgid "The hardware platform (architecture, CPU count, machine type, etc)" msgstr "Maskinvareplattforma (arkitektur, tal på CPU-ar, maskintype osv.)" #. i9FbJ #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id1001600788076848\n" "help.text" msgid "Operating system information (OS type, release, version, etc)" msgstr "Informasjon om operativsystemet (OS-type, utgjevnad, versjon osv.)" #. 6sN8Q #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id67160078807676\n" "help.text" msgid "The %PRODUCTNAME version" msgstr "%PRODUCTNAME-versjonen" #. BrEr7 #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id671600788076855\n" "help.text" msgid "The current user name" msgstr "Det gjeldande brukarnamnet" #. ZvBqs #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id951614903258253\n" "help.text" msgid "All properties of the Platform service are read-only." msgstr "Alle eigenskapane i tenesta Platform er skriveverna." #. iK4Gv #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "hd_id281600788076359\n" "help.text" msgid "Service invocation" msgstr "Oppkall av teneste" #. dogmo #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id141609955500101\n" "help.text" msgid "Before using the Platform service the ScriptForge library needs to be loaded or imported:" msgstr "" #. mHGZk #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id321614902851541\n" "help.text" msgid "The examples below in Basic and Python instantiate the Platform service and access the Architecture property." msgstr "" #. KC5eN #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "hd_id711600788076834\n" "help.text" msgid "Properties" msgstr "Eigenskapar" #. VXJ8a #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id461600788076917\n" "help.text" msgid "Name" msgstr "Namn" #. JN68D #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id221600788076591\n" "help.text" msgid "Readonly" msgstr "Skriveverna" #. ZndAt #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id761600788076328\n" "help.text" msgid "Type" msgstr "Type" #. dAoKA #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id67160078807636\n" "help.text" msgid "Description" msgstr "Beskriving" #. XdLGG #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id311600788076756\n" "help.text" msgid "Yes" msgstr "Ja" #. EEWuL #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id441600788076826\n" "help.text" msgid "The hardware bit architecture. Example: '32bit' or '64bit'" msgstr "Bit-arkitekturen for maskinvaren. Eksempel: «32bit» eller «64bit»" #. 8EZ8A #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id49160078807654\n" "help.text" msgid "Yes" msgstr "Ja" #. iG4iH #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id81600788076419\n" "help.text" msgid "The computer's network name." msgstr "Datamaskinen sitt nettverksnamn." #. hvAeY #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id711600788076534\n" "help.text" msgid "Yes" msgstr "Ja" #. v3N6U #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id541600788076645\n" "help.text" msgid "The number of central processing units." msgstr "Talet på sentralprosessorar (CPU-ar)" #. 89Lo8 #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id891600788076190\n" "help.text" msgid "Yes" msgstr "Ja" #. rmGRV #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id91600788076674\n" "help.text" msgid "The name of the currently logged user." msgstr "Namnet på den gjeldande innlogga brukaren." #. rCN2h #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id561633021747014\n" "help.text" msgid "Yes" msgstr "" #. T2MVx #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id201633021748566\n" "help.text" msgid "String array" msgstr "" #. 5Fkqe #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id831633021749125\n" "help.text" msgid "Returns a zero-based array of strings containing the internal IDs of all installed extensions." msgstr "" #. 9aGdF #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id561633021747903\n" "help.text" msgid "Yes" msgstr "" #. yuuvA #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id201633021748455\n" "help.text" msgid "String array" msgstr "" #. BvYt3 #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id831633021749007\n" "help.text" msgid "Returns a zero-based array of strings containing the names of all available fonts." msgstr "" #. 86VFG #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id561633021748013\n" "help.text" msgid "Yes" msgstr "" #. 9qBZR #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id831633021749297\n" "help.text" msgid "Returns the locale used for numbers and dates as a string in the format \"la-CO\" (language-COUNTRY)." msgstr "" #. Av85C #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id561633021743188\n" "help.text" msgid "Yes" msgstr "" #. sYrDn #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id831633021749018\n" "help.text" msgid "Returns the locale of the operating system as a string in the format \"la-CO\" (language-COUNTRY). This is equivalent to the SystemLocale property." msgstr "" #. Dt7J5 #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id391600788076253\n" "help.text" msgid "Yes" msgstr "Ja" #. LA6EN #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id21600788076541\n" "help.text" msgid "The machine type. Examples are: 'i386' or 'x86_64'." msgstr "Maskintype. Eksempel er: «i386» eller «x86_64»." #. LbQr2 #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id561633021706513\n" "help.text" msgid "Yes" msgstr "" #. ZZcSc #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id831633021741117\n" "help.text" msgid "Returns the locale of the user interface as a string in the format \"la-CO\" (language-COUNTRY)." msgstr "" #. tqwyD #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id211600788076138\n" "help.text" msgid "Yes" msgstr "Ja" #. WLRju #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id521600788076371\n" "help.text" msgid "The actual %PRODUCTNAME version expressed as
' %PRODUCTNAME w.x.y.z (The Document Foundation)'." msgstr "Den aktuelle %PRODUCTNAME-versjonen, uttrykt som
« %PRODUCTNAME w.x.y.z (The Document Foundation)»." #. 2q29b #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id621614902220807\n" "help.text" msgid "Example: 'LibreOffice 7.4.1.2 (The Document Foundation, Debian and Ubuntu)'" msgstr "" #. 7WDer #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id21600788076758\n" "help.text" msgid "Yes" msgstr "Ja" #. NUSby #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id781600788076694\n" "help.text" msgid "The operating system type. Example: 'Darwin, Linux' or 'Windows'." msgstr "Typen av operativsystem. Eksempel: «Darwin, Linux» eller «Windows»." #. cLiaw #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id261600788076841\n" "help.text" msgid "Yes" msgstr "Ja" #. nepQ6 #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id11600788076757\n" "help.text" msgid "A single string identifying the underlying platform with as much useful and human-readable information as possible." msgstr "Ein enkelt streng som identifiserer den underliggjande plattforma med så mykje nyttig og lesbar informasjon som mogleg." #. EH36m #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id501614902381381\n" "help.text" msgid "Example: 'Linux-5.8.0-44-generic-x86_64-with-glibc2.32'" msgstr "Eksempel: «Linux-5.8.0-44-generic-x86_64-with-glibc2.32»" #. hbyth #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id531600789141795\n" "help.text" msgid "Yes" msgstr "Ja" #. 4iEvV #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id301600789141619\n" "help.text" msgid "The operating system's release. Example: '5.8.0-44-generic'" msgstr "Versjon av operativsystemet. Eksempel: «5.8.0-44-generic»" #. 2fBtD #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id541600789286532\n" "help.text" msgid "Yes" msgstr "Ja" #. iukPq #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id701600789286280\n" "help.text" msgid "The operating system's build or version." msgstr "Operativsystemet sitt byggjenummer eller versjon." #. DWQNA #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id351614902520555\n" "help.text" msgid "Example: '#50-Ubuntu SMP Tue Feb 9 06:29:41 UTC 2021'" msgstr "Eksempel: «#50-Ubuntu SMP Tue Feb 9 06:29:41 UTC 2021»" #. E8DzK #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id941608709527698\n" "help.text" msgid "Yes" msgstr "" #. ArFcn #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id661300789527859\n" "help.text" msgid "The list of available printers as a zero-based array." msgstr "" #. nN5EG #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id111614952098396\n" "help.text" msgid "The default printer is put in the first position of the list (index = 0)." msgstr "" #. fCdYi #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id941600789527698\n" "help.text" msgid "Yes" msgstr "Ja" #. wkthE #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id631600789527859\n" "help.text" msgid "The real processor name. Example: 'amdk6'." msgstr "Det verkelege prosessornamnet. «Eksempel: 'amdk6»." #. MYY9M #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id111614902598396\n" "help.text" msgid "This property may return the same value as the Machine property." msgstr "Denne eigenskapen kan returnere den same verdien som eigenskapen Machine." #. yWwgE #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id941608709527036\n" "help.text" msgid "Yes" msgstr "" #. Rw373 #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id661300789527994\n" "help.text" msgid "Returns the version of the Python interpreter being used as a string in the format \"Python major.minor.patchlevel\" (ex: \"Python 3.9.7\")." msgstr "" #. Ad9Cw #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id561633021708547\n" "help.text" msgid "Yes" msgstr "" #. Aue6E #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id831633021741336\n" "help.text" msgid "Returns the locale of the operating system as a string in the format \"la-CO\" (language-COUNTRY). This is equivalent to the Locale property." msgstr "" #. FJs9t #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id311633022159446\n" "help.text" msgid "The following examples in Basic and Python illustrate how to use the Fonts property to write the names of all available fonts to the current Calc sheet starting at cell \"A1\":" msgstr "" #. 3yeMr #: sf_platform.xhp msgctxt "" "sf_platform.xhp\n" "par_id301613065794148\n" "help.text" msgid "Platform information with INFO(\"system\") Calc formula" msgstr "" #. h6atN #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "tit\n" "help.text" msgid "SFWidgets.PopupMenu service" msgstr "" #. QADne #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "bm_id681600788076499\n" "help.text" msgid "SFWidgets.PopupMenu service" msgstr "" #. DGbZ3 #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id181600788076612\n" "help.text" msgid "The PopupMenu service can be used to create popup menus that can be associated with events or executed by scripts. This service provides the following capabilities:" msgstr "" #. fGtNp #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id301600788076785\n" "help.text" msgid "Creation of popup menus with custom entries, checkboxes and radio buttons." msgstr "" #. QvyBB #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id1001600788076848\n" "help.text" msgid "Decoration of menu items with icons and tooltips." msgstr "" #. GA9DY #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "hd_id281600788076359\n" "help.text" msgid "Service invocation" msgstr "" #. wHrLq #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id141609955500101\n" "help.text" msgid "Before using the PopupMenu service the ScriptForge library needs to be loaded or imported:" msgstr "" #. aGukU #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id321614902851541\n" "help.text" msgid "The PopupMenu service can be instantiated in multiple ways. The example below creates a popup menu without associating it with a mouse or application event." msgstr "" #. zEX7M #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "bas_id841636717357955\n" "help.text" msgid "MsgBox(\"Selected item ID: \" & vResponse)" msgstr "" #. XcbWz #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id341636718182262\n" "help.text" msgid "Running the Sub defined above will create a popup menu with two entries in the position X=300 and Y=300 on the screen." msgstr "" #. AySnz #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id711636493696169\n" "help.text" msgid "The prefix SFWidgets can be suppressed while invoking the PopupMenu service." msgstr "" #. HnBew #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id851635274721129\n" "help.text" msgid "The following example defines a Sub that can be associated with a mouse event:" msgstr "" #. iZdDG #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "bas_id721636488722999\n" "help.text" msgid "' Populate popupmenu with items" msgstr "" #. Czn9U #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "bas_id311636488724795\n" "help.text" msgid "' Do something based on vResponse" msgstr "" #. ChBWz #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id991636718278125\n" "help.text" msgid "Use the Dispose method to free resources after executing the popup menu." msgstr "" #. K8FAQ #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id531636493797707\n" "help.text" msgid "It is also possible to associate a popup menu with events triggered by %PRODUCTNAME applications, form and dialog controls. Events such as \"Mouse button pressed\" and \"Mouse button released\" are commonly associated with popup menus." msgstr "" #. L5Dhq #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id131635275172617\n" "help.text" msgid "The examples above can be written in Python as follows:" msgstr "" #. 6esys #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "pyc_id916367179574588\n" "help.text" msgid "# Populate popupmenu with items" msgstr "" #. Nj85P #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "pyc_id851636718008427\n" "help.text" msgid "# Do something based on response" msgstr "" #. Bkw3n #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "hd_id711600788076834\n" "help.text" msgid "Properties" msgstr "" #. 7remQ #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id461600788076917\n" "help.text" msgid "Name" msgstr "" #. zWaD9 #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id221600788076591\n" "help.text" msgid "Readonly" msgstr "" #. 3bRwD #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id761600788076328\n" "help.text" msgid "Type" msgstr "" #. yAUC9 #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id67160078807636\n" "help.text" msgid "Description" msgstr "" #. qnMK2 #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id49160078807654\n" "help.text" msgid "No" msgstr "" #. zYGVp #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id81600788076419\n" "help.text" msgid "Character used to define the access key of a menu item. The default character is \"~\"." msgstr "" #. G2c6G #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id311600788076756\n" "help.text" msgid "No" msgstr "" #. bcd7a #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id441600788076826\n" "help.text" msgid "Character or string that defines how menu items are nested. The default character is \">\"." msgstr "" #. drBFS #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "hd_id181636719707892\n" "help.text" msgid "Menu and Submenus" msgstr "" #. XGwV6 #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id741636719725402\n" "help.text" msgid "To create a popup menu with submenus, use the character defined in the SubmenuCharacter property while creating the menu entry to define where it will be placed. For instance, consider the following menu/submenu hierarchy." msgstr "" #. D3b2e #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id211636720111489\n" "help.text" msgid "The code below uses the default submenu character \">\" to create the menu/submenu hierarchy defined above:" msgstr "" #. MvF78 #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id121636721243578\n" "help.text" msgid "The string \"---\" is used to define line separators in menus or submenus.." msgstr "" #. nA7BW #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "hd_id211636723438558\n" "help.text" msgid "Using icons" msgstr "" #. UKLV5 #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id981636723485402\n" "help.text" msgid "Items in the menu can have icons, which are specified as arguments in the AddCheckBox, AddItem and AddRadioButton methods." msgstr "" #. TLDpD #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id881636724112434\n" "help.text" msgid "All icons available in %PRODUCTNAME can be used by specifying their path relative to the folder where icon files are located in the installation folder. Icons are located in the following folder:" msgstr "" #. n2owj #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id941636724808906\n" "help.text" msgid "Use the InstallFolder property of the FileSystem service to determine where %PRODUCTNAME is installed in your system." msgstr "" #. xbEsC #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id201636724575911\n" "help.text" msgid "This folder contains a series of ZIP files containing the image files of each available icon set. The images inside these ZIP files are organized into folders. To use an icon, specify the icon file with the path to its location inside the ZIP file." msgstr "" #. 5yvv9 #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id641636724972071\n" "help.text" msgid "The example below uses the icon \"sc_newdoc.svg\" that is located inside the \"cmd\" folder. The forward slash \"/\" character is used as the path separator regardless of the operating system." msgstr "" #. 2QW4m #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id691636725233961\n" "help.text" msgid "All icon sets have the same internal structure. The actual icon displayed depends on the icon set currently in use." msgstr "" #. v6wRS #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "hd_id501582887473754\n" "help.text" msgid "Methods" msgstr "" #. CWGtf #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id891611613601554\n" "help.text" msgid "List of Methods in the PopupMenu Service" msgstr "" #. RAcsN #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id93158919969864\n" "help.text" msgid "Inserts a check box in the popup menu. Returns an integer value that identifies the inserted item." msgstr "" #. ZZrDA #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id821591631203996\n" "help.text" msgid "menuitem: Defines the text to be displayed in the menu. This argument also defines the hierarchy of the item inside the menu by using the submenu character." msgstr "" #. riy7p #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id821591631203116\n" "help.text" msgid "name: String value to be returned when the item is clicked. By default, the last component of the menu hierarchy is used." msgstr "" #. yxK8E #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id821591631203133\n" "help.text" msgid "status: Defines whether the item is selected when the menu is created (Default = False)." msgstr "" #. Q4ZNV #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id11636721653313\n" "help.text" msgid "icon: Path and name of the icon to be displayed without the leading path separator. The actual icon shown depends on the icon set being used." msgstr "" #. dkqgP #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id11636721653208\n" "help.text" msgid "tooltip: Text to be displayed as tooltip." msgstr "" #. NEE76 #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id93158919963364\n" "help.text" msgid "Inserts a menu entry in the popup menu. Returns an integer value that identifies the inserted item." msgstr "" #. vdtEn #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id821591631203021\n" "help.text" msgid "menuitem: Defines the text to be displayed in the menu. This argument also defines the hierarchy of the item inside the menu by using the submenu character." msgstr "" #. 8eE5y #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id821591631203026\n" "help.text" msgid "name: String value to be returned when the item is clicked. By default, the last component of the menu hierarchy is used." msgstr "" #. F646F #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id11636721652886\n" "help.text" msgid "icon: Path and name of the icon to be displayed without the leading path separator. The actual icon shown depends on the icon set being used." msgstr "" #. XFkGB #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id11636721653118\n" "help.text" msgid "tooltip: Text to be displayed as tooltip." msgstr "" #. dJTZs #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "bas_id41158919969106\n" "help.text" msgid "myPopup.AddItem(\"Item A\", Tooltip := \"A descriptive message\")" msgstr "" #. VDLFK #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "pyc_id321621534170554\n" "help.text" msgid "my_popup.AddItem(\"Item A\", tooltip = \"A descriptive message\")" msgstr "" #. U2vBb #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id93158919969399\n" "help.text" msgid "Inserts a radio button entry in the popup menu. Returns an integer value that identifies the inserted item." msgstr "" #. 92F32 #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id821591631203501\n" "help.text" msgid "menuitem: Defines the text to be displayed in the menu. This argument also defines the hierarchy of the item inside the menu by using the submenu character." msgstr "" #. 2PuBE #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id821591631228716\n" "help.text" msgid "name: String value to be returned when the item is clicked. By default, the last component of the menu hierarchy is used." msgstr "" #. yLvRM #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id821591631203643\n" "help.text" msgid "status: Defines whether the item is selected when the menu is created (Default = False)." msgstr "" #. 6XiD7 #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id11636721653228\n" "help.text" msgid "icon: Path and name of the icon to be displayed without the leading path separator. The actual icon shown depends on the icon set being used." msgstr "" #. cRTRD #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id11636721653114\n" "help.text" msgid "tooltip: Text to be displayed as tooltip." msgstr "" #. nQrD3 #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id93158919963279\n" "help.text" msgid "Displays the popup menu and waits for a user action. Returns the item clicked by the user." msgstr "" #. qwwKx #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id101636726249788\n" "help.text" msgid "If the user clicks outside the popup menu or presses the Esc key, then no item is selected. In such cases, the returned value depends on the returnid parameter. If returnid = True and no item is selected, then the value 0 (zero) is returned. Otherwise an empty string \"\" is returned." msgstr "" #. EFriZ #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id821591631202088\n" "help.text" msgid "returnid: If True the selected item ID is returned. If False the method returns the item's name (Default = True)." msgstr "" #. y4PWP #: sf_popupmenu.xhp msgctxt "" "sf_popupmenu.xhp\n" "par_id51636726671698\n" "help.text" msgid "In the examples below, a popup menu is created and the item's name is returned because the returnid argument is set to False." msgstr "" #. GpvmN #: sf_services.xhp msgctxt "" "sf_services.xhp\n" "tit\n" "help.text" msgid "ScriptForge.Services service" msgstr "Tenesta ScriptForge.Services" #. bFtkf #: sf_services.xhp msgctxt "" "sf_services.xhp\n" "hd_id471582710868716\n" "help.text" msgid "ScriptForge.Services service" msgstr "Tenesta ScriptForge.Services" #. SDbDJ #: sf_services.xhp msgctxt "" "sf_services.xhp\n" "par_id241627513489594\n" "help.text" msgid "The main purpose of the Services module is to provide access to the CreateScriptService method, which can be called in user scripts to instantiate services that are implemented using the ScriptForge framework." msgstr "" #. 7B2KJ #: sf_services.xhp msgctxt "" "sf_services.xhp\n" "par_id351582710868545\n" "help.text" msgid "In ScriptForge terminology a service is a collection of methods and properties that can be used for a common purpose. For example, the String service provides methods for manipulating strings whereas the FileSystem service allows for the manipulation of files and folders." msgstr "" #. NW4BS #: sf_services.xhp msgctxt "" "sf_services.xhp\n" "par_id541627513771828\n" "help.text" msgid "The Services module of the ScriptForge library provides additional methods that are used either internally to register available services or by developers who are interested in extending ScriptForge by creating new services. The only method that is relevant for user scripts is CreateScriptService." msgstr "" #. FW4FC #: sf_services.xhp msgctxt "" "sf_services.xhp\n" "par_id871582714020043\n" "help.text" msgid "This method is used to instantiate a ScriptForge service so it can be called in user scripts." msgstr "" #. jG6U9 #: sf_services.xhp msgctxt "" "sf_services.xhp\n" "par_id711627514310039\n" "help.text" msgid "The returned value is a Basic object or Nothing if an error occurred." msgstr "" #. oojMF #: sf_services.xhp msgctxt "" "sf_services.xhp\n" "par_id971582714020045\n" "help.text" msgid "service: The name of the service identified as a string in the format \"library.service\":" msgstr "" #. CEqku #: sf_services.xhp msgctxt "" "sf_services.xhp\n" "par_id11627475954271\n" "help.text" msgid "The library is a Basic library that must exist in the GlobalScope. The default value is \"ScriptForge\"." msgstr "" #. BBFeA #: sf_services.xhp msgctxt "" "sf_services.xhp\n" "par_id811627475954641\n" "help.text" msgid "The service is one of the services registered by the ScriptForge library." msgstr "" #. btbtw #: sf_services.xhp msgctxt "" "sf_services.xhp\n" "par_id391582714020045\n" "help.text" msgid "arg0, ...: A list of arguments required by the invoked service." msgstr "" #. yAaks #: sf_services.xhp msgctxt "" "sf_services.xhp\n" "par_id841627475900817\n" "help.text" msgid "If the first argument refers to an event manager, then arg0 is mandatory and must be the UNO object representing the event provided as argument to the user macro." msgstr "" #. wuR7S #: sf_services.xhp msgctxt "" "sf_services.xhp\n" "bas_id981582898174133\n" "help.text" msgid "' To be done once" msgstr "' Skal gjerast éin gong" #. oqovE #: sf_services.xhp msgctxt "" "sf_services.xhp\n" "bas_id311582715700844\n" "help.text" msgid "' Refers to the \"ScriptForge.Array\" service or SF_Array" msgstr "' Refererer til tenesta «ScriptForge.Array» eller SF_Array" #. KvcPo #: sf_services.xhp msgctxt "" "sf_services.xhp\n" "bas_id61582715759468\n" "help.text" msgid "' Returns a new empty dictionary class instance; \"ScriptForge.\" is optional" msgstr "' Returnerer ein ny tom klasseførekomst av ei ordbok; «ScriptForge.» er valfri" #. pMGcR #: sf_services.xhp msgctxt "" "sf_services.xhp\n" "bas_id901582715797722\n" "help.text" msgid "' Refers to the Calc service, implemented in the associated SFDocuments library" msgstr "' Refererer til Calc-tenesta, implementert i det tilknytte SFDocuments-biblioteket" #. BoXHx #: sf_services.xhp msgctxt "" "sf_services.xhp\n" "bas_id361582715845747\n" "help.text" msgid "' Returns a Timer class instance starting immediately" msgstr "' Returnerer ein klasseførekomst Timer, som startar med ein gong" #. 9bmdn #: sf_services.xhp msgctxt "" "sf_services.xhp\n" "bas_id571596298708062\n" "help.text" msgid "' Refers to the DocumentEvent service implemented in the associated SFDocuments library" msgstr "' Refererer til DocumentEvent implementert i det tilknytte SFDocuments-biblioteket" #. DFhat #: sf_services.xhp msgctxt "" "sf_services.xhp\n" "bas_id121613492254532\n" "help.text" msgid "' Returns the instance of the Document class that fired the event" msgstr "' Returnerer den førekomsten av klassen Document som utløyste hendinga" #. zhCyY #: sf_services.xhp msgctxt "" "sf_services.xhp\n" "par_id321627570607194\n" "help.text" msgid "Python scripts support keyword arguments when calling CreateScriptService. The following example illustrates this concept by instantiating the Timer and Document services using keyword arguments." msgstr "" #. jah7F #: sf_services.xhp msgctxt "" "sf_services.xhp\n" "par_id901627576693156\n" "help.text" msgid "To make writing Python scripts more fluid, ScriptForge provides the Basic service which allows Python scripts to call a collection of methods with the same syntax and meaning as their homonymous native Basic functions." msgstr "" #. SDQ7m #: sf_services.xhp msgctxt "" "sf_services.xhp\n" "par_id41627644806288\n" "help.text" msgid "The following example instantiates the Basic service and calls the MsgBox method, which is equivalent to the MsgBox function available in Basic:" msgstr "" #. zVgQm #: sf_services.xhp msgctxt "" "sf_services.xhp\n" "par_id581627645023307\n" "help.text" msgid "Beware that the Basic service has to be instantiated in Python scripts using the CreateScriptService method." msgstr "" #. LCVem #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "tit\n" "help.text" msgid "ScriptForge.Session service" msgstr "" #. DxnDG #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "hd_id901582814720985\n" "help.text" msgid "ScriptForge.Session service" msgstr "" #. yTgFK #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id861582814720987\n" "help.text" msgid "The Session service gathers various general-purpose methods about:" msgstr "" #. a2DCM #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id34158281472051\n" "help.text" msgid "the installation or execution environment" msgstr "" #. cf5WG #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id411582814720361\n" "help.text" msgid "UNO introspection" msgstr "" #. fBApv #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id321582814720863\n" "help.text" msgid "the invocation of external scripts or programs" msgstr "" #. 63uDb #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "hd_id91582814720116\n" "help.text" msgid "Service invocation" msgstr "" #. XRvpV #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id141609955500101\n" "help.text" msgid "Before using the Session service the ScriptForge library needs to be loaded or imported:" msgstr "" #. 8BEnm #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "hd_id291582814720762\n" "help.text" msgid "Constants" msgstr "" #. zcRQu #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id82158281472034\n" "help.text" msgid "Below is a list of constants available to ease the designation of the library containing a Basic or Python script to invoke. Use them as session.CONSTANT." msgstr "" #. yyF2R #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id9158281472045\n" "help.text" msgid "Value" msgstr "" #. Wd88w #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id241582814720636\n" "help.text" msgid "Where to find the library?" msgstr "" #. k58kN #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id361582814720116\n" "help.text" msgid "Applicable" msgstr "" #. DJspw #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id451582814720105\n" "help.text" msgid "in the document" msgstr "" #. Q2KtM #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id73158281472032\n" "help.text" msgid "in any shared library" msgstr "" #. E7meg #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id391582814720487\n" "help.text" msgid "in My Macros" msgstr "" #. MiuWT #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id56158281472073\n" "help.text" msgid "in an extension installed for the current user" msgstr "" #. SAMnM #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id21582814720997\n" "help.text" msgid "in %PRODUCTNAME macros" msgstr "" #. LnKrt #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id981582814720125\n" "help.text" msgid "in an extension installed for all users" msgstr "" #. gCi9j #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id93158281472047\n" "help.text" msgid "in an extension but the installation parameters are unknown" msgstr "" #. mLURi #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id891611613601554\n" "help.text" msgid "List of Methods in the Session Service" msgstr "" #. JvBuZ #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id491613061572993\n" "help.text" msgid "Execute... methods in Session service behave as follows:
Arguments are passed by value. Changes made by the called function to the arguments do not update their values in the calling script.
A single value or an array of values is returned to the calling script." msgstr "" #. 72GZi #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id451582815407230\n" "help.text" msgid "Execute the Basic script given its name and location and fetch its result if any." msgstr "" #. yFnSG #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id921600856780901\n" "help.text" msgid "If the script returns nothing, which is the case of procedures defined with Sub, the returned value is Empty." msgstr "" #. VTyCE #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id631582815407231\n" "help.text" msgid "scope: String specifying where the script is stored. It can be either \"document\" (constant session.SCRIPTISEMBEDDED) or \"application\" (constant session.SCRIPTISAPPLICATION)." msgstr "" #. SCCpE #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id691582815407231\n" "help.text" msgid "script: String specifying the script to be called in the format \"library.module.method\" as a case-sensitive string." msgstr "" #. hS5x4 #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id741626828862265\n" "help.text" msgid "The library is loaded in memory if necessary." msgstr "" #. D8AL6 #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id981626828863001\n" "help.text" msgid "The module must not be a class module." msgstr "" #. VsUFD #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id721626828863257\n" "help.text" msgid "The method may be a Sub or a Function." msgstr "" #. eExjm #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id881582815407231\n" "help.text" msgid "args: The arguments to be passed to the called script." msgstr "" #. mg5WG #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id21626809513802\n" "help.text" msgid "Consider the following Basic function named DummyFunction that is stored in \"My Macros\" in the \"Standard\" library inside a module named \"Module1\"." msgstr "" #. PMyrB #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id551626810319766\n" "help.text" msgid "The function simply takes in two integer values v1 and v2 and return the sum of all values starting in v1 and ending in v2." msgstr "" #. Gx6fV #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id461626810470057\n" "help.text" msgid "The examples below show how to call DummyFunction from within Basic and Python scripts." msgstr "" #. Yr22N #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id111582816585181\n" "help.text" msgid "Execute a Calc function using its English name and based on the given arguments.
If the arguments are arrays, the function is executed as an array formula." msgstr "" #. EDU9x #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id771582816585183\n" "help.text" msgid "calcfunction: The name of the Calc function to be called, in English." msgstr "" #. FJJJh #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id371582816585183\n" "help.text" msgid "args: The arguments to be passed to the called Calc function. Each argument must be either a string, a numeric value or an array of arrays combining those types." msgstr "" #. XMfUD #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "bas_id881582816585185\n" "help.text" msgid "' Generates an error." msgstr "" #. ygESx #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id571582818023245\n" "help.text" msgid "Execute the Python script given its location and name, fetch its result if any. Result can be a single value or an array of values." msgstr "" #. SB2gx #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id71600856817410\n" "help.text" msgid "If the script is not found, or if it returns nothing, the returned value is Empty." msgstr "" #. jdWTU #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id791582818023246\n" "help.text" msgid "scope: One of the applicable constants listed above. The default value is session.SCRIPTISSHARED." msgstr "" #. ELfda #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id71582818023247\n" "help.text" msgid "script: Either \"library/module.py$method\" or \"module.py$method\" or \"myExtension.oxt|myScript|module.py$method\" as a case-sensitive string." msgstr "" #. P6ZKD #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id501613061041313\n" "help.text" msgid "library: The folder path to the Python module." msgstr "" #. ktFHu #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id771613061043097\n" "help.text" msgid "myScript: The folder containing the Python module." msgstr "" #. ANBoy #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id301613061123849\n" "help.text" msgid "module.py: The Python module." msgstr "" #. f4B8C #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id241613061044560\n" "help.text" msgid "method: The Python function." msgstr "" #. ByFdE #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id711582818023247\n" "help.text" msgid "args: The arguments to be passed to the called script." msgstr "" #. ckvXs #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id701626817164878\n" "help.text" msgid "Consider the Python function odd_integers defined below that creates a list with odd integer values between v1 and v2. Suppose this function is stored in a file named my_macros.py in your user scripts folder." msgstr "" #. o6DUm #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id751626817335715\n" "help.text" msgid "Read the help page Python Scripts Organization and Location to learn more about where Python scripts can be stored." msgstr "" #. vqBm9 #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id121626817725471\n" "help.text" msgid "The following examples show how to call the function odd_integers from within Basic and Python scripts." msgstr "" #. pbmij #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id111582816585087\n" "help.text" msgid "Returns the current PDF export settings defined in the PDF Options dialog, which can be accessed by choosing File - Export as - Export as PDF." msgstr "" #. K7j2q #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id931638383270026\n" "help.text" msgid "Export options set with the PDF Options dialog are kept for future use. Hence GetPDFExportOptions returns the settings currently defined. In addition, use SetPDFExportOptions to change current PDF export options." msgstr "" #. uFCEq #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id801638383659558\n" "help.text" msgid "This method returns a Dictionary object wherein each key represent export options and the corresponding values are the current PDF export settings." msgstr "" #. 6kXBe #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id751638383457198\n" "help.text" msgid "Read the PDF Export wiki page to learn more about all available options." msgstr "" #. Lv4iA #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id111587477335982\n" "help.text" msgid "Returns True if an UNO object contains the given method. Returns False when the method is not found or when an argument is invalid." msgstr "" #. HAw32 #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id921587477335673\n" "help.text" msgid "unoobject: The object to inspect." msgstr "" #. DDw6g #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id631587477566016\n" "help.text" msgid "methodname: the method as a case-sensitive string" msgstr "" #. gDBRB #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id191587477832959\n" "help.text" msgid "Returns True if a UNO object has the given property. Returns False when the property is not found or when an argument is invalid." msgstr "" #. 54oXs #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id121587477832805\n" "help.text" msgid "unoobject: The object to inspect." msgstr "" #. hCTCk #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id701587477832750\n" "help.text" msgid "propertyname: the property as a case-sensitive string" msgstr "" #. QWaTF #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id97160112964017\n" "help.text" msgid "Open a Uniform Resource Locator (URL) in the default browser." msgstr "" #. 4tFWV #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id241601129640549\n" "help.text" msgid "url: The URL to open." msgstr "" #. hJqsF #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id311582819697897\n" "help.text" msgid "Executes an arbitrary system command and returns True if it was launched successfully." msgstr "" #. D483F #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id461582819697898\n" "help.text" msgid "command: The command to execute. This may be an executable file or a document which is registered with an application so that the system knows what application to launch for that document. The command must be expressed in the current SF_FileSystem.FileNaming notation." msgstr "" #. b8hbC #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id611582819697899\n" "help.text" msgid "parameters: A list of space separated parameters as a single string. The method does not validate the given parameters, but only passes them to the specified command." msgstr "" #. 2hTM7 #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id131601030349755\n" "help.text" msgid "Send a message - with optional attachments - to recipients from the user's mail client. The message may be edited by the user before sending or, alternatively, be sent immediately." msgstr "" #. FCn8e #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id701601030349896\n" "help.text" msgid "recipient: An email address (the \"To\" recipient)." msgstr "" #. BdMiD #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id571601030349904\n" "help.text" msgid "cc: A comma-separated list of email addresses (the \"carbon copy\" recipients)." msgstr "" #. ADjaV #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id961601031043346\n" "help.text" msgid "bcc: A comma-separated list of email addresses (the \"blind carbon copy\" recipients)." msgstr "" #. zAkWZ #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id891601031050814\n" "help.text" msgid "subject: the header of the message." msgstr "" #. 69CFR #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id191601031056673\n" "help.text" msgid "body: The contents of the message as an unformatted text." msgstr "" #. McuEx #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id511601031063269\n" "help.text" msgid "filenames: a comma-separated list of file names. Each file name must respect the SF_FileSystem.FileNaming notation." msgstr "" #. h9Urq #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id161601032784063\n" "help.text" msgid "editmessage: When True (default), the message is edited before being sent." msgstr "" #. g7zLC #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id111582816583005\n" "help.text" msgid "Modifies the PDF export settings defined in the PDF Options dialog, which can be accessed by choosing File - Export as - Export as PDF." msgstr "" #. T2DkW #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id181638385131806\n" "help.text" msgid "Calling this method changes the actual values set in the PDF Options dialog, which are used by the ExportAsPDF method from the Document service." msgstr "" #. FBrKg #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id391638385313847\n" "help.text" msgid "This method returns True when successful." msgstr "" #. 9BqH3 #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id751638383457321\n" "help.text" msgid "Read the PDF Export wiki page to learn more about all available options." msgstr "" #. JhhXU #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id771582816585233\n" "help.text" msgid "pdfoptions: Dictionary object that defines the PDF export settings to be changed. Each key-value pair represents an export option and the value that will be set in the dialog." msgstr "" #. 8DKZK #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id141638386087986\n" "help.text" msgid "The following example changes the maximum image resolution to 150 dpi and exports the current document as a PDF file." msgstr "" #. HtzHP #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id321587478024997\n" "help.text" msgid "Returns a list of the methods callable from an UNO object. The list is a zero-based array of strings and may be empty." msgstr "" #. DX8qb #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id251587478024311\n" "help.text" msgid "unoobject: The object to inspect." msgstr "" #. sL6Ri #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id141587478343306\n" "help.text" msgid "Returns a list of the properties of an UNO object. The list is a zero-based array of strings and may be empty." msgstr "" #. CFZRP #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id241587478343323\n" "help.text" msgid "unoobject: The object to inspect." msgstr "" #. Cm4eK #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id371582820251347\n" "help.text" msgid "Identify the type of a UNO object as a string." msgstr "" #. Cs3VC #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id921582820251349\n" "help.text" msgid "unoobject: The object to identify." msgstr "" #. UAy4i #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id341582821057373\n" "help.text" msgid "Get some web content from a URI." msgstr "" #. BU5XR #: sf_session.xhp msgctxt "" "sf_session.xhp\n" "par_id771582821057374\n" "help.text" msgid "uri: URI address of the web service." msgstr "" #. gn6AM #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "tit\n" "help.text" msgid "ScriptForge.String service (SF_String)" msgstr "" #. ZhvDP #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "hd_id521580038927003\n" "help.text" msgid "ScriptForge.String service" msgstr "" #. yaisH #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id351579602570526\n" "help.text" msgid "The String service provides a collection of methods for string processing. These methods can be used to:" msgstr "" #. oNvbV #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id611611952070366\n" "help.text" msgid "Validate the contents of strings" msgstr "" #. UmFAv #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id611611952070376\n" "help.text" msgid "Format strings by trimming, justifying or wrapping their contents" msgstr "" #. EZKAi #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id611611952070367\n" "help.text" msgid "Use regular expressions to search and replace substrings" msgstr "" #. D2qPU #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id611611952070368\n" "help.text" msgid "Apply hash algorithms on strings, etc." msgstr "" #. Nd4es #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "hd_id961579603699855\n" "help.text" msgid "Definitions" msgstr "" #. dQjPv #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "hd_id441579603838777\n" "help.text" msgid "Line breaks" msgstr "" #. ePyj2 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id791611946942340\n" "help.text" msgid "The String service recognizes the following line breaks:" msgstr "" #. o2TiZ #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id151611947117831\n" "help.text" msgid "Symbolic name" msgstr "" #. fEbm9 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id721611947117831\n" "help.text" msgid "ASCII number" msgstr "" #. yqVHd #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id761611947117831\n" "help.text" msgid "Line feed
Vertical tab
Carriage return
Line feed + Carriage return
File separator
Group separator
Record separator
Next line
Line separator
Paragraph separator" msgstr "" #. WCvgW #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "hd_id161579604225813\n" "help.text" msgid "Whitespaces" msgstr "" #. mFfbq #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id401611948279056\n" "help.text" msgid "The String service recognizes the following whitespaces:" msgstr "" #. U3GSy #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id151611947117893\n" "help.text" msgid "Symbolic name" msgstr "" #. ZsSFF #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id721611947117855\n" "help.text" msgid "ASCII number" msgstr "" #. TXAFP #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id761611947117835\n" "help.text" msgid "Space
Horizontal tab
Line feed
Vertical tab
Form feed
Carriage return
Next line
No-break space
Line separator
Paragraph separator" msgstr "" #. UPByW #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "hd_id191580480825160\n" "help.text" msgid "Escape sequences" msgstr "" #. JD6CK #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id971611949145057\n" "help.text" msgid "Below is a list of escape sequences that can be used in strings." msgstr "" #. D4DjE #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id151611947117287\n" "help.text" msgid "Escape Sequence" msgstr "" #. xzDai #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id721611947117732\n" "help.text" msgid "Symbolic name" msgstr "" #. rrxV4 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id721611947117144\n" "help.text" msgid "ASCII number" msgstr "" #. fS24a #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id761611947119834\n" "help.text" msgid "Line feed
Carriage return
Horizontal tab" msgstr "" #. wAbkt #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id251611949474763\n" "help.text" msgid "To have the escape sequence \"\\n\" interpreted as an actual string, simply use \"\\\\n\" instead of \"\\\" & Chr(10)." msgstr "" #. AYQbH #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "hd_id771579606799550\n" "help.text" msgid "Non-printable characters:" msgstr "" #. WXEDi #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id531579606877342\n" "help.text" msgid "Characters defined in the Unicode Character Database as “Other” or “Separator” are considered as non-printable characters." msgstr "" #. EsBdD #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id221611949584320\n" "help.text" msgid "Control characters (ascii code <= 0x1F) are also considered as non-printable." msgstr "" #. GfNfK #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "hd_id661579604944268\n" "help.text" msgid "Quotes inside strings:" msgstr "" #. 6KLF9 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id551579605035332\n" "help.text" msgid "To add quotes in strings use \\' (single quote) or \\\" (double quote). For example:" msgstr "" #. BKoHN #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id201611949691285\n" "help.text" msgid "The string [str\\'i\\'ng] is interpreted as [str'i'ng]" msgstr "" #. eRosR #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id201611949691323\n" "help.text" msgid "The string [str\\\"i\\\"ng] is interpreted as [str\"i\"ng]" msgstr "" #. FtzhT #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "hd_id201586594659135\n" "help.text" msgid "Service invocation" msgstr "" #. 4WFve #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id141609955500101\n" "help.text" msgid "Before using the ScriptForge.String service the ScriptForge library needs to be loaded using:" msgstr "" #. znLHV #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id271627158844922\n" "help.text" msgid "Loading the library will create the SF_String object that can be used to call the methods in the String service." msgstr "" #. e2Gty #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id63158659509728\n" "help.text" msgid "The following code snippets show the three ways to call methods from the String service (the Capitalize method is used as an example):" msgstr "" #. UE3DL #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id761627158463235\n" "help.text" msgid "The code snippet below illustrates how to invoke methods from the String service in Python scripts. The IsIPv4 method is used as an example." msgstr "" #. GfEcK #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "hd_id651584978211886\n" "help.text" msgid "Properties" msgstr "" #. qKhL4 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id241611950267068\n" "help.text" msgid "The SF_String object provides the following properties for Basic scripts:" msgstr "" #. FDjPb #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id271584978211792\n" "help.text" msgid "Name" msgstr "" #. HGYbF #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id241584978211550\n" "help.text" msgid "ReadOnly" msgstr "Skriveverna" #. 5qXzL #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id621584978211403\n" "help.text" msgid "Description" msgstr "Beskriving" #. 6DG3u #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id71584978715562\n" "help.text" msgid "Yes" msgstr "" #. YJA6w #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id581584978715701\n" "help.text" msgid "Carriage return: Chr(13)" msgstr "" #. NCbTs #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id211584978211383\n" "help.text" msgid "Yes" msgstr "" #. xht7K #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id691584978211774\n" "help.text" msgid "Carriage return + Linefeed: Chr(13) & Chr(10)" msgstr "" #. ennLs #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id671584978666689\n" "help.text" msgid "Yes" msgstr "" #. pdykp #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id951584978666296\n" "help.text" msgid "Linefeed: Chr(10)" msgstr "" #. TTF6v #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id421584978666327\n" "help.text" msgid "Yes" msgstr "" #. 9djV3 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id901584978666158\n" "help.text" msgid "Carriage return + Linefeed, which can be
1) Chr(13) & Chr(10) or
2) Linefeed: Chr(10)
depending on the operating system." msgstr "" #. EMV7g #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id541584978666991\n" "help.text" msgid "Yes" msgstr "" #. VrjGQ #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id741584978666508\n" "help.text" msgid "Horizontal tabulation: Chr(9)" msgstr "" #. Ee5CF #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id461584978880380\n" "help.text" msgid "You can use the properties above to identify or insert the corresponding characters inside strings. For example, the Linefeed can be replaced by SF_String.sfLF." msgstr "" #. DDXd3 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id891611613601554\n" "help.text" msgid "List of Methods in the String Service" msgstr "" #. TFfR3 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id151611951803163\n" "help.text" msgid "The first argument of most methods is the string to be considered. It is always passed by reference and left unchanged. Methods such as Capitalize, Escape, etc return a new string after their execution." msgstr "" #. PYcny #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id371627158142730\n" "help.text" msgid "Because Python has comprehensive built-in string support, most of the methods in the String service are available for Basic scripts only. The methods available for Basic and Python are: HashStr, IsADate, IsEmail, IsFileName, IsIBAN, IsIPv4, IsLike, IsSheetName, IsUrl, SplitNotQuoted and Wrap." msgstr "" #. jaBZR #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id271579683706571\n" "help.text" msgid "Capitalizes the first character from each word in the input string." msgstr "" #. ibgky #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id941582304592013\n" "help.text" msgid "inputstr: The string to be capitalized." msgstr "" #. DB982 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id891582384556756\n" "help.text" msgid "Counts the number of occurrences of a substring or a regular expression within a string." msgstr "" #. DxK5L #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id571582384689863\n" "help.text" msgid "inputstr: The input string to be examined" msgstr "" #. QUeur #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id601582384696486\n" "help.text" msgid "substring: The substring or the regular expression to be used during search" msgstr "" #. vGiqm #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id451582384703719\n" "help.text" msgid "isregex: Use True if the substring is a regular expression (Default = False)" msgstr "" #. WiFme #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id141582384726168\n" "help.text" msgid "casesensitive: The search can be case sensitive or not (Default = False)." msgstr "" #. QcE5q #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "bas_id371582384749769\n" "help.text" msgid "'Counts the occurrences of the substring \"or\" inside the input string (returns 2)" msgstr "" #. XXCR4 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "bas_id561582384801586\n" "help.text" msgid "'Counts the number of words with only lowercase letters (returns 7)" msgstr "" #. aJNDg #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id131612223767126\n" "help.text" msgid "To learn more about regular expressions, refer to the Python's documentation on Regular Expression Operations." msgstr "" #. CCzMc #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id581579687739629\n" "help.text" msgid "Returns True if a string ends with a specified substring." msgstr "" #. cAmFW #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id21612306392239\n" "help.text" msgid "The function returns False when either the string or the substring have a length = 0 or when the substring is longer than the string." msgstr "" #. qk5nE #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id191579861552201\n" "help.text" msgid "inputstr: The string to be tested." msgstr "" #. ErigR #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id211579861561473\n" "help.text" msgid "substring: The substring to be searched at the end of inputstr." msgstr "" #. 4DKkW #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id801579861574009\n" "help.text" msgid "casesensitive: The search can be case sensitive or not (Default = False)." msgstr "" #. gn2F8 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "bas_id811579862998452\n" "help.text" msgid "'Returns True because the method was called with the default CaseSensitive = False" msgstr "" #. vJDmx #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "bas_id231579863168747\n" "help.text" msgid "'Returns False due to the CaseSensitive parameter" msgstr "" #. zThMM #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id921585921441429\n" "help.text" msgid "Converts linebreaks and tabs contained in the input string to their equivalent escaped sequence (\\\\, \\n, \\r, \\t)." msgstr "" #. kBiBE #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id9158592144110\n" "help.text" msgid "inputstr: The string to be converted." msgstr "" #. cpLKD #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "bas_id901585921441483\n" "help.text" msgid "'Returns the string \"abc\\n\\tdef\\\\n\"" msgstr "" #. ADN8M #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id271579868053137\n" "help.text" msgid "Replaces Tab characters Chr(9) by space characters to replicate the behavior of tab stops." msgstr "" #. Eb23Z #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id951579868064344\n" "help.text" msgid "If a line break is found, a new line is started and the character counter is reset." msgstr "" #. E73Ko #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id231579868290408\n" "help.text" msgid "inputstr: The string to be expanded" msgstr "" #. 9dyYc #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id281579868299807\n" "help.text" msgid "tabsize: This parameter is used to determine the Tab stops using the formula: TabSize + 1, 2 * TabSize + 1 , ... N * TabSize + 1 (Default = 8)" msgstr "" #. GUoE8 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id161579874552729\n" "help.text" msgid "Replaces all non-printable characters in the input string by a given character." msgstr "" #. GpHwp #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id431579874633865\n" "help.text" msgid "inputstr: The string to be searched" msgstr "" #. GttDN #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id31579874656437\n" "help.text" msgid "replacedby: Zero, one or more characters that will replace all non-printable characters in inputstr (Default = \"\")" msgstr "" #. W44TL #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id1001579876228707\n" "help.text" msgid "Finds in a string a substring matching a given regular expression." msgstr "" #. aq28M #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id131579876314120\n" "help.text" msgid "inputstr: The string to be searched" msgstr "" #. hRrBB #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id751579876371545\n" "help.text" msgid "regex: The regular expression" msgstr "" #. y2Fqs #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id881579876394584\n" "help.text" msgid "start: The position in the string where the search will begin. This parameter is passed by reference, so after execution the value of start will point to the first character of the found substring. If no matching substring is found, start will be set to 0." msgstr "" #. yZMDg #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id251579876403831\n" "help.text" msgid "casesensitive: The search can be case sensitive or not (Default = False)." msgstr "" #. A4JC7 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id841579876412287\n" "help.text" msgid "forward: Determines the direction of the search. If True, search moves forward. If False search moves backwards (Default = True)" msgstr "" #. SkaCi #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id451612309155653\n" "help.text" msgid "At the first iteration, if forward = True, then start should be equal to 1, whereas if forward = False then start should be equal to Len(inputstr)" msgstr "" #. gv3oo #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id221612309579001\n" "help.text" msgid "In the example above, the new value of lStart can be used to keep searching the same input string by setting the Start parameter to lStart + Len(result) at the next iteration." msgstr "" #. qAkN4 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id471601048983628\n" "help.text" msgid "Hash functions are used inside some cryptographic algorithms, in digital signatures, message authentication codes, manipulation detection, fingerprints, checksums (message integrity check), hash tables, password storage and much more." msgstr "" #. HupGD #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id301601048983765\n" "help.text" msgid "The HashStr method returns the result of a hash function applied on a given string and using a specified algorithm, as a string of lowercase hexadecimal digits." msgstr "" #. ZRZEF #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id631601048983149\n" "help.text" msgid "The hash algorithms supported are: MD5, SHA1, SHA224, SHA256, SHA384 and SHA512." msgstr "" #. yUmmb #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id621601048983210\n" "help.text" msgid "inputstr: The string to hash. It is presumed to be encoded in UTF-8. The hashing algorithm will consider the string as a stream of bytes." msgstr "" #. nuQRb #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id941601048983822\n" "help.text" msgid "algorithm: One of the supported algorithms listed above, passed as a string." msgstr "" #. TXGmB #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id221579879516929\n" "help.text" msgid "Encodes the input string into the HTML character codes, replacing special characters by their & counterparts." msgstr "" #. YNfid #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id341612351999692\n" "help.text" msgid "For example, the character é would be replaced by é or an equivalent numerical HTML code." msgstr "" #. CGFQH #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "bas_id501579879570781\n" "help.text" msgid "inputstr: The string to encode." msgstr "" #. jpv97 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id171579880990533\n" "help.text" msgid "Returns True if the input string is a valid date according to a specified date format." msgstr "" #. tBGBH #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id151579881091821\n" "help.text" msgid "inputstr: The string to be checked. If empty, the method returns False" msgstr "" #. nmTv3 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id991579881107670\n" "help.text" msgid "dateformat: The date format, as a string. It can be either \"YYYY-MM-DD\" (default), \"DD-MM-YYYY\" or \"MM-DD-YYYY\"" msgstr "" #. GvZLC #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id291579881117126\n" "help.text" msgid "The dash (-) may be replaced by a dot (.), a slash (/) or a space." msgstr "" #. yCA3T #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id51579881125801\n" "help.text" msgid "If the format is invalid, the method returns False." msgstr "" #. qFmWW #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id211612370427721\n" "help.text" msgid "This method checks the format of the input string without performing any calendar-specific checks. Hence it does not test the input string for leap years or months with 30 or 31 days. For that, refer to the IsDate built-in function." msgstr "" #. DJQFQ #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id181612371147364\n" "help.text" msgid "The example below shows the difference between the methods IsADate (ScriptForge) and the IsDate (built-in) function." msgstr "" #. hAADi #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id161579881600317\n" "help.text" msgid "Returns True if all characters in the string are alphabetic." msgstr "" #. Cpeo3 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id251579881615469\n" "help.text" msgid "Alphabetic characters are those characters defined in the Unicode Character Database as Letter." msgstr "" #. a9rTa #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id11579881691826\n" "help.text" msgid "inputstr: The string to be checked. If empty, the method returns False." msgstr "" #. KaLGv #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id421579883181382\n" "help.text" msgid "Returns True if all characters in the string are alphabetic, digits or \"_\" (underscore). The first character must not be a digit." msgstr "" #. BAEB4 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id31579884464101\n" "help.text" msgid "inputstr: The string to be checked. If empty, the method returns False." msgstr "" #. qAZpA #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id671580039484786\n" "help.text" msgid "Returns True if all characters in the string are Ascii characters." msgstr "" #. 3DNou #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id791580039528838\n" "help.text" msgid "inputstr: The string to be checked. If empty, the method returns False." msgstr "" #. iuPF4 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id861580044805749\n" "help.text" msgid "Returns True if all characters in the string are digits." msgstr "" #. yU7cc #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id41580044873043\n" "help.text" msgid "inputstr: The string to be checked. If empty, the method returns False." msgstr "" #. J8Ykx #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id521580045221758\n" "help.text" msgid "Returns True if the string is a valid email address." msgstr "" #. 8Pxsn #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id841580045280071\n" "help.text" msgid "inputstr: The string to be checked. If empty, the method returns False." msgstr "" #. R6MsU #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id41580047039666\n" "help.text" msgid "Returns True if the string is a valid filename in a given operating system." msgstr "" #. aQbRF #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id801580047079938\n" "help.text" msgid "inputstr: The string to be checked. If empty, the method returns False." msgstr "" #. jWMpJ #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id781580047088954\n" "help.text" msgid "osname: The operating system name, as a string. It can be \"WINDOWS\", \"LINUX\", \"MACOSX\" or \"SOLARIS\"." msgstr "" #. GnrxA #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id991612372824234\n" "help.text" msgid "The default value is the current operating system on which the script is running." msgstr "" #. FPuAV #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id911580047551929\n" "help.text" msgid "Returns True if all characters in the string are hexadecimal digits." msgstr "" #. hWqAh #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id331580047594144\n" "help.text" msgid "inputstr: The string to be checked. If empty, the method returns False." msgstr "" #. kEz4y #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id521612377109554\n" "help.text" msgid "The hexadecimal digits may be prefixed with \"0x\" or \"&H\"." msgstr "" #. 3WKNf #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id791584008420941\n" "help.text" msgid "Returns True if the string is a valid International Bank Account Number (IBAN). The comparison is not case-sensitive." msgstr "" #. DnC6i #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id951880048466565\n" "help.text" msgid "inputstr: The string to be checked. If empty, the method returns False." msgstr "" #. VgT3x #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id631619526542367\n" "help.text" msgid "True if the string contains a valid IBAN number." msgstr "" #. CcTNk #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id791580048420941\n" "help.text" msgid "Returns True if the string is a valid IP(v4) address." msgstr "" #. rMpXB #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id981580048466565\n" "help.text" msgid "inputstr: The string to be checked. If empty, the method returns False." msgstr "" #. yWHew #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id831580049093038\n" "help.text" msgid "Returns True if the whole input string matches a given pattern containing wildcards." msgstr "" #. PzigS #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id141580049142548\n" "help.text" msgid "inputstr: The string to be checked. If empty, the method returns False." msgstr "" #. XEBzh #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id31580049154551\n" "help.text" msgid "pattern: The pattern as a string. Wildcards are:" msgstr "" #. ZCzDP #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id181612441703306\n" "help.text" msgid "\"?\" represents any single character;" msgstr "" #. CFPcW #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id861612377611438\n" "help.text" msgid "\"*\" represents zero, one, or multiple characters." msgstr "" #. eLYBF #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id991580049206617\n" "help.text" msgid "casesensitive: The search can be case sensitive or not (Default = False)." msgstr "" #. kSMmn #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id581580050048679\n" "help.text" msgid "Returns True if all characters in the string are in lowercase. Non-alphabetic characters are ignored." msgstr "" #. nWGvX #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id751580050122938\n" "help.text" msgid "InputStr: The string to be checked. If empty, the method returns False." msgstr "" #. BzD3y #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id231580051650488\n" "help.text" msgid "Returns True if all characters in the string are printable." msgstr "" #. gUhut #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id721580051706431\n" "help.text" msgid "inputstr: The string to be checked. If empty, the method returns False." msgstr "" #. HYBp5 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id281580052400960\n" "help.text" msgid "Returns True if the whole input string matches a given regular expression." msgstr "" #. ZuBxC #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id161580052454770\n" "help.text" msgid "inputstr: The string to be checked. If empty, the method returns False." msgstr "" #. mi4mi #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id581580052467973\n" "help.text" msgid "regex: The regular expression. If empty, the method returns False." msgstr "" #. vmqZM #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id621580052654341\n" "help.text" msgid "casesensitive: The search can be case sensitive or not (Default = False)." msgstr "" #. iZSEw #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id1001589460240467\n" "help.text" msgid "Returns True if the input string is a valid Calc sheet name." msgstr "" #. xPFLm #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id671589460240552\n" "help.text" msgid "inputstr: The string to be checked. If empty, the method returns False." msgstr "" #. uE5gz #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id551612442002823\n" "help.text" msgid "A sheet name must not contain the characters [ ] * ? : / \\ or the character ' (apostrophe) as first or last character." msgstr "" #. ALdgg #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id371580293093655\n" "help.text" msgid "Returns True if the first character of every word is in uppercase and the other characters are in lowercase." msgstr "" #. uVF9U #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id471580293142283\n" "help.text" msgid "inputstr: The string to be checked. If empty, the method returns False." msgstr "" #. 7Ryzp #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id801580128672004\n" "help.text" msgid "Returns True if all characters in the string are in uppercase. Non alphabetic characters are ignored." msgstr "" #. HFDCW #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id391580128736809\n" "help.text" msgid "inputstr: The string to be checked. If empty, the method returns False." msgstr "" #. BTRpG #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id531580132067813\n" "help.text" msgid "Returns True if the string is a valid absolute URL (Uniform Resource Locator) address. Only the http, https and ftp protocols are supported." msgstr "" #. HrFqG #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id321580132113593\n" "help.text" msgid "inputstr: The string to be checked. If empty, the method returns False." msgstr "" #. wBAqG #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id41580132491698\n" "help.text" msgid "Returns True if all characters in the string are whitespaces" msgstr "" #. JDD85 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id801580132535511\n" "help.text" msgid "inputstr: The string to be checked. If empty, the method returns False." msgstr "" #. 7EBbA #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id891580133307100\n" "help.text" msgid "Returns the input string center-justified." msgstr "" #. TLmnE #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id571612380829021\n" "help.text" msgid "The leading and trailing white spaces are stripped and the remaining characters are completed left and right up to a specified total length with the character padding." msgstr "" #. 4uuQT #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id911580133391827\n" "help.text" msgid "inputstr: The string to be center-justified. If empty, the method returns an empty string." msgstr "" #. jHJNT #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id671580133694946\n" "help.text" msgid "length: The length of the resulting string (default = the length of the input string)." msgstr "" #. A3qof #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id511612381090109\n" "help.text" msgid "If the specified length is shorter than the center-justified input string, then the returned string is truncated." msgstr "" #. fys4j #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id101580133705268\n" "help.text" msgid "padding: The single character to be used as padding (default = the Ascii space \" \")." msgstr "" #. 4zk3p #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id911580135466348\n" "help.text" msgid "Returns the input string left-justified." msgstr "" #. 9KeCE #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id431612381917641\n" "help.text" msgid "The leading white spaces are stripped and the remaining characters are completed to the right up to a specified total length with the character padding." msgstr "" #. UQXSM #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id281580135523448\n" "help.text" msgid "inputstr: The string to be left-justified. If empty, the method returns an empty string." msgstr "" #. EAwAa #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id431580135534910\n" "help.text" msgid "length: The length of the resulting string (default = the length of the input string)." msgstr "" #. ntKXx #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id161612381664182\n" "help.text" msgid "If the specified length is shorter than the left-justified input string, then the returned string is truncated." msgstr "Viss den gjevne strengen er kortare enn den venstrejusterte inndatastrengen, vert den returnerte strengen avkorta." #. wBnmv #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id221580135568475\n" "help.text" msgid "padding: The single character to be used as padding (default = the Ascii space \" \")." msgstr "" #. TTokb #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id821580136091225\n" "help.text" msgid "Returns the input string right-justified." msgstr "Returnerer inndata-strengen høgrejustert." #. 4fG7c #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id771612382000293\n" "help.text" msgid "The leading white spaces are stripped and the remaining characters are completed to the left up to a specified total length with the character padding." msgstr "" #. KxskT #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id201580136154170\n" "help.text" msgid "inputstr: The string to be right-justified. If empty, the method returns an empty string." msgstr "" #. FboQc #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id71580136164632\n" "help.text" msgid "length: The length of the resulting string (default = the length of the input string)." msgstr "" #. dshKE #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id191612381732163\n" "help.text" msgid "If the specified length is shorter than the right-justified input string, then the returned string is truncated." msgstr "Viss den gjevne strengen er kortare enn den høgrejusterte inndatastrengen, vert den returnerte strengen avkorta." #. LtcVG #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id751580136200680\n" "help.text" msgid "padding: The single character to be used as padding (default = the Ascii space \" \")." msgstr "" #. Wn55u #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id251580136888958\n" "help.text" msgid "Returns the input string enclosed in single or double quotes. Existing quotes are left unchanged, including leading and/or trailing quotes." msgstr "Returnerer inndatastrengen mellom enkle eller doble sitatteikn. Sitatteikn som finst frå før vert ikkje endra, inkludert innleiande og/eller avsluttande sitatteikn." #. YBvt4 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id811580136944674\n" "help.text" msgid "inputstr: The string to quote." msgstr "" #. GynWV #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id581599129397412\n" "help.text" msgid "quotechar: Either the single (') or double (\") quote (default)." msgstr "" #. fY3PC #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id911612382537087\n" "help.text" msgid "This method can be useful while preparing a string field to be stored in a csv-like file, which requires that text values be enclosed with single or double quotes." msgstr "Denne metoden kan vera nyttig når du gjer klar eit strengfelt som skal lagrast i ei csv-liknande fil, noko som krev at tekstverdiar vert omgjevne av enkle eller doble sitatteikn." #. 8Rr4M #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id951580139124650\n" "help.text" msgid "Replaces all occurrences of the characters specified in the Before parameter by the corresponding characters specified in After." msgstr "Byter ut alle førekomstar av teikna som er gjevne i parameteren Before med dei tilsvarande teikna som er gjevne i After." #. 5hn2y #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id1001612384040018\n" "help.text" msgid "If the length of Before is greater than the length of After, the residual characters in Before are replaced by the last character in After." msgstr "Viss lengda av Before er større enn lengda av After, vert dei resterande teikna i Before bytt ut med det siste teiknet i After." #. DD2CL #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id11580139160633\n" "help.text" msgid "inputstr: The input string on which replacements will occur." msgstr "" #. DvaRE #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id111580139169795\n" "help.text" msgid "before: A string with the characters that will be searched in the input string for replacement." msgstr "" #. N46b3 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id851580139182113\n" "help.text" msgid "after: A string with the new characters that will replace those defined in before." msgstr "" #. CDuCC #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "bas_id921580139218457\n" "help.text" msgid "' Replaces accented characters" msgstr "' Byter ut teikn med aksent" #. 5ww5A #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id151612442904499\n" "help.text" msgid "The SF_String service provides useful public constants for the Latin character sets, as shown in the example below:" msgstr "Tenesta SF_String inneheld nyttige delte konstantar for dei latinske teiknsetta, som vist i eksemplet nedanfor:" #. 9SPjv #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id671580140272818\n" "help.text" msgid "Replaces all occurrences of a given regular expression by a new string." msgstr "Byter ut alle førekomstar av eit gjeve regulært uttrykk med ein ny streng." #. ujCyu #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id471580140311626\n" "help.text" msgid "inputstr: The input string on which replacements will occur." msgstr "" #. o2DS2 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id651580140322666\n" "help.text" msgid "regex: The regular expression." msgstr "" #. itEEd #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id891580140334754\n" "help.text" msgid "newstr: The replacing string." msgstr "" #. gJRAr #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id581580140345221\n" "help.text" msgid "casesensitive: The search can be case sensitive or not (Default = False)." msgstr "" #. ykPVR #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "bas_id961612384647003\n" "help.text" msgid "' \"Lxxxx xxxxx xxxxx xxx xxxx, xxxxxxxxxxx xxxxxxxxxx xxxx.\" (each lowercase letter is replaced by \"x\")" msgstr "' \"Lxxxx xxxxx xxxxx xxx xxxx, xxxxxxxxxxx xxxxxxxxxx xxxx.\" (kvar liten bokstav er erstatta med «x»)" #. rkMsv #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "bas_id751612384623936\n" "help.text" msgid "' \"x x x x x, x x x.\" (each word is replaced by \"x\")" msgstr "' \"x x x x x, x x x.\" kvart ord er erstatta med «x»)" #. 2Gd5C #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id51580146471894\n" "help.text" msgid "Replaces in a string some or all occurrences of an array of strings by an array of new strings." msgstr "Byter ut nokre eller alle førekomstane av ei matrise med strengar med ei matrise med nye strengar." #. SDpot #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id831580146504326\n" "help.text" msgid "inputstr: The input string on which replacements will occur." msgstr "" #. UfuEm #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id411580146514927\n" "help.text" msgid "oldstr: A single string or an array of strings. Zero-length strings are ignored." msgstr "" #. Ukr3F #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id591580146532966\n" "help.text" msgid "newstr: The replacing string or the array of replacing strings." msgstr "" #. 7BQ7F #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id611612384873347\n" "help.text" msgid "If oldstr is an array, each occurrence of any of the items in oldstr is replaced by newstr." msgstr "" #. AfRz6 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id611612384880820\n" "help.text" msgid "If oldstr and newstr are arrays, replacements occur one by one up to the UBound(newstr)." msgstr "" #. E39aH #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id241612385058264\n" "help.text" msgid "If oldstr has more entries than newstr, then the residual elements in oldstr are replaced by the last element in newstr." msgstr "" #. MkqW5 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id701580146547619\n" "help.text" msgid "occurrences: The maximum number of replacements. The default value is 0, meaning that all occurrences will be replaced." msgstr "" #. QX33p #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id741612385380533\n" "help.text" msgid "When oldstr is an array, the occurrence parameter is computed separately for each item in the array." msgstr "" #. aWrvA #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id301580146556599\n" "help.text" msgid "casesensitive: The search can be case sensitive or not (Default = False)." msgstr "" #. eygyi #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id901580147558931\n" "help.text" msgid "Returns a string with a readable representation of the argument, truncated at a given length. This is useful mainly for debugging or logging purposes." msgstr "Returnerer ein streng med ein lesbar representasjon av argumentet, avkorta til ei gjeve lengde. Dette er nyttig stort sett for feilsøkings- eller loggingsføremål." #. cU3Ev #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id11612386054691\n" "help.text" msgid "If the anyvalue parameter is an object, it will be enclosed with square brackets \"[\" and \"]\"." msgstr "" #. gVB32 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id491612386081802\n" "help.text" msgid "In strings, tabs and line breaks are replaced by \\t, \\n or \\r." msgstr "I strengar vert tabulatorar og linjeskift byt ut med \\t, \\n eller \\r." #. SfUGD #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id921612386089103\n" "help.text" msgid "If the final length exceeds the maxlength parameter, the latter part of the string is replaced by \" ... (N)\" where N is the total length of the original string before truncation." msgstr "" #. zLfNR #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id91580147593626\n" "help.text" msgid "anyvalue: The input value to be represented. It can be any value, such as a string, an array, a Basic object, a UNO object, etc." msgstr "" #. hdDFi #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id811580147609322\n" "help.text" msgid "maxlength: The maximum length of the resulting string. The default value is 0, meaning there is no limit to the length of the resulting representation." msgstr "" #. Ape7i #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id641612386659292\n" "help.text" msgid "Note that the representation of data types such as Arrays and ScriptForge.Dictionary object instances include both the data type and their values:" msgstr "Legg merke til at representasjonen av datatypar som matriser og ScriptForge.Dictionary objektførekomstar inkluderer både datatypen og verdiane:" #. ZFFAD #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "bas_id971612386906463\n" "help.text" msgid "' An example with a Basic built-in Array" msgstr "' Et eksempel med ei innebygd Basic-matrise" #. GEZzM #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "bas_id401612386876329\n" "help.text" msgid "' An example with a ScriptForge Array" msgstr "' Eit eksempel med ei ScriptForge-matrise" #. mZ3ar #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "bas_id551612386931680\n" "help.text" msgid "' An example with a ScriptForge Dictionary" msgstr "' Eit eksempel med ei ScriptForge-ordbok" #. vvADG #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id411580312925741\n" "help.text" msgid "Returns the input string in reversed order." msgstr "Returnerer inndata-strengen i omvendt rekkjefølgje." #. EEyG6 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id141612387177873\n" "help.text" msgid "This method is equivalent to the built-in StrReverse Basic function." msgstr "" #. ZEarP #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id961612387463144\n" "help.text" msgid "To use the StrReverse function, the statement Option VBASupport 1 must be present in the module." msgstr "" #. pSyL6 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id241580312964497\n" "help.text" msgid "inputstr: The string to be reversed." msgstr "" #. KBFDk #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id721580210762286\n" "help.text" msgid "Returns a zero-based array of strings with the lines in the input string. Each item in the array is obtained by splitting the input string at newline characters." msgstr "Returnerer ei null-basert matrise av strengar med linjene i inndatastrengen. Kvart element i matrisa vert hent ved å dela inndatastrengen ved linjeskiftteikna." #. nuUF6 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id481580210806878\n" "help.text" msgid "inputstr: The string to be split." msgstr "" #. FEFUw #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id231580210820309\n" "help.text" msgid "keepbreaks: When True, line breaks are preserved in the output array (default = False)." msgstr "" #. HAG8Q #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id471580211762739\n" "help.text" msgid "Splits a string into an array of elements using a specified delimiter." msgstr "Deler ein streng inn i ei matrise av element ved hjelp av eit spesifisert skiljeteikn." #. zsADB #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id281612388034501\n" "help.text" msgid "If a quoted substring contains a delimiter, it is ignored. This is useful when parsing CSV-like records that contain quoted strings." msgstr "Viss ein delstreng sett mellom sitatteikn inneheld eit skiljeteikn, vert skiljeteiknet ignorert. Dette er nyttig når du analyserer CSV-liknande oppføringar som inneheld strengar i sitatteikn." #. JKAaG #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id881580211809490\n" "help.text" msgid "inputstr: The string to be split." msgstr "" #. zFjwe #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id811580211821162\n" "help.text" msgid "delimiter: A string of one or more characters that will be used as delimiter. The default delimiter is the Ascii space \" \" character." msgstr "" #. 3rGRu #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id181580211833778\n" "help.text" msgid "occurrences: The maximum number of substrings to return. The default value is 0, meaning that there is no limit to the number of returned strings." msgstr "" #. W2og7 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id421599123777334\n" "help.text" msgid "quotechar: Either the single (') or double (\") quote." msgstr "" #. DiYMJ #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id661627251379676\n" "help.text" msgid "Beware of the differences between Basic and Python when representing strings. For example, in Basic two \"\" characters inside a string are interpreted as a single \" character. In Python, strings enclosed with single quotes can contain \" characters without having to double them." msgstr "" #. 6Q2tJ #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id771580212837884\n" "help.text" msgid "Returns True if the first characters of a string are identical to a given substring." msgstr "" #. BYx4G #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id781612393174350\n" "help.text" msgid "This method returns False if either the input string or the substring have a length = 0 or when the substring is longer than the input string." msgstr "" #. jrzxu #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id271580212876135\n" "help.text" msgid "inputstr: The string to be tested." msgstr "" #. tE9WD #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id571580212889462\n" "help.text" msgid "substring: The substring to be searched at the start of inputstr." msgstr "" #. ZeQP4 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id811580212900799\n" "help.text" msgid "casesensitive: The search can be case sensitive or not (Default = False)." msgstr "" #. DGgBx #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id911580295999690\n" "help.text" msgid "Returns the input string without its leading and trailing whitespaces." msgstr "" #. BESEu #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id541580296044377\n" "help.text" msgid "inputstr: The string to trim." msgstr "" #. 9t9vX #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id61580483096936\n" "help.text" msgid "Converts any escaped sequence (\\\\, \\n, \\r, \\t) in the input string to their corresponding Ascii character." msgstr "" #. mzTsG #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id971580483124743\n" "help.text" msgid "inputstr: The string to be converted." msgstr "" #. BoYHV #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id831580213634029\n" "help.text" msgid "Removes the single or double quotes enclosing the input string." msgstr "" #. Ae8c5 #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id811612393585600\n" "help.text" msgid "This is useful when parsing CSV-like records that contain quoted strings." msgstr "" #. BhVvp #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id761580213677493\n" "help.text" msgid "inputstr: The string to unquote." msgstr "" #. gRUHA #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id211599129509890\n" "help.text" msgid "quotechar: Either the single (') or double (\") quote (default)." msgstr "" #. nGq4Q #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "bas_id371580213702598\n" "help.text" msgid "' s = \"Some text\" (without enclosing quotes)" msgstr "" #. Fp8ip #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "bas_id51580213693694\n" "help.text" msgid "' The string below does not have enclosing quotes, so it remains unchanged" msgstr "" #. A4Eki #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "bas_id961612393917830\n" "help.text" msgid "' s = \"Some text\" (unchanged)" msgstr "" #. ULtxx #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "bas_id461612394182689\n" "help.text" msgid "' Quotes inside the string are not removed" msgstr "" #. 8w4ia #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "bas_id961612394171208\n" "help.text" msgid "' s = \"The \"\"true\"\" meaning\" (unchanged)" msgstr "" #. JGhWK #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id871585834468102\n" "help.text" msgid "Converts the input string into an array of substrings so that each item in the array has at most a given number of characters." msgstr "" #. 4G9FU #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id21612394465120\n" "help.text" msgid "In practice, this method returns a zero-based array of output lines, without newlines at the end, except for the pre-existing line-breaks." msgstr "" #. qgd6X #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id601612395193333\n" "help.text" msgid "Tabs are expanded using the same procedure performed by the ExpandTabs method." msgstr "" #. kTwEG #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id641612394826616\n" "help.text" msgid "Symbolic line breaks are replaced by their equivalent Ascii characters." msgstr "" #. y7VvP #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id361612394859733\n" "help.text" msgid "If the wrapped output has no content, the returned array is empty." msgstr "" #. SNRzH #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id251585834468498\n" "help.text" msgid "inputstr: The string to wrap." msgstr "" #. MiptC #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id351585834773177\n" "help.text" msgid "width: The maximum number of characters in each line (Default = 70)." msgstr "" #. epG6z #: sf_string.xhp msgctxt "" "sf_string.xhp\n" "par_id741585834874500\n" "help.text" msgid "tabsize: Before wrapping the text, the existing TAB Chr(9) characters are replaced with spaces. The argument tabsize defines the TAB stops at TabSize + 1, 2 * TabSize + 1 , ... N * TabSize + 1 (Default = 8)." msgstr "" #. HjZDB #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "tit\n" "help.text" msgid "ScriptForge.TextStream service" msgstr "" #. cEA5U #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "bm_id351585330787295\n" "help.text" msgid "ScriptForge.TextStream service" msgstr "" #. nBJsE #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id511585330787205\n" "help.text" msgid "The TextStream service is used to sequentially read from and write to files opened or created using the ScriptForge.FileSystem service." msgstr "" #. TeRTa #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id41613596903894\n" "help.text" msgid "The methods OpenTextFile and CreateTextFile from the FileSystem service return an instance of the TextStream service." msgstr "" #. MVFWC #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id161585330787262\n" "help.text" msgid "Line delimiters may be specified by the user. In input operations CR, LF or CR+LF are supported. In output operations, the default line delimiter is the one used by the operating system." msgstr "" #. GDkir #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id831613598137669\n" "help.text" msgid "The line delimiter for the operating system where the macro is being executed can be accessed using the SF_String.sfNEWLINE property." msgstr "" #. SvXzF #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id851613597445432\n" "help.text" msgid "All operations needed to read from or write to a file (open, read/write and close) are presumed to happen during the same macro run." msgstr "" #. dc5KN #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "hd_id83158533078741\n" "help.text" msgid "Service invocation" msgstr "" #. AuQX2 #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id351613598192725\n" "help.text" msgid "The examples below in Basic and Python use the OpenTextFile method to create an instance of the TextStream Service." msgstr "" #. UUudg #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id371585330787197\n" "help.text" msgid "The file must be closed with the CloseFile method after all read or write operations have been executed:" msgstr "" #. zNveN #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id891582733781994\n" "help.text" msgid "Optionally, the resources used by the TextStream instance can be released using the Dispose method:" msgstr "" #. nsGCZ #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id121612917368946\n" "help.text" msgid "The methods in the TextStream service are mostly based on the XTextInputStream and XTextOutputStream UNO interfaces." msgstr "" #. JAmgD #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "hd_id941585330787948\n" "help.text" msgid "Properties" msgstr "" #. aN9zM #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id631585330787267\n" "help.text" msgid "Name" msgstr "" #. vwGC5 #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id401585330787370\n" "help.text" msgid "Readonly" msgstr "Skriveverna" #. GpL38 #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id581585330787700\n" "help.text" msgid "Type" msgstr "" #. 6FDuM #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id551585330787608\n" "help.text" msgid "Description" msgstr "Beskriving" #. ECkTm #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id181585330787752\n" "help.text" msgid "Yes" msgstr "" #. YFkaY #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id901585330787680\n" "help.text" msgid "Used in read mode. A True value indicates that the end of the file has been reached. A test using this property should precede calls to the ReadLine method." msgstr "" #. EFEnA #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id561585330787568\n" "help.text" msgid "Yes" msgstr "" #. cVCoJ #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id741585330787777\n" "help.text" msgid "The character set to be used. The default encoding is \"UTF-8\"." msgstr "" #. p5s3X #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id641585330787207\n" "help.text" msgid "Yes" msgstr "" #. JjEqX #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id281585330787614\n" "help.text" msgid "Returns the name of the current file either in URL format or in the native operating system's format, depending on the current value of the FileNaming property of the FileSystem service." msgstr "" #. goEnw #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id111585330787410\n" "help.text" msgid "Yes" msgstr "" #. MZS6Z #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id861585330787417\n" "help.text" msgid "Indicates the input/output mode. Possible values are \"READ\", \"WRITE\" or \"APPEND\"." msgstr "" #. 7nTb9 #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id87158533078795\n" "help.text" msgid "Yes" msgstr "" #. j45gC #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id561585330787741\n" "help.text" msgid "Returns the number of lines read or written so far." msgstr "" #. CLAvQ #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id531585330787157\n" "help.text" msgid "No" msgstr "" #. rdA5M #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id691585330787279\n" "help.text" msgid "Sets or returns the current delimiter to be inserted between two successive written lines. The default value is the native line delimiter in the current operating system." msgstr "" #. dCeHZ #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id141613001281573\n" "help.text" msgid "To learn more about the names of character sets, visit IANA's Character Set page. Beware that %PRODUCTNAME does not implement all existing character sets." msgstr "" #. hKJkD #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id891611613601554\n" "help.text" msgid "List of Methods in the TextStream Service" msgstr "" #. DBBKM #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id421585330787675\n" "help.text" msgid "Closes the current input or output stream and empties the output buffer if relevant. Returns True if the file was successfully closed." msgstr "" #. MCW3q #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id65158533078799\n" "help.text" msgid "Returns all the remaining lines in the text stream as a single string. Line breaks are not removed." msgstr "" #. Vr34D #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id71613600347125\n" "help.text" msgid "The resulting string can be split in lines either by using the Split built-in Basic function if the line delimiter is known, or with the SF_String.SplitLines method." msgstr "" #. VRLGn #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id91585330787373\n" "help.text" msgid "For large files, using the ReadAll method wastes memory resources. In such cases it is recommended to read the file line by line using the ReadLine method." msgstr "" #. BuBVA #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id921613595637851\n" "help.text" msgid "Consider the text file \"Students.txt\" with the following contents (a name in each line):" msgstr "" #. hk7q4 #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id391613596019750\n" "help.text" msgid "The examples below in Basic and Python use the ReadAll and SplitLines methods to read the contents of the file into an array of strings:" msgstr "" #. BuRJE #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "bas_id251613595640550\n" "help.text" msgid "'Loads the FileSystem service" msgstr "' Hentar tenesta FileSystem" #. L2a3D #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "bas_id181613595641087\n" "help.text" msgid "'Opens the text file with the names to be read" msgstr "' Opnar tekstfila med dei namna som skal lesast" #. rDCSD #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "bas_id711613595642109\n" "help.text" msgid "'Reads all the contents in the input file as a single string" msgstr "" #. 6w73J #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "bas_id961613595643093\n" "help.text" msgid "'Splits the string into an array" msgstr "" #. 7Fq9E #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id871585330787885\n" "help.text" msgid "Returns the next line in the text stream as a string. Line breaks are removed from the returned string." msgstr "Returnerer den neste linja i tekststraumen som ein streng. Linjeskift vert fjerna frå den returnerte strengen." #. 6iDcF #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id431613600221626\n" "help.text" msgid "The AtEndOfStream test should precede the ReadLine method like in the example below." msgstr "Testen AtEndOfStream må gjerast før metoden ReadLine slik som i eksempelet nedanfor." #. GRRkq #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id171585330787774\n" "help.text" msgid "An error will be raised if the AtEndOfStream was reached during the previous ReadLine or SkipLine method call." msgstr "Det vert sett opp ein feil viss AtEndOfStream vart nådd under det førre oppkallet av metodane ReadLine eller SkipLine." #. mAty4 #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id11585330787847\n" "help.text" msgid "Skips the next line in the input stream when reading a TextStream file." msgstr "Hoppar over den neste linja i inndata-straumen ved lesing av einTextStream." #. FDMJB #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id441613600704766\n" "help.text" msgid "This method can result in AtEndOfStream being set to True." msgstr "Denne metoden kan resultera i at AtEndOfStream vert sett til Sann." #. D4JVb #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id141585330787657\n" "help.text" msgid "Writes a specified number of empty lines to the output stream." msgstr "Skriv eit spesifisert tal på tomme linjer til utdata-straumen." #. YsBUm #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id291585330787357\n" "help.text" msgid "lines: The number of empty lines to write to the file." msgstr "" #. GCPCC #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id101585330787215\n" "help.text" msgid "Writes the given string to the output stream as a single line." msgstr "Skriv den gjevne strengen til utdata-straumen som ei enkelt linje." #. Eska7 #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id421613601002074\n" "help.text" msgid "The character defined in the NewLine property is used as the line delimiter." msgstr "Teiknet som er definert i eigenskapen NewLine vert brukt som linjeskiljeteikn." #. LXFPE #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id491585330787650\n" "help.text" msgid "line: The line to write, may be empty." msgstr "" #. PM5Bx #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "par_id821626894480105\n" "help.text" msgid "The examples below in Basic and Python create a text file in CSV format in which each line contains a value and its square until lastValue is reached." msgstr "" #. 39u4o #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "bas_id21613321528612\n" "help.text" msgid "'Instantiates the FileSystem Service" msgstr "' Byrjar tenesta FileSystem" #. FnTiG #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "bas_id191613321529277\n" "help.text" msgid "'Creates a text file" msgstr "' Lagar ei tekstfil" #. f5RSB #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "bas_id641613321530181\n" "help.text" msgid "'Writes the Value and Value squared, separated by \";\"" msgstr "' Skriv verdien og kvadratet av verdien skilde med «;»" #. FCowk #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "bas_id141613321530960\n" "help.text" msgid "myFile.WriteLine(\"Value;Value Squared\")" msgstr "myFile.WriteLine(\"Value;Value Squared\")" #. m9Mo4 #: sf_textstream.xhp msgctxt "" "sf_textstream.xhp\n" "bas_id881613321532598\n" "help.text" msgid "'Closes the file and free resources" msgstr "' Lukkar fila og frigjev ressursar" #. PCSPY #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "tit\n" "help.text" msgid "ScriptForge.Timer service" msgstr "Tenesta ScriptForge.Timer" #. cxRDS #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "hd_id731582733781114\n" "help.text" msgid "ScriptForge.Timer service" msgstr "Tenesta ScriptForge.Timer" #. WyVvH #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id961582733781662\n" "help.text" msgid "The Timer service measures the amount of time it takes to run user scripts." msgstr "Tenesta Timer måler kor lang tid det tar å køyra brukarskript." #. qDa8E #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id181582733781323\n" "help.text" msgid "A Timer measures durations. It can be:" msgstr "Ein Timer mæler tidlengd. Det kan vera:" #. ErpLm #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id711582733781252\n" "help.text" msgid "Started, to indicate when to start measuring time." msgstr "Starta for å visa når tidtakinga byrjar." #. NAAFg #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id631582733781431\n" "help.text" msgid "Suspended, to pause measuring running time." msgstr "Suspendert for å laga pause i målinga under køyringa." #. nt9Qc #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id691582733781498\n" "help.text" msgid "Resumed, to continue tracking running time after the Timer has been suspended." msgstr "Gjenoppteken for å halda fram mælinga etter at «Timer» vart suspendert." #. DVCBM #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id31582733781344\n" "help.text" msgid "Restarted, which will cancel previous measurements and start the Timer at zero." msgstr "Starta på nytt. Dette vil avbryta tidlegare målingar og starta Timer frå null." #. dm7yA #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id991582733781280\n" "help.text" msgid "Durations are expressed in seconds with a precision of 3 decimal digits (milliseconds). A duration value of 12.345 means 12 seconds and 345 milliseconds" msgstr "Tidslengdene vert uttrykte i sekund med ein presisjon på 3 desimalsiffer (millisekund). Ei tidslengd på 12,345 betyr 12 sekund og 345 millisekund" #. CVhDR #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "hd_id201582733781265\n" "help.text" msgid "Service invocation" msgstr "Oppkall av teneste" #. fYto9 #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id141609955500101\n" "help.text" msgid "Before using the Timer service the ScriptForge library needs to be loaded or imported:" msgstr "" #. SCYEX #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id891610734806133\n" "help.text" msgid "The example below creates a Timer object named myTimer and starts it immediately." msgstr "Eksempelet nedanfor lagar eit Timer-objekt kalla myTimer og startar det straks." #. WMZog #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "bas_id681582733781715\n" "help.text" msgid "'The timer starts immediately when the second argument = True, default = False" msgstr "" #. CnZqc #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id891582733781994\n" "help.text" msgid "It is recommended to free resources after use:" msgstr "Det vert tilrådd å frigjeva resursar etter bruk:" #. 8h3fp #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "hd_id521582733781450\n" "help.text" msgid "Properties" msgstr "Eigenskapar" #. dVncX #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id71582733781260\n" "help.text" msgid "Name" msgstr "Namn" #. hFnkK #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id711582733781103\n" "help.text" msgid "Readonly" msgstr "Skriveverna" #. NvqK9 #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id76158273378122\n" "help.text" msgid "Type" msgstr "Type" #. 7zFYh #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id751582733781926\n" "help.text" msgid "Description" msgstr "Beskriving" #. T92or #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id621582733781588\n" "help.text" msgid "Yes" msgstr "Ja" #. 9yDgM #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id731582733781476\n" "help.text" msgid "The actual running time elapsed since start or between start and stop (does not consider suspended time)" msgstr "Den faktiske køyretida som har gått sidan start eller mellom start og stopp (tek ikkje med i pausetid)" #. ThAaG #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id301582733781498\n" "help.text" msgid "Yes" msgstr "Ja" #. tqpDU #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id401582733781608\n" "help.text" msgid "True when timer is started or suspended" msgstr "Sann når «Timer» er starta eller eller sett på pause" #. pSPgk #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id181582733781551\n" "help.text" msgid "Yes" msgstr "Ja" #. SGyi4 #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id161582733781328\n" "help.text" msgid "True when timer is started and suspended" msgstr "Sann når «Timer» er starta eller sett på pause" #. qoNpD #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id651582733781874\n" "help.text" msgid "Yes" msgstr "Ja" #. E45MD #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id171582733781456\n" "help.text" msgid "The actual time elapsed while suspended since start or between start and stop" msgstr "Den faktiske tida som har gått medan han var på pause sidan start, eller mellom start og stopp" #. gxF8S #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id141582733781303\n" "help.text" msgid "Yes" msgstr "Ja" #. FeCob #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id411582733781932\n" "help.text" msgid "The actual time elapsed since start or between start and stop (including suspensions and running time)" msgstr "Den faktiske tida som har gått sidan start, eller mellom start og stopp (medrekna pausar og løpande tid)" #. a63gW #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id9158273378151\n" "help.text" msgid "Note that the TotalDuration property is equivalent to summing the Duration and SuspendDuration properties." msgstr "" #. Mav4g #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "hd_id141582734141895\n" "help.text" msgid "Methods" msgstr "Metodar" #. P8RQj #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id291582734377752\n" "help.text" msgid "All methods do not require arguments and return a Boolean value." msgstr "Ikkje alle metodar krev argument og returnerer ein Boolsk verdi." #. onEib #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id311582734894257\n" "help.text" msgid "If the returned value is False, then nothing happened." msgstr "Viss den returnerte verdien er Usann, har det ikkje skjedd noko." #. U82Do #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id871582734180676\n" "help.text" msgid "Name" msgstr "Namn" #. 6oGwx #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id971582734180676\n" "help.text" msgid "Description" msgstr "Beskriving" #. ZMfpe #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id911582734180676\n" "help.text" msgid "Returned value" msgstr "Returnert verdi" #. 6DJTP #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id301582734180676\n" "help.text" msgid "Resumes the Timer if it has been suspended" msgstr "Startar Timer igjen viss han har vore stoppa" #. ixF7A #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id661582734180676\n" "help.text" msgid "False if the timer is not suspended" msgstr "Usann viss «Timer» ikkje er på pause" #. AAozF #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id821582734649305\n" "help.text" msgid "Terminates the Timer and discards its current property values, restarting as a new clean Timer" msgstr "Avsluttar Timer og forkastar gjeldande eigenskapsverdiar, startar på nytt som ein ny, rein Timer" #. UtCTT #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id761582734649305\n" "help.text" msgid "False if the timer is inactive" msgstr "Usann viss «Timer» er inaktiv" #. AkgAy #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id641582734802443\n" "help.text" msgid "Starts a new clean timer" msgstr "Startar ein ny, rein «Timer»" #. B4gTh #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id921582734802443\n" "help.text" msgid "False if the timer is already started" msgstr "Usann viss «Timer» alt er starta" #. D7CoH #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id81582734905507\n" "help.text" msgid "Suspends a running timer" msgstr "Set ein aktiv «Timer» på pause" #. YbeSJ #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id661582734905507\n" "help.text" msgid "False if the timer is not started or already suspended" msgstr "Usann viss «Timer» ikkje er starta eller sett på pause" #. sgXra #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id861582734996722\n" "help.text" msgid "Stops a running timer" msgstr "Stoppar ein aktiv «Timer»" #. WkCCC #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id381582734996722\n" "help.text" msgid "False if the timer is neither started nor suspended" msgstr "Usann viss «Timer» korkje er starta eller sett på pause" #. DuD3h #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id731626871820490\n" "help.text" msgid "The examples below in Basic and Python illustrate the use of the methods and properties in the Timer service." msgstr "" #. UgBnC #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "bas_id141582735926821\n" "help.text" msgid "'The time elapsed while the Dialog box is open will be counted as suspended time" msgstr "' Tida som går medan dialogvindauget er ope, vert rekna som pausetid" #. 4jHcj #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "bas_id901582735961725\n" "help.text" msgid "'The time elapsed while the Dialog box is open will be counted as running time" msgstr "' Tida som går medan dialogvindauge er ope vert rekna som løpande tid" #. 7QhZU #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "bas_id941610739926687\n" "help.text" msgid "'Shows the final time measurements" msgstr "' Viser den endelege tidtakinga" #. J6XGB #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id281610740093006\n" "help.text" msgid "If you call the Terminate method, subsequent calls for the Continue method will not resume time measurement. Similarly, after a Timer has been terminated, calling the Start method will restart it as if it were a clean new Timer." msgstr "Viss du kallar opp metoden Terminate vil ikkje etterfølgjande oppkall av metoden Continue ta opp att tidsmålinga. På same måte vil oppkall av metoden Start etter at «Timer» er avslutta, starta «Timer» på nytt som om han var ein ny, rein «Timer»." #. DSYKj #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id391626872019832\n" "help.text" msgid "Beware that the Wait function in Basic takes in a duration argument in milliseconds whereas the sleep function in Python uses seconds in its argument." msgstr "" #. bHEyr #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "hd_id431610989623086\n" "help.text" msgid "Working with Multiple Timers" msgstr "Arbeide med fleire «Timer»" #. dr779 #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id741610989639201\n" "help.text" msgid "It is possible to instantiate multiple Timer services in parallel, which gives flexibility in measuring time in different parts of the code." msgstr "Det er mulig å setja i gang fleire Timer-tenester parallelt, noko som gjer måling av tid i ulike deler av koden meir fleksibelt." #. ueLgB #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "par_id921610989722908\n" "help.text" msgid "The following example illustrates how to create two Timer objects and start them separately." msgstr "Eksempelet nedanfor viser korleis det kan setjast opp to Timer-objekt og setja dei i gang dei kvar for seg." #. PtA4E #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "bas_id481610989853679\n" "help.text" msgid "'Starts myTimerA" msgstr "' Startar MyTimerA" #. VUdGW #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "bas_id331610989849501\n" "help.text" msgid "'Starts myTimerB" msgstr "' Startar myTimerB" #. t98Fv #: sf_timer.xhp msgctxt "" "sf_timer.xhp\n" "bas_id931610989837747\n" "help.text" msgid "'Terminate both timers" msgstr "Avsluttar begge «Timer»" #. dphFv #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "tit\n" "help.text" msgid "ScriptForge.UI service" msgstr "Tenesta ScriptForge.UI" #. QWA6E #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "hd_id371587913266310\n" "help.text" msgid "ScriptForge.UI service" msgstr " Tenesta ScriptForge.UI" #. cAtxQ #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id31587913266153\n" "help.text" msgid "The UI (User Interface) service simplifies the identification and the manipulation of the different windows composing the whole %PRODUCTNAME application:" msgstr "" "T\n" "Tenesta UI (User Interface = brukargrensesnitt) gjer identifikasjonen og handsaminga av dei ulike vindauga som heile %PRODUCTNAME-programmet er bygd opp av." #. nTqj5 #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id591587913266547\n" "help.text" msgid "Windows selection" msgstr "Windows selection" #. 45jFA #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id511587913266292\n" "help.text" msgid "Windows moving and resizing" msgstr "Flytting og endring av storleiken på vindauga" #. UKRyn #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id51587913266596\n" "help.text" msgid "Statusbar settings" msgstr "Innstillingar for statuslinja" #. oj2kC #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id401599404339702\n" "help.text" msgid "Display of a floating progress bar" msgstr "Å visa ei flytande framdriftslinje" #. iE5hR #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id761587913266388\n" "help.text" msgid "Creation of new windows" msgstr "Laga nye vindauge" #. Dxuyy #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id591587913266489\n" "help.text" msgid "Access to the underlying \"documents\"" msgstr "Tilgang til dei underliggjande «dokumenta»" #. W5BL2 #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id181620312953395\n" "help.text" msgid "The UI service is the starting point to open, create or access to the content of new or existing documents from a user script." msgstr "UI-tenesta er utgangspunktet for å opna, laga eller få tilgang til innhaldet i nye eller eksisterande dokument frå eit brukarskript." #. ERvRF #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "hd_id881587913266307\n" "help.text" msgid "Definitions" msgstr "Definisjonar" #. L8Ate #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id741587913266919\n" "help.text" msgid "A window can be designated using various ways:" msgstr "Eit vindauge kan beskrivast på mange ulike måtar:" #. Bhs9h #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id291587913946648\n" "help.text" msgid "a full path and file name" msgstr "ein full sti med filnamn" #. CK62z #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id991587914045862\n" "help.text" msgid "the last component of the full file name or even only the last component without its suffix" msgstr "den siste komponenten i det fulle filnamnet, eller endatil den siste komponenten utan filutvidinga" #. 8qLrG #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id541587914079744\n" "help.text" msgid "the title of the window" msgstr "tittelen på vindauget" #. rdSGt #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id191587914134221\n" "help.text" msgid "for new documents, something like \"Untitled 1\"" msgstr "for nye dokument, noko som liknar på «Utan tittel 1»" #. GrAxe #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id911587914185746\n" "help.text" msgid "one of the special windows \"BASICIDE\" and \"WELCOMESCREEN\"" msgstr "eit av spesialvindauga «BASICIDE» og «WELCOMESCREEN»" #. n5ZLz #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id181587914255236\n" "help.text" msgid "The window name is case-sensitive." msgstr "Namnet på vindauget skil mellom store og små bokstavar." #. CC5D5 #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "hd_id541588520711430\n" "help.text" msgid "Document object" msgstr "Document-objektet" #. utsAW #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id841588521238711\n" "help.text" msgid "The methods CreateDocument, CreateBaseDocument, GetDocument and OpenDocument, described below, generate document objects. When a window contains a document, an instance of the Document class represents that document. A counterexample the Basic IDE is not a document but is a window in our terminology. Additionally a document has a type: Calc, Impress, Writer, ..." msgstr "" #. CbJ8H #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id331588521254916\n" "help.text" msgid "The specific properties and methods applicable on documents are implemented in a document class." msgstr "" #. CEisb #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id971588521292976\n" "help.text" msgid "The implementation of the document objects class is done in the SFDocuments associated library. See its \"Document\" service." msgstr "" #. 8NGPA #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "hd_id91587913266988\n" "help.text" msgid "Service invocation" msgstr "" #. WhLKN #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id141609955500101\n" "help.text" msgid "Before using the UI service the ScriptForge library needs to be loaded or imported:" msgstr "" #. 2tFG6 #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "hd_id841587913266618\n" "help.text" msgid "Properties" msgstr "" #. m8i6L #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id521587913266568\n" "help.text" msgid "Name" msgstr "" #. 48SHW #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id421587913266368\n" "help.text" msgid "ReadOnly" msgstr "Skriveverna" #. GpADs #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id631587914939732\n" "help.text" msgid "Type" msgstr "" #. nB9z5 #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id951587913266220\n" "help.text" msgid "Description" msgstr "Beskriving" #. c5EiC #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id651587913266754\n" "help.text" msgid "Yes" msgstr "" #. vQ8TT #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id351587913266349\n" "help.text" msgid "a valid and unique WindowName for the currently active window. When the window cannot be identified, a zero-length string is returned." msgstr "" #. DiCRC #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id658517913266754\n" "help.text" msgid "Yes" msgstr "" #. Bjyuv #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id153587913266349\n" "help.text" msgid "The list of the currently open documents. Special windows are ignored. This list consists of a zero-based one dimensional array either of filenames (in SF_FileSystem.FileNaming notation) or of window titles for unsaved documents." msgstr "" #. BH9YJ #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "hd_id511620762163390\n" "help.text" msgid "Constants" msgstr "" #. ziD2D #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id761620761856238\n" "help.text" msgid "Name" msgstr "" #. eBD6E #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id591620761856238\n" "help.text" msgid "Value" msgstr "" #. 2DU4R #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id711620761856238\n" "help.text" msgid "Description" msgstr "Beskriving" #. adCUF #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id341620761856238\n" "help.text" msgid "Macros are always executed" msgstr "" #. 7hEDg #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id101620761893011\n" "help.text" msgid "Macros are never executed" msgstr "" #. 6Jgt7 #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id11620761899780\n" "help.text" msgid "Macro execution depends on user settings" msgstr "" #. BTUQ4 #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id311620312548992\n" "help.text" msgid "The examples below show a MsgBox with the names of all currently open documents." msgstr "" #. DfpBz #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id881608131596153\n" "help.text" msgid "List of Methods in the UI Service" msgstr "" #. 4fc2p #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id431620322170443\n" "help.text" msgid "Note, as an exception, that the methods marked (*) are not applicable to Base documents." msgstr "" #. 778Fh #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id201587913266596\n" "help.text" msgid "Make the specified window active. The method returns True if the given window is found and can be activated. There is no change in the actual user interface if no window matches the selection." msgstr "" #. w9DR4 #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id381587913266946\n" "help.text" msgid "windowname: see the definitions above." msgstr "" #. 5kwSb #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id13159655484952\n" "help.text" msgid "Creates and stores a new %PRODUCTNAME Base document embedding an empty database of the given type. The method returns a Document service instance." msgstr "" #. gqGpB #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id441596554849949\n" "help.text" msgid "filename : Identifies the file to create. It must follow the SF_FileSystem.FileNaming notation. If the file already exists, it is overwritten without warning" msgstr "" #. Jub7D #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id381596554849698\n" "help.text" msgid "embeddeddatabase : Either \"HSQLDB\" (default), \"FIREBIRD\" or \"CALC\"." msgstr "" #. BWgpN #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id521596554849185\n" "help.text" msgid "registrationname : The name used to store the new database in the databases register. When = \"\" (default), no registration takes place. If the name already exists it is overwritten without warning." msgstr "" #. AFin6 #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id181629364905056\n" "help.text" msgid "calcfilename : Only when embeddeddatabase = \"CALC\", calcfilename represents the file containing the tables as Calc sheets. The file must exist or an error is raised." msgstr "" #. GtB5n #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id651588521753997\n" "help.text" msgid "Create a new %PRODUCTNAME document of a given type or based on a given template. The method returns a document object." msgstr "" #. JnBPt #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id51588521753302\n" "help.text" msgid "documenttype : \"Calc\", \"Writer\", etc. If absent, the templatefile argument must be present." msgstr "" #. BQ6UD #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id401588522663325\n" "help.text" msgid "templatefile : The full FileName of the template to build the new document on. If the file does not exist, the argument is ignored. The FileSystem service provides the TemplatesFolder and UserTemplatesFolder properties to help to build the argument." msgstr "" #. VeNQg #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id131588522824366\n" "help.text" msgid "hidden: if True, open the new document in the background (default = False). To use with caution: activation or closure afterwards can only happen programmatically." msgstr "" #. gWFt9 #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id701620762417802\n" "help.text" msgid "In both examples below, the first call to CreateDocument method creates a blank Calc document, whereas the second creates a document from a template file." msgstr "" #. shCRf #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id201588520551463\n" "help.text" msgid "Returns an open document object referring to either the active window, a given window or the active document." msgstr "" #. xgMAv #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id851588520551368\n" "help.text" msgid "windowname: See the definitions above. If this argument is absent, the active window is used. UNO objects of types com.sun.star.lang.XComponent or com.sun.star.comp.dba.ODatabaseDocument are also accepted. Thus passing ThisComponent or ThisDatabaseDocument as argument creates a new SFDocuments.Document, Base or Calc service." msgstr "" #. AAjDB #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id521620330287071\n" "help.text" msgid "To access the name of the currently active window, refer to the ActiveWindow property." msgstr "" #. CYsyC #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id24158798644169\n" "help.text" msgid "Maximizes the active window or the given window." msgstr "" #. hD4TC #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id951587986441954\n" "help.text" msgid "windowname: see the definitions above. If this argument is absent, the active window is maximized." msgstr "" #. vzDdG #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id871587986592696\n" "help.text" msgid "Minimizes the active window or the given window." msgstr "" #. Enys5 #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id751587986592626\n" "help.text" msgid "windowname: see the definitions above. If this argument is absent, the active window is minimized." msgstr "" #. WHDDQ #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id691596555746539\n" "help.text" msgid "Open an existing %PRODUCTNAME Base document. The method returns a document object." msgstr "" #. q2E3C #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id231596555746385\n" "help.text" msgid "filename: Identifies the file to open. It must follow the SF_FileSystem.FileNaming notation. If the file already exists, it is overwritten without warning" msgstr "" #. mtpoL #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id711596555746281\n" "help.text" msgid "registrationname: The name to use to find the database in the databases register. It is ignored if FileName <> \"\"." msgstr "" #. TqAd2 #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "id721596556313545\n" "help.text" msgid "macroexecution: 0 = behaviour is defined by the user configuration, 1 = macros are not executable, 2 = macros are executable." msgstr "" #. Dok5e #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id941620762989833\n" "help.text" msgid "To improve code readability you can use predefined constants for the macroexecution argument, as in the examples above." msgstr "" #. LBgGQ #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id541588523635283\n" "help.text" msgid "Opens an existing %PRODUCTNAME document with the given options. Returns a document object or one of its subclasses. The method returns Nothing (in Basic) / None (in Python) if the opening failed, even when the failure is caused by a user decision." msgstr "" #. 8tjbg #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id481588523635890\n" "help.text" msgid "filename: Identifies the file to open. It must follow the FileNaming notation of the FileSystem service." msgstr "" #. PWvQz #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id451588523635507\n" "help.text" msgid "password: To use when the document is protected. If wrong or absent while the document is protected, the user will be prompted to enter a password." msgstr "" #. 2jjFK #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id611588524329781\n" "help.text" msgid "readonly: Default = False." msgstr "" #. BcyEp #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id641588523635497\n" "help.text" msgid "hidden: if True, open the new document in the background (default = False). To use with caution: activation or closure afterwards can only happen programmatically." msgstr "" #. sbgeH #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id981588524474719\n" "help.text" msgid "macroexecution: 0 = behaviour is defined by the user configuration, 1 = macros are not executable, 2 = macros are executable." msgstr "" #. AF7iF #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id611588524584693\n" "help.text" msgid "filtername: The name of a filter that should be used for loading the document. If present, the filter must exist." msgstr "" #. MKueU #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id191588524634348\n" "help.text" msgid "filteroptions: An optional string of options associated with the filter." msgstr "" #. qMTrj #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id751587986945965\n" "help.text" msgid "Resizes and/or moves the active window. Absent and negative arguments are ignored. If the window is minimized or maximized, calling Resize without arguments restores it." msgstr "" #. 6NUcv #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id441587986945696\n" "help.text" msgid "left, top: Distances of the top-left corner from top and left edges of the screen, in pixels." msgstr "" #. AdcjG #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id601587987453825\n" "help.text" msgid "width, height: New dimensions of the window, in pixels." msgstr "" #. vDNVH #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id801587987507028\n" "help.text" msgid "In the following examples, the width and height of the window are changed while top and left are left unchanged." msgstr "" #. HP2Jb #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id21620332301809\n" "help.text" msgid "To resize a window that is not active, first activate it using the Activate method." msgstr "" #. mDaA5 #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id991589202413257\n" "help.text" msgid "Runs a UNO command on the current window. A few typical commands are: Save, SaveAs, ExportToPDF, Undo, Copy, Paste, etc." msgstr "" #. x52HD #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id921611152932311\n" "help.text" msgid "Commands can be run with or without arguments. Arguments are not validated before running the command. If the command or its arguments are invalid, then nothing will happen." msgstr "" #. rhYJj #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id31644182402479\n" "help.text" msgid "For a complete list of UNO commands that can be run in %PRODUCTNAME, refer to the Wiki page Development/DispatchCommands." msgstr "" #. Fkf3T #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id401589202413575\n" "help.text" msgid "command: Case-sensitive string containing the UNO command name. The inclusion of the prefix \".uno:\" in the command is optional. The command itself is not checked for correctness. If nothing happens after the command call, then the command is probably wrong." msgstr "" #. cZgrF #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id521644182774710\n" "help.text" msgid "args: For each argument to be passed to the command, specify a pair containing the argument name and value." msgstr "" #. t3CjC #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id721611153068137\n" "help.text" msgid "The following example runs the .uno:About command in the current window." msgstr "" #. cFYc9 #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id371644184276886\n" "help.text" msgid "Below is an example that runs the UNO command .uno:BasicIDEAppear and passes the arguments required to open the Basic IDE at a specific line of a module." msgstr "" #. fTXvL #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "bas_id631644184414955\n" "help.text" msgid "' Arguments passed to the command:" msgstr "" #. cyWLC #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id41644184549167\n" "help.text" msgid "Note that calling the command BasicIDEAppear without arguments will simply open the Basic IDE." msgstr "" #. BKNap #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id311644243516674\n" "help.text" msgid "In Python it is also possible to call RunCommand using keyword arguments:" msgstr "" #. Em5in #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id191611153511038\n" "help.text" msgid "Each %PRODUCTNAME component has its own set of commands available. One easy way to learn commands is going to Tools - Customize - Keyboard. When you position your mouse over a function in the Function list, a tooltip will appear with the corresponding UNO command." msgstr "" #. NnBWM #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id281587996421580\n" "help.text" msgid "Display a text and a progressbar in the status bar of the active window. Any subsequent calls in the same macro run refer to the same status bar of the same window, even if the window is not visible anymore. A call without arguments resets the status bar to its normal state." msgstr "" #. rDr2L #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id71587996421829\n" "help.text" msgid "text: An optional text to be displayed in front of the progress bar." msgstr "" #. hbCpG #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id881587996421777\n" "help.text" msgid "percentage: an optional degree of progress between 0 and 100." msgstr "" #. qbGdy #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "bas_id651620332601083\n" "help.text" msgid "' Resets the statusbar" msgstr "" #. oQfWc #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id571598864255776\n" "help.text" msgid "Displays a non-modal dialog box. Specify its title, an explicatory text and a percentage of progress to be represented on a progressbar. The dialog will remain visible until a call to the method without arguments or until the user manually closes the dialog." msgstr "" #. drhV6 #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id441598864535695\n" "help.text" msgid "title : The title appearing on top of the dialog box. Default = \"ScriptForge\"." msgstr "" #. jvrZV #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id311598864255297\n" "help.text" msgid "text: An optional text to be displayed above the progress bar." msgstr "" #. Qj3N3 #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id881598864255424\n" "help.text" msgid "percentage: an optional degree of progress between 0 and 100." msgstr "" #. rVBX3 #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "bas_id651620333289753\n" "help.text" msgid "' Closes the Progress Bar window" msgstr "" #. u3gZ8 #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "pyc_id761620333269236\n" "help.text" msgid "# Closes the Progress Bar window" msgstr "" #. ZEG6t #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id431588587119925\n" "help.text" msgid "Returns True if the given window could be identified." msgstr "" #. rkJbT #: sf_ui.xhp msgctxt "" "sf_ui.xhp\n" "par_id45158858711917\n" "help.text" msgid "windowname: see the definitions above." msgstr "" #. NyP5B #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "tit\n" "help.text" msgid "SFDocuments.Writer service" msgstr "" #. 5i7vz #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "hd_id731582733781114\n" "help.text" msgid "SFDocuments.Writer service" msgstr "" #. dUwYw #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "par_id381589189355849\n" "help.text" msgid "The SFDocuments shared library provides a number of methods and properties to facilitate the management and handling of %PRODUCTNAME documents." msgstr "" #. FvF79 #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "par_id351591014177269\n" "help.text" msgid "Some methods are generic for all types of documents and are inherited from the SF_Document module, whereas other methods that are specific for Writer documents are defined in the SF_Writer module." msgstr "" #. LTpqJ #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "hd_id581582885621841\n" "help.text" msgid "Service invocation" msgstr "" #. YFLf6 #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "par_id141609955500101\n" "help.text" msgid "Before using the Writer service the ScriptForge library needs to be loaded or imported:" msgstr "" #. 3LPrN #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "par_id591589191059889\n" "help.text" msgid "The Writer service is closely related to the UI service of the ScriptForge library. Below are a few examples of how the Writer service can be invoked." msgstr "" #. NvcUB #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "par_id551621623999947\n" "help.text" msgid "The code snippet below creates a Writer service instance that corresponds to the currently active Writer document." msgstr "" #. 4P2m8 #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "par_id341621467500466\n" "help.text" msgid "Another way to create an instance of the Writer service is using the UI service. In the following example, a new Writer document is created and oDoc is a Writer service instance:" msgstr "" #. dENpx #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "par_id921621467621019\n" "help.text" msgid "Or using the OpenDocument method from the UI service:" msgstr "" #. WopGb #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "par_id741621467697967\n" "help.text" msgid "It is also possible to instantiate the Writer service using the CreateScriptService method:" msgstr "" #. WTDbw #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "par_id271621467810774\n" "help.text" msgid "In the example above, \"MyFile.odt\" is the name of an open document window. If this argument is not provided, the active window is considered." msgstr "" #. EEAZF #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "par_id71158288562139\n" "help.text" msgid "It is recommended to free resources after use:" msgstr "" #. wPWMP #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "par_id231611610666018\n" "help.text" msgid "However, if the document was closed using the CloseDocument method, it becomes unnecessary to free resources using the command described above." msgstr "" #. 7JvGW #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "par_id71611090922315\n" "help.text" msgid "The use of the prefix \"SFDocuments.\" while calling the service is optional." msgstr "" #. EcQjk #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "hd_id291631196803182\n" "help.text" msgid "Definitions" msgstr "" #. ausGU #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "hd_id351582885195476\n" "help.text" msgid "Properties" msgstr "" #. VB9Jj #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "hd_id501582887473754\n" "help.text" msgid "Methods" msgstr "" #. ioXEB #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "par_id891611613601554\n" "help.text" msgid "List of Methods in the Writer Service" msgstr "" #. 3uC2J #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "par_id501623063693649\n" "help.text" msgid "Depending on the parameters provided this method will return:" msgstr "" #. YpgWy #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "par_id611623063742045\n" "help.text" msgid "A zero-based Array (or a tuple in Python) with the names of all the forms contained in the document (if the form argument is absent)" msgstr "" #. CNfBX #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "par_id641623063744536\n" "help.text" msgid "A SFDocuments.Form service instance representing the form specified as argument." msgstr "" #. ULjtu #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "par_id821623076570573\n" "help.text" msgid "This method is applicable only for Writer documents. Calc and Base documents have their own Forms method in the Calc and Base services, respectively." msgstr "" #. ty8pu #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "par_id451623063459286\n" "help.text" msgid "form: The name or index corresponding to a form stored in the document. If this argument is absent, the method will return a list with the names of all forms available in the document." msgstr "" #. 7Ywp9 #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "par_id251623063305557\n" "help.text" msgid "In the following examples, the first line gets the names of all forms in the document and the second line retrieves the Form object of the form named \"Form_A\"." msgstr "" #. y684J #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "par_id31592919577984\n" "help.text" msgid "Send the contents of the document to the printer. The printer may be previously defined by default, by the user or by the SetPrinter method of the Document service. Returns True when successful." msgstr "" #. CKDb5 #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "par_id441592919577809\n" "help.text" msgid "pages: The pages to print as a string, like in the user interface. Example: \"1-4;10;15-18\". Default = all pages" msgstr "" #. mYCkV #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "par_id221636020923278\n" "help.text" msgid "copies: The number of copies, default is 1." msgstr "" #. aFEAa #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "par_id121636020926764\n" "help.text" msgid "printbackground: Prints the background image when True (default)." msgstr "" #. D4krC #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "par_id261636020927276\n" "help.text" msgid "printblankpages: When False (default), omits empty pages." msgstr "" #. LFSzm #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "par_id021636020927484\n" "help.text" msgid "printevenpages: Prints even pages when True (default)." msgstr "" #. iewN5 #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "par_id391636020927676\n" "help.text" msgid "printoddpages: Print odd pages when True (default)." msgstr "" #. 4mYCT #: sf_writer.xhp msgctxt "" "sf_writer.xhp\n" "par_id121636021103996\n" "help.text" msgid "printimages: Print graphic objects when True (default)." msgstr ""