diff options
Diffstat (limited to 'source/id/helpcontent2/source/text/sbasic/shared/03.po')
-rw-r--r-- | source/id/helpcontent2/source/text/sbasic/shared/03.po | 1344 |
1 files changed, 1329 insertions, 15 deletions
diff --git a/source/id/helpcontent2/source/text/sbasic/shared/03.po b/source/id/helpcontent2/source/text/sbasic/shared/03.po index b02385f9faf..d7233f6160b 100644 --- a/source/id/helpcontent2/source/text/sbasic/shared/03.po +++ b/source/id/helpcontent2/source/text/sbasic/shared/03.po @@ -3,7 +3,7 @@ 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: 2021-04-27 17:02+0200\n" +"POT-Creation-Date: 2021-05-05 17:15+0200\n" "PO-Revision-Date: 2020-03-29 19:16+0000\n" "Last-Translator: Andika Triwidada <andika@gmail.com>\n" "Language-Team: Indonesian <https://weblate.documentfoundation.org/projects/libo_help-master/textsbasicshared03/id/>\n" @@ -79,6 +79,15 @@ msgctxt "" msgid "These methods are available from %PRODUCTNAME 7.2 onwards." msgstr "" +#. 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 "" + #. qjuHF #: avail_release.xhp msgctxt "" @@ -115,13 +124,13 @@ msgctxt "" msgid "ScriptForge Libraries" msgstr "" -#. NXPBo +#. ADEeP #: lib_ScriptForge.xhp msgctxt "" "lib_ScriptForge.xhp\n" "hd_id31529004750471\n" "help.text" -msgid "<variable id=\"ScriptForge_lib\"><link href=\"text/sbasic/shared/03/lib_ScriptForge.xhp\" name=\"ScriptForge library\">The <item type=\"literal\">ScriptForge</item> Library</link></variable>" +msgid "<variable id=\"ScriptForge_lib\"><link href=\"text/sbasic/shared/03/lib_ScriptForge.xhp\" name=\"ScriptForge library\">The <literal>ScriptForge</literal> Library</link></variable>" msgstr "" #. nMjDG @@ -133,31 +142,31 @@ msgctxt "" msgid "<bookmark_value>BASIC ScriptForge library</bookmark_value>" msgstr "" -#. WLejn +#. BtMUU #: lib_ScriptForge.xhp msgctxt "" "lib_ScriptForge.xhp\n" -"par_id781606153472028\n" +"par_id681619700336879\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:" +msgid "ScriptForge libraries build up an extensible collection of macro scripting resources for %PRODUCTNAME to be invoked from Basic macros or Python scripts." msgstr "" -#. dUu2P +#. wKZM6 #: lib_ScriptForge.xhp msgctxt "" "lib_ScriptForge.xhp\n" -"par_id891606153700196\n" +"par_id781606153472028\n" "help.text" -msgid "Services from external libraries can be registered with the <literal>RegisterScriptServices(...)</literal> method in order to extend the set of available services." +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 "" -#. ErFP9 +#. B3Xve #: lib_ScriptForge.xhp msgctxt "" "lib_ScriptForge.xhp\n" "par_id851605659675843\n" "help.text" -msgid "The <literal>ScriptForge</literal> Basic library is available from %PRODUCTNAME 7.1 onwards." +msgid "The <literal>ScriptForge</literal> Basic library is available from %PRODUCTNAME 7.1 onwards.<br/>Python <literal>scriptforge</literal> module is available from %PRODUCTNAME 7.2 onwards." msgstr "" #. Depaw @@ -2203,6 +2212,1275 @@ msgctxt "" msgid "<emph>CaseSensitive</emph> : Only if the array is populated with texts, default = <literal>False</literal>." msgstr "" +#. GAXAU +#: sf_base.xhp +msgctxt "" +"sf_base.xhp\n" +"tit\n" +"help.text" +msgid "SFDocuments.Base service" +msgstr "" + +#. TiAmG +#: sf_base.xhp +msgctxt "" +"sf_base.xhp\n" +"bm_id781582391760253\n" +"help.text" +msgid "<variable id=\"ctrls_h1\"><link href=\"text/sbasic/shared/03/sf_base.xhp\" name=\"SFDocuments.Base service\"><literal>SFDocuments</literal>.<literal>Base</literal> service</link></variable>" +msgstr "" + +#. 4KK8s +#: sf_base.xhp +msgctxt "" +"sf_base.xhp\n" +"par_id901619031958273\n" +"help.text" +msgid "The <literal>Base</literal> service provides a number of methods and properties to facilitate the management and handling of %PRODUCTNAME Base documents." +msgstr "" + +#. ZxoY9 +#: sf_base.xhp +msgctxt "" +"sf_base.xhp\n" +"par_id961619032060880\n" +"help.text" +msgid "This service is closely related to the <literal>Document</literal> service, which provides generic methods for handling %PRODUCTNAME documents, including Base documents. Hence, the <literal>Base</literal> service extends the <literal>Document</literal> service and provides additional methods that are specific for Base documents, enabling users to:" +msgstr "" + +#. 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 "" + +#. y2wmE +#: sf_base.xhp +msgctxt "" +"sf_base.xhp\n" +"par_id291619032292829\n" +"help.text" +msgid "Open form documents stored in a Base document." +msgstr "" + +#. 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 "" + +#. myHaG +#: sf_base.xhp +msgctxt "" +"sf_base.xhp\n" +"par_id241619032941497\n" +"help.text" +msgid "Refer to the <link href=\"text/sbasic/shared/03/sf_document.xhp\" name=\"Document Service\"><literal>Document</literal> service</link> to learn more about methods and properties that can be used to manage %PRODUCTNAME documents." +msgstr "" + +#. bGpRM +#: sf_base.xhp +msgctxt "" +"sf_base.xhp\n" +"hd_id581582885621841\n" +"help.text" +msgid "Service invocation" +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 <literal>CreateBaseDocument</literal> from the <literal>UI</literal> service to create a new Base file." +msgstr "" + +#. t4HPk +#: sf_base.xhp +msgctxt "" +"sf_base.xhp\n" +"par_id101619033666470\n" +"help.text" +msgid "Note that in all examples the object <literal>oDoc</literal> is an instance of the <literal>Base</literal> service." +msgstr "" + +#. hKce4 +#: sf_base.xhp +msgctxt "" +"sf_base.xhp\n" +"par_id281619033570656\n" +"help.text" +msgid "The <literal>Base</literal> service can also be instantiated while opening an existing Base file, as shown below:" +msgstr "" + +#. 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 <literal>Base</literal> service directly:" +msgstr "" + +#. f8Esv +#: sf_base.xhp +msgctxt "" +"sf_base.xhp\n" +"par_id281619619980185\n" +"help.text" +msgid "The use of the <emph>\"SFDocuments.\"</emph> substring in the previous example is optional." +msgstr "" + +#. oMw4m +#: sf_base.xhp +msgctxt "" +"sf_base.xhp\n" +"par_id451619034669263\n" +"help.text" +msgid "List of Methods in the Base Service" +msgstr "" + +#. ZQnqj +#: 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 an 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 "" + +#. DQb6z +#: sf_base.xhp +msgctxt "" +"sf_base.xhp\n" +"par_id921619036922844\n" +"help.text" +msgid "To learn more about form documents, refer to the <link href=\"text/sbasic/shared/03/sf_form.xhp\" name=\"Form service\"><literal>Form</literal> service help page</link>." +msgstr "" + +#. 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 "" + +#. 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 <literal>Form</literal> argument is absent)" +msgstr "" + +#. Q4Had +#: sf_base.xhp +msgctxt "" +"sf_base.xhp\n" +"par_id111619037577804\n" +"help.text" +msgid "A <literal>SFDocuments.Form</literal> object representing the form specified in the <literal>Form</literal> argument." +msgstr "" + +#. mKXZE +#: sf_base.xhp +msgctxt "" +"sf_base.xhp\n" +"par_id861619037838260\n" +"help.text" +msgid "<emph>FormDocument:</emph> The name of a valid form document as a case-sensitive string." +msgstr "" + +#. BtBVu +#: sf_base.xhp +msgctxt "" +"sf_base.xhp\n" +"par_id281619037857187\n" +"help.text" +msgid "<emph>Form:</emph> 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 "" + +#. 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 "" + +#. vDKoa +#: sf_base.xhp +msgctxt "" +"sf_base.xhp\n" +"bas_id231619200162092\n" +"help.text" +msgid "' Returns a list of all forms in the form document \"myFormDocument\"" +msgstr "" + +#. Hwr96 +#: sf_base.xhp +msgctxt "" +"sf_base.xhp\n" +"bas_id31619200259812\n" +"help.text" +msgid "' Returns an instance of the Form service representing the form \"myForm\"" +msgstr "" + +#. 9jA9n +#: sf_base.xhp +msgctxt "" +"sf_base.xhp\n" +"par_id371619098340303\n" +"help.text" +msgid "Returns an instance of the <link href=\"text/sbasic/shared/03/sf_database.xhp\" name=\"Database service\"><literal>Database</literal> service</link> that allows the execution of SQL commands on the database defined and/or stored in the current Base document" +msgstr "" + +#. FdXAK +#: sf_base.xhp +msgctxt "" +"sf_base.xhp\n" +"par_id731619098073221\n" +"help.text" +msgid "<emph>User, Password:</emph> Optional login parameters as strings. The default value for both parameters is an empty string \"\"." +msgstr "" + +#. UbzRD +#: sf_base.xhp +msgctxt "" +"sf_base.xhp\n" +"bas_id631615147843278\n" +"help.text" +msgid "' User and password are supplied below, if needed" +msgstr "" + +#. XBJVn +#: sf_base.xhp +msgctxt "" +"sf_base.xhp\n" +"bas_id921599408791887\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 <literal>True</literal> if the specified <literal>FormDocument</literal> is currently open." +msgstr "" + +#. 7nHnE +#: sf_base.xhp +msgctxt "" +"sf_base.xhp\n" +"par_id981619098545701\n" +"help.text" +msgid "<emph>FormDocument:</emph> The name of a FormDocument to be checked, as a case-sensitive string." +msgstr "" + +#. RS3kj +#: sf_base.xhp +msgctxt "" +"sf_base.xhp\n" +"par_id801619099743199\n" +"help.text" +msgid "Opens the specified <literal>FormDocument</literal> either in normal or in design mode." +msgstr "" + +#. 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 <literal>True</literal> if the form document could be opened." +msgstr "" + +#. EizHx +#: sf_base.xhp +msgctxt "" +"sf_base.xhp\n" +"par_id941619099797810\n" +"help.text" +msgid "<emph>FormDocument:</emph> The name of the <literal>FormDocument</literal> to be opened, as a case-sensitive string." +msgstr "" + +#. BNeps +#: sf_base.xhp +msgctxt "" +"sf_base.xhp\n" +"par_id981619099816849\n" +"help.text" +msgid "<emph>DesignMode:</emph> If this argument is <literal>True</literal> the <literal>FormDocument</literal> will be opened in design mode." +msgstr "" + +#. 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 "" + +#. pv3RA +#: sf_base.xhp +msgctxt "" +"sf_base.xhp\n" +"bas_id461619100283210\n" +"help.text" +msgid "oDoc.OpenFormDocument(\"myFormDocument\")" +msgstr "" + +#. 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 "" + +#. mLgzR +#: sf_base.xhp +msgctxt "" +"sf_base.xhp\n" +"bas_id461619100283712\n" +"help.text" +msgid "oDoc.OpenFormDocument(\"myFolder/myFormDocument\")" +msgstr "" + +#. 3RzkD +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"tit\n" +"help.text" +msgid "ScriptForge.Basic service" +msgstr "" + +#. GxEht +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"hd_id731582733781114\n" +"help.text" +msgid "<variable id=\"BasicService\"><link href=\"text/sbasic/shared/03/sf_basic.xhp\" name=\"Basic service\"><literal>ScriptForge</literal>.<literal>Basic</literal> service</link></variable>" +msgstr "" + +#. G5jAV +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id381589189355849\n" +"help.text" +msgid "The <literal>ScriptForge.Basic</literal> service proposes a collection of %PRODUCTNAME Basic methods to be executed in a Python context. <literal>Basic</literal> service methods reproduce the exact syntax and behaviour of Basic builtin functions." +msgstr "" + +#. Bb7Br +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id591589189364267\n" +"help.text" +msgid "Typical example:" +msgstr "" + +#. yrYgm +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"pyc_id971618493778666\n" +"help.text" +msgid "svc.MsgBox('This has to be displayed in a message box')" +msgstr "" + +#. kGyCd +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id151618849022977\n" +"help.text" +msgid "<literal>ScriptForge</literal>.<literal>Basic</literal> service is limited to Python scripts." +msgstr "" + +#. biAQa +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"hd_id581582885621841\n" +"help.text" +msgid "Service invocation" +msgstr "" + +#. pNUsj +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id141610734722352\n" +"help.text" +msgid "Before using the <literal>Basic</literal> service, import the <literal>CreateScriptService()</literal> method from the <literal>scriptforge</literal> module:" +msgstr "" + +#. E6SaA +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"hd_id201618922972557\n" +"help.text" +msgid "Properties" +msgstr "" + +#. bLzCe +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id401618922991909\n" +"help.text" +msgid "Name" +msgstr "" + +#. 5FcQt +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id591618922991909\n" +"help.text" +msgid "ReadOnly" +msgstr "" + +#. N5DD5 +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id211618922991909\n" +"help.text" +msgid "Type" +msgstr "" + +#. qXwST +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id971618923022846\n" +"help.text" +msgid "Description" +msgstr "" + +#. W8eh6 +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id541619003984227\n" +"help.text" +msgid "MB_OK, MB_OKCANCEL, MB_RETRYCANCEL, MB_YESNO, MB_YESNOCANCEL" +msgstr "" + +#. KuiAD +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id21619004009875\n" +"help.text" +msgid "Yes" +msgstr "" + +#. TkYXL +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id111619004011627\n" +"help.text" +msgid "integer" +msgstr "" + +#. 7DG4F +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id791619004012484\n" +"help.text" +msgid "Values: 0, 1, 5, 4, 3" +msgstr "" + +#. oASRR +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id161619003998035\n" +"help.text" +msgid "MB_ICONEXCLAMATION, MB_ICONINFORMATION, MB_ICONQUESTION, MB_ICONSTOP" +msgstr "" + +#. 8ie8B +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id201619004097755\n" +"help.text" +msgid "Yes" +msgstr "" + +#. GNqXc +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id981619004098700\n" +"help.text" +msgid "integer" +msgstr "" + +#. DQkGQ +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id311619004099683\n" +"help.text" +msgid "Values: 48, 64, 32, 16<br/>" +msgstr "" + +#. RBdBG +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id831618922991909\n" +"help.text" +msgid "MB_ABORTRETRYIGNORE, MB_DEFBUTTON1, MB_DEFBUTTON2, MB_DEFBUTTON3" +msgstr "" + +#. mCpye +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id581618922991909\n" +"help.text" +msgid "Yes" +msgstr "" + +#. CrG3W +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id161618922991910\n" +"help.text" +msgid "integer" +msgstr "" + +#. h3hZE +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id211618923312141\n" +"help.text" +msgid "Values: 2, 128, 256, 512" +msgstr "" + +#. F3DMG +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id471618924470655\n" +"help.text" +msgid "IDABORT, IDCANCEL, IDIGNORE, IDNO, IDOK, IDRETRY, IDYES" +msgstr "" + +#. kLst4 +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id961618924503848\n" +"help.text" +msgid "Yes" +msgstr "" + +#. XKzky +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id571618924505303\n" +"help.text" +msgid "integer" +msgstr "" + +#. Tmtc2 +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id871618924506654\n" +"help.text" +msgid "Values: 3, 2, 5, 7, 1, 4, 6<br/>Constants indicating <literal>MsgBox</literal> selected button." +msgstr "" + +#. fHLnu +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id421619006246768\n" +"help.text" +msgid "StarDesktop" +msgstr "" + +#. BDtqm +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id731619006254384\n" +"help.text" +msgid "Yes" +msgstr "" + +#. SKW53 +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id711619006255184\n" +"help.text" +msgid "UNO<br/>object" +msgstr "" + +#. cLAgG +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id541619006255653\n" +"help.text" +msgid "<link href=\"text/sbasic/shared/stardesktop.xhp\" name=\"StarDesktop\"><literal>StarDesktop</literal></link> object represents LibreOfficeDev Start Center." +msgstr "" + +#. vXq8C +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id651606319520519\n" +"help.text" +msgid "List of Methods in the Basic Service" +msgstr "" + +#. vaMxs +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id93158919969864\n" +"help.text" +msgid "Returns a system path file name for the given <literal>file:</literal> URL." +msgstr "" + +#. L4crp +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id321618502481706\n" +"help.text" +msgid "<emph>url</emph>: An absolute <literal>file:</literal> URL." +msgstr "" + +#. nmEbg +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id81618502493505\n" +"help.text" +msgid "A system path file name." +msgstr "" + +#. 7YMKT +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id658519200121138\n" +"help.text" +msgid "Returns a <literal>file:</literal> URL for the given system path." +msgstr "" + +#. ZdzNY +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id401618521015903\n" +"help.text" +msgid "<emph>systempath</emph>: A system file name as a string." +msgstr "" + +#. BYkqo +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id61658101307414\n" +"help.text" +msgid "A <literal>file:</literal> URL as a string." +msgstr "" + +#. kyZyo +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id651589200121138\n" +"help.text" +msgid "Instantiates a UNO service with the <literal>ProcessServiceManager</literal>." +msgstr "" + +#. 7BvYk +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id361589200121646\n" +"help.text" +msgid "<emph>servicename</emph> : 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 "" + +#. aRMEj +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id581618562143601\n" +"help.text" +msgid "<emph>interval</emph>: A string expression from the following table, specifying the date or time interval." +msgstr "" + +#. Vx3AB +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id281618562144897\n" +"help.text" +msgid "<emph>number</emph>: A numerical expression specifying how often the <literal>interval</literal> value will be added when positive or subtracted when negative." +msgstr "" + +#. 4C2B6 +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id811618561843272\n" +"help.text" +msgid "<emph>date</emph>: A given datetime.datetime value, the <literal>interval</literal> value will be added number times to this date/time value." +msgstr "" + +#. ppBnh +#: 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 "" + +#. 2HBSe +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id481618563770490\n" +"help.text" +msgid "<emph>interval</emph>: A string expression specifying the date interval, as detailed in above <literal>DateAdd</literal> method." +msgstr "" + +#. ZAKJ9 +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id121618563772932\n" +"help.text" +msgid "<emph>date1</emph>, <emph>date2</emph>: 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 "" + +#. BuEML +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"pyc_id641618564383315\n" +"help.text" +msgid "diffDays = svc.DateDiff('d', date1, date2)" +msgstr "" + +#. qePoV +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"pyc_id151618564392035\n" +"help.text" +msgid "print(diffDays)" +msgstr "" + +#. KPEWi +#: 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 "" + +#. ens2Q +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id761618672192231\n" +"help.text" +msgid "<emph>interval</emph>: A string expression specifying the date interval, as detailed in above <literal>DateAdd</literal> method." +msgstr "" + +#. KuDhD +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id61618672313838\n" +"help.text" +msgid "<emph>date</emph>: The date/time from which the result is calculated." +msgstr "" + +#. P3vuB +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id511619445271897\n" +"help.text" +msgid "<emph>firstdayofweek, firstweekofyear</emph>: optional parameters that respectively specify the starting day of a week and the starting week of a year, as detailed in above <literal>DateDiff</literal> method." +msgstr "" + +#. 5Yz25 +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id791618672371743\n" +"help.text" +msgid "The extracted part for the given date/time." +msgstr "" + +#. Dc9Cs +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id121589203370778\n" +"help.text" +msgid "Computes a date value from a date string." +msgstr "" + +#. QwSFJ +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"hd_id151618673970234\n" +"help.text" +msgid "<embedvar href=\"text/sbasic/shared/00000003.xhp#functvalue\"/>" +msgstr "" + +#. qTtuh +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id441618674018955\n" +"help.text" +msgid "The computed date." +msgstr "" + +#. DGgj3 +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"pyc_id931618674563379\n" +"help.text" +msgid "print(dt)" +msgstr "" + +#. 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 "" + +#. St67G +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"hd_id751618825527776\n" +"help.text" +msgid "Formatting Codes" +msgstr "" + +#. G2TzF +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"hd_id681618825574599\n" +"help.text" +msgid "Predefined Formats" +msgstr "" + +#. 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 "" + +#. d4EQf +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id881618848030897\n" +"help.text" +msgid "<literal>GetDefaultContext</literal> is an alternative to the <link href=\"text/sbasic/python/python_programming.xhp\" name=\"getComponentContext method\">getComponentContext()</link> method available from <literal>XSCRIPTCONTEXT</literal> global variable or from <link href=\"text/sbasic/python/python_programming.xhp\" name=\"uno.py module\">uno.py</link> module." +msgstr "" + +#. 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 <literal>XMultiServiceFactory</literal>. See the <literal>Professional UNO</literal> chapter in the Developer's Guide on <link href=\"https://api.libreoffice.org/\" name=\"API Developer's Guide\">api.libreoffice.org</link> for more information." +msgstr "" + +#. 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 "" + +#. SmsEL +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id341618848532640\n" +"help.text" +msgid "Refer to <literal>system()</literal> method from <literal>platform</literal> Python module to <link href=\"text/sbasic/python/python_platform.xhp\" name=\"identify the operating system\">identify the operating system</link>." +msgstr "" + +#. 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 "" + +#. BWvPB +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id341618848562340\n" +"help.text" +msgid "Use <literal>os.pathsep</literal> from <literal>os</literal> Python module to <link href=\"text/sbasic/python/python_platform.xhp\" name=\"path delimiter\">identify the path separator</link>." +msgstr "" + +#. 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 "" + +#. CEtsQ +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"pyc_id251619448108905\n" +"help.text" +msgid "ticks_ini = svc.GetSystemTicks()" +msgstr "" + +#. SG6mf +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"pyc_id181619448111210\n" +"help.text" +msgid "time.sleep(1)" +msgstr "" + +#. MZXnC +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"pyc_id301619448111744\n" +"help.text" +msgid "ticks_end = svc.GetSystemTicks()" +msgstr "" + +#. dSmH3 +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"pyc_id651619448112320\n" +"help.text" +msgid "svc.MsgBox(\"{} - {} = {}\".format(ticks_end, ticks_ini,ticks_end - ticks_ini))" +msgstr "" + +#. Vb2CW +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"bm_id61618905164342\n" +"help.text" +msgid "<bookmark_value>Basic service;InputBox</bookmark_value>" +msgstr "" + +#. 7GPZv +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id21619008398677\n" +"help.text" +msgid "string" +msgstr "" + +#. 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 "" + +#. UgiDk +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"pyc_id261619081319555\n" +"help.text" +msgid "s.MsgBox(txt, 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 <link href=\"https://wiki.documentfoundation.org/Macros/General/IO_to_Screen\" name=\"Input/Output to Screen with Python\">Input/Output to Screen with Python</link> on the Wiki." +msgstr "" + +#. WMifG +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"bm_id681618905411293\n" +"help.text" +msgid "<bookmark_value>Basic service;MsgBox</bookmark_value>" +msgstr "" + +#. 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.<br/>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 <literal>MsgBox</literal> dialog appearance." +msgstr "" + +#. 5adLA +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id711619082902143\n" +"help.text" +msgid "An optional integer as detailed in above <literal>IDxx</literal> properties." +msgstr "" + +#. hvEhT +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"bm_id791618906935711\n" +"help.text" +msgid "<bookmark_value>Basic service;Now</bookmark_value>" +msgstr "" + +#. 2FAgQ +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id191619084216660\n" +"help.text" +msgid "Returns the current system date and time as a date/time value." +msgstr "" + +#. qxE2n +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"bm_id831618907521168\n" +"help.text" +msgid "<bookmark_value>Basic service;RGB</bookmark_value>" +msgstr "" + +#. 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 "" + +#. vPBAA +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id201619096429785\n" +"help.text" +msgid "<input>svc.RGB(red:int, green: int, blue: int): int</input>" +msgstr "" + +#. AAeE4 +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id381619096830033\n" +"help.text" +msgid "integer" +msgstr "" + +#. mAUuG +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"bm_id81618907851793\n" +"help.text" +msgid "<bookmark_value>Basic service;Xray</bookmark_value>" +msgstr "" + +#. TwoGN +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id451619094057178\n" +"help.text" +msgid "Inspect Uno objects or variables." +msgstr "" + +#. 2A4om +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id21619094660345\n" +"help.text" +msgid "<emph>obj</emph>: A variable or Uno object." +msgstr "" + +#. erHE5 +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id901618486941514\n" +"help.text" +msgid "<link href=\"text/sbasic/python/python_programming.xhp\" name=\"uno.fileUrlToSystemPath() method\">uno.fileUrlToSystemPath() method</link>" +msgstr "" + +#. GFQ97 +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id901618496841514\n" +"help.text" +msgid "<link href=\"text/sbasic/python/python_programming.xhp\" name=\"uno.systemPathToFileUrl() method\">uno.systemPathToFileUrl() method</link>" +msgstr "" + +#. fMbAm +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id951618554355538\n" +"help.text" +msgid "<link href=\"https://wiki.documentfoundation.org/Macros/General/IO_to_Screen\" name=\"Input/Output to Screen with Python\">Input/Output to Screen with Python</link> on the wiki" +msgstr "" + +#. uruDr +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id610918486941514\n" +"help.text" +msgid "<link href=\"text/sbasic/python/python_programming.xhp\" name=\"XSCRIPTCONTEXT.getComponentContext() method\">XSCRIPTCONTEXT.getComponentContext() method</link>" +msgstr "" + +#. UCnzE +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id901618484961514\n" +"help.text" +msgid "<link href=\"text/sbasic/python/python_programming.xhp\" name=\"uno.getComponentContext() method\">uno.getComponentContext() method</link>" +msgstr "" + +#. 5GvY3 +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id901648186941514\n" +"help.text" +msgid "<link href=\"text/sbasic/python/python_platform.xhp\" name=\"platform.system() method\">platform.system() method</link>" +msgstr "" + +#. gsfQT +#: sf_basic.xhp +msgctxt "" +"sf_basic.xhp\n" +"par_id901816486941514\n" +"help.text" +msgid "<link href=\"text/sbasic/python/python_platform.xhp\" name=\"os.pathsep() method\">os.pathsep() method</link>" +msgstr "" + #. RYwFj #: sf_calc.xhp msgctxt "" @@ -4552,13 +5830,13 @@ msgctxt "" msgid "Conversely, if a <literal>RegistrationName</literal> is specified, the <literal>FileName</literal> parameter should not be defined." msgstr "" -#. 3d6NY +#. Bc97U #: sf_database.xhp msgctxt "" "sf_database.xhp\n" "par_id841615147168279\n" "help.text" -msgid "<emph>ReadOnly</emph>: Determines if the database will be opened as readonly (Default = True)." +msgid "<emph>ReadOnly</emph>: Determines if the database will be opened as readonly (Default = <literal>True</literal>)." msgstr "" #. Gn7AF @@ -4606,6 +5884,15 @@ msgctxt "" msgid "' ... Run queries, SQL statements, ..." msgstr "" +#. AVkg5 +#: sf_database.xhp +msgctxt "" +"sf_database.xhp\n" +"par_id361619188184750\n" +"help.text" +msgid "The <link href=\"text/sbasic/shared/03/sf_database.xhp#GetDatabase\" name=\"GetDatabase method\">GetDatabase</link> method used in the example above is part of ScriptForge's <literal>Base</literal> service." +msgstr "" + #. EF9Lc #: sf_database.xhp msgctxt "" @@ -12328,13 +13615,13 @@ msgctxt "" msgid "Service invocation" msgstr "" -#. vbWXq +#. BeDqF #: sf_formcontrol.xhp msgctxt "" "sf_formcontrol.xhp\n" "par_id361598174756160\n" "help.text" -msgid "The <literal>FormControl</literal><literal/> service is invoked from an existing <literal>Form</literal> service instance through its <literal>Controls</literal> method." +msgid "The <literal>FormControl</literal> service is invoked from an existing <literal>Form</literal> service instance through its <literal>Controls</literal> method." msgstr "" #. FaP92 @@ -16882,6 +18169,33 @@ msgctxt "" 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 <literal>True</literal> if the string is a valid International Bank Account Number (IBAN). The comparison is not case-sensitive." +msgstr "" + +#. JZERm +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id951880048466565\n" +"help.text" +msgid "<emph>InputStr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgstr "" + +#. VgT3x +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id631619526542367\n" +"help.text" +msgid "<literal>True</literal> if the string contains a valid IBAN number." +msgstr "" + #. CcTNk #: sf_string.xhp msgctxt "" |