From a6cf03e88e8216fba55b6c67e672c3877e635676 Mon Sep 17 00:00:00 2001 From: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Date: Mon, 4 Jul 2022 19:54:56 +0200 Subject: update translations for 7.4/master and force-fix errors using pocheck Change-Id: I0ae7f1a2496b0deeaabe0518f4895c89c953e0c6 (cherry picked from commit 0222d5b94ca656d54f47027c4a3ca7b53a0ca6b3) --- source/gu/cui/messages.po | 21 +- source/gu/helpcontent2/source/text/sbasic/guide.po | 10 +- .../gu/helpcontent2/source/text/sbasic/shared.po | 6 +- .../helpcontent2/source/text/sbasic/shared/03.po | 8687 +++++++++++++------- source/gu/helpcontent2/source/text/scalc/01.po | 339 +- source/gu/helpcontent2/source/text/scalc/guide.po | 137 +- source/gu/helpcontent2/source/text/shared.po | 6 +- source/gu/helpcontent2/source/text/shared/00.po | 20 +- source/gu/helpcontent2/source/text/shared/01.po | 73 +- source/gu/helpcontent2/source/text/shared/guide.po | 63 +- .../gu/helpcontent2/source/text/shared/optionen.po | 6 +- source/gu/helpcontent2/source/text/simpress.po | 14 +- source/gu/helpcontent2/source/text/simpress/04.po | 26 +- source/gu/helpcontent2/source/text/smath/guide.po | 20 +- source/gu/helpcontent2/source/text/swriter.po | 27 +- source/gu/helpcontent2/source/text/swriter/00.po | 49 +- source/gu/helpcontent2/source/text/swriter/01.po | 254 +- source/gu/helpcontent2/source/text/swriter/04.po | 52 +- .../gu/helpcontent2/source/text/swriter/guide.po | 31 +- .../helpcontent2/source/text/swriter/librelogo.po | 10 +- .../registry/data/org/openoffice/Office.po | 22 +- source/gu/oox/messages.po | 8 +- source/gu/sc/messages.po | 16 +- source/gu/sd/messages.po | 8 +- source/gu/svtools/messages.po | 12 +- source/gu/svx/messages.po | 12 +- source/gu/sw/messages.po | 42 +- 27 files changed, 6575 insertions(+), 3396 deletions(-) (limited to 'source/gu') diff --git a/source/gu/cui/messages.po b/source/gu/cui/messages.po index 63a102d7c55..d31a3aead5b 100644 --- a/source/gu/cui/messages.po +++ b/source/gu/cui/messages.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: 2022-06-15 22:27+0200\n" +"POT-Creation-Date: 2022-07-04 18:03+0200\n" "PO-Revision-Date: 2018-11-14 11:38+0000\n" "Last-Translator: Anonymous Pootle User\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -6423,10 +6423,10 @@ msgctxt "cellalignment|checkVertStack" msgid "Vertically s_tacked" msgstr "ઊભી રીતે સ્ટેક (_t)" -#. MDQLn +#. JCGHS #: cui/uiconfig/ui/cellalignment.ui:132 msgctxt "cellalignment|extended_tip|checkVertStack" -msgid "Aligns text vertically." +msgid "Text direction vertically." msgstr "" #. XBFYt @@ -12081,11 +12081,11 @@ msgctxt "javastartparametersdialog|label4" msgid "Java start _parameter" msgstr "Java શરૂઆતી પરિમાણ (_p)" -#. Btkis +#. F4ng3 #: cui/uiconfig/ui/javastartparametersdialog.ui:124 msgctxt "extended_tip|parameterfield" -msgid "Enter a start parameter for a JRE as you would on a command line. Click Assign to add the parameter to the list of available start parameters." -msgstr "Enter a start parameter for a JRE as you would on a command line. Click Assign to add the parameter to the list of available start parameters." +msgid "Enter a start parameter for a JRE as you would on a command line. Click Add to include the parameter to the list of available start parameters." +msgstr "" #. bbrtf #: cui/uiconfig/ui/javastartparametersdialog.ui:137 @@ -20484,12 +20484,11 @@ msgctxt "specialcharacters|insert" msgid "_Insert" msgstr "ઉમેરો(_I)" -#. CLtzq +#. AEF8q #: cui/uiconfig/ui/specialcharacters.ui:109 -#, fuzzy msgctxt "specialcharacters|subsetft" -msgid "Subset:" -msgstr "ઉપગણ" +msgid "Character block:" +msgstr "" #. mPCRR #: cui/uiconfig/ui/specialcharacters.ui:123 @@ -20555,7 +20554,7 @@ msgid "Favorite Characters:" msgstr "" #. DhG6L -#: cui/uiconfig/ui/specialcharacters.ui:906 +#: cui/uiconfig/ui/specialcharacters.ui:903 msgctxt "specialcharacters|extended_tip|SpecialCharactersDialog" msgid "Allows a user to insert characters from the range of symbols found in the installed fonts." msgstr "" diff --git a/source/gu/helpcontent2/source/text/sbasic/guide.po b/source/gu/helpcontent2/source/text/sbasic/guide.po index 95554694224..b253496408d 100644 --- a/source/gu/helpcontent2/source/text/sbasic/guide.po +++ b/source/gu/helpcontent2/source/text/sbasic/guide.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: 2022-01-31 18:19+0100\n" +"POT-Creation-Date: 2022-07-04 18:04+0200\n" "PO-Revision-Date: 2018-04-25 12:35+0000\n" "Last-Translator: Anonymous Pootle User\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -52,22 +52,22 @@ msgctxt "" msgid "What is Access2Base?" msgstr "" -#. FKEy5 +#. CfYuM #: access2base.xhp msgctxt "" "access2base.xhp\n" "par_idA2B004\n" "help.text" -msgid "Access2Base is a LibreOffice Basic library of macros for (business or personal) application developers and advanced users. It is one of the libraries stored in \"LibreOffice macros and dialogs\"." +msgid "Access2Base is a %PRODUCTNAME BASIC library of macros for (business or personal) application developers and advanced users. It is one of the libraries stored in \"Application macros and dialogs\"." msgstr "" -#. zYTgA +#. CE5QB #: access2base.xhp msgctxt "" "access2base.xhp\n" "par_idA2B005\n" "help.text" -msgid "The functionalities provided by the implemented macros are all directly inspired by Microsoft Access. The macros are callable mainly from a LibreOffice <emph>Base</emph> application, but also from <emph>any</emph> LibreOffice document (Writer, Calc, ...) where access to data stored in a database makes sense." +msgid "The functionalities provided by the implemented macros are all directly inspired by Microsoft Access. The macros are callable mainly from a %PRODUCTNAME <emph>Base</emph> application, but also from <emph>any</emph> %PRODUCTNAME document (Writer, Calc, ...) where access to data stored in a database makes sense." msgstr "" #. tmNkV diff --git a/source/gu/helpcontent2/source/text/sbasic/shared.po b/source/gu/helpcontent2/source/text/sbasic/shared.po index ba4062a82f6..04841b138be 100644 --- a/source/gu/helpcontent2/source/text/sbasic/shared.po +++ b/source/gu/helpcontent2/source/text/sbasic/shared.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: 2022-05-25 12:36+0200\n" +"POT-Creation-Date: 2022-07-04 18:04+0200\n" "PO-Revision-Date: 2018-10-21 20:17+0000\n" "Last-Translator: Anonymous Pootle User\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -4264,13 +4264,13 @@ msgctxt "" msgid "Click <emph>Export...</emph>" msgstr "" -#. 5GEFv +#. pXkGD #: 01030400.xhp msgctxt "" "01030400.xhp\n" "par_id3147009\n" "help.text" -msgid "Choose whether you want to export the library as an extension or as a basic library." +msgid "Choose whether you want to export the library as an extension or as a BASIC library." msgstr "" #. PP8cN diff --git a/source/gu/helpcontent2/source/text/sbasic/shared/03.po b/source/gu/helpcontent2/source/text/sbasic/shared/03.po index 367668bbd2e..1525a90d805 100644 --- a/source/gu/helpcontent2/source/text/sbasic/shared/03.po +++ b/source/gu/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: 2022-06-10 13:58+0200\n" +"POT-Creation-Date: 2022-07-04 18:04+0200\n" "PO-Revision-Date: 2018-07-12 14:30+0000\n" "Last-Translator: Anonymous Pootle User\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -4057,13 +4057,49 @@ msgctxt "" msgid "The shortcut \"*\" represents all used cells." msgstr "" -#. gNtqP +#. C6fBT #: 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." +msgid "The sheet name is optional when defining a range. If no sheet name is provided, then the active sheet is used. Surrounding single quotes and $ signs are allowed but ignored." +msgstr "" + +#. ebNR5 +#: sf_calc.xhp +msgctxt "" +"sf_calc.xhp\n" +"par_id231655754032310\n" +"help.text" +msgid "When specifying a <literal>SheetName</literal> as a string, the use of single quotes to enclose the sheet name are required if the name contains blank spaces \" \" or periods \".\"." +msgstr "" + +#. BsAKT +#: sf_calc.xhp +msgctxt "" +"sf_calc.xhp\n" +"par_id931655906591984\n" +"help.text" +msgid "The examples below illustrate in which cases the use of single quotes is mandatory:" +msgstr "" + +#. DGacM +#: sf_calc.xhp +msgctxt "" +"sf_calc.xhp\n" +"bas_id971655754336388\n" +"help.text" +msgid "' The use of single quotes is optional" +msgstr "" + +#. yWFhF +#: sf_calc.xhp +msgctxt "" +"sf_calc.xhp\n" +"bas_id711655754337420\n" +"help.text" +msgid "' The use of single quotes is required" msgstr "" #. GVF9g @@ -4084,13 +4120,13 @@ msgctxt "" msgid "Examples of valid ranges" msgstr "" -#. BABCv +#. yADDC #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id481591024294524\n" "help.text" -msgid "1) '$SheetX'.D2<br/>2) $D$2" +msgid "1) $'SheetX'.D2<br/>2) $D$2" msgstr "" #. pMZEe @@ -4102,13 +4138,13 @@ msgctxt "" msgid "A single cell" msgstr "" -#. MuiK2 +#. AcGDY #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id21591024294492\n" "help.text" -msgid "1) '$SheetX'.D2:F6<br/>2) D2:D10" +msgid "1) $'SheetX'.D2:F6<br/>2) D2:D10" msgstr "" #. P7Ete @@ -4120,13 +4156,13 @@ msgctxt "" msgid "Single range with multiple cells" msgstr "" -#. xj6ob +#. vXrSu #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id161592230749179\n" "help.text" -msgid "'$SheetX'.*" +msgid "$'SheetX'.*" msgstr "" #. eQu5j @@ -4138,13 +4174,13 @@ msgctxt "" msgid "All used cells in the given sheet" msgstr "" -#. UErNm +#. C6egy #: sf_calc.xhp msgctxt "" "sf_calc.xhp\n" "par_id641591024294318\n" "help.text" -msgid "1) '$SheetX'.A:A (column A)<br/>2) 3:5 (rows 3 to 5)" +msgid "1) $'SheetX'.A:A (column A)<br/>2) 3:5 (rows 3 to 5)" msgstr "" #. qpGBr @@ -6100,6 +6136,87 @@ msgctxt "" msgid "Cells in the given range that contain text will be ignored by all of these functions. For example, the <literal>DCount</literal> method will not count cells with text, only numerical cells." msgstr "" +#. S6JvC +#: sf_calc.xhp +msgctxt "" +"sf_calc.xhp\n" +"par_id501623063693113\n" +"help.text" +msgid "Exports the specified range as an image or PDF file." +msgstr "" + +#. eKaCo +#: sf_calc.xhp +msgctxt "" +"sf_calc.xhp\n" +"par_id401655654738754\n" +"help.text" +msgid "This method returns <literal>True</literal> if the destination file was successfully saved." +msgstr "" + +#. p6Hg5 +#: sf_calc.xhp +msgctxt "" +"sf_calc.xhp\n" +"par_id871655655302952\n" +"help.text" +msgid "Hidden rows or columns in the specified range are not exported to the destination file." +msgstr "" + +#. DpqDV +#: sf_calc.xhp +msgctxt "" +"sf_calc.xhp\n" +"par_id441623090896470\n" +"help.text" +msgid "<emph>range</emph>: A sheet name or a cell range to be exported, as a string." +msgstr "" + +#. v5QXP +#: sf_calc.xhp +msgctxt "" +"sf_calc.xhp\n" +"par_id451623063452651\n" +"help.text" +msgid "<emph>filename</emph>: The name of the file to be saved. It must follow the <literal>SF_FileSystem.FileNaming</literal> notation." +msgstr "" + +#. 3nTsB +#: sf_calc.xhp +msgctxt "" +"sf_calc.xhp\n" +"par_id441623090895310\n" +"help.text" +msgid "<emph>imagetype</emph>: Identifies the destination file type. Possible values are \"jpeg\", \"pdf\" (default) and \"png\"." +msgstr "" + +#. Wx3ea +#: sf_calc.xhp +msgctxt "" +"sf_calc.xhp\n" +"par_id441623090896317\n" +"help.text" +msgid "<emph>overwrite</emph>: When set to <literal>True</literal>, the destination file may be overwritten (Default = <literal>False</literal>)." +msgstr "" + +#. twaNW +#: sf_calc.xhp +msgctxt "" +"sf_calc.xhp\n" +"bas_id561655655121456\n" +"help.text" +msgid "' Exports the entire sheet as a PDF file" +msgstr "" + +#. RRxag +#: sf_calc.xhp +msgctxt "" +"sf_calc.xhp\n" +"bas_id991655655060661\n" +"help.text" +msgid "' Exports the range as a PNG file and overwrites the destination file if it exists" +msgstr "" + #. BVKEy #: sf_calc.xhp msgctxt "" @@ -12580,13 +12697,13 @@ msgctxt "" msgid "<variable id=\"DocumentService\"><link href=\"text/sbasic/shared/03/sf_document.xhp\" name=\"Exception service\"><literal>SFDocuments</literal>.<literal>Document</literal> service</link></variable>" msgstr "" -#. FoEeH +#. VTWbF #: sf_document.xhp msgctxt "" "sf_document.xhp\n" "par_id381589189355849\n" "help.text" -msgid "The <literal>SFDocuments</literal> library provides methods and properties to facilitate the management and manipulation of LibreOffice documents." +msgid "The <literal>SFDocuments</literal> library provides methods and properties to facilitate the management and manipulation of %PRODUCTNAME documents." msgstr "" #. urZhL @@ -12625,13 +12742,13 @@ msgctxt "" msgid "The properties, methods or arguments marked with <emph>(*)</emph> are <emph>NOT applicable to Base documents</emph>." msgstr "" -#. HPr8i +#. rh5iz #: 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 <literal>SFDocuments.SF_Calc</literal> and <literal>SFDocuments.SF_Base</literal>." +msgid "Methods and properties that are specific to certain %PRODUCTNAME components are stored in separate services, such as <literal>SFDocuments.SF_Calc</literal> and <literal>SFDocuments.SF_Base</literal>." msgstr "" #. Fdi8i @@ -12850,6 +12967,42 @@ msgctxt "" msgid "String value with the document type (\"Base\", \"Calc\", \"Writer\", etc)" msgstr "" +#. UcEJi +#: sf_document.xhp +msgctxt "" +"sf_document.xhp\n" +"par_id201589194571699\n" +"help.text" +msgid "Yes" +msgstr "" + +#. EZzPF +#: sf_document.xhp +msgctxt "" +"sf_document.xhp\n" +"par_id941589194571327\n" +"help.text" +msgid "Returns a list with the export filter names applicable to the current document as a zero-based array of strings. Filters used for both import/export are also returned." +msgstr "" + +#. 7vqDq +#: sf_document.xhp +msgctxt "" +"sf_document.xhp\n" +"par_id201589194571067\n" +"help.text" +msgid "Yes" +msgstr "" + +#. UmCHS +#: sf_document.xhp +msgctxt "" +"sf_document.xhp\n" +"par_id941589194571922\n" +"help.text" +msgid "Returns a list with the import filter names applicable to the current document as a zero-based array of strings. Filters used for both import/export are also returned." +msgstr "" + #. Yo8T4 #: sf_document.xhp msgctxt "" @@ -21319,6 +21472,33 @@ msgctxt "" msgid "Returns a zero-based array of strings containing the internal IDs of all installed extensions." msgstr "" +#. HE2VZ +#: sf_platform.xhp +msgctxt "" +"sf_platform.xhp\n" +"par_id561633021747209\n" +"help.text" +msgid "Yes" +msgstr "" + +#. MgENM +#: sf_platform.xhp +msgctxt "" +"sf_platform.xhp\n" +"par_id201633021748322\n" +"help.text" +msgid "String array" +msgstr "" + +#. bhBD2 +#: sf_platform.xhp +msgctxt "" +"sf_platform.xhp\n" +"par_id831633021749118\n" +"help.text" +msgid "Returns a zero-based unsorted array of strings containing the available document import and export filter names." +msgstr "" + #. 9aGdF #: sf_platform.xhp msgctxt "" @@ -22219,5197 +22399,7906 @@ msgctxt "" msgid "In the examples below, a popup menu is created and the item's name is returned because the <literal>returnid</literal> argument is set to <literal>False</literal>." msgstr "" -#. GpvmN -#: sf_services.xhp +#. b8bDr +#: sf_region.xhp msgctxt "" -"sf_services.xhp\n" +"sf_region.xhp\n" "tit\n" "help.text" -msgid "ScriptForge.Services service" +msgid "ScriptForge.Region service" msgstr "" -#. bFtkf -#: sf_services.xhp +#. SYtNX +#: sf_region.xhp msgctxt "" -"sf_services.xhp\n" -"hd_id471582710868716\n" +"sf_region.xhp\n" +"bm_id681600788076499\n" "help.text" -msgid "<variable id=\"ScriptForgeServices\"><link href=\"text/sbasic/shared/03/sf_services.xhp\" name=\"Services service\"><literal>ScriptForge</literal>.<literal>Services</literal> service</link></variable>" +msgid "<variable id=\"RegionService\"><link href=\"text/sbasic/shared/03/sf_region.xhp\" name=\"Region service\"><literal>ScriptForge</literal>.<literal>Region</literal> service</link></variable>" msgstr "" -#. SDbDJ -#: sf_services.xhp +#. w3WgP +#: sf_region.xhp msgctxt "" -"sf_services.xhp\n" -"par_id241627513489594\n" +"sf_region.xhp\n" +"par_id181600788076612\n" "help.text" -msgid "The main purpose of the <literal>Services</literal> module is to provide access to the <literal>CreateScriptService</literal> method, which can be called in user scripts to instantiate services that are implemented using the ScriptForge framework." +msgid "The <literal>Region</literal> service provides a collection of properties and methods to handle locale and region-related aspects of programming, such as:" msgstr "" -#. 7B2KJ -#: sf_services.xhp +#. TEk7a +#: sf_region.xhp msgctxt "" -"sf_services.xhp\n" -"par_id351582710868545\n" +"sf_region.xhp\n" +"par_id301600788076785\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 <literal>String</literal> service provides methods for manipulating strings whereas the <literal>FileSystem</literal> service allows for the manipulation of files and folders." +msgid "Accessing locale and region-dependent settings such as number formatting, currency and timezones." msgstr "" -#. NW4BS -#: sf_services.xhp +#. 2f7KC +#: sf_region.xhp msgctxt "" -"sf_services.xhp\n" -"par_id541627513771828\n" +"sf_region.xhp\n" +"par_id1001600788076848\n" "help.text" -msgid "The <literal>Services</literal> 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 <literal>CreateScriptService</literal>." +msgid "Converting timezones and calculate Daylight Saving Time (DST) offsets." msgstr "" -#. FW4FC -#: sf_services.xhp +#. tqznj +#: sf_region.xhp msgctxt "" -"sf_services.xhp\n" -"par_id871582714020043\n" +"sf_region.xhp\n" +"par_id67160078807676\n" "help.text" -msgid "This method is used to instantiate a ScriptForge service so it can be called in user scripts." +msgid "Transforming numbers into text in any supported language." msgstr "" -#. jG6U9 -#: sf_services.xhp +#. 9nRv7 +#: sf_region.xhp msgctxt "" -"sf_services.xhp\n" -"par_id711627514310039\n" +"sf_region.xhp\n" +"hd_id851656012844548\n" "help.text" -msgid "The returned value is a Basic object or <literal>Nothing</literal> if an error occurred." +msgid "Definitions" msgstr "" -#. oojMF -#: sf_services.xhp +#. sGNu7 +#: sf_region.xhp msgctxt "" -"sf_services.xhp\n" -"par_id971582714020045\n" +"sf_region.xhp\n" +"hd_id421656012886648\n" "help.text" -msgid "<emph>service</emph>: The name of the service identified as a string in the format \"library.service\":" +msgid "Locale or Region" msgstr "" -#. CEqku -#: sf_services.xhp +#. FiW7z +#: sf_region.xhp msgctxt "" -"sf_services.xhp\n" -"par_id11627475954271\n" +"sf_region.xhp\n" +"par_id191656012908838\n" "help.text" -msgid "The <emph>library</emph> is a Basic library that must exist in the <link href=\"text/sbasic/shared/03131900.xhp\" name=\"GlobalScope\">GlobalScope</link>. The default value is \"ScriptForge\"." +msgid "A string combining a language and a country in the format \"la-CO\". The language part is expressed with 2 or 3 lowercase characters followed by a dash and 2 uppercase characters representing the country." msgstr "" -#. BBFeA -#: sf_services.xhp +#. GQEGW +#: sf_region.xhp msgctxt "" -"sf_services.xhp\n" -"par_id811627475954641\n" +"sf_region.xhp\n" +"par_id431656013368415\n" "help.text" -msgid "The <emph>service</emph> is one of the services registered by the ScriptForge library." +msgid "For instance, \"en-US\" corresponds to the English language in the United States; \"fr-BE\" corresponds to the French language in Belgium, and so forth." msgstr "" -#. btbtw -#: sf_services.xhp +#. CQYAX +#: sf_region.xhp msgctxt "" -"sf_services.xhp\n" -"par_id391582714020045\n" +"sf_region.xhp\n" +"par_id981656013623018\n" "help.text" -msgid "<emph>arg0, ...</emph>: A list of arguments required by the invoked service." +msgid "On some situations the full locale is not required and only the language or country may be specified." msgstr "" -#. yAaks -#: sf_services.xhp +#. 4qFTD +#: sf_region.xhp msgctxt "" -"sf_services.xhp\n" -"par_id841627475900817\n" +"sf_region.xhp\n" +"par_id261656013132204\n" "help.text" -msgid "If the first argument refers to an event manager, then <literal>arg0</literal> is mandatory and must be the UNO object representing the event provided as argument to the user macro." +msgid "Most properties and methods accept a locale as argument. If no locale is specified, then the user-interface locale is used, which is defined in the <link href=\"text/sbasic/shared/03/sf_platform.xhp#bm_id111614901524769\" name=\"OfficeLocale_link\"><literal>OfficeLocale</literal></link> property of the <literal>Platform</literal> service." msgstr "" -#. wuR7S -#: sf_services.xhp +#. 6ToTC +#: sf_region.xhp msgctxt "" -"sf_services.xhp\n" -"bas_id981582898174133\n" +"sf_region.xhp\n" +"hd_id51656013825718\n" "help.text" -msgid "' To be done once" +msgid "Timezone" msgstr "" -#. oqovE -#: sf_services.xhp +#. pV5MS +#: sf_region.xhp msgctxt "" -"sf_services.xhp\n" -"bas_id311582715700844\n" +"sf_region.xhp\n" +"par_id541656013854150\n" "help.text" -msgid "' Refers to the \"ScriptForge.Array\" service or SF_Array" +msgid "A string in the format \"Region/City\" such as \"Europe/Berlin\", or a timezone ID such as \"UTC\" or \"GMT-8:00\". Refer to the wiki page <link href=\"https://wikipedia.org/wiki/List_of_tz_database_time_zones\" name=\"TimeZones_List\">List of tz database and timezones</link> for a list of possible timezone names and IDs." msgstr "" -#. KvcPo -#: sf_services.xhp +#. exa3B +#: sf_region.xhp msgctxt "" -"sf_services.xhp\n" -"bas_id61582715759468\n" +"sf_region.xhp\n" +"par_id981656078937577\n" "help.text" -msgid "' Returns a new empty dictionary class instance; \"ScriptForge.\" is optional" +msgid "Providing an invalid timezone string to any of the methods in the <literal>Region</literal> service will not result in a runtime error. Instead, methods as <literal>UTCDateTime</literal> and <literal>UTCNow</literal> will return the current operating system date and time." msgstr "" -#. pMGcR -#: sf_services.xhp +#. 7GTLU +#: sf_region.xhp msgctxt "" -"sf_services.xhp\n" -"bas_id901582715797722\n" +"sf_region.xhp\n" +"par_id611656014040098\n" "help.text" -msgid "' Refers to the Calc service, implemented in the associated SFDocuments library" +msgid "The time offset between the timezone and the Greenwich Meridian Time (GMT) is expressed in minutes." msgstr "" -#. BoXHx -#: sf_services.xhp +#. ottwV +#: sf_region.xhp msgctxt "" -"sf_services.xhp\n" -"bas_id361582715845747\n" +"sf_region.xhp\n" +"par_id121656014053670\n" "help.text" -msgid "' Returns a Timer class instance starting immediately" +msgid "The Daylight Saving Time (DST) is an additional offset." msgstr "" -#. 9bmdn -#: sf_services.xhp +#. yXHrp +#: sf_region.xhp msgctxt "" -"sf_services.xhp\n" -"bas_id571596298708062\n" +"sf_region.xhp\n" +"par_id591656014140929\n" "help.text" -msgid "' Refers to the DocumentEvent service implemented in the associated SFDocuments library" +msgid "The timezone and DST offsets may be positive or negative." msgstr "" -#. DFhat -#: sf_services.xhp +#. EyNvN +#: sf_region.xhp msgctxt "" -"sf_services.xhp\n" -"bas_id121613492254532\n" +"sf_region.xhp\n" +"hd_id281600788076359\n" "help.text" -msgid "' Returns the instance of the Document class that fired the event" +msgid "Service invocation" msgstr "" -#. zhCyY -#: sf_services.xhp +#. F9Wnj +#: sf_region.xhp msgctxt "" -"sf_services.xhp\n" -"par_id321627570607194\n" +"sf_region.xhp\n" +"par_id141609955500101\n" "help.text" -msgid "Python scripts support keyword arguments when calling <literal>CreateScriptService</literal>. The following example illustrates this concept by instantiating the <literal>Timer</literal> and <literal>Document</literal> services using keyword arguments." +msgid "Before using the <literal>Region</literal> service the <literal>ScriptForge</literal> library needs to be loaded or imported:" msgstr "" -#. jah7F -#: sf_services.xhp +#. 7AXFZ +#: sf_region.xhp msgctxt "" -"sf_services.xhp\n" -"par_id901627576693156\n" +"sf_region.xhp\n" +"par_id321614902851541\n" "help.text" -msgid "To make writing Python scripts more fluid, ScriptForge provides the <literal>Basic</literal> service which allows Python scripts to call a collection of methods with the same syntax and meaning as their homonymous native Basic functions." +msgid "The examples below in Basic and Python instantiate the <literal>Region</literal> service and access the <literal>Country</literal> property." msgstr "" -#. SDQ7m -#: sf_services.xhp +#. 69CF7 +#: sf_region.xhp msgctxt "" -"sf_services.xhp\n" -"par_id41627644806288\n" +"sf_region.xhp\n" +"bas_id791600788431935\n" "help.text" -msgid "The following example instantiates the <literal>Basic</literal> service and calls the <literal>MsgBox</literal> method, which is equivalent to the <literal>MsgBox</literal> function available in Basic:" +msgid "MsgBox oRegion.Country(\"en-US\") ' United States" msgstr "" -#. zVgQm -#: sf_services.xhp +#. FDNKL +#: sf_region.xhp msgctxt "" -"sf_services.xhp\n" -"par_id581627645023307\n" +"sf_region.xhp\n" +"hd_id711600788076834\n" "help.text" -msgid "Beware that the <literal>Basic</literal> service has to be instantiated in Python scripts using the <literal>CreateScriptService</literal> method." +msgid "Properties" msgstr "" -#. LCVem -#: sf_session.xhp +#. VEB3D +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"tit\n" +"sf_region.xhp\n" +"par_id601656018689690\n" "help.text" -msgid "ScriptForge.Session service" +msgid "All properties listed below accept a <literal>locale</literal> argument, provided as a string. Some properties require this argument to be in the format \"la-CO\", whereas others may receive \"la\" or \"CO\" as input." msgstr "" -#. DxnDG -#: sf_session.xhp +#. vzB4T +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"hd_id901582814720985\n" +"sf_region.xhp\n" +"par_id461600788076917\n" "help.text" -msgid "<variable id=\"SessionService\"><link href=\"text/sbasic/shared/03/sf_session.xhp\" name=\"Session service\"><literal>ScriptForge.Session</literal> service</link></variable>" +msgid "Name" msgstr "" -#. yTgFK -#: sf_session.xhp +#. ay9iH +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id861582814720987\n" +"sf_region.xhp\n" +"par_id221600788076591\n" "help.text" -msgid "The <literal>Session</literal> service gathers various general-purpose methods about:" +msgid "Readonly" msgstr "" -#. a2DCM -#: sf_session.xhp +#. rBUEm +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id34158281472051\n" +"sf_region.xhp\n" +"par_id761600788076328\n" "help.text" -msgid "the installation or execution environment" +msgid "Type" msgstr "" -#. cf5WG -#: sf_session.xhp +#. FpD5h +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id411582814720361\n" +"sf_region.xhp\n" +"par_id131656330679679\n" "help.text" -msgid "UNO introspection" +msgid "Locale" msgstr "" -#. fBApv -#: sf_session.xhp +#. FxnFK +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id321582814720863\n" +"sf_region.xhp\n" +"par_id67160078807636\n" "help.text" -msgid "the invocation of external scripts or programs" +msgid "Description" msgstr "" -#. 63uDb -#: sf_session.xhp +#. 4Ss2G +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"hd_id91582814720116\n" +"sf_region.xhp\n" +"par_id311600788076756\n" "help.text" -msgid "Service invocation" +msgid "Yes" msgstr "" -#. XRvpV -#: sf_session.xhp +#. ExbtG +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id141609955500101\n" +"sf_region.xhp\n" +"par_id441600788076826\n" "help.text" -msgid "Before using the <literal>Session</literal> service the <literal>ScriptForge</literal> library needs to be loaded or imported:" +msgid "Returns the country name in English corresponding to a given region." msgstr "" -#. 8BEnm -#: sf_session.xhp +#. FN4XC +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"hd_id291582814720762\n" +"sf_region.xhp\n" +"par_id49160078807654\n" "help.text" -msgid "Constants" +msgid "Yes" msgstr "" -#. zcRQu -#: sf_session.xhp +#. vpDwN +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id82158281472034\n" +"sf_region.xhp\n" +"par_id81600788076419\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 <literal>session.CONSTANT</literal>." +msgid "Returns the ISO 4217 currency code of the specified region." msgstr "" -#. yyF2R -#: sf_session.xhp +#. Aqcuy +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id9158281472045\n" +"sf_region.xhp\n" +"par_id711600788076534\n" "help.text" -msgid "Value" +msgid "Yes" msgstr "" -#. Wd88w -#: sf_session.xhp +#. 6cgk7 +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id241582814720636\n" +"sf_region.xhp\n" +"par_id911600788076842\n" "help.text" -msgid "Where to find the library?" +msgid "String array" msgstr "" -#. k58kN -#: sf_session.xhp +#. Jhkc3 +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id361582814720116\n" +"sf_region.xhp\n" +"par_id541600788076645\n" "help.text" -msgid "Applicable" +msgid "Returns a zero-based array of strings containing the date acceptance patterns for the specified region." msgstr "" -#. DJspw -#: sf_session.xhp +#. T4sUQ +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id451582814720105\n" +"sf_region.xhp\n" +"par_id891600788076190\n" "help.text" -msgid "in the document" +msgid "Yes" msgstr "" -#. Q2KtM -#: sf_session.xhp +#. vAJYH +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id73158281472032\n" +"sf_region.xhp\n" +"par_id91600788076674\n" "help.text" -msgid "in any shared library" +msgid "Returns the date separator used in the given region." msgstr "" -#. E7meg -#: sf_session.xhp +#. QKyGp +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id391582814720487\n" +"sf_region.xhp\n" +"par_id561633021747014\n" "help.text" -msgid "in My Macros" +msgid "Yes" msgstr "" -#. MiuWT -#: sf_session.xhp +#. jSVY8 +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id56158281472073\n" +"sf_region.xhp\n" +"par_id201633021748566\n" "help.text" -msgid "in an extension installed for the current user" +msgid "String array" msgstr "" -#. SAMnM -#: sf_session.xhp +#. CnTuU +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id21582814720997\n" +"sf_region.xhp\n" +"par_id831633021745014\n" "help.text" -msgid "in %PRODUCTNAME macros" +msgid "Returns a zero-based array of strings containing the list of abbreviated weekday names in the specified language." msgstr "" -#. LnKrt -#: sf_session.xhp +#. jRUnx +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id981582814720125\n" +"sf_region.xhp\n" +"par_id561633021747209\n" "help.text" -msgid "in an extension installed for all users" +msgid "Yes" msgstr "" -#. gCi9j -#: sf_session.xhp +#. CGeKU +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id93158281472047\n" +"sf_region.xhp\n" +"par_id201633021748322\n" "help.text" -msgid "in an extension but the installation parameters are unknown" +msgid "String array" msgstr "" -#. mLURi -#: sf_session.xhp +#. tjGhP +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id891611613601554\n" +"sf_region.xhp\n" +"par_id831633021748865\n" "help.text" -msgid "List of Methods in the Session Service" +msgid "Returns a zero-based array of strings containing the list of weekday names in the specified language." msgstr "" -#. JvBuZ -#: sf_session.xhp +#. gVevH +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id491613061572993\n" +"sf_region.xhp\n" +"par_id561633021747903\n" "help.text" -msgid "<literal>Execute...</literal> methods in <literal>Session</literal> service behave as follows: <br/>Arguments are passed by value. Changes made by the called function to the arguments do not update their values in the calling script. <br/>A single value or an array of values is returned to the calling script." +msgid "Yes" msgstr "" -#. 72GZi -#: sf_session.xhp +#. hL4sb +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id451582815407230\n" +"sf_region.xhp\n" +"par_id201633021748455\n" "help.text" -msgid "Execute the Basic script given its name and location and fetch its result if any." +msgid "String array" msgstr "" -#. yFnSG -#: sf_session.xhp +#. GHdGz +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id921600856780901\n" +"sf_region.xhp\n" +"par_id831633021747711\n" "help.text" -msgid "If the script returns nothing, which is the case of procedures defined with <literal>Sub</literal>, the returned value is <literal>Empty</literal>." +msgid "Returns a zero-based array of strings containing the list of the initials of weekday names in the specified language." msgstr "" -#. VTyCE -#: sf_session.xhp +#. TFzKG +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id631582815407231\n" +"sf_region.xhp\n" +"par_id561633021748013\n" "help.text" -msgid "<emph>scope</emph>: String specifying where the script is stored. It can be either \"document\" (constant <literal>session.SCRIPTISEMBEDDED</literal>) or \"application\" (constant <literal>session.SCRIPTISAPPLICATION</literal>)." +msgid "Yes" msgstr "" -#. SCCpE -#: sf_session.xhp +#. CWLzi +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id691582815407231\n" +"sf_region.xhp\n" +"par_id831633021749297\n" "help.text" -msgid "<emph>script</emph>: String specifying the script to be called in the format \"library.module.method\" as a case-sensitive string." +msgid "Returns the decimal separator used in numbers in the specified region." msgstr "" -#. hS5x4 -#: sf_session.xhp +#. pqWDC +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id741626828862265\n" +"sf_region.xhp\n" +"par_id561633021743188\n" "help.text" -msgid "The library is loaded in memory if necessary." +msgid "Yes" msgstr "" -#. D8AL6 -#: sf_session.xhp +#. droDW +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id981626828863001\n" +"sf_region.xhp\n" +"par_id831633021749018\n" "help.text" -msgid "The module must not be a class module." +msgid "Returns the name of the language, in English, of the specified region." msgstr "" -#. VsUFD -#: sf_session.xhp +#. ojXGP +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id721626828863257\n" +"sf_region.xhp\n" +"par_id391600788076253\n" "help.text" -msgid "The method may be a <literal>Sub</literal> or a <literal>Function</literal>." +msgid "Yes" msgstr "" -#. eExjm -#: sf_session.xhp +#. a4SKv +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id881582815407231\n" +"sf_region.xhp\n" +"par_id21600788076541\n" "help.text" -msgid "<emph>args</emph>: The arguments to be passed to the called script." +msgid "Returns the list separator used in the specified region." msgstr "" -#. mg5WG -#: sf_session.xhp +#. vUwhJ +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id21626809513802\n" +"sf_region.xhp\n" +"par_id561633021706513\n" "help.text" -msgid "Consider the following Basic function named <literal>DummyFunction</literal> that is stored in \"My Macros\" in the \"Standard\" library inside a module named \"Module1\"." +msgid "Yes" msgstr "" -#. PMyrB -#: sf_session.xhp +#. 79WHE +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id551626810319766\n" +"sf_region.xhp\n" +"par_id201633021746335\n" "help.text" -msgid "The function simply takes in two integer values <literal>v1</literal> and <literal>v2</literal> and return the sum of all values starting in <literal>v1</literal> and ending in <literal>v2</literal>." +msgid "String array" msgstr "" -#. Gx6fV -#: sf_session.xhp +#. Dz2X6 +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id461626810470057\n" +"sf_region.xhp\n" +"par_id831633021741117\n" "help.text" -msgid "The examples below show how to call <literal>DummyFunction</literal> from within Basic and Python scripts." +msgid "Returns a zero-based array of strings containing the list of abbreviated month names in the specified language." msgstr "" -#. Yr22N -#: sf_session.xhp +#. NvQaB +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id111582816585181\n" +"sf_region.xhp\n" +"par_id211600788076138\n" "help.text" -msgid "Execute a Calc function using its English name and based on the given arguments. <br/>If the arguments are arrays, the function is executed as an <link href=\"text/scalc/01/04060107.xhp\" name=\"array formula\">array formula</link>." +msgid "Yes" msgstr "" -#. EDU9x -#: sf_session.xhp +#. ZMsz8 +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id771582816585183\n" +"sf_region.xhp\n" +"par_id221600788076518\n" "help.text" -msgid "<emph>calcfunction</emph>: The name of the Calc function to be called, in English." +msgid "String array" msgstr "" -#. FJJJh -#: sf_session.xhp +#. EbAXk +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id371582816585183\n" +"sf_region.xhp\n" +"par_id521600788076371\n" "help.text" -msgid "<emph>args</emph>: 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." +msgid "Returns a zero-based array of strings containing the list of month names in the specified language." msgstr "" -#. XMfUD -#: sf_session.xhp +#. GeqFt +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"bas_id881582816585185\n" +"sf_region.xhp\n" +"par_id21600788076758\n" "help.text" -msgid "' Generates an error." +msgid "Yes" msgstr "" -#. ygESx -#: sf_session.xhp +#. wGD4y +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id571582818023245\n" +"sf_region.xhp\n" +"par_id871600788076196\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." +msgid "String array" msgstr "" -#. SB2gx -#: sf_session.xhp +#. RisPb +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id71600856817410\n" +"sf_region.xhp\n" +"par_id781600788076694\n" "help.text" -msgid "If the script is not found, or if it returns nothing, the returned value is <literal>Empty</literal>." +msgid "Returns a zero-based array of strings containing the list of the initials of month names in the specified language." msgstr "" -#. jdWTU -#: sf_session.xhp +#. DBDyW +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id791582818023246\n" +"sf_region.xhp\n" +"par_id261600788076841\n" "help.text" -msgid "<emph>scope</emph>: One of the applicable constants listed <link href=\"text/sbasic/shared/03/sf_session.xhp#constants\" name=\"Session constants\">above</link>. The default value is <literal>session.SCRIPTISSHARED</literal>." +msgid "Yes" msgstr "" -#. ELfda -#: sf_session.xhp +#. fLZD2 +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id71582818023247\n" +"sf_region.xhp\n" +"par_id116007880767507\n" "help.text" -msgid "<emph>script</emph>: Either \"library/module.py$method\" or \"module.py$method\" or \"myExtension.oxt|myScript|module.py$method\" as a case-sensitive string." +msgid "Returns the thousands separator used in numbers in the specified region." msgstr "" -#. P6ZKD -#: sf_session.xhp +#. AUNfp +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id501613061041313\n" +"sf_region.xhp\n" +"par_id531600789141795\n" "help.text" -msgid "library: The folder path to the Python module." +msgid "Yes" msgstr "" -#. ktFHu -#: sf_session.xhp +#. MjrCr +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id771613061043097\n" +"sf_region.xhp\n" +"par_id301600789141619\n" "help.text" -msgid "myScript: The folder containing the Python module." +msgid "Returns the separator used to format times in the specified region." msgstr "" -#. ANBoy -#: sf_session.xhp +#. Bog4G +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id301613061123849\n" +"sf_region.xhp\n" +"par_id651606319520519\n" "help.text" -msgid "module.py: The Python module." +msgid "List of Methods in the Region Service" msgstr "" -#. f4B8C -#: sf_session.xhp +#. szpDY +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id241613061044560\n" +"sf_region.xhp\n" +"par_id71621894830071\n" "help.text" -msgid "method: The Python function." +msgid "Computes the additional Daylight Saving Time (DST) offset, in minutes, that is applicable to a given region and timezone." msgstr "" -#. ByFdE -#: sf_session.xhp +#. CbDHo +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id711582818023247\n" +"sf_region.xhp\n" +"par_id401621896675880\n" "help.text" -msgid "<emph>args</emph>: The arguments to be passed to the called script." +msgid "<emph>localdatetime</emph>: the local date and time expressed as a date." msgstr "" -#. ckvXs -#: sf_session.xhp +#. cA2tD +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id701626817164878\n" +"sf_region.xhp\n" +"par_id401621896675125\n" "help.text" -msgid "Consider the Python function <literal>odd_integers</literal> defined below that creates a list with odd integer values between <literal>v1</literal> and <literal>v2</literal>. Suppose this function is stored in a file named <emph>my_macros.py</emph> in your user scripts folder." +msgid "<emph>timezone</emph>: the timezone for which the offset will be calculated." msgstr "" -#. o6DUm -#: sf_session.xhp +#. w5gKK +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id751626817335715\n" +"sf_region.xhp\n" +"par_id401621896675963\n" "help.text" -msgid "Read the help page <link href=\"text/sbasic/python/python_locations.xhp\" name=\"pylocation_link\">Python Scripts Organization and Location</link> to learn more about where Python scripts can be stored." +msgid "<emph>locale</emph>: the locale specifying the country for which the offset will be calculated, given either in \"la-CO\" or \"CO\" formats. The default value is the locale defined in the <link href=\"text/sbasic/shared/03/sf_platform.xhp#bm_id111614901524769\" name=\"OfficeLocale_link\"><literal>OfficeLocale</literal></link> property of the <literal>Platform</literal> service." msgstr "" -#. vqBm9 -#: sf_session.xhp +#. cBF4y +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id121626817725471\n" +"sf_region.xhp\n" +"bas_id531656022497519\n" "help.text" -msgid "The following examples show how to call the function <literal>odd_integers</literal> from within Basic and Python scripts." +msgid "' Calculates the offset applicable in the \"America/Los_Angeles\" timezone" msgstr "" -#. pbmij -#: sf_session.xhp +#. XYu4u +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id111582816585087\n" +"sf_region.xhp\n" +"bas_id801656022498143\n" "help.text" -msgid "Returns the current PDF export settings defined in the <menuitem>PDF Options</menuitem> dialog, which can be accessed by choosing <menuitem>File - Export as - Export as PDF</menuitem>." +msgid "offset = oRegion.DSTOffset(aDateTime, \"America/Los_Angeles\", \"US\") ' 60 (minutes)" msgstr "" -#. K7j2q -#: sf_session.xhp +#. CfiFK +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id931638383270026\n" +"sf_region.xhp\n" +"bas_id831656022498543\n" "help.text" -msgid "Export options set with the <menuitem>PDF Options</menuitem> dialog are kept for future use. Hence <literal>GetPDFExportOptions</literal> returns the settings currently defined. In addition, use <literal>SetPDFExportOptions</literal> to change current PDF export options." +msgid "offset = oRegion.DSTOffset(aDateTime, \"America/Los_Angeles\", \"US\") ' 0 (minutes)" msgstr "" -#. uFCEq -#: sf_session.xhp +#. 4CkKJ +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id801638383659558\n" +"sf_region.xhp\n" +"pyc_id871621898933281\n" "help.text" -msgid "This method returns a <literal>Dictionary</literal> object wherein each key represent export options and the corresponding values are the current PDF export settings." +msgid "offset = oRegion.DSTOffset(aDateTime, \"America/Los_Angeles\", \"US\") ' 60 (minutes)" msgstr "" -#. 6kXBe -#: sf_session.xhp +#. nkcRi +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id751638383457198\n" +"sf_region.xhp\n" +"pyc_id871621898934141\n" "help.text" -msgid "Read the <link href=\"https://wiki.openoffice.org/wiki/API/Tutorials/PDF_export\" name=\"PDFExport_Wiki\">PDF Export wiki page</link> to learn more about all available options." +msgid "offset = oRegion.DSTOffset(aDateTime, \"America/Los_Angeles\", \"US\") ' 0 (minutes)" msgstr "" -#. Lv4iA -#: sf_session.xhp +#. BbUgj +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id111587477335982\n" +"sf_region.xhp\n" +"par_id71621894832058\n" "help.text" -msgid "Returns <literal>True</literal> if an UNO object contains the given method. Returns <literal>False</literal> when the method is not found or when an argument is invalid." +msgid "Computes the local date and time from a UTC date and time." msgstr "" -#. HAw32 -#: sf_session.xhp +#. v4YSt +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id921587477335673\n" +"sf_region.xhp\n" +"par_id401621896674716\n" "help.text" -msgid "<emph>unoobject</emph>: The object to inspect." +msgid "<emph>utcdatetime</emph>: the UTC date and time, expressed using a date object." msgstr "" -#. DDw6g -#: sf_session.xhp +#. i63on +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id631587477566016\n" +"sf_region.xhp\n" +"par_id401621896675449\n" "help.text" -msgid "<emph>methodname</emph>: the method as a case-sensitive string" +msgid "<emph>timezone</emph>: the timezone for which the local time will be calculated." msgstr "" -#. gDBRB -#: sf_session.xhp +#. YWDWQ +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id191587477832959\n" +"sf_region.xhp\n" +"par_id401621896675193\n" "help.text" -msgid "Returns <literal>True</literal> if a UNO object has the given property. Returns <literal>False</literal> when the property is not found or when an argument is invalid." +msgid "<emph>locale</emph>: the locale specifying the country for which the local time will be calculated, given either in \"la-CO\" or \"CO\" formats. The default value is the locale defined in the <link href=\"text/sbasic/shared/03/sf_platform.xhp#bm_id111614901524769\" name=\"OfficeLocale_link\"><literal>OfficeLocale</literal></link> property of the <literal>Platform</literal> service." msgstr "" -#. 54oXs -#: sf_session.xhp +#. 8UTFQ +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id121587477832805\n" +"sf_region.xhp\n" +"bas_id201656022497017\n" "help.text" -msgid "<emph>unoobject</emph>: The object to inspect." +msgid "' June 6th, 2022 at 10:30:45 (used here as UTC time)" msgstr "" -#. hCTCk -#: sf_session.xhp +#. Hcjqt +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id701587477832750\n" +"sf_region.xhp\n" +"bas_id531656022497121\n" "help.text" -msgid "<emph>propertyname</emph>: the property as a case-sensitive string" +msgid "' Calculates local time in Sao Paulo, Brazil" msgstr "" -#. QWaTF -#: sf_session.xhp +#. yhKtd +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id97160112964017\n" +"sf_region.xhp\n" +"bas_id601656022498318\n" "help.text" -msgid "Open a Uniform Resource Locator (<link href=\"text/shared/00/00000002.xhp#URL\" name=\"URL\">URL</link>) in the default browser." +msgid "' June 6th, 2022 at 07:30:45" msgstr "" -#. 4tFWV -#: sf_session.xhp +#. YJv72 +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id241601129640549\n" +"sf_region.xhp\n" +"par_id71621894832089\n" "help.text" -msgid "<emph>url</emph>: The URL to open." +msgid "Converts numbers and monetary values into written text for any of the currently supported languages." msgstr "" -#. hJqsF -#: sf_session.xhp +#. qu8dt +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id311582819697897\n" +"sf_region.xhp\n" +"par_id971656026551328\n" "help.text" -msgid "Executes an arbitrary system command and returns <literal>True</literal> if it was launched successfully." +msgid "For a list of all supported languages visit the <link href=\"https://api.libreoffice.org/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1linguistic2_1_1XNumberText.html\" name=\"XNumberText\">XNumberText Interface</link> API reference." msgstr "" -#. D483F -#: sf_session.xhp +#. xTUD6 +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id461582819697898\n" +"sf_region.xhp\n" +"par_id401621896675306\n" "help.text" -msgid "<emph>command</emph>: 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 <literal>SF_FileSystem.FileNaming</literal> notation." +msgid "<emph>number</emph>: the number to be converted into written text. It can be provided either as a numeric type or as a string. When a string is provided, it can be preceded by a prefix informing how the numbers should be written. It is also possible to include ISO 4217 currency codes. See examples below for more information." msgstr "" -#. b8hbC -#: sf_session.xhp +#. eppdr +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id611582819697899\n" +"sf_region.xhp\n" +"par_id401621896675412\n" "help.text" -msgid "<emph>parameters</emph>: 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." +msgid "<emph>locale</emph>: the locale defining the language into which the number will be converted to, given either in \"la-CO\" or \"la\" formats. The default value is the locale defined in the <link href=\"text/sbasic/shared/03/sf_platform.xhp#bm_id111614901524769\" name=\"OfficeLocale_link\"><literal>OfficeLocale</literal></link> property of the <literal>Platform</literal> service." msgstr "" -#. 2hTM7 -#: sf_session.xhp +#. QeBpA +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id131601030349755\n" +"sf_region.xhp\n" +"bas_id301656027173020\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." +msgid "' Returns \"one hundred five\"" msgstr "" -#. FCn8e -#: sf_session.xhp +#. 7xovc +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id701601030349896\n" +"sf_region.xhp\n" +"bas_id531656022496631\n" "help.text" -msgid "<emph>recipient</emph>: An email address (the \"To\" recipient)." +msgid "numText = oRegion.Number2Text(105, \"en-US\")" msgstr "" -#. BdMiD -#: sf_session.xhp +#. UGGvv +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id571601030349904\n" +"sf_region.xhp\n" +"bas_id771656027217144\n" "help.text" -msgid "<emph>cc</emph>: A comma-separated list of email addresses (the \"carbon copy\" recipients)." +msgid "' Returns: \"two point four two\"" msgstr "" -#. ADjaV -#: sf_session.xhp +#. Xr7no +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id961601031043346\n" +"sf_region.xhp\n" +"bas_id201656022493367\n" "help.text" -msgid "<emph>bcc</emph>: A comma-separated list of email addresses (the \"blind carbon copy\" recipients)." +msgid "numText = oRegion.Number2Text(2.42, \"en-US\")" msgstr "" -#. zAkWZ -#: sf_session.xhp +#. 7hYbk +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id891601031050814\n" +"sf_region.xhp\n" +"bas_id281656027262234\n" "help.text" -msgid "<emph>subject</emph>: the header of the message." +msgid "' Returns: \"twenty-five euro and ten cents\" Notice the \"EUR\" currency symbol" msgstr "" -#. 69CFR -#: sf_session.xhp +#. DBPc8 +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id191601031056673\n" +"sf_region.xhp\n" +"bas_id201656022497171\n" "help.text" -msgid "<emph>body</emph>: The contents of the message as an unformatted text." +msgid "numText = oRegion.Number2Text(\"EUR 25.10\", \"en-US\")" msgstr "" -#. McuEx -#: sf_session.xhp +#. pd3Fm +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id511601031063269\n" +"sf_region.xhp\n" +"bas_id981656027330132\n" "help.text" -msgid "<emph>filenames</emph>: a comma-separated list of file names. Each file name must respect the <literal>SF_FileSystem.FileNaming</literal> notation." +msgid "' Returns: \"fifteenth\"; Notice the \"ordinal\" prefix" msgstr "" -#. h9Urq -#: sf_session.xhp +#. ggt2A +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id161601032784063\n" +"sf_region.xhp\n" +"bas_id841656027330394\n" "help.text" -msgid "<emph>editmessage</emph>: When <literal>True</literal> (default), the message is edited before being sent." +msgid "numText = oRegion.Number2Text(\"ordinal 15\", \"en-US\")" msgstr "" -#. g7zLC -#: sf_session.xhp +#. YQCCF +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id111582816583005\n" +"sf_region.xhp\n" +"pyc_id401656027481473\n" "help.text" -msgid "Modifies the PDF export settings defined in the <menuitem>PDF Options</menuitem> dialog, which can be accessed by choosing <menuitem>File - Export as - Export as PDF</menuitem>." +msgid "numText = oRegion.Number2Text(105, \"en-US\")" msgstr "" -#. T2DkW -#: sf_session.xhp +#. FTGnF +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id181638385131806\n" +"sf_region.xhp\n" +"pyc_id781656027481769\n" "help.text" -msgid "Calling this method changes the actual values set in the <menuitem>PDF Options</menuitem> dialog, which are used by the <literal>ExportAsPDF</literal> method from the <literal>Document</literal> service." +msgid "numText = oRegion.Number2Text(2.42, \"en-US\")" msgstr "" -#. FBrKg -#: sf_session.xhp +#. RCDq5 +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id391638385313847\n" +"sf_region.xhp\n" +"pyc_id951656027482096\n" "help.text" -msgid "This method returns <literal>True</literal> when successful." +msgid "numText = oRegion.Number2Text(\"EUR 25.10\", \"en-US\")" msgstr "" -#. 9BqH3 -#: sf_session.xhp +#. vtGFv +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id751638383457321\n" +"sf_region.xhp\n" +"pyc_id231656027482425\n" "help.text" -msgid "Read the <link href=\"https://wiki.openoffice.org/wiki/API/Tutorials/PDF_export\" name=\"PDFExport_Wiki\">PDF Export wiki page</link> to learn more about all available options." +msgid "numText = oRegion.Number2Text(\"ordinal 15\", \"en-US\")" msgstr "" -#. JhhXU -#: sf_session.xhp +#. CHCJt +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id771582816585233\n" +"sf_region.xhp\n" +"par_id801656027524051\n" "help.text" -msgid "<emph>pdfoptions</emph>: <literal>Dictionary</literal> 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." +msgid "To get a list of all supported prefixes in a given language, call <literal>Number2Text</literal> with the special \"help\" argument, as shown in the example below:" msgstr "" -#. 8DKZK -#: sf_session.xhp +#. ZqfNT +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id141638386087986\n" +"sf_region.xhp\n" +"bas_id181656027807107\n" "help.text" -msgid "The following example changes the maximum image resolution to 150 dpi and exports the current document as a PDF file." +msgid "' Considering the \"en-US\" locale the message box will show the following text" msgstr "" -#. HtzHP -#: sf_session.xhp +#. hRef2 +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id321587478024997\n" +"sf_region.xhp\n" +"bas_id216560277123601\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." +msgid "' one, two, three" msgstr "" -#. DX8qb -#: sf_session.xhp +#. YMJ5N +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id251587478024311\n" +"sf_region.xhp\n" +"bas_id361656027712711\n" "help.text" -msgid "<emph>unoobject</emph>: The object to inspect." +msgid "' ordinal: first, second, third" msgstr "" -#. sL6Ri -#: sf_session.xhp +#. vhTrp +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id141587478343306\n" +"sf_region.xhp\n" +"bas_id891656027712920\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." +msgid "' ordinal-number: 1st, 2nd, 3rd" msgstr "" -#. CFZRP -#: sf_session.xhp +#. YGCiN +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id241587478343323\n" +"sf_region.xhp\n" +"bas_id611656027713104\n" "help.text" -msgid "<emph>unoobject</emph>: The object to inspect." +msgid "' year: nineteen ninety-nine, two thousand, two thousand one" msgstr "" -#. Cm4eK -#: sf_session.xhp +#. vEMTZ +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id371582820251347\n" +"sf_region.xhp\n" +"bas_id861656027713288\n" "help.text" -msgid "Identify the type of a UNO object as a string." +msgid "' currency (for example, USD): two U.S. dollars and fifty cents" msgstr "" -#. Cs3VC -#: sf_session.xhp +#. xYrSL +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id921582820251349\n" +"sf_region.xhp\n" +"bas_id841656027713503\n" "help.text" -msgid "<emph>unoobject</emph>: The object to identify." +msgid "' money USD: two and 50/100 U.S. dollars" msgstr "" -#. UAy4i -#: sf_session.xhp +#. RBkxp +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id341582821057373\n" +"sf_region.xhp\n" +"par_id781656027840633\n" "help.text" -msgid "Get some web content from a URI." +msgid "The first line in the message box does not have a prefix, which means that it is the standard format. The subsequent lines include the prefix and some examples of numbers using its format." msgstr "" -#. BU5XR -#: sf_session.xhp +#. WPApK +#: sf_region.xhp msgctxt "" -"sf_session.xhp\n" -"par_id771582821057374\n" +"sf_region.xhp\n" +"par_id781656028528520\n" "help.text" -msgid "<emph>uri</emph>: URI address of the web service." +msgid "Each language has its own set of supported prefixes." msgstr "" -#. gn6AM -#: sf_string.xhp +#. dShiA +#: sf_region.xhp msgctxt "" -"sf_string.xhp\n" -"tit\n" +"sf_region.xhp\n" +"par_id71621894832117\n" "help.text" -msgid "ScriptForge.String service (SF_String)" +msgid "Returns the offset between GMT and the given timezone and locale, in minutes." msgstr "" -#. ZhvDP -#: sf_string.xhp +#. xCAjE +#: sf_region.xhp msgctxt "" -"sf_string.xhp\n" -"hd_id521580038927003\n" +"sf_region.xhp\n" +"par_id401621896675018\n" "help.text" -msgid "<variable id=\"StringService\"><link href=\"text/sbasic/shared/03/sf_string.xhp\" name=\"String service\"><literal>ScriptForge</literal>.<literal>String</literal> service</link></variable>" +msgid "<emph>timezone</emph>: the timezone for which the offset to the GMT will be calculated." msgstr "" -#. yaisH -#: sf_string.xhp +#. egZXu +#: sf_region.xhp msgctxt "" -"sf_string.xhp\n" -"par_id351579602570526\n" +"sf_region.xhp\n" +"par_id401621896675691\n" "help.text" -msgid "The <literal>String</literal> service provides a collection of methods for string processing. These methods can be used to:" +msgid "<emph>locale</emph>: the locale specifying the country for which the offset will be calculated, given either in \"la-CO\" or \"CO\" formats. The default value is the locale defined in the <link href=\"text/sbasic/shared/03/sf_platform.xhp#bm_id111614901524769\" name=\"OfficeLocale_link\"><literal>OfficeLocale</literal></link> property of the <literal>Platform</literal> service." msgstr "" -#. oNvbV -#: sf_string.xhp +#. JiFjE +#: sf_region.xhp msgctxt "" -"sf_string.xhp\n" -"par_id611611952070366\n" +"sf_region.xhp\n" +"par_id71621894864217\n" "help.text" -msgid "Validate the contents of strings" +msgid "Returns the UTC date and time considering a given local date and time in a timezone." msgstr "" -#. UmFAv -#: sf_string.xhp +#. AK3nQ +#: sf_region.xhp msgctxt "" -"sf_string.xhp\n" -"par_id611611952070376\n" +"sf_region.xhp\n" +"par_id401621896674748\n" "help.text" -msgid "Format strings by trimming, justifying or wrapping their contents" +msgid "<emph>localdatetime</emph>: the local date and time in a specific timezone expressed as a date." msgstr "" -#. EZKAi -#: sf_string.xhp +#. hpxBF +#: sf_region.xhp msgctxt "" -"sf_string.xhp\n" -"par_id611611952070367\n" +"sf_region.xhp\n" +"par_id401621896675739\n" "help.text" -msgid "Use regular expressions to search and replace substrings" +msgid "<emph>timezone</emph>: the timezone for which the <literal>localdatetime</literal> argument was given." msgstr "" -#. D2qPU -#: sf_string.xhp +#. aEuir +#: sf_region.xhp msgctxt "" -"sf_string.xhp\n" -"par_id611611952070368\n" +"sf_region.xhp\n" +"par_id401621896675550\n" "help.text" -msgid "Apply hash algorithms on strings, etc." +msgid "<emph>locale</emph>: the locale specifying the country for which the <literal>localdatetime</literal> argument was given, expressed either in \"la-CO\" or \"CO\" formats. The default value is the locale defined in the <link href=\"text/sbasic/shared/03/sf_platform.xhp#bm_id111614901524769\" name=\"OfficeLocale_link\"><literal>OfficeLocale</literal></link> property of the <literal>Platform</literal> service." msgstr "" -#. Nd4es -#: sf_string.xhp +#. y3NSm +#: sf_region.xhp msgctxt "" -"sf_string.xhp\n" -"hd_id961579603699855\n" +"sf_region.xhp\n" +"bas_id861656077547861\n" "help.text" -msgid "Definitions" +msgid "' Date/Time in Berlin, June 23, 2022 at 14:30:00" msgstr "" -#. dQjPv -#: sf_string.xhp +#. HjSnk +#: sf_region.xhp msgctxt "" -"sf_string.xhp\n" -"hd_id441579603838777\n" +"sf_region.xhp\n" +"bas_id731656077523173\n" "help.text" -msgid "Line breaks" +msgid "' The UTC date/time is June 23, 2022 at 12:30:00" msgstr "" -#. ePyj2 -#: sf_string.xhp +#. RpFvL +#: sf_region.xhp msgctxt "" -"sf_string.xhp\n" -"par_id791611946942340\n" +"sf_region.xhp\n" +"pyc_id361656077667354\n" "help.text" -msgid "The <literal>String</literal> service recognizes the following line breaks:" +msgid "import datetime" msgstr "" -#. o2TiZ -#: sf_string.xhp +#. hgcCJ +#: sf_region.xhp msgctxt "" -"sf_string.xhp\n" -"par_id151611947117831\n" +"sf_region.xhp\n" +"pyc_id901656077667666\n" "help.text" -msgid "Symbolic name" +msgid "localDT = datetime.datetime(2022, 6, 23, 14, 30, 0)" msgstr "" -#. fEbm9 -#: sf_string.xhp +#. A7GXw +#: sf_region.xhp msgctxt "" -"sf_string.xhp\n" -"par_id721611947117831\n" +"sf_region.xhp\n" +"pyc_id521656077682826\n" "help.text" -msgid "ASCII number" +msgid "utcTime = oRegion.UTCDateTime(localDT, \"Europe/Berlin\", \"DE\")" msgstr "" -#. yqVHd -#: sf_string.xhp +#. tZoWt +#: sf_region.xhp msgctxt "" -"sf_string.xhp\n" -"par_id761611947117831\n" +"sf_region.xhp\n" +"par_id71621894835287\n" "help.text" -msgid "Line feed<br/> Vertical tab<br/> Carriage return<br/> Line feed + Carriage return<br/> File separator<br/> Group separator<br/> Record separator<br/> Next line<br/> Line separator<br/> Paragraph separator" +msgid "Returns the current UTC date and time, given a timezone and locale." msgstr "" -#. WCvgW -#: sf_string.xhp +#. zzSQA +#: sf_region.xhp msgctxt "" -"sf_string.xhp\n" -"hd_id161579604225813\n" +"sf_region.xhp\n" +"par_id491656078254442\n" "help.text" -msgid "Whitespaces" +msgid "This method uses the current date and time of your operating system to calculate the UTC time." msgstr "" -#. mFfbq -#: sf_string.xhp +#. XxBE8 +#: sf_region.xhp msgctxt "" -"sf_string.xhp\n" -"par_id401611948279056\n" +"sf_region.xhp\n" +"par_id401621896673318\n" "help.text" -msgid "The <literal>String</literal> service recognizes the following whitespaces:" +msgid "<emph>timezone</emph>: the timezone for which the current UTC time will be calculated." msgstr "" -#. U3GSy -#: sf_string.xhp +#. FDJ5e +#: sf_region.xhp msgctxt "" -"sf_string.xhp\n" -"par_id151611947117893\n" +"sf_region.xhp\n" +"par_id401621896674831\n" "help.text" -msgid "Symbolic name" +msgid "<emph>locale</emph>: the locale specifying the country for which the current UTC time will be calculated, given either in \"la-CO\" or \"CO\" formats. The default value is the locale defined in the <link href=\"text/sbasic/shared/03/sf_platform.xhp#bm_id111614901524769\" name=\"OfficeLocale_link\"><literal>OfficeLocale</literal></link> property of the <literal>Platform</literal> service." msgstr "" -#. ZsSFF -#: sf_string.xhp +#. FWSJp +#: sf_region.xhp msgctxt "" -"sf_string.xhp\n" -"par_id721611947117855\n" +"sf_region.xhp\n" +"bas_id861656078128374\n" "help.text" -msgid "ASCII number" +msgid "' Suppose the operating system time is June 23rd, 2022 at 10:42:00" msgstr "" -#. TXAFP -#: sf_string.xhp +#. CWY76 +#: sf_region.xhp msgctxt "" -"sf_string.xhp\n" -"par_id761611947117835\n" +"sf_region.xhp\n" +"bas_id691656078180784\n" "help.text" -msgid "Space<br/> Horizontal tab<br/> Line feed<br/> Vertical tab<br/> Form feed<br/> Carriage return<br/> Next line<br/> No-break space<br/> Line separator<br/> Paragraph separator" +msgid "' If the computer is in Europe/Berlin, then UTC time is June 23rd, 2022 at 08:42:00" msgstr "" -#. UPByW -#: sf_string.xhp +#. NPVe5 +#: sf_region.xhp msgctxt "" -"sf_string.xhp\n" -"hd_id191580480825160\n" +"sf_region.xhp\n" +"pyc_id821656078645252\n" "help.text" -msgid "Escape sequences" +msgid "utcTime = oRegion.UTCNow(\"Europe/Berlin\", \"DE\")" msgstr "" -#. JD6CK -#: sf_string.xhp +#. GpvmN +#: sf_services.xhp msgctxt "" -"sf_string.xhp\n" -"par_id971611949145057\n" +"sf_services.xhp\n" +"tit\n" "help.text" -msgid "Below is a list of escape sequences that can be used in strings." +msgid "ScriptForge.Services service" msgstr "" -#. D4DjE -#: sf_string.xhp +#. bFtkf +#: sf_services.xhp msgctxt "" -"sf_string.xhp\n" -"par_id151611947117287\n" +"sf_services.xhp\n" +"hd_id471582710868716\n" "help.text" -msgid "Escape Sequence" +msgid "<variable id=\"ScriptForgeServices\"><link href=\"text/sbasic/shared/03/sf_services.xhp\" name=\"Services service\"><literal>ScriptForge</literal>.<literal>Services</literal> service</link></variable>" msgstr "" -#. xzDai -#: sf_string.xhp +#. SDbDJ +#: sf_services.xhp msgctxt "" -"sf_string.xhp\n" -"par_id721611947117732\n" +"sf_services.xhp\n" +"par_id241627513489594\n" "help.text" -msgid "Symbolic name" +msgid "The main purpose of the <literal>Services</literal> module is to provide access to the <literal>CreateScriptService</literal> method, which can be called in user scripts to instantiate services that are implemented using the ScriptForge framework." msgstr "" -#. rrxV4 -#: sf_string.xhp +#. 7B2KJ +#: sf_services.xhp msgctxt "" -"sf_string.xhp\n" -"par_id721611947117144\n" +"sf_services.xhp\n" +"par_id351582710868545\n" "help.text" -msgid "ASCII number" +msgid "In ScriptForge terminology a service is a collection of methods and properties that can be used for a common purpose. For example, the <literal>String</literal> service provides methods for manipulating strings whereas the <literal>FileSystem</literal> service allows for the manipulation of files and folders." msgstr "" -#. fS24a -#: sf_string.xhp +#. NW4BS +#: sf_services.xhp msgctxt "" -"sf_string.xhp\n" -"par_id761611947119834\n" +"sf_services.xhp\n" +"par_id541627513771828\n" "help.text" -msgid "Line feed<br/> Carriage return<br/> Horizontal tab" +msgid "The <literal>Services</literal> 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 <literal>CreateScriptService</literal>." msgstr "" -#. wAbkt -#: sf_string.xhp +#. FW4FC +#: sf_services.xhp msgctxt "" -"sf_string.xhp\n" -"par_id251611949474763\n" +"sf_services.xhp\n" +"par_id871582714020043\n" "help.text" -msgid "To have the escape sequence \"\\n\" interpreted as an actual string, simply use \"\\\\n\" instead of <literal>\"\\\" & Chr(10).</literal>" +msgid "This method is used to instantiate a ScriptForge service so it can be called in user scripts." msgstr "" -#. AYQbH -#: sf_string.xhp +#. jG6U9 +#: sf_services.xhp msgctxt "" -"sf_string.xhp\n" -"hd_id771579606799550\n" +"sf_services.xhp\n" +"par_id711627514310039\n" "help.text" -msgid "Non-printable characters:" +msgid "The returned value is a Basic object or <literal>Nothing</literal> if an error occurred." msgstr "" -#. WXEDi -#: sf_string.xhp +#. oojMF +#: sf_services.xhp msgctxt "" -"sf_string.xhp\n" -"par_id531579606877342\n" +"sf_services.xhp\n" +"par_id971582714020045\n" "help.text" -msgid "Characters defined in the Unicode Character Database as “Other” or “Separator” are considered as non-printable characters." +msgid "<emph>service</emph>: The name of the service identified as a string in the format \"library.service\":" msgstr "" -#. EsBdD -#: sf_string.xhp +#. CEqku +#: sf_services.xhp msgctxt "" -"sf_string.xhp\n" -"par_id221611949584320\n" +"sf_services.xhp\n" +"par_id11627475954271\n" "help.text" -msgid "Control characters (ascii code <= 0x1F) are also considered as non-printable." +msgid "The <emph>library</emph> is a Basic library that must exist in the <link href=\"text/sbasic/shared/03131900.xhp\" name=\"GlobalScope\">GlobalScope</link>. The default value is \"ScriptForge\"." msgstr "" -#. GfNfK -#: sf_string.xhp +#. BBFeA +#: sf_services.xhp msgctxt "" -"sf_string.xhp\n" -"hd_id661579604944268\n" +"sf_services.xhp\n" +"par_id811627475954641\n" "help.text" -msgid "Quotes inside strings:" +msgid "The <emph>service</emph> is one of the services registered by the ScriptForge library." msgstr "" -#. 6KLF9 -#: sf_string.xhp +#. btbtw +#: sf_services.xhp msgctxt "" -"sf_string.xhp\n" -"par_id551579605035332\n" +"sf_services.xhp\n" +"par_id391582714020045\n" "help.text" -msgid "To add quotes in strings use \\' (single quote) or \\\" (double quote). For example:" +msgid "<emph>arg0, ...</emph>: A list of arguments required by the invoked service." msgstr "" -#. BKoHN -#: sf_string.xhp +#. yAaks +#: sf_services.xhp msgctxt "" -"sf_string.xhp\n" -"par_id201611949691285\n" +"sf_services.xhp\n" +"par_id841627475900817\n" "help.text" -msgid "The string <literal>[str\\'i\\'ng]</literal> is interpreted as <literal>[str'i'ng]</literal>" +msgid "If the first argument refers to an event manager, then <literal>arg0</literal> is mandatory and must be the UNO object representing the event provided as argument to the user macro." msgstr "" -#. eRosR -#: sf_string.xhp +#. wuR7S +#: sf_services.xhp msgctxt "" -"sf_string.xhp\n" -"par_id201611949691323\n" +"sf_services.xhp\n" +"bas_id981582898174133\n" "help.text" -msgid "The string <literal>[str\\\"i\\\"ng]</literal> is interpreted as <literal>[str\"i\"ng]</literal>" +msgid "' To be done once" msgstr "" -#. FtzhT -#: sf_string.xhp +#. oqovE +#: sf_services.xhp msgctxt "" -"sf_string.xhp\n" -"hd_id201586594659135\n" +"sf_services.xhp\n" +"bas_id311582715700844\n" "help.text" -msgid "Service invocation" +msgid "' Refers to the \"ScriptForge.Array\" service or SF_Array" msgstr "" -#. 4WFve -#: sf_string.xhp +#. KvcPo +#: sf_services.xhp msgctxt "" -"sf_string.xhp\n" -"par_id141609955500101\n" +"sf_services.xhp\n" +"bas_id61582715759468\n" "help.text" -msgid "Before using the <literal>ScriptForge.String</literal> service the <literal>ScriptForge</literal> library needs to be loaded using:" +msgid "' Returns a new empty dictionary class instance; \"ScriptForge.\" is optional" msgstr "" -#. znLHV -#: sf_string.xhp +#. pMGcR +#: sf_services.xhp msgctxt "" -"sf_string.xhp\n" -"par_id271627158844922\n" +"sf_services.xhp\n" +"bas_id901582715797722\n" "help.text" -msgid "Loading the library will create the <literal>SF_String</literal> object that can be used to call the methods in the <literal>String</literal> service." +msgid "' Refers to the Calc service, implemented in the associated SFDocuments library" msgstr "" -#. e2Gty -#: sf_string.xhp +#. BoXHx +#: sf_services.xhp msgctxt "" -"sf_string.xhp\n" -"par_id63158659509728\n" +"sf_services.xhp\n" +"bas_id361582715845747\n" "help.text" -msgid "The following code snippets show the three ways to call methods from the <literal>String</literal> service (the <literal>Capitalize</literal> method is used as an example):" +msgid "' Returns a Timer class instance starting immediately" msgstr "" -#. UE3DL -#: sf_string.xhp +#. 9bmdn +#: sf_services.xhp msgctxt "" -"sf_string.xhp\n" -"par_id761627158463235\n" +"sf_services.xhp\n" +"bas_id571596298708062\n" "help.text" -msgid "The code snippet below illustrates how to invoke methods from the <literal>String</literal> service in Python scripts. The <literal>IsIPv4</literal> method is used as an example." +msgid "' Refers to the DocumentEvent service implemented in the associated SFDocuments library" msgstr "" -#. GfEcK -#: sf_string.xhp +#. DFhat +#: sf_services.xhp msgctxt "" -"sf_string.xhp\n" -"hd_id651584978211886\n" +"sf_services.xhp\n" +"bas_id121613492254532\n" "help.text" -msgid "Properties" +msgid "' Returns the instance of the Document class that fired the event" msgstr "" -#. qKhL4 -#: sf_string.xhp +#. zhCyY +#: sf_services.xhp msgctxt "" -"sf_string.xhp\n" -"par_id241611950267068\n" +"sf_services.xhp\n" +"par_id321627570607194\n" "help.text" -msgid "The <literal>SF_String</literal> object provides the following properties for Basic scripts:" +msgid "Python scripts support keyword arguments when calling <literal>CreateScriptService</literal>. The following example illustrates this concept by instantiating the <literal>Timer</literal> and <literal>Document</literal> services using keyword arguments." msgstr "" -#. FDjPb -#: sf_string.xhp +#. jah7F +#: sf_services.xhp msgctxt "" -"sf_string.xhp\n" -"par_id271584978211792\n" +"sf_services.xhp\n" +"par_id901627576693156\n" "help.text" -msgid "Name" +msgid "To make writing Python scripts more fluid, ScriptForge provides the <literal>Basic</literal> service which allows Python scripts to call a collection of methods with the same syntax and meaning as their homonymous native Basic functions." msgstr "" -#. HGYbF -#: sf_string.xhp +#. SDQ7m +#: sf_services.xhp msgctxt "" -"sf_string.xhp\n" -"par_id241584978211550\n" +"sf_services.xhp\n" +"par_id41627644806288\n" "help.text" -msgid "ReadOnly" +msgid "The following example instantiates the <literal>Basic</literal> service and calls the <literal>MsgBox</literal> method, which is equivalent to the <literal>MsgBox</literal> function available in Basic:" msgstr "" -#. 5qXzL -#: sf_string.xhp +#. zVgQm +#: sf_services.xhp msgctxt "" -"sf_string.xhp\n" -"par_id621584978211403\n" +"sf_services.xhp\n" +"par_id581627645023307\n" "help.text" -msgid "Description" +msgid "Beware that the <literal>Basic</literal> service has to be instantiated in Python scripts using the <literal>CreateScriptService</literal> method." msgstr "" -#. 6DG3u -#: sf_string.xhp +#. LCVem +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id71584978715562\n" +"sf_session.xhp\n" +"tit\n" "help.text" -msgid "Yes" +msgid "ScriptForge.Session service" msgstr "" -#. YJA6w -#: sf_string.xhp +#. DxnDG +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id581584978715701\n" +"sf_session.xhp\n" +"hd_id901582814720985\n" "help.text" -msgid "Carriage return: Chr(13)" +msgid "<variable id=\"SessionService\"><link href=\"text/sbasic/shared/03/sf_session.xhp\" name=\"Session service\"><literal>ScriptForge.Session</literal> service</link></variable>" msgstr "" -#. NCbTs -#: sf_string.xhp +#. yTgFK +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id211584978211383\n" +"sf_session.xhp\n" +"par_id861582814720987\n" "help.text" -msgid "Yes" +msgid "The <literal>Session</literal> service gathers various general-purpose methods about:" msgstr "" -#. xht7K -#: sf_string.xhp +#. a2DCM +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id691584978211774\n" +"sf_session.xhp\n" +"par_id34158281472051\n" "help.text" -msgid "Carriage return + Linefeed: Chr(13) & Chr(10)" +msgid "the installation or execution environment" msgstr "" -#. ennLs -#: sf_string.xhp +#. cf5WG +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id671584978666689\n" +"sf_session.xhp\n" +"par_id411582814720361\n" "help.text" -msgid "Yes" +msgid "UNO introspection" msgstr "" -#. pdykp -#: sf_string.xhp +#. fBApv +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id951584978666296\n" +"sf_session.xhp\n" +"par_id321582814720863\n" "help.text" -msgid "Linefeed: Chr(10)" +msgid "the invocation of external scripts or programs" msgstr "" -#. TTF6v -#: sf_string.xhp +#. 63uDb +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id421584978666327\n" +"sf_session.xhp\n" +"hd_id91582814720116\n" "help.text" -msgid "Yes" +msgid "Service invocation" msgstr "" -#. 9djV3 -#: sf_string.xhp +#. XRvpV +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id901584978666158\n" +"sf_session.xhp\n" +"par_id141609955500101\n" "help.text" -msgid "Carriage return + Linefeed, which can be<br/>1) Chr(13) & Chr(10) or <br/>2) Linefeed: Chr(10) <br/>depending on the operating system." +msgid "Before using the <literal>Session</literal> service the <literal>ScriptForge</literal> library needs to be loaded or imported:" msgstr "" -#. EMV7g -#: sf_string.xhp +#. 8BEnm +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id541584978666991\n" +"sf_session.xhp\n" +"hd_id291582814720762\n" "help.text" -msgid "Yes" +msgid "Constants" msgstr "" -#. VrjGQ -#: sf_string.xhp +#. zcRQu +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id741584978666508\n" +"sf_session.xhp\n" +"par_id82158281472034\n" "help.text" -msgid "Horizontal tabulation: Chr(9)" +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 <literal>session.CONSTANT</literal>." msgstr "" -#. Ee5CF -#: sf_string.xhp +#. yyF2R +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id461584978880380\n" +"sf_session.xhp\n" +"par_id9158281472045\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 <literal>SF_String.sfLF</literal>." +msgid "Value" msgstr "" -#. DDXd3 -#: sf_string.xhp +#. Wd88w +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id891611613601554\n" +"sf_session.xhp\n" +"par_id241582814720636\n" "help.text" -msgid "List of Methods in the String Service" +msgid "Where to find the library?" msgstr "" -#. TFfR3 -#: sf_string.xhp +#. k58kN +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id151611951803163\n" +"sf_session.xhp\n" +"par_id361582814720116\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 <literal>Capitalize</literal>, <literal>Escape</literal>, etc return a new string after their execution." +msgid "Applicable" msgstr "" -#. PYcny -#: sf_string.xhp +#. DJspw +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id371627158142730\n" +"sf_session.xhp\n" +"par_id451582814720105\n" "help.text" -msgid "Because Python has comprehensive built-in string support, most of the methods in the <literal>String</literal> service are available for Basic scripts only. The methods available for Basic and Python are: <literal>HashStr</literal>, <literal>IsADate</literal>, <literal>IsEmail</literal>, <literal>IsFileName</literal>, <literal>IsIBAN</literal>, <literal>IsIPv4</literal>, <literal>IsLike</literal>, <literal>IsSheetName</literal>, <literal>IsUrl</literal>, <literal>SplitNotQuoted</literal> and <literal>Wrap</literal>." +msgid "in the document" msgstr "" -#. jaBZR -#: sf_string.xhp +#. Q2KtM +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id271579683706571\n" +"sf_session.xhp\n" +"par_id73158281472032\n" "help.text" -msgid "Capitalizes the first character from each word in the input string." +msgid "in any shared library" msgstr "" -#. ibgky -#: sf_string.xhp +#. E7meg +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id941582304592013\n" +"sf_session.xhp\n" +"par_id391582814720487\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be capitalized." +msgid "in My Macros" msgstr "" -#. DB982 -#: sf_string.xhp +#. MiuWT +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id891582384556756\n" +"sf_session.xhp\n" +"par_id56158281472073\n" "help.text" -msgid "Counts the number of occurrences of a substring or a regular expression within a string." +msgid "in an extension installed for the current user" msgstr "" -#. DxK5L -#: sf_string.xhp +#. SAMnM +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id571582384689863\n" +"sf_session.xhp\n" +"par_id21582814720997\n" "help.text" -msgid "<emph>inputstr</emph>: The input string to be examined" +msgid "in %PRODUCTNAME macros" msgstr "" -#. QUeur -#: sf_string.xhp +#. LnKrt +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id601582384696486\n" +"sf_session.xhp\n" +"par_id981582814720125\n" "help.text" -msgid "<emph>substring</emph>: The substring or the regular expression to be used during search" +msgid "in an extension installed for all users" msgstr "" -#. vGiqm -#: sf_string.xhp +#. gCi9j +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id451582384703719\n" +"sf_session.xhp\n" +"par_id93158281472047\n" "help.text" -msgid "<emph>isregex</emph>: Use <literal>True</literal> if the substring is a regular expression (Default = <literal>False</literal>)" +msgid "in an extension but the installation parameters are unknown" msgstr "" -#. WiFme -#: sf_string.xhp +#. mLURi +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id141582384726168\n" +"sf_session.xhp\n" +"par_id891611613601554\n" "help.text" -msgid "<emph>casesensitive</emph>: The search can be case sensitive or not (Default = <literal>False</literal>)." +msgid "List of Methods in the Session Service" msgstr "" -#. QcE5q -#: sf_string.xhp +#. JvBuZ +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"bas_id371582384749769\n" +"sf_session.xhp\n" +"par_id491613061572993\n" "help.text" -msgid "'Counts the occurrences of the substring \"or\" inside the input string (returns 2)" +msgid "<literal>Execute...</literal> methods in <literal>Session</literal> service behave as follows: <br/>Arguments are passed by value. Changes made by the called function to the arguments do not update their values in the calling script. <br/>A single value or an array of values is returned to the calling script." msgstr "" -#. XXCR4 -#: sf_string.xhp +#. 72GZi +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"bas_id561582384801586\n" +"sf_session.xhp\n" +"par_id451582815407230\n" "help.text" -msgid "'Counts the number of words with only lowercase letters (returns 7)" +msgid "Execute the Basic script given its name and location and fetch its result if any." msgstr "" -#. aJNDg -#: sf_string.xhp +#. yFnSG +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id131612223767126\n" +"sf_session.xhp\n" +"par_id921600856780901\n" "help.text" -msgid "To learn more about regular expressions, refer to the Python's documentation on <link href=\"https://docs.python.org/3/library/re.html\" name=\"Regular expressions\">Regular Expression Operations</link>." +msgid "If the script returns nothing, which is the case of procedures defined with <literal>Sub</literal>, the returned value is <literal>Empty</literal>." msgstr "" -#. CCzMc -#: sf_string.xhp +#. VTyCE +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id581579687739629\n" +"sf_session.xhp\n" +"par_id631582815407231\n" "help.text" -msgid "Returns <literal>True</literal> if a string ends with a specified substring." +msgid "<emph>scope</emph>: String specifying where the script is stored. It can be either \"document\" (constant <literal>session.SCRIPTISEMBEDDED</literal>) or \"application\" (constant <literal>session.SCRIPTISAPPLICATION</literal>)." msgstr "" -#. cAmFW -#: sf_string.xhp +#. SCCpE +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id21612306392239\n" +"sf_session.xhp\n" +"par_id691582815407231\n" "help.text" -msgid "The function returns <literal>False</literal> when either the string or the substring have a length = 0 or when the substring is longer than the string." +msgid "<emph>script</emph>: String specifying the script to be called in the format \"library.module.method\" as a case-sensitive string." msgstr "" -#. qk5nE -#: sf_string.xhp +#. hS5x4 +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id191579861552201\n" +"sf_session.xhp\n" +"par_id741626828862265\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be tested." +msgid "The library is loaded in memory if necessary." msgstr "" -#. ErigR -#: sf_string.xhp +#. D8AL6 +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id211579861561473\n" +"sf_session.xhp\n" +"par_id981626828863001\n" "help.text" -msgid "<emph>substring</emph>: The substring to be searched at the end of <literal>inputstr</literal>." +msgid "The module must not be a class module." msgstr "" -#. 4DKkW -#: sf_string.xhp +#. VsUFD +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id801579861574009\n" +"sf_session.xhp\n" +"par_id721626828863257\n" "help.text" -msgid "<emph>casesensitive</emph>: The search can be case sensitive or not (Default = <literal>False</literal>)." +msgid "The method may be a <literal>Sub</literal> or a <literal>Function</literal>." msgstr "" -#. gn2F8 -#: sf_string.xhp +#. eExjm +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"bas_id811579862998452\n" +"sf_session.xhp\n" +"par_id881582815407231\n" "help.text" -msgid "'Returns True because the method was called with the default CaseSensitive = False" +msgid "<emph>args</emph>: The arguments to be passed to the called script." msgstr "" -#. vJDmx -#: sf_string.xhp +#. mg5WG +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"bas_id231579863168747\n" +"sf_session.xhp\n" +"par_id21626809513802\n" "help.text" -msgid "'Returns False due to the CaseSensitive parameter" +msgid "Consider the following Basic function named <literal>DummyFunction</literal> that is stored in \"My Macros\" in the \"Standard\" library inside a module named \"Module1\"." msgstr "" -#. zThMM -#: sf_string.xhp +#. PMyrB +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id921585921441429\n" +"sf_session.xhp\n" +"par_id551626810319766\n" "help.text" -msgid "Converts linebreaks and tabs contained in the input string to their equivalent escaped sequence (\\\\, \\n, \\r, \\t)." +msgid "The function simply takes in two integer values <literal>v1</literal> and <literal>v2</literal> and return the sum of all values starting in <literal>v1</literal> and ending in <literal>v2</literal>." msgstr "" -#. kBiBE -#: sf_string.xhp +#. Gx6fV +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id9158592144110\n" +"sf_session.xhp\n" +"par_id461626810470057\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be converted." +msgid "The examples below show how to call <literal>DummyFunction</literal> from within Basic and Python scripts." msgstr "" -#. cpLKD -#: sf_string.xhp +#. Yr22N +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"bas_id901585921441483\n" +"sf_session.xhp\n" +"par_id111582816585181\n" "help.text" -msgid "'Returns the string \"abc\\n\\tdef\\\\n\"" +msgid "Execute a Calc function using its English name and based on the given arguments. <br/>If the arguments are arrays, the function is executed as an <link href=\"text/scalc/01/04060107.xhp\" name=\"array formula\">array formula</link>." msgstr "" -#. ADN8M -#: sf_string.xhp +#. EDU9x +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id271579868053137\n" +"sf_session.xhp\n" +"par_id771582816585183\n" "help.text" -msgid "Replaces Tab characters <literal>Chr(9)</literal> by space characters to replicate the behavior of tab stops." +msgid "<emph>calcfunction</emph>: The name of the Calc function to be called, in English." msgstr "" -#. Eb23Z -#: sf_string.xhp +#. FJJJh +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id951579868064344\n" +"sf_session.xhp\n" +"par_id371582816585183\n" "help.text" -msgid "If a line break is found, a new line is started and the character counter is reset." +msgid "<emph>args</emph>: 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 "" -#. E73Ko -#: sf_string.xhp +#. XMfUD +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id231579868290408\n" +"sf_session.xhp\n" +"bas_id881582816585185\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be expanded" +msgid "' Generates an error." msgstr "" -#. 9dyYc -#: sf_string.xhp +#. ygESx +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id281579868299807\n" +"sf_session.xhp\n" +"par_id571582818023245\n" "help.text" -msgid "<emph>tabsize</emph>: This parameter is used to determine the Tab stops using the formula: TabSize + 1, 2 * TabSize + 1 , ... N * TabSize + 1 (Default = 8)" +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 "" -#. GUoE8 -#: sf_string.xhp +#. SB2gx +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id161579874552729\n" +"sf_session.xhp\n" +"par_id71600856817410\n" "help.text" -msgid "Replaces all non-printable characters in the input string by a given character." +msgid "If the script is not found, or if it returns nothing, the returned value is <literal>Empty</literal>." msgstr "" -#. GpHwp -#: sf_string.xhp +#. jdWTU +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id431579874633865\n" +"sf_session.xhp\n" +"par_id791582818023246\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be searched" +msgid "<emph>scope</emph>: One of the applicable constants listed <link href=\"text/sbasic/shared/03/sf_session.xhp#constants\" name=\"Session constants\">above</link>. The default value is <literal>session.SCRIPTISSHARED</literal>." msgstr "" -#. GttDN -#: sf_string.xhp +#. ELfda +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id31579874656437\n" +"sf_session.xhp\n" +"par_id71582818023247\n" "help.text" -msgid "<emph>replacedby</emph>: Zero, one or more characters that will replace all non-printable characters in <literal>inputstr</literal> (Default = \"\")" +msgid "<emph>script</emph>: Either \"library/module.py$method\" or \"module.py$method\" or \"myExtension.oxt|myScript|module.py$method\" as a case-sensitive string." msgstr "" -#. W44TL -#: sf_string.xhp +#. P6ZKD +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id1001579876228707\n" +"sf_session.xhp\n" +"par_id501613061041313\n" "help.text" -msgid "Finds in a string a substring matching a given regular expression." +msgid "library: The folder path to the Python module." msgstr "" -#. aq28M -#: sf_string.xhp +#. ktFHu +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id131579876314120\n" +"sf_session.xhp\n" +"par_id771613061043097\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be searched" +msgid "myScript: The folder containing the Python module." msgstr "" -#. hRrBB -#: sf_string.xhp +#. ANBoy +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id751579876371545\n" +"sf_session.xhp\n" +"par_id301613061123849\n" "help.text" -msgid "<emph>regex</emph>: The regular expression" +msgid "module.py: The Python module." msgstr "" -#. y2Fqs -#: sf_string.xhp +#. f4B8C +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id881579876394584\n" +"sf_session.xhp\n" +"par_id241613061044560\n" "help.text" -msgid "<emph>start</emph>: The position in the string where the search will begin. This parameter is passed by reference, so after execution the value of <literal>start</literal> will point to the first character of the found substring. If no matching substring is found, <literal>start</literal> will be set to 0." +msgid "method: The Python function." msgstr "" -#. yZMDg -#: sf_string.xhp +#. ByFdE +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id251579876403831\n" +"sf_session.xhp\n" +"par_id711582818023247\n" "help.text" -msgid "<emph>casesensitive</emph>: The search can be case sensitive or not (Default = <literal>False</literal>)." +msgid "<emph>args</emph>: The arguments to be passed to the called script." msgstr "" -#. A4JC7 -#: sf_string.xhp +#. ckvXs +#: sf_session.xhp msgctxt "" -"sf_string.xhp\n" -"par_id841579876412287\n" +"sf_session.xhp\n" +"par_id701626817164878\n" "help.text" -msgid "<emph>forward</emph>: Determines the direction of the search. If <literal>True</literal>, search moves forward. If <literal>False</literal> search moves backwards (Default = <literal>True</literal>)" +msgid "Consider the Python function <literal>odd_integers</literal> defined below that creates a list with odd integer values between <literal>v1</literal> and <literal>v2</literal>. Suppose this function is stored in a file named <emph>my_macros.py</emph> in your user scripts folder." msgstr "" -#. SkaCi +#. o6DUm +#: sf_session.xhp +msgctxt "" +"sf_session.xhp\n" +"par_id751626817335715\n" +"help.text" +msgid "Read the help page <link href=\"text/sbasic/python/python_locations.xhp\" name=\"pylocation_link\">Python Scripts Organization and Location</link> 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 <literal>odd_integers</literal> 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 <menuitem>PDF Options</menuitem> dialog, which can be accessed by choosing <menuitem>File - Export as - Export as PDF</menuitem>." +msgstr "" + +#. K7j2q +#: sf_session.xhp +msgctxt "" +"sf_session.xhp\n" +"par_id931638383270026\n" +"help.text" +msgid "Export options set with the <menuitem>PDF Options</menuitem> dialog are kept for future use. Hence <literal>GetPDFExportOptions</literal> returns the settings currently defined. In addition, use <literal>SetPDFExportOptions</literal> 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 <literal>Dictionary</literal> 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 <link href=\"https://wiki.openoffice.org/wiki/API/Tutorials/PDF_export\" name=\"PDFExport_Wiki\">PDF Export wiki page</link> to learn more about all available options." +msgstr "" + +#. Lv4iA +#: sf_session.xhp +msgctxt "" +"sf_session.xhp\n" +"par_id111587477335982\n" +"help.text" +msgid "Returns <literal>True</literal> if an UNO object contains the given method. Returns <literal>False</literal> 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 "<emph>unoobject</emph>: The object to inspect." +msgstr "" + +#. DDw6g +#: sf_session.xhp +msgctxt "" +"sf_session.xhp\n" +"par_id631587477566016\n" +"help.text" +msgid "<emph>methodname</emph>: the method as a case-sensitive string" +msgstr "" + +#. gDBRB +#: sf_session.xhp +msgctxt "" +"sf_session.xhp\n" +"par_id191587477832959\n" +"help.text" +msgid "Returns <literal>True</literal> if a UNO object has the given property. Returns <literal>False</literal> 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 "<emph>unoobject</emph>: The object to inspect." +msgstr "" + +#. hCTCk +#: sf_session.xhp +msgctxt "" +"sf_session.xhp\n" +"par_id701587477832750\n" +"help.text" +msgid "<emph>propertyname</emph>: 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 (<link href=\"text/shared/00/00000002.xhp#URL\" name=\"URL\">URL</link>) in the default browser." +msgstr "" + +#. 4tFWV +#: sf_session.xhp +msgctxt "" +"sf_session.xhp\n" +"par_id241601129640549\n" +"help.text" +msgid "<emph>url</emph>: 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 <literal>True</literal> if it was launched successfully." +msgstr "" + +#. D483F +#: sf_session.xhp +msgctxt "" +"sf_session.xhp\n" +"par_id461582819697898\n" +"help.text" +msgid "<emph>command</emph>: 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 <literal>SF_FileSystem.FileNaming</literal> notation." +msgstr "" + +#. b8hbC +#: sf_session.xhp +msgctxt "" +"sf_session.xhp\n" +"par_id611582819697899\n" +"help.text" +msgid "<emph>parameters</emph>: 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 "<emph>recipient</emph>: An email address (the \"To\" recipient)." +msgstr "" + +#. BdMiD +#: sf_session.xhp +msgctxt "" +"sf_session.xhp\n" +"par_id571601030349904\n" +"help.text" +msgid "<emph>cc</emph>: 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 "<emph>bcc</emph>: 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 "<emph>subject</emph>: the header of the message." +msgstr "" + +#. 69CFR +#: sf_session.xhp +msgctxt "" +"sf_session.xhp\n" +"par_id191601031056673\n" +"help.text" +msgid "<emph>body</emph>: 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 "<emph>filenames</emph>: a comma-separated list of file names. Each file name must respect the <literal>SF_FileSystem.FileNaming</literal> notation." +msgstr "" + +#. h9Urq +#: sf_session.xhp +msgctxt "" +"sf_session.xhp\n" +"par_id161601032784063\n" +"help.text" +msgid "<emph>editmessage</emph>: When <literal>True</literal> (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 <menuitem>PDF Options</menuitem> dialog, which can be accessed by choosing <menuitem>File - Export as - Export as PDF</menuitem>." +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 <menuitem>PDF Options</menuitem> dialog, which are used by the <literal>ExportAsPDF</literal> method from the <literal>Document</literal> service." +msgstr "" + +#. FBrKg +#: sf_session.xhp +msgctxt "" +"sf_session.xhp\n" +"par_id391638385313847\n" +"help.text" +msgid "This method returns <literal>True</literal> when successful." +msgstr "" + +#. 9BqH3 +#: sf_session.xhp +msgctxt "" +"sf_session.xhp\n" +"par_id751638383457321\n" +"help.text" +msgid "Read the <link href=\"https://wiki.openoffice.org/wiki/API/Tutorials/PDF_export\" name=\"PDFExport_Wiki\">PDF Export wiki page</link> to learn more about all available options." +msgstr "" + +#. JhhXU +#: sf_session.xhp +msgctxt "" +"sf_session.xhp\n" +"par_id771582816585233\n" +"help.text" +msgid "<emph>pdfoptions</emph>: <literal>Dictionary</literal> 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 "<emph>unoobject</emph>: 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 "<emph>unoobject</emph>: 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 "<emph>unoobject</emph>: 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 "<emph>uri</emph>: 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 "<variable id=\"StringService\"><link href=\"text/sbasic/shared/03/sf_string.xhp\" name=\"String service\"><literal>ScriptForge</literal>.<literal>String</literal> service</link></variable>" +msgstr "" + +#. yaisH +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id351579602570526\n" +"help.text" +msgid "The <literal>String</literal> 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 <literal>String</literal> 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<br/> Vertical tab<br/> Carriage return<br/> Line feed + Carriage return<br/> File separator<br/> Group separator<br/> Record separator<br/> Next line<br/> Line separator<br/> 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 <literal>String</literal> 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<br/> Horizontal tab<br/> Line feed<br/> Vertical tab<br/> Form feed<br/> Carriage return<br/> Next line<br/> No-break space<br/> Line separator<br/> 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<br/> Carriage return<br/> 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 <literal>\"\\\" & Chr(10).</literal>" +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 <literal>[str\\'i\\'ng]</literal> is interpreted as <literal>[str'i'ng]</literal>" +msgstr "" + +#. eRosR +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id201611949691323\n" +"help.text" +msgid "The string <literal>[str\\\"i\\\"ng]</literal> is interpreted as <literal>[str\"i\"ng]</literal>" +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 <literal>ScriptForge.String</literal> service the <literal>ScriptForge</literal> 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 <literal>SF_String</literal> object that can be used to call the methods in the <literal>String</literal> 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 <literal>String</literal> service (the <literal>Capitalize</literal> 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 <literal>String</literal> service in Python scripts. The <literal>IsIPv4</literal> 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 <literal>SF_String</literal> 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 "" + +#. 5qXzL +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id621584978211403\n" +"help.text" +msgid "Description" +msgstr "" + +#. 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<br/>1) Chr(13) & Chr(10) or <br/>2) Linefeed: Chr(10) <br/>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 <literal>SF_String.sfLF</literal>." +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 <literal>Capitalize</literal>, <literal>Escape</literal>, 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 <literal>String</literal> service are available for Basic scripts only. The methods available for Basic and Python are: <literal>HashStr</literal>, <literal>IsADate</literal>, <literal>IsEmail</literal>, <literal>IsFileName</literal>, <literal>IsIBAN</literal>, <literal>IsIPv4</literal>, <literal>IsLike</literal>, <literal>IsSheetName</literal>, <literal>IsUrl</literal>, <literal>SplitNotQuoted</literal> and <literal>Wrap</literal>." +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 "<emph>inputstr</emph>: 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 "<emph>inputstr</emph>: The input string to be examined" +msgstr "" + +#. QUeur +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id601582384696486\n" +"help.text" +msgid "<emph>substring</emph>: 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 "<emph>isregex</emph>: Use <literal>True</literal> if the substring is a regular expression (Default = <literal>False</literal>)" +msgstr "" + +#. WiFme +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id141582384726168\n" +"help.text" +msgid "<emph>casesensitive</emph>: The search can be case sensitive or not (Default = <literal>False</literal>)." +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 <link href=\"https://docs.python.org/3/library/re.html\" name=\"Regular expressions\">Regular Expression Operations</link>." +msgstr "" + +#. CCzMc +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id581579687739629\n" +"help.text" +msgid "Returns <literal>True</literal> 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 <literal>False</literal> 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 "<emph>inputstr</emph>: The string to be tested." +msgstr "" + +#. ErigR +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id211579861561473\n" +"help.text" +msgid "<emph>substring</emph>: The substring to be searched at the end of <literal>inputstr</literal>." +msgstr "" + +#. 4DKkW +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id801579861574009\n" +"help.text" +msgid "<emph>casesensitive</emph>: The search can be case sensitive or not (Default = <literal>False</literal>)." +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 "<emph>inputstr</emph>: 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 <literal>Chr(9)</literal> 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 "<emph>inputstr</emph>: The string to be expanded" +msgstr "" + +#. 9dyYc +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id281579868299807\n" +"help.text" +msgid "<emph>tabsize</emph>: 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 "<emph>inputstr</emph>: The string to be searched" +msgstr "" + +#. GttDN +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id31579874656437\n" +"help.text" +msgid "<emph>replacedby</emph>: Zero, one or more characters that will replace all non-printable characters in <literal>inputstr</literal> (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 "<emph>inputstr</emph>: The string to be searched" +msgstr "" + +#. hRrBB +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id751579876371545\n" +"help.text" +msgid "<emph>regex</emph>: The regular expression" +msgstr "" + +#. y2Fqs +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id881579876394584\n" +"help.text" +msgid "<emph>start</emph>: The position in the string where the search will begin. This parameter is passed by reference, so after execution the value of <literal>start</literal> will point to the first character of the found substring. If no matching substring is found, <literal>start</literal> will be set to 0." +msgstr "" + +#. yZMDg +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id251579876403831\n" +"help.text" +msgid "<emph>casesensitive</emph>: The search can be case sensitive or not (Default = <literal>False</literal>)." +msgstr "" + +#. A4JC7 +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id841579876412287\n" +"help.text" +msgid "<emph>forward</emph>: Determines the direction of the search. If <literal>True</literal>, search moves forward. If <literal>False</literal> search moves backwards (Default = <literal>True</literal>)" +msgstr "" + +#. SkaCi +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id451612309155653\n" +"help.text" +msgid "At the first iteration, if <literal>forward = True</literal>, then <literal>start</literal> should be equal to 1, whereas if <literal>forward = False</literal> then <literal>start</literal> should be equal to <literal>Len(inputstr)</literal>" +msgstr "" + +#. gv3oo +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id221612309579001\n" +"help.text" +msgid "In the example above, the new value of <literal>lStart</literal> can be used to keep searching the same input string by setting the <literal>Start</literal> parameter to <literal>lStart + Len(result)</literal> 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 <literal>HashStr</literal> 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: <literal>MD5</literal>, <literal>SHA1</literal>, <literal>SHA224</literal>, <literal>SHA256</literal>, <literal>SHA384</literal> and <literal>SHA512</literal>." +msgstr "" + +#. yUmmb +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id621601048983210\n" +"help.text" +msgid "<emph>inputstr</emph>: 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 "<emph>algorithm</emph>: 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 <literal>&</literal> counterparts." +msgstr "" + +#. YNfid +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id341612351999692\n" +"help.text" +msgid "For example, the character <literal>é</literal> would be replaced by <literal>é</literal> or an equivalent numerical HTML code." +msgstr "" + +#. CGFQH +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"bas_id501579879570781\n" +"help.text" +msgid "<emph>inputstr</emph>: The string to encode." +msgstr "" + +#. jpv97 +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id171579880990533\n" +"help.text" +msgid "Returns <literal>True</literal> 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 "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>" +msgstr "" + +#. nmTv3 +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id991579881107670\n" +"help.text" +msgid "<emph>dateformat</emph>: 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 <literal>False</literal>." +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 <link href=\"text/sbasic/shared/03102300.xhp\" name=\"IsDate function\"><literal>IsDate</literal> built-in function</link>." +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 <literal>IsADate</literal> (ScriptForge) and the <literal>IsDate</literal> (built-in) function." +msgstr "" + +#. hAADi +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id161579881600317\n" +"help.text" +msgid "Returns <literal>True</literal> 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 <link href=\"https://unicode.org/reports/tr44/\" name=\"Unicode documentation\">Unicode Character Database</link> as <literal>Letter</literal>." +msgstr "" + +#. a9rTa +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id11579881691826\n" +"help.text" +msgid "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgstr "" + +#. KaLGv +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id421579883181382\n" +"help.text" +msgid "Returns <literal>True</literal> 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 "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgstr "" + +#. qAZpA +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id671580039484786\n" +"help.text" +msgid "Returns <literal>True</literal> 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 "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgstr "" + +#. iuPF4 +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id861580044805749\n" +"help.text" +msgid "Returns <literal>True</literal> if all characters in the string are digits." +msgstr "" + +#. yU7cc +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id41580044873043\n" +"help.text" +msgid "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgstr "" + +#. J8Ykx +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id521580045221758\n" +"help.text" +msgid "Returns <literal>True</literal> if the string is a valid email address." +msgstr "" + +#. 8Pxsn +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id841580045280071\n" +"help.text" +msgid "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgstr "" + +#. R6MsU +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id41580047039666\n" +"help.text" +msgid "Returns <literal>True</literal> 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 "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgstr "" + +#. jWMpJ +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id781580047088954\n" +"help.text" +msgid "<emph>osname</emph>: 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 <literal>True</literal> 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 "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +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 <literal>True</literal> 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 "<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 "" +"sf_string.xhp\n" +"par_id791580048420941\n" +"help.text" +msgid "Returns <literal>True</literal> 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 "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgstr "" + +#. yWHew +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id831580049093038\n" +"help.text" +msgid "Returns <literal>True</literal> 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 "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgstr "" + +#. XEBzh +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id31580049154551\n" +"help.text" +msgid "<emph>pattern</emph>: 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 "<emph>casesensitive</emph>: The search can be case sensitive or not (Default = <literal>False</literal>)." +msgstr "" + +#. kSMmn +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id581580050048679\n" +"help.text" +msgid "Returns <literal>True</literal> 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 "<emph>InputStr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgstr "" + +#. BzD3y +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id231580051650488\n" +"help.text" +msgid "Returns <literal>True</literal> if all characters in the string are printable." +msgstr "" + +#. gUhut +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id721580051706431\n" +"help.text" +msgid "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgstr "" + +#. HYBp5 +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id281580052400960\n" +"help.text" +msgid "Returns <literal>True</literal> 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 "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgstr "" + +#. mi4mi +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id581580052467973\n" +"help.text" +msgid "<emph>regex</emph>: The regular expression. If empty, the method returns <literal>False</literal>." +msgstr "" + +#. vmqZM +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id621580052654341\n" +"help.text" +msgid "<emph>casesensitive</emph>: The search can be case sensitive or not (Default = <literal>False</literal>)." +msgstr "" + +#. iZSEw +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id1001589460240467\n" +"help.text" +msgid "Returns <literal>True</literal> 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 "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +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 <literal>True</literal> 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 "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgstr "" + +#. 7Ryzp +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id801580128672004\n" +"help.text" +msgid "Returns <literal>True</literal> 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 "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgstr "" + +#. BTRpG +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id531580132067813\n" +"help.text" +msgid "Returns <literal>True</literal> 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 "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgstr "" + +#. wBAqG +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id41580132491698\n" +"help.text" +msgid "Returns <literal>True</literal> if all characters in the string are whitespaces" +msgstr "" + +#. JDD85 +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id801580132535511\n" +"help.text" +msgid "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +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 <literal>length</literal> with the character <literal>padding</literal>." +msgstr "" + +#. 4uuQT +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id911580133391827\n" +"help.text" +msgid "<emph>inputstr</emph>: 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 "<emph>length</emph>: 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 "<emph>padding</emph>: 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 <literal>length</literal> with the character <literal>padding</literal>." +msgstr "" + +#. UQXSM +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id281580135523448\n" +"help.text" +msgid "<emph>inputstr</emph>: 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 "<emph>length</emph>: 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 "" + +#. wBnmv +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id221580135568475\n" +"help.text" +msgid "<emph>padding</emph>: 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 "" + +#. 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 <literal>length</literal> with the character <literal>padding</literal>." +msgstr "" + +#. KxskT +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id201580136154170\n" +"help.text" +msgid "<emph>inputstr</emph>: 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 "<emph>length</emph>: 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 "" + +#. LtcVG +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id751580136200680\n" +"help.text" +msgid "<emph>padding</emph>: 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 "" + +#. YBvt4 +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id811580136944674\n" +"help.text" +msgid "<emph>inputstr</emph>: The string to quote." +msgstr "" + +#. GynWV +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id581599129397412\n" +"help.text" +msgid "<emph>quotechar</emph>: 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 "" + +#. 8Rr4M +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id951580139124650\n" +"help.text" +msgid "Replaces all occurrences of the characters specified in the <literal>Before</literal> parameter by the corresponding characters specified in <literal>After</literal>." +msgstr "" + +#. 5hn2y +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id1001612384040018\n" +"help.text" +msgid "If the length of <literal>Before</literal> is greater than the length of <literal>After</literal>, the residual characters in <literal>Before</literal> are replaced by the last character in <literal>After</literal>." +msgstr "" + +#. DD2CL +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id11580139160633\n" +"help.text" +msgid "<emph>inputstr</emph>: The input string on which replacements will occur." +msgstr "" + +#. DvaRE +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id111580139169795\n" +"help.text" +msgid "<emph>before</emph>: 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 "<emph>after</emph>: A string with the new characters that will replace those defined in <literal>before</literal>." +msgstr "" + +#. CDuCC +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"bas_id921580139218457\n" +"help.text" +msgid "' Replaces accented characters" +msgstr "" + +#. 5ww5A +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id151612442904499\n" +"help.text" +msgid "The <literal>SF_String</literal> service provides useful public constants for the Latin character sets, as shown in the example below:" +msgstr "" + +#. 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 "" + +#. ujCyu +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id471580140311626\n" +"help.text" +msgid "<emph>inputstr</emph>: The input string on which replacements will occur." +msgstr "" + +#. o2DS2 +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id651580140322666\n" +"help.text" +msgid "<emph>regex</emph>: The regular expression." +msgstr "" + +#. itEEd +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id891580140334754\n" +"help.text" +msgid "<emph>newstr</emph>: The replacing string." +msgstr "" + +#. gJRAr +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id581580140345221\n" +"help.text" +msgid "<emph>casesensitive</emph>: The search can be case sensitive or not (Default = <literal>False</literal>)." +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 "" + +#. 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 "" + +#. 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 "" + +#. SDpot +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id831580146504326\n" +"help.text" +msgid "<emph>inputstr</emph>: The input string on which replacements will occur." +msgstr "" + +#. UfuEm +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id411580146514927\n" +"help.text" +msgid "<emph>oldstr</emph>: 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 "<emph>newstr</emph>: 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 <literal>oldstr</literal> is an array, each occurrence of any of the items in <literal>oldstr</literal> is replaced by <literal>newstr</literal>." +msgstr "" + +#. AfRz6 +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id611612384880820\n" +"help.text" +msgid "If <literal>oldstr</literal> and <literal>newstr</literal> are arrays, replacements occur one by one up to the <literal>UBound(newstr)</literal>." +msgstr "" + +#. E39aH +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id241612385058264\n" +"help.text" +msgid "If <literal>oldstr</literal> has more entries than <literal>newstr</literal>, then the residual elements in <literal>oldstr</literal> are replaced by the last element in <literal>newstr</literal>." +msgstr "" + +#. MkqW5 +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id701580146547619\n" +"help.text" +msgid "<emph>occurrences</emph>: 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 <literal>oldstr</literal> is an array, the <literal>occurrence</literal> 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 "<emph>casesensitive</emph>: The search can be case sensitive or not (Default = <literal>False</literal>)." +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 "" + +#. cU3Ev +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id11612386054691\n" +"help.text" +msgid "If the <literal>anyvalue</literal> 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 "" + +#. SfUGD +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id921612386089103\n" +"help.text" +msgid "If the final length exceeds the <literal>maxlength</literal> 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 "<emph>anyvalue</emph>: 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 "<emph>maxlength</emph>: 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 <literal>ScriptForge.Dictionary</literal> object instances include both the data type and their values:" +msgstr "" + +#. ZFFAD +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"bas_id971612386906463\n" +"help.text" +msgid "' An example with a Basic built-in Array" +msgstr "" + +#. GEZzM +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"bas_id401612386876329\n" +"help.text" +msgid "' An example with a ScriptForge Array" +msgstr "" + +#. mZ3ar +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"bas_id551612386931680\n" +"help.text" +msgid "' An example with a ScriptForge Dictionary" +msgstr "" + +#. vvADG +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id411580312925741\n" +"help.text" +msgid "Returns the input string in reversed order." +msgstr "" + +#. EEyG6 +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id141612387177873\n" +"help.text" +msgid "This method is equivalent to the built-in <link href=\"text/sbasic/shared/03120412.xhp\" name=\"StrReverse function\"><literal>StrReverse</literal> Basic function</link>." +msgstr "" + +#. ZEarP +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id961612387463144\n" +"help.text" +msgid "To use the <literal>StrReverse</literal> function, the statement <literal>Option VBASupport 1</literal> must be present in the module." +msgstr "" + +#. pSyL6 +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id241580312964497\n" +"help.text" +msgid "<emph>inputstr</emph>: 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 "" + +#. nuUF6 +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id481580210806878\n" +"help.text" +msgid "<emph>inputstr</emph>: The string to be split." +msgstr "" + +#. FEFUw +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id231580210820309\n" +"help.text" +msgid "<emph>keepbreaks</emph>: When <literal>True</literal>, line breaks are preserved in the output array (default = <literal>False</literal>)." +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 "" + +#. 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 "" + +#. JKAaG +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id881580211809490\n" +"help.text" +msgid "<emph>inputstr</emph>: The string to be split." +msgstr "" + +#. zFjwe +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id811580211821162\n" +"help.text" +msgid "<emph>delimiter</emph>: 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 "<emph>occurrences</emph>: 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 "<emph>quotechar</emph>: 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 <literal>True</literal> 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 <literal>False</literal> 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 "<emph>inputstr</emph>: The string to be tested." +msgstr "" + +#. tE9WD +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id571580212889462\n" +"help.text" +msgid "<emph>substring</emph>: The substring to be searched at the start of <literal>inputstr</literal>." +msgstr "" + +#. ZeQP4 +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id811580212900799\n" +"help.text" +msgid "<emph>casesensitive</emph>: The search can be case sensitive or not (Default = <literal>False</literal>)." +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 "<emph>inputstr</emph>: 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 "<emph>inputstr</emph>: 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 "<emph>inputstr</emph>: The string to unquote." +msgstr "" + +#. gRUHA +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id211599129509890\n" +"help.text" +msgid "<emph>quotechar</emph>: 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 <link href=\"text/sbasic/shared/03/sf_string.xhp#ExpandTabs\" name=\"ExpandTabs method\">ExpandTabs</link> 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 "<emph>inputstr</emph>: The string to wrap." +msgstr "" + +#. MiptC +#: sf_string.xhp +msgctxt "" +"sf_string.xhp\n" +"par_id351585834773177\n" +"help.text" +msgid "<emph>width</emph>: The maximum number of characters in each line (Default = 70)." +msgstr "" + +#. epG6z #: sf_string.xhp msgctxt "" -"sf_string.xhp\n" -"par_id451612309155653\n" +"sf_string.xhp\n" +"par_id741585834874500\n" +"help.text" +msgid "<emph>tabsize</emph>: Before wrapping the text, the existing TAB <literal>Chr(9)</literal> characters are replaced with spaces. The argument <literal>tabsize</literal> 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 "<variable id=\"TextStreamService\"><link href=\"text/sbasic/shared/03/sf_textstream.xhp\" name=\"TextStream service\"><literal>ScriptForge</literal>.<literal>TextStream</literal> service</link></variable>" +msgstr "" + +#. nBJsE +#: sf_textstream.xhp +msgctxt "" +"sf_textstream.xhp\n" +"par_id511585330787205\n" "help.text" -msgid "At the first iteration, if <literal>forward = True</literal>, then <literal>start</literal> should be equal to 1, whereas if <literal>forward = False</literal> then <literal>start</literal> should be equal to <literal>Len(inputstr)</literal>" +msgid "The <literal>TextStream</literal> service is used to sequentially read from and write to files opened or created using the <literal>ScriptForge.FileSystem</literal> service." msgstr "" -#. gv3oo -#: sf_string.xhp +#. TeRTa +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id221612309579001\n" +"sf_textstream.xhp\n" +"par_id41613596903894\n" "help.text" -msgid "In the example above, the new value of <literal>lStart</literal> can be used to keep searching the same input string by setting the <literal>Start</literal> parameter to <literal>lStart + Len(result)</literal> at the next iteration." +msgid "The methods <literal>OpenTextFile</literal> and <literal>CreateTextFile</literal> from the <literal>FileSystem</literal> service return an instance of the <literal>TextStream</literal> service." msgstr "" -#. qAkN4 -#: sf_string.xhp +#. MVFWC +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id471601048983628\n" +"sf_textstream.xhp\n" +"par_id161585330787262\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." +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 "" -#. HupGD -#: sf_string.xhp +#. GDkir +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id301601048983765\n" +"sf_textstream.xhp\n" +"par_id831613598137669\n" "help.text" -msgid "The <literal>HashStr</literal> 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." +msgid "The line delimiter for the operating system where the macro is being executed can be accessed using the <literal>SF_String.sfNEWLINE</literal> property." msgstr "" -#. ZRZEF -#: sf_string.xhp +#. SvXzF +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id631601048983149\n" +"sf_textstream.xhp\n" +"par_id851613597445432\n" "help.text" -msgid "The hash algorithms supported are: <literal>MD5</literal>, <literal>SHA1</literal>, <literal>SHA224</literal>, <literal>SHA256</literal>, <literal>SHA384</literal> and <literal>SHA512</literal>." +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 "" -#. yUmmb -#: sf_string.xhp +#. dc5KN +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id621601048983210\n" +"sf_textstream.xhp\n" +"hd_id83158533078741\n" "help.text" -msgid "<emph>inputstr</emph>: 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." +msgid "Service invocation" msgstr "" -#. nuQRb -#: sf_string.xhp +#. AuQX2 +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id941601048983822\n" +"sf_textstream.xhp\n" +"par_id351613598192725\n" "help.text" -msgid "<emph>algorithm</emph>: One of the supported algorithms listed above, passed as a string." +msgid "The examples below in Basic and Python use the <literal>OpenTextFile</literal> method to create an instance of the <literal>TextStream</literal> Service." msgstr "" -#. TXGmB -#: sf_string.xhp +#. UUudg +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id221579879516929\n" +"sf_textstream.xhp\n" +"par_id371585330787197\n" "help.text" -msgid "Encodes the input string into the HTML character codes, replacing special characters by their <literal>&</literal> counterparts." +msgid "The file must be closed with the <literal>CloseFile</literal> method after all read or write operations have been executed:" msgstr "" -#. YNfid -#: sf_string.xhp +#. zNveN +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id341612351999692\n" +"sf_textstream.xhp\n" +"par_id891582733781994\n" "help.text" -msgid "For example, the character <literal>é</literal> would be replaced by <literal>é</literal> or an equivalent numerical HTML code." +msgid "Optionally, the resources used by the <literal>TextStream</literal> instance can be released using the <literal>Dispose</literal> method:" msgstr "" -#. CGFQH -#: sf_string.xhp +#. nsGCZ +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"bas_id501579879570781\n" +"sf_textstream.xhp\n" +"par_id121612917368946\n" "help.text" -msgid "<emph>inputstr</emph>: The string to encode." +msgid "The methods in the <literal>TextStream</literal> service are mostly based on the <link href=\"https://api.libreoffice.org/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1io_1_1XTextInputStream.html\" name=\"XTextInputStream API\"><literal>XTextInputStream</literal></link> and <link href=\"https://api.libreoffice.org/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1io_1_1XTextOutputStream.html\" name=\"XTextOutputStream API\"><literal>XTextOutputStream</literal></link> UNO interfaces." msgstr "" -#. jpv97 -#: sf_string.xhp +#. JAmgD +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id171579880990533\n" +"sf_textstream.xhp\n" +"hd_id941585330787948\n" "help.text" -msgid "Returns <literal>True</literal> if the input string is a valid date according to a specified date format." +msgid "Properties" msgstr "" -#. tBGBH -#: sf_string.xhp +#. aN9zM +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id151579881091821\n" +"sf_textstream.xhp\n" +"par_id631585330787267\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>" +msgid "Name" msgstr "" -#. nmTv3 -#: sf_string.xhp +#. vwGC5 +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id991579881107670\n" +"sf_textstream.xhp\n" +"par_id401585330787370\n" "help.text" -msgid "<emph>dateformat</emph>: The date format, as a string. It can be either \"YYYY-MM-DD\" (default), \"DD-MM-YYYY\" or \"MM-DD-YYYY\"" +msgid "Readonly" msgstr "" -#. GvZLC -#: sf_string.xhp +#. GpL38 +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id291579881117126\n" +"sf_textstream.xhp\n" +"par_id581585330787700\n" "help.text" -msgid "The dash (-) may be replaced by a dot (.), a slash (/) or a space." +msgid "Type" msgstr "" -#. yCA3T -#: sf_string.xhp +#. 6FDuM +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id51579881125801\n" +"sf_textstream.xhp\n" +"par_id551585330787608\n" "help.text" -msgid "If the format is invalid, the method returns <literal>False</literal>." +msgid "Description" msgstr "" -#. qFmWW -#: sf_string.xhp +#. ECkTm +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id211612370427721\n" +"sf_textstream.xhp\n" +"par_id181585330787752\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 <link href=\"text/sbasic/shared/03102300.xhp\" name=\"IsDate function\"><literal>IsDate</literal> built-in function</link>." +msgid "Yes" msgstr "" -#. DJQFQ -#: sf_string.xhp +#. YFkaY +#: sf_textstream.xhp +msgctxt "" +"sf_textstream.xhp\n" +"par_id901585330787680\n" +"help.text" +msgid "Used in read mode. A <literal>True</literal> value indicates that the end of the file has been reached. A test using this property should precede calls to the <literal>ReadLine</literal> 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 <literal>FileNaming</literal> property of the <literal>FileSystem</literal> 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_string.xhp\n" -"par_id181612371147364\n" +"sf_textstream.xhp\n" +"par_id691585330787279\n" "help.text" -msgid "The example below shows the difference between the methods <literal>IsADate</literal> (ScriptForge) and the <literal>IsDate</literal> (built-in) function." +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 "" -#. hAADi -#: sf_string.xhp +#. dCeHZ +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id161579881600317\n" +"sf_textstream.xhp\n" +"par_id141613001281573\n" "help.text" -msgid "Returns <literal>True</literal> if all characters in the string are alphabetic." +msgid "To learn more about the names of character sets, visit <link href=\"https://www.iana.org/assignments/character-sets/character-sets.xhtml\" name=\"Character Sets\">IANA's Character Set</link> page. Beware that %PRODUCTNAME does not implement all existing character sets." msgstr "" -#. Cpeo3 -#: sf_string.xhp +#. hKJkD +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id251579881615469\n" +"sf_textstream.xhp\n" +"par_id891611613601554\n" "help.text" -msgid "Alphabetic characters are those characters defined in the <link href=\"https://unicode.org/reports/tr44/\" name=\"Unicode documentation\">Unicode Character Database</link> as <literal>Letter</literal>." +msgid "List of Methods in the TextStream Service" msgstr "" -#. a9rTa -#: sf_string.xhp +#. DBBKM +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id11579881691826\n" +"sf_textstream.xhp\n" +"par_id421585330787675\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgid "Closes the current input or output stream and empties the output buffer if relevant. Returns <literal>True</literal> if the file was successfully closed." msgstr "" -#. KaLGv -#: sf_string.xhp +#. MCW3q +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id421579883181382\n" +"sf_textstream.xhp\n" +"par_id65158533078799\n" "help.text" -msgid "Returns <literal>True</literal> if all characters in the string are alphabetic, digits or \"_\" (underscore). The first character must not be a digit." +msgid "Returns all the remaining lines in the text stream as a single string. Line breaks are not removed." msgstr "" -#. BAEB4 -#: sf_string.xhp +#. Vr34D +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id31579884464101\n" +"sf_textstream.xhp\n" +"par_id71613600347125\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgid "The resulting string can be split in lines either by using the <literal>Split</literal> built-in Basic function if the line delimiter is known, or with the <literal>SF_String.SplitLines</literal> method." msgstr "" -#. qAZpA -#: sf_string.xhp +#. VRLGn +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id671580039484786\n" +"sf_textstream.xhp\n" +"par_id91585330787373\n" "help.text" -msgid "Returns <literal>True</literal> if all characters in the string are Ascii characters." +msgid "For large files, using the <literal>ReadAll</literal> method wastes memory resources. In such cases it is recommended to read the file line by line using the <literal>ReadLine</literal> method." msgstr "" -#. 3DNou -#: sf_string.xhp +#. BuBVA +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id791580039528838\n" +"sf_textstream.xhp\n" +"par_id921613595637851\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgid "Consider the text file \"Students.txt\" with the following contents (a name in each line):" msgstr "" -#. iuPF4 -#: sf_string.xhp +#. hk7q4 +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id861580044805749\n" +"sf_textstream.xhp\n" +"par_id391613596019750\n" "help.text" -msgid "Returns <literal>True</literal> if all characters in the string are digits." +msgid "The examples below in Basic and Python use the <literal>ReadAll</literal> and <literal>SplitLines</literal> methods to read the contents of the file into an array of strings:" msgstr "" -#. yU7cc -#: sf_string.xhp +#. BuRJE +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id41580044873043\n" +"sf_textstream.xhp\n" +"bas_id251613595640550\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgid "'Loads the FileSystem service" msgstr "" -#. J8Ykx -#: sf_string.xhp +#. L2a3D +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id521580045221758\n" +"sf_textstream.xhp\n" +"bas_id181613595641087\n" "help.text" -msgid "Returns <literal>True</literal> if the string is a valid email address." +msgid "'Opens the text file with the names to be read" msgstr "" -#. 8Pxsn -#: sf_string.xhp +#. rDCSD +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id841580045280071\n" +"sf_textstream.xhp\n" +"bas_id711613595642109\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgid "'Reads all the contents in the input file as a single string" msgstr "" -#. R6MsU -#: sf_string.xhp +#. 6w73J +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id41580047039666\n" +"sf_textstream.xhp\n" +"bas_id961613595643093\n" "help.text" -msgid "Returns <literal>True</literal> if the string is a valid filename in a given operating system." +msgid "'Splits the string into an array" msgstr "" -#. aQbRF -#: sf_string.xhp +#. 7Fq9E +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id801580047079938\n" +"sf_textstream.xhp\n" +"par_id871585330787885\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgid "Returns the next line in the text stream as a string. Line breaks are removed from the returned string." msgstr "" -#. jWMpJ -#: sf_string.xhp +#. 6iDcF +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id781580047088954\n" +"sf_textstream.xhp\n" +"par_id431613600221626\n" "help.text" -msgid "<emph>osname</emph>: The operating system name, as a string. It can be \"WINDOWS\", \"LINUX\", \"MACOSX\" or \"SOLARIS\"." +msgid "The <literal>AtEndOfStream</literal> test should precede the <literal>ReadLine</literal> method like in the example below." msgstr "" -#. GnrxA -#: sf_string.xhp +#. GRRkq +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id991612372824234\n" +"sf_textstream.xhp\n" +"par_id171585330787774\n" "help.text" -msgid "The default value is the current operating system on which the script is running." +msgid "An error will be raised if the <literal>AtEndOfStream</literal> was reached during the previous <literal>ReadLine</literal> or <literal>SkipLine</literal> method call." msgstr "" -#. FPuAV -#: sf_string.xhp +#. mAty4 +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id911580047551929\n" +"sf_textstream.xhp\n" +"par_id11585330787847\n" "help.text" -msgid "Returns <literal>True</literal> if all characters in the string are hexadecimal digits." +msgid "Skips the next line in the input stream when reading a <literal>TextStream</literal> file." msgstr "" -#. hWqAh -#: sf_string.xhp +#. FDMJB +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id331580047594144\n" +"sf_textstream.xhp\n" +"par_id441613600704766\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgid "This method can result in <literal>AtEndOfStream</literal> being set to <literal>True</literal>." msgstr "" -#. kEz4y -#: sf_string.xhp +#. D4JVb +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id521612377109554\n" +"sf_textstream.xhp\n" +"par_id141585330787657\n" "help.text" -msgid "The hexadecimal digits may be prefixed with \"0x\" or \"&H\"." +msgid "Writes a specified number of empty lines to the output stream." msgstr "" -#. 3WKNf -#: sf_string.xhp +#. YsBUm +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id791584008420941\n" +"sf_textstream.xhp\n" +"par_id291585330787357\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." +msgid "<emph>lines</emph>: The number of empty lines to write to the file." msgstr "" -#. DnC6i -#: sf_string.xhp +#. GCPCC +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id951880048466565\n" +"sf_textstream.xhp\n" +"par_id101585330787215\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgid "Writes the given string to the output stream as a single line." msgstr "" -#. VgT3x -#: sf_string.xhp +#. Eska7 +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id631619526542367\n" +"sf_textstream.xhp\n" +"par_id421613601002074\n" "help.text" -msgid "<literal>True</literal> if the string contains a valid IBAN number." +msgid "The character defined in the <literal>NewLine</literal> property is used as the line delimiter." msgstr "" -#. CcTNk -#: sf_string.xhp +#. LXFPE +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id791580048420941\n" +"sf_textstream.xhp\n" +"par_id491585330787650\n" "help.text" -msgid "Returns <literal>True</literal> if the string is a valid IP(v4) address." +msgid "<emph>line</emph>: The line to write, may be empty." msgstr "" -#. rMpXB -#: sf_string.xhp +#. PM5Bx +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id981580048466565\n" +"sf_textstream.xhp\n" +"par_id821626894480105\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +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 <literal>lastValue</literal> is reached." msgstr "" -#. yWHew -#: sf_string.xhp +#. 39u4o +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id831580049093038\n" +"sf_textstream.xhp\n" +"bas_id21613321528612\n" "help.text" -msgid "Returns <literal>True</literal> if the whole input string matches a given pattern containing wildcards." +msgid "'Instantiates the FileSystem Service" msgstr "" -#. PzigS -#: sf_string.xhp +#. FnTiG +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id141580049142548\n" +"sf_textstream.xhp\n" +"bas_id191613321529277\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgid "'Creates a text file" msgstr "" -#. XEBzh -#: sf_string.xhp +#. f5RSB +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id31580049154551\n" +"sf_textstream.xhp\n" +"bas_id641613321530181\n" "help.text" -msgid "<emph>pattern</emph>: The pattern as a string. Wildcards are:" +msgid "'Writes the Value and Value squared, separated by \";\"" msgstr "" -#. ZCzDP -#: sf_string.xhp +#. FCowk +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id181612441703306\n" +"sf_textstream.xhp\n" +"bas_id141613321530960\n" "help.text" -msgid "\"?\" represents any single character;" +msgid "myFile.WriteLine(\"Value;Value Squared\")" msgstr "" -#. CFPcW -#: sf_string.xhp +#. m9Mo4 +#: sf_textstream.xhp msgctxt "" -"sf_string.xhp\n" -"par_id861612377611438\n" +"sf_textstream.xhp\n" +"bas_id881613321532598\n" "help.text" -msgid "\"*\" represents zero, one, or multiple characters." +msgid "'Closes the file and free resources" msgstr "" -#. eLYBF -#: sf_string.xhp +#. PCSPY +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id991580049206617\n" +"sf_timer.xhp\n" +"tit\n" "help.text" -msgid "<emph>casesensitive</emph>: The search can be case sensitive or not (Default = <literal>False</literal>)." +msgid "ScriptForge.Timer service" msgstr "" -#. kSMmn -#: sf_string.xhp +#. cxRDS +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id581580050048679\n" +"sf_timer.xhp\n" +"hd_id731582733781114\n" "help.text" -msgid "Returns <literal>True</literal> if all characters in the string are in lowercase. Non-alphabetic characters are ignored." +msgid "<variable id=\"TimerService\"><link href=\"text/sbasic/shared/03/sf_timer.xhp\" name=\"ScriptForge.Timer service\"><literal>ScriptForge</literal>.<literal>Timer</literal> service</link></variable>" msgstr "" -#. nWGvX -#: sf_string.xhp +#. WyVvH +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id751580050122938\n" +"sf_timer.xhp\n" +"par_id961582733781662\n" "help.text" -msgid "<emph>InputStr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgid "The <literal>Timer</literal> service measures the amount of time it takes to run user scripts." msgstr "" -#. BzD3y -#: sf_string.xhp +#. qDa8E +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id231580051650488\n" +"sf_timer.xhp\n" +"par_id181582733781323\n" "help.text" -msgid "Returns <literal>True</literal> if all characters in the string are printable." +msgid "A <literal>Timer</literal> measures <emph>durations</emph>. It can be:" msgstr "" -#. gUhut -#: sf_string.xhp +#. ErpLm +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id721580051706431\n" +"sf_timer.xhp\n" +"par_id711582733781252\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgid "Started, to indicate when to start measuring time." msgstr "" -#. HYBp5 -#: sf_string.xhp +#. NAAFg +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id281580052400960\n" +"sf_timer.xhp\n" +"par_id631582733781431\n" "help.text" -msgid "Returns <literal>True</literal> if the whole input string matches a given regular expression." +msgid "Suspended, to pause measuring running time." msgstr "" -#. ZuBxC -#: sf_string.xhp +#. nt9Qc +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id161580052454770\n" +"sf_timer.xhp\n" +"par_id691582733781498\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgid "Resumed, to continue tracking running time after the Timer has been suspended." msgstr "" -#. mi4mi -#: sf_string.xhp +#. DVCBM +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id581580052467973\n" +"sf_timer.xhp\n" +"par_id31582733781344\n" "help.text" -msgid "<emph>regex</emph>: The regular expression. If empty, the method returns <literal>False</literal>." +msgid "Restarted, which will cancel previous measurements and start the <literal>Timer</literal> at zero." msgstr "" -#. vmqZM -#: sf_string.xhp +#. dm7yA +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id621580052654341\n" +"sf_timer.xhp\n" +"par_id991582733781280\n" "help.text" -msgid "<emph>casesensitive</emph>: The search can be case sensitive or not (Default = <literal>False</literal>)." +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 "" -#. iZSEw -#: sf_string.xhp +#. CVhDR +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id1001589460240467\n" +"sf_timer.xhp\n" +"hd_id201582733781265\n" "help.text" -msgid "Returns <literal>True</literal> if the input string is a valid Calc sheet name." +msgid "Service invocation" msgstr "" -#. xPFLm -#: sf_string.xhp +#. fYto9 +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id671589460240552\n" +"sf_timer.xhp\n" +"par_id141609955500101\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgid "Before using the <literal>Timer</literal> service the <literal>ScriptForge</literal> library needs to be loaded or imported:" msgstr "" -#. uE5gz -#: sf_string.xhp +#. SCYEX +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id551612442002823\n" +"sf_timer.xhp\n" +"par_id891610734806133\n" "help.text" -msgid "A sheet name must not contain the characters [ ] * ? : / \\ or the character ' (apostrophe) as first or last character." +msgid "The example below creates a <literal>Timer</literal> object named <literal>myTimer</literal> and starts it immediately." msgstr "" -#. ALdgg -#: sf_string.xhp +#. WMZog +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id371580293093655\n" +"sf_timer.xhp\n" +"bas_id681582733781715\n" "help.text" -msgid "Returns <literal>True</literal> if the first character of every word is in uppercase and the other characters are in lowercase." +msgid "'The timer starts immediately when the second argument = True, default = False" msgstr "" -#. uVF9U -#: sf_string.xhp +#. CnZqc +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id471580293142283\n" +"sf_timer.xhp\n" +"par_id891582733781994\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgid "It is recommended to free resources after use:" msgstr "" -#. 7Ryzp -#: sf_string.xhp +#. 8h3fp +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id801580128672004\n" +"sf_timer.xhp\n" +"hd_id521582733781450\n" "help.text" -msgid "Returns <literal>True</literal> if all characters in the string are in uppercase. Non alphabetic characters are ignored." +msgid "Properties" msgstr "" -#. HFDCW -#: sf_string.xhp +#. dVncX +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id391580128736809\n" +"sf_timer.xhp\n" +"par_id71582733781260\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgid "Name" msgstr "" -#. BTRpG -#: sf_string.xhp +#. hFnkK +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id531580132067813\n" +"sf_timer.xhp\n" +"par_id711582733781103\n" "help.text" -msgid "Returns <literal>True</literal> if the string is a valid absolute URL (Uniform Resource Locator) address. Only the http, https and ftp protocols are supported." +msgid "Readonly" msgstr "" -#. HrFqG -#: sf_string.xhp +#. NvqK9 +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id321580132113593\n" +"sf_timer.xhp\n" +"par_id76158273378122\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgid "Type" msgstr "" -#. wBAqG -#: sf_string.xhp +#. 7zFYh +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id41580132491698\n" +"sf_timer.xhp\n" +"par_id751582733781926\n" "help.text" -msgid "Returns <literal>True</literal> if all characters in the string are whitespaces" +msgid "Description" msgstr "" -#. JDD85 -#: sf_string.xhp +#. T92or +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id801580132535511\n" +"sf_timer.xhp\n" +"par_id621582733781588\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be checked. If empty, the method returns <literal>False</literal>." +msgid "Yes" msgstr "" -#. 7EBbA -#: sf_string.xhp +#. 9yDgM +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id891580133307100\n" +"sf_timer.xhp\n" +"par_id731582733781476\n" "help.text" -msgid "Returns the input string center-justified." +msgid "The actual running time elapsed since start or between start and stop (does not consider suspended time)" msgstr "" -#. TLmnE -#: sf_string.xhp +#. ThAaG +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id571612380829021\n" +"sf_timer.xhp\n" +"par_id301582733781498\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 <literal>length</literal> with the character <literal>padding</literal>." +msgid "Yes" msgstr "" -#. 4uuQT -#: sf_string.xhp +#. tqpDU +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id911580133391827\n" +"sf_timer.xhp\n" +"par_id401582733781608\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be center-justified. If empty, the method returns an empty string." +msgid "<literal>True</literal> when timer is started or suspended" msgstr "" -#. jHJNT -#: sf_string.xhp +#. pSPgk +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id671580133694946\n" +"sf_timer.xhp\n" +"par_id181582733781551\n" "help.text" -msgid "<emph>length</emph>: The length of the resulting string (default = the length of the input string)." +msgid "Yes" msgstr "" -#. A3qof -#: sf_string.xhp +#. SGyi4 +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id511612381090109\n" +"sf_timer.xhp\n" +"par_id161582733781328\n" "help.text" -msgid "If the specified length is shorter than the center-justified input string, then the returned string is truncated." +msgid "<literal>True</literal> when timer is started and suspended" msgstr "" -#. fys4j -#: sf_string.xhp +#. qoNpD +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id101580133705268\n" +"sf_timer.xhp\n" +"par_id651582733781874\n" "help.text" -msgid "<emph>padding</emph>: The single character to be used as padding (default = the Ascii space \" \")." +msgid "Yes" msgstr "" -#. 4zk3p -#: sf_string.xhp +#. E45MD +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id911580135466348\n" +"sf_timer.xhp\n" +"par_id171582733781456\n" "help.text" -msgid "Returns the input string left-justified." +msgid "The actual time elapsed while suspended since start or between start and stop" msgstr "" -#. 9KeCE -#: sf_string.xhp +#. gxF8S +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id431612381917641\n" +"sf_timer.xhp\n" +"par_id141582733781303\n" "help.text" -msgid "The leading white spaces are stripped and the remaining characters are completed to the right up to a specified total <literal>length</literal> with the character <literal>padding</literal>." +msgid "Yes" msgstr "" -#. UQXSM -#: sf_string.xhp +#. FeCob +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id281580135523448\n" +"sf_timer.xhp\n" +"par_id411582733781932\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be left-justified. If empty, the method returns an empty string." +msgid "The actual time elapsed since start or between start and stop (including suspensions and running time)" msgstr "" -#. EAwAa -#: sf_string.xhp +#. a63gW +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id431580135534910\n" +"sf_timer.xhp\n" +"par_id9158273378151\n" "help.text" -msgid "<emph>length</emph>: The length of the resulting string (default = the length of the input string)." +msgid "Note that the <literal>TotalDuration</literal> property is equivalent to summing the <literal>Duration</literal> and <literal>SuspendDuration</literal> properties." msgstr "" -#. ntKXx -#: sf_string.xhp +#. Mav4g +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id161612381664182\n" +"sf_timer.xhp\n" +"hd_id141582734141895\n" "help.text" -msgid "If the specified length is shorter than the left-justified input string, then the returned string is truncated." +msgid "Methods" msgstr "" -#. wBnmv -#: sf_string.xhp +#. P8RQj +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id221580135568475\n" +"sf_timer.xhp\n" +"par_id291582734377752\n" "help.text" -msgid "<emph>padding</emph>: The single character to be used as padding (default = the Ascii space \" \")." +msgid "All methods do not require arguments and return a <literal>Boolean</literal> value." msgstr "" -#. TTokb -#: sf_string.xhp +#. onEib +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id821580136091225\n" +"sf_timer.xhp\n" +"par_id311582734894257\n" "help.text" -msgid "Returns the input string right-justified." +msgid "If the returned value is <literal>False</literal>, then nothing happened." msgstr "" -#. 4fG7c -#: sf_string.xhp +#. U82Do +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id771612382000293\n" +"sf_timer.xhp\n" +"par_id871582734180676\n" "help.text" -msgid "The leading white spaces are stripped and the remaining characters are completed to the left up to a specified total <literal>length</literal> with the character <literal>padding</literal>." +msgid "Name" msgstr "" -#. KxskT -#: sf_string.xhp +#. 6oGwx +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id201580136154170\n" +"sf_timer.xhp\n" +"par_id971582734180676\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be right-justified. If empty, the method returns an empty string." +msgid "Description" msgstr "" -#. FboQc -#: sf_string.xhp +#. ZMfpe +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id71580136164632\n" +"sf_timer.xhp\n" +"par_id911582734180676\n" "help.text" -msgid "<emph>length</emph>: The length of the resulting string (default = the length of the input string)." +msgid "Returned value" msgstr "" -#. dshKE -#: sf_string.xhp +#. 6DJTP +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id191612381732163\n" +"sf_timer.xhp\n" +"par_id301582734180676\n" "help.text" -msgid "If the specified length is shorter than the right-justified input string, then the returned string is truncated." +msgid "Resumes the <literal>Timer</literal> if it has been suspended" msgstr "" -#. LtcVG -#: sf_string.xhp +#. ixF7A +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id751580136200680\n" +"sf_timer.xhp\n" +"par_id661582734180676\n" "help.text" -msgid "<emph>padding</emph>: The single character to be used as padding (default = the Ascii space \" \")." +msgid "<literal>False</literal> if the timer is not suspended" msgstr "" -#. Wn55u -#: sf_string.xhp +#. AAozF +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id251580136888958\n" +"sf_timer.xhp\n" +"par_id821582734649305\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." +msgid "Terminates the <literal>Timer</literal> and discards its current property values, restarting as a new clean <literal>Timer</literal>" msgstr "" -#. YBvt4 -#: sf_string.xhp +#. UtCTT +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id811580136944674\n" +"sf_timer.xhp\n" +"par_id761582734649305\n" "help.text" -msgid "<emph>inputstr</emph>: The string to quote." +msgid "<literal>False</literal> if the timer is inactive" msgstr "" -#. GynWV -#: sf_string.xhp +#. AkgAy +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id581599129397412\n" +"sf_timer.xhp\n" +"par_id641582734802443\n" "help.text" -msgid "<emph>quotechar</emph>: Either the single (') or double (\") quote (default)." +msgid "Starts a new clean timer" msgstr "" -#. fY3PC -#: sf_string.xhp +#. B4gTh +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id911612382537087\n" +"sf_timer.xhp\n" +"par_id921582734802443\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." +msgid "<literal>False</literal> if the timer is already started" msgstr "" -#. 8Rr4M -#: sf_string.xhp +#. D7CoH +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id951580139124650\n" +"sf_timer.xhp\n" +"par_id81582734905507\n" "help.text" -msgid "Replaces all occurrences of the characters specified in the <literal>Before</literal> parameter by the corresponding characters specified in <literal>After</literal>." +msgid "Suspends a running timer" msgstr "" -#. 5hn2y -#: sf_string.xhp +#. YbeSJ +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id1001612384040018\n" +"sf_timer.xhp\n" +"par_id661582734905507\n" "help.text" -msgid "If the length of <literal>Before</literal> is greater than the length of <literal>After</literal>, the residual characters in <literal>Before</literal> are replaced by the last character in <literal>After</literal>." +msgid "<literal>False</literal> if the timer is not started or already suspended" msgstr "" -#. DD2CL -#: sf_string.xhp +#. sgXra +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id11580139160633\n" +"sf_timer.xhp\n" +"par_id861582734996722\n" "help.text" -msgid "<emph>inputstr</emph>: The input string on which replacements will occur." +msgid "Stops a running timer" msgstr "" -#. DvaRE -#: sf_string.xhp +#. WkCCC +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id111580139169795\n" +"sf_timer.xhp\n" +"par_id381582734996722\n" "help.text" -msgid "<emph>before</emph>: A string with the characters that will be searched in the input string for replacement." +msgid "<literal>False</literal> if the timer is neither started nor suspended" msgstr "" -#. N46b3 -#: sf_string.xhp +#. DuD3h +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id851580139182113\n" +"sf_timer.xhp\n" +"par_id731626871820490\n" "help.text" -msgid "<emph>after</emph>: A string with the new characters that will replace those defined in <literal>before</literal>." +msgid "The examples below in Basic and Python illustrate the use of the methods and properties in the <literal>Timer</literal> service." msgstr "" -#. CDuCC -#: sf_string.xhp +#. UgBnC +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"bas_id921580139218457\n" +"sf_timer.xhp\n" +"bas_id141582735926821\n" "help.text" -msgid "' Replaces accented characters" +msgid "'The time elapsed while the Dialog box is open will be counted as suspended time" msgstr "" -#. 5ww5A -#: sf_string.xhp +#. 4jHcj +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id151612442904499\n" +"sf_timer.xhp\n" +"bas_id901582735961725\n" "help.text" -msgid "The <literal>SF_String</literal> service provides useful public constants for the Latin character sets, as shown in the example below:" +msgid "'The time elapsed while the Dialog box is open will be counted as running time" msgstr "" -#. 9SPjv -#: sf_string.xhp +#. 7QhZU +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id671580140272818\n" +"sf_timer.xhp\n" +"bas_id941610739926687\n" "help.text" -msgid "Replaces all occurrences of a given regular expression by a new string." +msgid "'Shows the final time measurements" msgstr "" -#. ujCyu -#: sf_string.xhp +#. J6XGB +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id471580140311626\n" +"sf_timer.xhp\n" +"par_id281610740093006\n" "help.text" -msgid "<emph>inputstr</emph>: The input string on which replacements will occur." +msgid "If you call the <literal>Terminate</literal> method, subsequent calls for the <literal>Continue</literal> method will not resume time measurement. Similarly, after a Timer has been terminated, calling the <literal>Start</literal> method will restart it as if it were a clean new Timer." msgstr "" -#. o2DS2 -#: sf_string.xhp +#. DSYKj +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id651580140322666\n" +"sf_timer.xhp\n" +"par_id391626872019832\n" "help.text" -msgid "<emph>regex</emph>: The regular expression." +msgid "Beware that the <literal>Wait</literal> function in Basic takes in a duration argument in milliseconds whereas the <literal>sleep</literal> function in Python uses seconds in its argument." msgstr "" -#. itEEd -#: sf_string.xhp +#. bHEyr +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id891580140334754\n" +"sf_timer.xhp\n" +"hd_id431610989623086\n" "help.text" -msgid "<emph>newstr</emph>: The replacing string." +msgid "Working with Multiple Timers" msgstr "" -#. gJRAr -#: sf_string.xhp +#. dr779 +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id581580140345221\n" +"sf_timer.xhp\n" +"par_id741610989639201\n" "help.text" -msgid "<emph>casesensitive</emph>: The search can be case sensitive or not (Default = <literal>False</literal>)." +msgid "It is possible to instantiate multiple <literal>Timer</literal> services in parallel, which gives flexibility in measuring time in different parts of the code." msgstr "" -#. ykPVR -#: sf_string.xhp +#. ueLgB +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"bas_id961612384647003\n" +"sf_timer.xhp\n" +"par_id921610989722908\n" "help.text" -msgid "' \"Lxxxx xxxxx xxxxx xxx xxxx, xxxxxxxxxxx xxxxxxxxxx xxxx.\" (each lowercase letter is replaced by \"x\")" +msgid "The following example illustrates how to create two <literal>Timer</literal> objects and start them separately." msgstr "" -#. rkMsv -#: sf_string.xhp +#. PtA4E +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"bas_id751612384623936\n" +"sf_timer.xhp\n" +"bas_id481610989853679\n" "help.text" -msgid "' \"x x x x x, x x x.\" (each word is replaced by \"x\")" +msgid "'Starts myTimerA" msgstr "" -#. 2Gd5C -#: sf_string.xhp +#. VUdGW +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id51580146471894\n" +"sf_timer.xhp\n" +"bas_id331610989849501\n" "help.text" -msgid "Replaces in a string some or all occurrences of an array of strings by an array of new strings." +msgid "'Starts myTimerB" msgstr "" -#. SDpot -#: sf_string.xhp +#. t98Fv +#: sf_timer.xhp msgctxt "" -"sf_string.xhp\n" -"par_id831580146504326\n" +"sf_timer.xhp\n" +"bas_id931610989837747\n" "help.text" -msgid "<emph>inputstr</emph>: The input string on which replacements will occur." +msgid "'Terminate both timers" msgstr "" -#. UfuEm -#: sf_string.xhp +#. dphFv +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id411580146514927\n" +"sf_ui.xhp\n" +"tit\n" "help.text" -msgid "<emph>oldstr</emph>: A single string or an array of strings. Zero-length strings are ignored." +msgid "ScriptForge.UI service" msgstr "" -#. Ukr3F -#: sf_string.xhp +#. QWA6E +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id591580146532966\n" +"sf_ui.xhp\n" +"hd_id371587913266310\n" "help.text" -msgid "<emph>newstr</emph>: The replacing string or the array of replacing strings." +msgid "<variable id=\"UIService\"><link href=\"text/sbasic/shared/03/sf_ui.xhp\" name=\"ScriptForge.UI service\"><literal>ScriptForge</literal>.<literal>UI</literal> service</link></variable>" msgstr "" -#. 7BQ7F -#: sf_string.xhp +#. cAtxQ +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id611612384873347\n" +"sf_ui.xhp\n" +"par_id31587913266153\n" "help.text" -msgid "If <literal>oldstr</literal> is an array, each occurrence of any of the items in <literal>oldstr</literal> is replaced by <literal>newstr</literal>." +msgid "The UI (User Interface) service simplifies the identification and the manipulation of the different windows composing the whole %PRODUCTNAME application:" msgstr "" -#. AfRz6 -#: sf_string.xhp +#. nTqj5 +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id611612384880820\n" +"sf_ui.xhp\n" +"par_id591587913266547\n" "help.text" -msgid "If <literal>oldstr</literal> and <literal>newstr</literal> are arrays, replacements occur one by one up to the <literal>UBound(newstr)</literal>." +msgid "Windows selection" msgstr "" -#. E39aH -#: sf_string.xhp +#. 45jFA +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id241612385058264\n" +"sf_ui.xhp\n" +"par_id511587913266292\n" "help.text" -msgid "If <literal>oldstr</literal> has more entries than <literal>newstr</literal>, then the residual elements in <literal>oldstr</literal> are replaced by the last element in <literal>newstr</literal>." +msgid "Windows moving and resizing" msgstr "" -#. MkqW5 -#: sf_string.xhp +#. UKRyn +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id701580146547619\n" +"sf_ui.xhp\n" +"par_id51587913266596\n" "help.text" -msgid "<emph>occurrences</emph>: The maximum number of replacements. The default value is 0, meaning that all occurrences will be replaced." +msgid "Statusbar settings" msgstr "" -#. QX33p -#: sf_string.xhp +#. oj2kC +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id741612385380533\n" +"sf_ui.xhp\n" +"par_id401599404339702\n" "help.text" -msgid "When <literal>oldstr</literal> is an array, the <literal>occurrence</literal> parameter is computed separately for each item in the array." +msgid "Display of a floating progress bar" msgstr "" -#. aWrvA -#: sf_string.xhp +#. iE5hR +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id301580146556599\n" +"sf_ui.xhp\n" +"par_id761587913266388\n" "help.text" -msgid "<emph>casesensitive</emph>: The search can be case sensitive or not (Default = <literal>False</literal>)." +msgid "Creation of new windows" msgstr "" -#. eygyi -#: sf_string.xhp +#. Dxuyy +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id901580147558931\n" +"sf_ui.xhp\n" +"par_id591587913266489\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." +msgid "Access to the underlying \"documents\"" msgstr "" -#. cU3Ev -#: sf_string.xhp +#. W5BL2 +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id11612386054691\n" +"sf_ui.xhp\n" +"par_id181620312953395\n" "help.text" -msgid "If the <literal>anyvalue</literal> parameter is an object, it will be enclosed with square brackets \"[\" and \"]\"." +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 "" -#. gVB32 -#: sf_string.xhp +#. ERvRF +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id491612386081802\n" +"sf_ui.xhp\n" +"hd_id881587913266307\n" "help.text" -msgid "In strings, tabs and line breaks are replaced by \\t, \\n or \\r." +msgid "Definitions" msgstr "" -#. SfUGD -#: sf_string.xhp +#. L8Ate +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id921612386089103\n" +"sf_ui.xhp\n" +"par_id741587913266919\n" "help.text" -msgid "If the final length exceeds the <literal>maxlength</literal> parameter, the latter part of the string is replaced by \" ... (N)\" where N is the total length of the original string before truncation." +msgid "A window can be designated using various ways:" msgstr "" -#. zLfNR -#: sf_string.xhp +#. Bhs9h +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id91580147593626\n" +"sf_ui.xhp\n" +"par_id291587913946648\n" "help.text" -msgid "<emph>anyvalue</emph>: The input value to be represented. It can be any value, such as a string, an array, a Basic object, a UNO object, etc." +msgid "a full path and file name" msgstr "" -#. hdDFi -#: sf_string.xhp +#. CK62z +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id811580147609322\n" +"sf_ui.xhp\n" +"par_id991587914045862\n" "help.text" -msgid "<emph>maxlength</emph>: The maximum length of the resulting string. The default value is 0, meaning there is no limit to the length of the resulting representation." +msgid "the last component of the full file name or even only the last component without its suffix" msgstr "" -#. Ape7i -#: sf_string.xhp +#. 8qLrG +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id641612386659292\n" +"sf_ui.xhp\n" +"par_id541587914079744\n" "help.text" -msgid "Note that the representation of data types such as Arrays and <literal>ScriptForge.Dictionary</literal> object instances include both the data type and their values:" +msgid "the title of the window" msgstr "" -#. ZFFAD -#: sf_string.xhp +#. rdSGt +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"bas_id971612386906463\n" +"sf_ui.xhp\n" +"par_id191587914134221\n" "help.text" -msgid "' An example with a Basic built-in Array" +msgid "for new documents, something like \"Untitled 1\"" msgstr "" -#. GEZzM -#: sf_string.xhp +#. GrAxe +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"bas_id401612386876329\n" +"sf_ui.xhp\n" +"par_id911587914185746\n" "help.text" -msgid "' An example with a ScriptForge Array" +msgid "one of the special windows \"<literal>BASICIDE</literal>\" and \"<literal>WELCOMESCREEN</literal>\"" msgstr "" -#. mZ3ar -#: sf_string.xhp +#. n5ZLz +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"bas_id551612386931680\n" +"sf_ui.xhp\n" +"par_id181587914255236\n" "help.text" -msgid "' An example with a ScriptForge Dictionary" +msgid "The window name is case-sensitive." msgstr "" -#. vvADG -#: sf_string.xhp +#. CC5D5 +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id411580312925741\n" +"sf_ui.xhp\n" +"hd_id541588520711430\n" "help.text" -msgid "Returns the input string in reversed order." +msgid "Document object" msgstr "" -#. EEyG6 -#: sf_string.xhp +#. w8QcA +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id141612387177873\n" +"sf_ui.xhp\n" +"par_id841588521238711\n" "help.text" -msgid "This method is equivalent to the built-in <link href=\"text/sbasic/shared/03120412.xhp\" name=\"StrReverse function\"><literal>StrReverse</literal> Basic function</link>." +msgid "The methods <literal>CreateDocument</literal>, <literal>CreateBaseDocument</literal>, <literal>GetDocument</literal>, <literal>OpenBaseDocument</literal> and <literal>OpenDocument</literal>, described below, generate document objects. When a window contains a document, an instance of the <literal>Document</literal> 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: <literal>Calc</literal>, <literal>Impress</literal>, <literal>Writer</literal>, ..." msgstr "" -#. ZEarP -#: sf_string.xhp +#. CbJ8H +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id961612387463144\n" +"sf_ui.xhp\n" +"par_id331588521254916\n" "help.text" -msgid "To use the <literal>StrReverse</literal> function, the statement <literal>Option VBASupport 1</literal> must be present in the module." +msgid "The specific properties and methods applicable on documents are implemented in a document class." msgstr "" -#. pSyL6 -#: sf_string.xhp +#. CEisb +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id241580312964497\n" +"sf_ui.xhp\n" +"par_id971588521292976\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be reversed." +msgid "The implementation of the document objects class is done in the <literal>SFDocuments</literal> associated library. See its \"<literal>Document</literal>\" service." msgstr "" -#. KBFDk -#: sf_string.xhp +#. 8NGPA +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id721580210762286\n" +"sf_ui.xhp\n" +"hd_id91587913266988\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." +msgid "Service invocation" msgstr "" -#. nuUF6 -#: sf_string.xhp +#. WhLKN +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id481580210806878\n" +"sf_ui.xhp\n" +"par_id141609955500101\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be split." +msgid "Before using the <literal>UI</literal> service the <literal>ScriptForge</literal> library needs to be loaded or imported:" msgstr "" -#. FEFUw -#: sf_string.xhp +#. 2tFG6 +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id231580210820309\n" +"sf_ui.xhp\n" +"hd_id841587913266618\n" "help.text" -msgid "<emph>keepbreaks</emph>: When <literal>True</literal>, line breaks are preserved in the output array (default = <literal>False</literal>)." +msgid "Properties" msgstr "" -#. HAG8Q -#: sf_string.xhp +#. m8i6L +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id471580211762739\n" +"sf_ui.xhp\n" +"par_id521587913266568\n" "help.text" -msgid "Splits a string into an array of elements using a specified delimiter." +msgid "Name" msgstr "" -#. zsADB -#: sf_string.xhp +#. 48SHW +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id281612388034501\n" +"sf_ui.xhp\n" +"par_id421587913266368\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." +msgid "ReadOnly" msgstr "" -#. JKAaG -#: sf_string.xhp +#. GpADs +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id881580211809490\n" +"sf_ui.xhp\n" +"par_id631587914939732\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be split." +msgid "Type" msgstr "" -#. zFjwe -#: sf_string.xhp +#. nB9z5 +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id811580211821162\n" +"sf_ui.xhp\n" +"par_id951587913266220\n" "help.text" -msgid "<emph>delimiter</emph>: A string of one or more characters that will be used as delimiter. The default delimiter is the Ascii space \" \" character." +msgid "Description" msgstr "" -#. 3rGRu -#: sf_string.xhp +#. c5EiC +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id181580211833778\n" +"sf_ui.xhp\n" +"par_id651587913266754\n" "help.text" -msgid "<emph>occurrences</emph>: The maximum number of substrings to return. The default value is 0, meaning that there is no limit to the number of returned strings." +msgid "Yes" msgstr "" -#. W2og7 -#: sf_string.xhp +#. vQ8TT +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id421599123777334\n" +"sf_ui.xhp\n" +"par_id351587913266349\n" "help.text" -msgid "<emph>quotechar</emph>: Either the single (') or double (\") quote." +msgid "a valid and unique <literal>WindowName</literal> for the currently active window. When the window cannot be identified, a zero-length string is returned." msgstr "" -#. DiYMJ -#: sf_string.xhp +#. DiCRC +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id661627251379676\n" +"sf_ui.xhp\n" +"par_id658517913266754\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." +msgid "Yes" msgstr "" -#. 6Q2tJ -#: sf_string.xhp +#. Bjyuv +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id771580212837884\n" +"sf_ui.xhp\n" +"par_id153587913266349\n" "help.text" -msgid "Returns <literal>True</literal> if the first characters of a string are identical to a given substring." +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 "" -#. BYx4G -#: sf_string.xhp +#. 5oGpF +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id781612393174350\n" +"sf_ui.xhp\n" +"par_id651587913266945\n" "help.text" -msgid "This method returns <literal>False</literal> if either the input string or the substring have a length = 0 or when the substring is longer than the input string." +msgid "Yes" msgstr "" -#. jrzxu -#: sf_string.xhp +#. 2RdP5 +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id271580212876135\n" +"sf_ui.xhp\n" +"par_id351587913266211\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be tested." +msgid "Returns the height of the active window in pixels." msgstr "" -#. tE9WD -#: sf_string.xhp +#. AM4nR +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id571580212889462\n" +"sf_ui.xhp\n" +"par_id651587913266645\n" "help.text" -msgid "<emph>substring</emph>: The substring to be searched at the start of <literal>inputstr</literal>." +msgid "Yes" msgstr "" -#. ZeQP4 -#: sf_string.xhp +#. MmDG7 +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id811580212900799\n" +"sf_ui.xhp\n" +"par_id351587913266036\n" "help.text" -msgid "<emph>casesensitive</emph>: The search can be case sensitive or not (Default = <literal>False</literal>)." +msgid "Returns the width of the active window in pixels." msgstr "" -#. DGgBx -#: sf_string.xhp +#. uZMBs +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id911580295999690\n" +"sf_ui.xhp\n" +"par_id651587913266312\n" "help.text" -msgid "Returns the input string without its leading and trailing whitespaces." +msgid "Yes" msgstr "" -#. BESEu -#: sf_string.xhp +#. 9AKCg +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id541580296044377\n" +"sf_ui.xhp\n" +"par_id351587913266296\n" "help.text" -msgid "<emph>inputstr</emph>: The string to trim." +msgid "Returns the X coordinate of the active window, which is the distance to the left edge of the screen in pixels." msgstr "" -#. 9t9vX -#: sf_string.xhp +#. aBiGF +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id61580483096936\n" +"sf_ui.xhp\n" +"par_id651587913266670\n" "help.text" -msgid "Converts any escaped sequence (\\\\, \\n, \\r, \\t) in the input string to their corresponding Ascii character." +msgid "Yes" msgstr "" -#. mzTsG -#: sf_string.xhp +#. 3DBVb +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id971580483124743\n" +"sf_ui.xhp\n" +"par_id351587913266216\n" "help.text" -msgid "<emph>inputstr</emph>: The string to be converted." +msgid "Returns the Y coordinate of the active window, which is the distance to the top edge of the screen in pixels. This value does not consider window decorations added by your operating system, so even when the window is maximized this value may not be zero." msgstr "" -#. BoYHV -#: sf_string.xhp +#. BH9YJ +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id831580213634029\n" +"sf_ui.xhp\n" +"hd_id511620762163390\n" "help.text" -msgid "Removes the single or double quotes enclosing the input string." +msgid "Constants" msgstr "" -#. Ae8c5 -#: sf_string.xhp +#. ziD2D +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id811612393585600\n" +"sf_ui.xhp\n" +"par_id761620761856238\n" "help.text" -msgid "This is useful when parsing CSV-like records that contain quoted strings." +msgid "Name" msgstr "" -#. BhVvp -#: sf_string.xhp +#. eBD6E +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id761580213677493\n" +"sf_ui.xhp\n" +"par_id591620761856238\n" "help.text" -msgid "<emph>inputstr</emph>: The string to unquote." +msgid "Value" msgstr "" -#. gRUHA -#: sf_string.xhp +#. 2DU4R +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id211599129509890\n" +"sf_ui.xhp\n" +"par_id711620761856238\n" "help.text" -msgid "<emph>quotechar</emph>: Either the single (') or double (\") quote (default)." +msgid "Description" msgstr "" -#. nGq4Q -#: sf_string.xhp +#. adCUF +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"bas_id371580213702598\n" +"sf_ui.xhp\n" +"par_id341620761856238\n" "help.text" -msgid "' s = \"Some text\" (without enclosing quotes)" +msgid "Macros are always executed" msgstr "" -#. Fp8ip -#: sf_string.xhp +#. 7hEDg +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"bas_id51580213693694\n" +"sf_ui.xhp\n" +"par_id101620761893011\n" "help.text" -msgid "' The string below does not have enclosing quotes, so it remains unchanged" +msgid "Macros are never executed" msgstr "" -#. A4Eki -#: sf_string.xhp +#. 6Jgt7 +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"bas_id961612393917830\n" +"sf_ui.xhp\n" +"par_id11620761899780\n" "help.text" -msgid "' s = \"Some text\" (unchanged)" +msgid "Macro execution depends on user settings" msgstr "" -#. ULtxx -#: sf_string.xhp +#. BTUQ4 +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"bas_id461612394182689\n" +"sf_ui.xhp\n" +"par_id311620312548992\n" "help.text" -msgid "' Quotes inside the string are not removed" +msgid "The examples below show a <literal>MsgBox</literal> with the names of all currently open documents." msgstr "" -#. 8w4ia -#: sf_string.xhp +#. DfpBz +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"bas_id961612394171208\n" +"sf_ui.xhp\n" +"par_id881608131596153\n" "help.text" -msgid "' s = \"The \"\"true\"\" meaning\" (unchanged)" +msgid "List of Methods in the UI Service" msgstr "" -#. JGhWK -#: sf_string.xhp +#. 4fc2p +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id871585834468102\n" +"sf_ui.xhp\n" +"par_id431620322170443\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." +msgid "Note, as an exception, that the methods marked <emph>(*)</emph> are <emph>not applicable to Base documents</emph>." msgstr "" -#. 4G9FU -#: sf_string.xhp +#. 778Fh +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id21612394465120\n" +"sf_ui.xhp\n" +"par_id201587913266596\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." +msgid "Make the specified window active. The method returns <literal>True</literal> 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 "" -#. qgd6X -#: sf_string.xhp +#. w9DR4 +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id601612395193333\n" +"sf_ui.xhp\n" +"par_id381587913266946\n" "help.text" -msgid "Tabs are expanded using the same procedure performed by the <link href=\"text/sbasic/shared/03/sf_string.xhp#ExpandTabs\" name=\"ExpandTabs method\">ExpandTabs</link> method." +msgid "<emph>windowname</emph>: see the definitions above." msgstr "" -#. kTwEG -#: sf_string.xhp +#. 5kwSb +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id641612394826616\n" +"sf_ui.xhp\n" +"par_id13159655484952\n" "help.text" -msgid "Symbolic line breaks are replaced by their equivalent Ascii characters." +msgid "Creates and stores a new %PRODUCTNAME Base document embedding an empty database of the given type. The method returns a <literal>Document</literal> service instance." msgstr "" -#. y7VvP -#: sf_string.xhp +#. gqGpB +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id361612394859733\n" +"sf_ui.xhp\n" +"par_id441596554849949\n" "help.text" -msgid "If the wrapped output has no content, the returned array is empty." +msgid "<emph>filename</emph> : Identifies the file to create. It must follow the <literal>SF_FileSystem.FileNaming</literal> notation. If the file already exists, it is overwritten without warning" msgstr "" -#. SNRzH -#: sf_string.xhp +#. Jub7D +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id251585834468498\n" +"sf_ui.xhp\n" +"par_id381596554849698\n" "help.text" -msgid "<emph>inputstr</emph>: The string to wrap." +msgid "<emph>embeddeddatabase</emph> : Either \"HSQLDB\" (default), \"FIREBIRD\" or \"CALC\"." msgstr "" -#. MiptC -#: sf_string.xhp +#. BWgpN +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id351585834773177\n" +"sf_ui.xhp\n" +"par_id521596554849185\n" "help.text" -msgid "<emph>width</emph>: The maximum number of characters in each line (Default = 70)." +msgid "<emph>registrationname</emph> : 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 "" -#. epG6z -#: sf_string.xhp +#. AFin6 +#: sf_ui.xhp msgctxt "" -"sf_string.xhp\n" -"par_id741585834874500\n" +"sf_ui.xhp\n" +"par_id181629364905056\n" "help.text" -msgid "<emph>tabsize</emph>: Before wrapping the text, the existing TAB <literal>Chr(9)</literal> characters are replaced with spaces. The argument <literal>tabsize</literal> defines the TAB stops at TabSize + 1, 2 * TabSize + 1 , ... N * TabSize + 1 (Default = 8)." +msgid "<emph>calcfilename</emph> : Only when <literal>embeddeddatabase</literal> = \"CALC\", <literal>calcfilename</literal> represents the file containing the tables as Calc sheets. The file must exist or an error is raised." msgstr "" -#. HjZDB -#: sf_textstream.xhp +#. GtB5n +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"tit\n" +"sf_ui.xhp\n" +"par_id651588521753997\n" "help.text" -msgid "ScriptForge.TextStream service" +msgid "Create a new %PRODUCTNAME document of a given type or based on a given template. The method returns a document object." msgstr "" -#. cEA5U -#: sf_textstream.xhp +#. JnBPt +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"bm_id351585330787295\n" +"sf_ui.xhp\n" +"par_id51588521753302\n" "help.text" -msgid "<variable id=\"TextStreamService\"><link href=\"text/sbasic/shared/03/sf_textstream.xhp\" name=\"TextStream service\"><literal>ScriptForge</literal>.<literal>TextStream</literal> service</link></variable>" +msgid "<emph>documenttype</emph> : \"Calc\", \"Writer\", etc. If absent, the <literal>templatefile</literal> argument must be present." msgstr "" -#. nBJsE -#: sf_textstream.xhp +#. BQ6UD +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id511585330787205\n" +"sf_ui.xhp\n" +"par_id401588522663325\n" "help.text" -msgid "The <literal>TextStream</literal> service is used to sequentially read from and write to files opened or created using the <literal>ScriptForge.FileSystem</literal> service." +msgid "<emph>templatefile</emph> : The full <literal>FileName</literal> of the template to build the new document on. If the file does not exist, the argument is ignored. The <literal>FileSystem</literal> service provides the <literal>TemplatesFolder</literal> and <literal>UserTemplatesFolder</literal> properties to help to build the argument." msgstr "" -#. TeRTa -#: sf_textstream.xhp +#. VeNQg +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id41613596903894\n" +"sf_ui.xhp\n" +"par_id131588522824366\n" "help.text" -msgid "The methods <literal>OpenTextFile</literal> and <literal>CreateTextFile</literal> from the <literal>FileSystem</literal> service return an instance of the <literal>TextStream</literal> service." +msgid "<emph>hidden</emph>: if <literal>True</literal>, open the new document in the background (default = <literal>False</literal>). To use with caution: activation or closure afterwards can only happen programmatically." msgstr "" -#. MVFWC -#: sf_textstream.xhp +#. gWFt9 +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id161585330787262\n" +"sf_ui.xhp\n" +"par_id701620762417802\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." +msgid "In both examples below, the first call to <literal>CreateDocument</literal> method creates a blank Calc document, whereas the second creates a document from a template file." msgstr "" -#. GDkir -#: sf_textstream.xhp +#. shCRf +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id831613598137669\n" +"sf_ui.xhp\n" +"par_id201588520551463\n" "help.text" -msgid "The line delimiter for the operating system where the macro is being executed can be accessed using the <literal>SF_String.sfNEWLINE</literal> property." +msgid "Returns an open document object referring to either the active window, a given window or the active document." msgstr "" -#. SvXzF -#: sf_textstream.xhp +#. xgMAv +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id851613597445432\n" +"sf_ui.xhp\n" +"par_id851588520551368\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." +msgid "<emph>windowname</emph>: See the definitions <link href=\"text/sbasic/shared/03/sf_ui.xhp#WindowName\" name=\"WindowName section\">above</link>. If this argument is absent, the active window is used. UNO objects of types <literal>com.sun.star.lang.XComponent</literal> or <literal>com.sun.star.comp.dba.ODatabaseDocument</literal> are also accepted. Thus passing <literal>ThisComponent</literal> or <literal>ThisDatabaseDocument</literal> as argument creates a new <link href=\"text/sbasic/shared/03/sf_document.xhp\" name=\"Document service\">SFDocuments.Document</link>, <link href=\"text/sbasic/shared/03/sf_base.xhp\" name=\"Base service\">Base</link> or <link href=\"text/sbasic/shared/03/sf_calc.xhp\" name=\"Calc service\">Calc</link> service." msgstr "" -#. dc5KN -#: sf_textstream.xhp +#. AAjDB +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"hd_id83158533078741\n" +"sf_ui.xhp\n" +"par_id521620330287071\n" "help.text" -msgid "Service invocation" +msgid "To access the name of the currently active window, refer to the <literal>ActiveWindow</literal> property." msgstr "" -#. AuQX2 -#: sf_textstream.xhp +#. CYsyC +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id351613598192725\n" +"sf_ui.xhp\n" +"par_id24158798644169\n" "help.text" -msgid "The examples below in Basic and Python use the <literal>OpenTextFile</literal> method to create an instance of the <literal>TextStream</literal> Service." +msgid "Maximizes the active window or the given window." msgstr "" -#. UUudg -#: sf_textstream.xhp +#. hD4TC +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id371585330787197\n" +"sf_ui.xhp\n" +"par_id951587986441954\n" "help.text" -msgid "The file must be closed with the <literal>CloseFile</literal> method after all read or write operations have been executed:" +msgid "<emph>windowname</emph>: see the definitions <link href=\"text/sbasic/shared/03/sf_ui.xhp#WindowName\" name=\"WindowName section\">above</link>. If this argument is absent, the active window is maximized." msgstr "" -#. zNveN -#: sf_textstream.xhp +#. vzDdG +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id891582733781994\n" +"sf_ui.xhp\n" +"par_id871587986592696\n" "help.text" -msgid "Optionally, the resources used by the <literal>TextStream</literal> instance can be released using the <literal>Dispose</literal> method:" +msgid "Minimizes the active window or the given window." msgstr "" -#. nsGCZ -#: sf_textstream.xhp +#. Enys5 +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id121612917368946\n" +"sf_ui.xhp\n" +"par_id751587986592626\n" "help.text" -msgid "The methods in the <literal>TextStream</literal> service are mostly based on the <link href=\"https://api.libreoffice.org/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1io_1_1XTextInputStream.html\" name=\"XTextInputStream API\"><literal>XTextInputStream</literal></link> and <link href=\"https://api.libreoffice.org/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1io_1_1XTextOutputStream.html\" name=\"XTextOutputStream API\"><literal>XTextOutputStream</literal></link> UNO interfaces." +msgid "<emph>windowname</emph>: see the definitions <link href=\"text/sbasic/shared/03/sf_ui.xhp#WindowName\" name=\"WindowName section\">above</link>. If this argument is absent, the active window is minimized." msgstr "" -#. JAmgD -#: sf_textstream.xhp +#. WHDDQ +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"hd_id941585330787948\n" +"sf_ui.xhp\n" +"par_id691596555746539\n" "help.text" -msgid "Properties" +msgid "Open an existing %PRODUCTNAME Base document. The method returns a document object." msgstr "" -#. aN9zM -#: sf_textstream.xhp +#. CZBya +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id631585330787267\n" +"sf_ui.xhp\n" +"par_id231596555746385\n" "help.text" -msgid "Name" +msgid "<emph>filename</emph>: Identifies the file to open. It must follow the <literal>SF_FileSystem.FileNaming</literal> notation." msgstr "" -#. vwGC5 -#: sf_textstream.xhp +#. mtpoL +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id401585330787370\n" +"sf_ui.xhp\n" +"par_id711596555746281\n" "help.text" -msgid "Readonly" +msgid "<emph>registrationname</emph>: The name to use to find the database in the databases register. It is ignored if <literal>FileName</literal> <> \"\"." msgstr "" -#. GpL38 -#: sf_textstream.xhp +#. TqAd2 +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id581585330787700\n" +"sf_ui.xhp\n" +"id721596556313545\n" "help.text" -msgid "Type" +msgid "<emph>macroexecution</emph>: 0 = behaviour is defined by the user configuration, 1 = macros are not executable, 2 = macros are executable." msgstr "" -#. 6FDuM -#: sf_textstream.xhp +#. Dok5e +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id551585330787608\n" +"sf_ui.xhp\n" +"par_id941620762989833\n" "help.text" -msgid "Description" +msgid "To improve code readability you can use <link href=\"text/sbasic/shared/03/sf_ui.xhp#Constants\" name=\"CHANGE ME\">predefined constants</link> for the <literal>macroexecution</literal> argument, as in the examples above." msgstr "" -#. ECkTm -#: sf_textstream.xhp +#. LBgGQ +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id181585330787752\n" +"sf_ui.xhp\n" +"par_id541588523635283\n" "help.text" -msgid "Yes" +msgid "Opens an existing %PRODUCTNAME document with the given options. Returns a document object or one of its subclasses. The method returns <literal>Nothing</literal> (in Basic) / <literal>None</literal> (in Python) if the opening failed, even when the failure is caused by a user decision." msgstr "" -#. YFkaY -#: sf_textstream.xhp +#. 8tjbg +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id901585330787680\n" +"sf_ui.xhp\n" +"par_id481588523635890\n" "help.text" -msgid "Used in read mode. A <literal>True</literal> value indicates that the end of the file has been reached. A test using this property should precede calls to the <literal>ReadLine</literal> method." +msgid "<emph>filename</emph>: Identifies the file to open. It must follow the <literal>FileNaming</literal> notation of the <literal>FileSystem</literal> service." msgstr "" -#. EFEnA -#: sf_textstream.xhp +#. PWvQz +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id561585330787568\n" +"sf_ui.xhp\n" +"par_id451588523635507\n" "help.text" -msgid "Yes" +msgid "<emph>password</emph>: 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 "" -#. cVCoJ -#: sf_textstream.xhp +#. 2jjFK +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id741585330787777\n" +"sf_ui.xhp\n" +"par_id611588524329781\n" "help.text" -msgid "The character set to be used. The default encoding is \"UTF-8\"." +msgid "<emph>readonly</emph>: Default = <literal>False</literal>." msgstr "" -#. p5s3X -#: sf_textstream.xhp +#. BcyEp +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id641585330787207\n" +"sf_ui.xhp\n" +"par_id641588523635497\n" "help.text" -msgid "Yes" +msgid "<emph>hidden</emph>: if <literal>True</literal>, open the new document in the background (default = <literal>False</literal>). To use with caution: activation or closure afterwards can only happen programmatically." msgstr "" -#. JjEqX -#: sf_textstream.xhp +#. sbgeH +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id281585330787614\n" +"sf_ui.xhp\n" +"par_id981588524474719\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 <literal>FileNaming</literal> property of the <literal>FileSystem</literal> service." +msgid "<emph>macroexecution</emph>: 0 = behaviour is defined by the user configuration, 1 = macros are not executable, 2 = macros are executable." msgstr "" -#. goEnw -#: sf_textstream.xhp +#. AF7iF +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id111585330787410\n" +"sf_ui.xhp\n" +"par_id611588524584693\n" "help.text" -msgid "Yes" +msgid "<emph>filtername</emph>: The name of a filter that should be used for loading the document. If present, the filter must exist." msgstr "" -#. MZS6Z -#: sf_textstream.xhp +#. MKueU +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id861585330787417\n" +"sf_ui.xhp\n" +"par_id191588524634348\n" "help.text" -msgid "Indicates the input/output mode. Possible values are \"READ\", \"WRITE\" or \"APPEND\"." +msgid "<emph>filteroptions</emph>: An optional string of options associated with the filter." msgstr "" -#. 7nTb9 -#: sf_textstream.xhp +#. qMTrj +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id87158533078795\n" +"sf_ui.xhp\n" +"par_id751587986945965\n" "help.text" -msgid "Yes" +msgid "Resizes and/or moves the active window. Absent and negative arguments are ignored. If the window is minimized or maximized, calling <literal>Resize</literal> without arguments restores it." msgstr "" -#. j45gC -#: sf_textstream.xhp +#. 6NUcv +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id561585330787741\n" +"sf_ui.xhp\n" +"par_id441587986945696\n" "help.text" -msgid "Returns the number of lines read or written so far." +msgid "<emph>left, top</emph>: Distances of the top-left corner from top and left edges of the screen, in pixels." msgstr "" -#. CLAvQ -#: sf_textstream.xhp +#. AdcjG +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id531585330787157\n" +"sf_ui.xhp\n" +"par_id601587987453825\n" "help.text" -msgid "No" +msgid "<emph>width, height</emph>: New dimensions of the window, in pixels." msgstr "" -#. rdA5M -#: sf_textstream.xhp +#. vDNVH +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id691585330787279\n" +"sf_ui.xhp\n" +"par_id801587987507028\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." +msgid "In the following examples, the <literal>width</literal> and <literal>height</literal> of the window are changed while <literal>top</literal> and <literal>left</literal> are left unchanged." msgstr "" -#. dCeHZ -#: sf_textstream.xhp +#. HP2Jb +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id141613001281573\n" +"sf_ui.xhp\n" +"par_id21620332301809\n" "help.text" -msgid "To learn more about the names of character sets, visit <link href=\"https://www.iana.org/assignments/character-sets/character-sets.xhtml\" name=\"Character Sets\">IANA's Character Set</link> page. Beware that %PRODUCTNAME does not implement all existing character sets." +msgid "To resize a window that is not active, first activate it using the <literal>Activate</literal> method." msgstr "" -#. hKJkD -#: sf_textstream.xhp +#. mDaA5 +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id891611613601554\n" +"sf_ui.xhp\n" +"par_id991589202413257\n" "help.text" -msgid "List of Methods in the TextStream Service" +msgid "Runs a UNO command on the current window. A few typical commands are: Save, SaveAs, ExportToPDF, Undo, Copy, Paste, etc." msgstr "" -#. DBBKM -#: sf_textstream.xhp +#. x52HD +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id421585330787675\n" +"sf_ui.xhp\n" +"par_id921611152932311\n" "help.text" -msgid "Closes the current input or output stream and empties the output buffer if relevant. Returns <literal>True</literal> if the file was successfully closed." +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 "" -#. MCW3q -#: sf_textstream.xhp +#. rhYJj +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id65158533078799\n" +"sf_ui.xhp\n" +"par_id31644182402479\n" "help.text" -msgid "Returns all the remaining lines in the text stream as a single string. Line breaks are not removed." +msgid "For a complete list of UNO commands that can be run in %PRODUCTNAME, refer to the Wiki page <link href=\"https://wiki.documentfoundation.org/Development/DispatchCommands\" name=\"Commands_Wiki\">Development/DispatchCommands</link>." msgstr "" -#. Vr34D -#: sf_textstream.xhp +#. Fkf3T +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id71613600347125\n" +"sf_ui.xhp\n" +"par_id401589202413575\n" "help.text" -msgid "The resulting string can be split in lines either by using the <literal>Split</literal> built-in Basic function if the line delimiter is known, or with the <literal>SF_String.SplitLines</literal> method." +msgid "<emph>command</emph>: 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 "" -#. VRLGn -#: sf_textstream.xhp +#. cZgrF +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id91585330787373\n" +"sf_ui.xhp\n" +"par_id521644182774710\n" "help.text" -msgid "For large files, using the <literal>ReadAll</literal> method wastes memory resources. In such cases it is recommended to read the file line by line using the <literal>ReadLine</literal> method." +msgid "<emph>args</emph>: For each argument to be passed to the command, specify a pair containing the argument name and value." msgstr "" -#. BuBVA -#: sf_textstream.xhp +#. t3CjC +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id921613595637851\n" +"sf_ui.xhp\n" +"par_id721611153068137\n" "help.text" -msgid "Consider the text file \"Students.txt\" with the following contents (a name in each line):" +msgid "The following example runs the <literal>.uno:About</literal> command in the current window." msgstr "" -#. hk7q4 -#: sf_textstream.xhp +#. cFYc9 +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id391613596019750\n" +"sf_ui.xhp\n" +"par_id371644184276886\n" "help.text" -msgid "The examples below in Basic and Python use the <literal>ReadAll</literal> and <literal>SplitLines</literal> methods to read the contents of the file into an array of strings:" +msgid "Below is an example that runs the UNO command <literal>.uno:BasicIDEAppear</literal> and passes the arguments required to open the Basic IDE at a specific line of a module." msgstr "" -#. BuRJE -#: sf_textstream.xhp +#. fTXvL +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"bas_id251613595640550\n" +"sf_ui.xhp\n" +"bas_id631644184414955\n" "help.text" -msgid "'Loads the FileSystem service" +msgid "' Arguments passed to the command:" msgstr "" -#. L2a3D -#: sf_textstream.xhp +#. cyWLC +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"bas_id181613595641087\n" +"sf_ui.xhp\n" +"par_id41644184549167\n" "help.text" -msgid "'Opens the text file with the names to be read" +msgid "Note that calling the command <literal>BasicIDEAppear</literal> without arguments will simply open the <menuitem>Basic IDE</menuitem>." msgstr "" -#. rDCSD -#: sf_textstream.xhp +#. BKNap +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"bas_id711613595642109\n" +"sf_ui.xhp\n" +"par_id311644243516674\n" "help.text" -msgid "'Reads all the contents in the input file as a single string" +msgid "In Python it is also possible to call <literal>RunCommand</literal> using keyword arguments:" msgstr "" -#. 6w73J -#: sf_textstream.xhp +#. Em5in +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"bas_id961613595643093\n" +"sf_ui.xhp\n" +"par_id191611153511038\n" "help.text" -msgid "'Splits the string into an array" +msgid "Each %PRODUCTNAME component has its own set of commands available. One easy way to learn commands is going to <emph>Tools - Customize - Keyboard</emph>. When you position your mouse over a function in the <emph>Function</emph> list, a tooltip will appear with the corresponding UNO command." msgstr "" -#. 7Fq9E -#: sf_textstream.xhp +#. NnBWM +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id871585330787885\n" +"sf_ui.xhp\n" +"par_id281587996421580\n" "help.text" -msgid "Returns the next line in the text stream as a string. Line breaks are removed from the returned string." +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 "" -#. 6iDcF -#: sf_textstream.xhp +#. rDr2L +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id431613600221626\n" +"sf_ui.xhp\n" +"par_id71587996421829\n" "help.text" -msgid "The <literal>AtEndOfStream</literal> test should precede the <literal>ReadLine</literal> method like in the example below." +msgid "<emph>text</emph>: An optional text to be displayed in front of the progress bar." msgstr "" -#. GRRkq -#: sf_textstream.xhp +#. hbCpG +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id171585330787774\n" +"sf_ui.xhp\n" +"par_id881587996421777\n" "help.text" -msgid "An error will be raised if the <literal>AtEndOfStream</literal> was reached during the previous <literal>ReadLine</literal> or <literal>SkipLine</literal> method call." +msgid "<emph>percentage</emph>: an optional degree of progress between 0 and 100." msgstr "" -#. mAty4 -#: sf_textstream.xhp +#. qbGdy +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id11585330787847\n" +"sf_ui.xhp\n" +"bas_id651620332601083\n" "help.text" -msgid "Skips the next line in the input stream when reading a <literal>TextStream</literal> file." +msgid "' Resets the statusbar" msgstr "" -#. FDMJB -#: sf_textstream.xhp +#. oQfWc +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id441613600704766\n" +"sf_ui.xhp\n" +"par_id571598864255776\n" "help.text" -msgid "This method can result in <literal>AtEndOfStream</literal> being set to <literal>True</literal>." +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 "" -#. D4JVb -#: sf_textstream.xhp +#. drhV6 +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id141585330787657\n" +"sf_ui.xhp\n" +"par_id441598864535695\n" "help.text" -msgid "Writes a specified number of empty lines to the output stream." +msgid "<emph>title</emph> : The title appearing on top of the dialog box. Default = \"ScriptForge\"." msgstr "" -#. YsBUm -#: sf_textstream.xhp +#. jvrZV +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id291585330787357\n" +"sf_ui.xhp\n" +"par_id311598864255297\n" "help.text" -msgid "<emph>lines</emph>: The number of empty lines to write to the file." +msgid "<emph>text</emph>: An optional text to be displayed above the progress bar." msgstr "" -#. GCPCC -#: sf_textstream.xhp +#. Qj3N3 +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id101585330787215\n" +"sf_ui.xhp\n" +"par_id881598864255424\n" "help.text" -msgid "Writes the given string to the output stream as a single line." +msgid "<emph>percentage</emph>: an optional degree of progress between 0 and 100." msgstr "" -#. Eska7 -#: sf_textstream.xhp +#. rVBX3 +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id421613601002074\n" +"sf_ui.xhp\n" +"bas_id651620333289753\n" "help.text" -msgid "The character defined in the <literal>NewLine</literal> property is used as the line delimiter." +msgid "' Closes the Progress Bar window" msgstr "" -#. LXFPE -#: sf_textstream.xhp +#. u3gZ8 +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id491585330787650\n" +"sf_ui.xhp\n" +"pyc_id761620333269236\n" "help.text" -msgid "<emph>line</emph>: The line to write, may be empty." +msgid "# Closes the Progress Bar window" msgstr "" -#. PM5Bx -#: sf_textstream.xhp +#. ZEG6t +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"par_id821626894480105\n" +"sf_ui.xhp\n" +"par_id431588587119925\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 <literal>lastValue</literal> is reached." +msgid "Returns <literal>True</literal> if the given window could be identified." msgstr "" -#. 39u4o -#: sf_textstream.xhp +#. rkJbT +#: sf_ui.xhp msgctxt "" -"sf_textstream.xhp\n" -"bas_id21613321528612\n" +"sf_ui.xhp\n" +"par_id45158858711917\n" "help.text" -msgid "'Instantiates the FileSystem Service" +msgid "<emph>windowname</emph>: see the definitions above." msgstr "" -#. FnTiG -#: sf_textstream.xhp +#. BuQiK +#: sf_unittest.xhp msgctxt "" -"sf_textstream.xhp\n" -"bas_id191613321529277\n" +"sf_unittest.xhp\n" +"tit\n" "help.text" -msgid "'Creates a text file" +msgid "SFUnitTests.UnitTest service" msgstr "" -#. f5RSB -#: sf_textstream.xhp +#. iVee6 +#: sf_unittest.xhp msgctxt "" -"sf_textstream.xhp\n" -"bas_id641613321530181\n" +"sf_unittest.xhp\n" +"bm_id681600788076499\n" "help.text" -msgid "'Writes the Value and Value squared, separated by \";\"" +msgid "<variable id=\"UnitTestService\"><link href=\"text/sbasic/shared/03/sf_unittest.xhp\" name=\"UnitTest service\"><literal>SFUnitTests</literal>.<literal>UnitTest</literal> service</link></variable>" msgstr "" -#. FCowk -#: sf_textstream.xhp +#. iRNwD +#: sf_unittest.xhp msgctxt "" -"sf_textstream.xhp\n" -"bas_id141613321530960\n" +"sf_unittest.xhp\n" +"par_id181600788076612\n" "help.text" -msgid "myFile.WriteLine(\"Value;Value Squared\")" +msgid "The <literal>UnitTest</literal> service provides a framework for automating unit tests using the Basic language, including the ability to:" msgstr "" -#. m9Mo4 -#: sf_textstream.xhp +#. wkD9p +#: sf_unittest.xhp msgctxt "" -"sf_textstream.xhp\n" -"bas_id881613321532598\n" +"sf_unittest.xhp\n" +"par_id301600788076785\n" "help.text" -msgid "'Closes the file and free resources" +msgid "Aggregate test cases into test suites and unit tests." msgstr "" -#. PCSPY -#: sf_timer.xhp +#. Dgg9t +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"tit\n" +"sf_unittest.xhp\n" +"par_id1001600788076848\n" "help.text" -msgid "ScriptForge.Timer service" +msgid "Share setup and shutdown code among test cases." msgstr "" -#. cxRDS -#: sf_timer.xhp +#. 768q7 +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"hd_id731582733781114\n" +"sf_unittest.xhp\n" +"par_id67160078807676\n" "help.text" -msgid "<variable id=\"TimerService\"><link href=\"text/sbasic/shared/03/sf_timer.xhp\" name=\"ScriptForge.Timer service\"><literal>ScriptForge</literal>.<literal>Timer</literal> service</link></variable>" +msgid "Report test results using the <literal>Console</literal>." msgstr "" -#. WyVvH -#: sf_timer.xhp +#. UEt5G +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id961582733781662\n" +"sf_unittest.xhp\n" +"par_id411656351918942\n" "help.text" -msgid "The <literal>Timer</literal> service measures the amount of time it takes to run user scripts." +msgid "Both the unit tests and the code to be tested must be written in Basic. The code being tested may call functions written in other languages." msgstr "" -#. qDa8E -#: sf_timer.xhp +#. CCgbB +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id181582733781323\n" +"sf_unittest.xhp\n" +"par_id601656621416963\n" "help.text" -msgid "A <literal>Timer</literal> measures <emph>durations</emph>. It can be:" +msgid "The <literal>UnitTest</literal> service is not available for Python scripts." msgstr "" -#. ErpLm -#: sf_timer.xhp +#. PBJpL +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id711582733781252\n" +"sf_unittest.xhp\n" +"hd_id491656351958796\n" "help.text" -msgid "Started, to indicate when to start measuring time." +msgid "Definitions" msgstr "" -#. NAAFg -#: sf_timer.xhp +#. kTZBz +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id631582733781431\n" +"sf_unittest.xhp\n" +"hd_id31656351967453\n" "help.text" -msgid "Suspended, to pause measuring running time." +msgid "Test Case" msgstr "" -#. nt9Qc -#: sf_timer.xhp +#. 2SE2W +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id691582733781498\n" +"sf_unittest.xhp\n" +"par_id571656351977812\n" "help.text" -msgid "Resumed, to continue tracking running time after the Timer has been suspended." +msgid "A test case is the individual unit of testing. It checks for a specific response to a particular set of inputs." msgstr "" -#. DVCBM -#: sf_timer.xhp +#. XiXCu +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id31582733781344\n" +"sf_unittest.xhp\n" +"par_id391656352078166\n" "help.text" -msgid "Restarted, which will cancel previous measurements and start the <literal>Timer</literal> at zero." +msgid "In the <literal>UnitTest</literal> service, a test case is represented by a single Basic <literal>Sub</literal> whose name starts with a common prefix (the default is \"Test_\")." msgstr "" -#. dm7yA -#: sf_timer.xhp +#. 2g5tx +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id991582733781280\n" +"sf_unittest.xhp\n" +"par_id701656352338645\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" +msgid "The test case fails if one of the <literal>AssertX</literal> methods returns <literal>False</literal>." msgstr "" -#. CVhDR -#: sf_timer.xhp +#. 6yQXs +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"hd_id201582733781265\n" +"sf_unittest.xhp\n" +"hd_id431656352497598\n" "help.text" -msgid "Service invocation" +msgid "Test Suite" msgstr "" -#. fYto9 -#: sf_timer.xhp +#. Jk79j +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id141609955500101\n" +"sf_unittest.xhp\n" +"par_id771656352513789\n" "help.text" -msgid "Before using the <literal>Timer</literal> service the <literal>ScriptForge</literal> library needs to be loaded or imported:" +msgid "A test suite is a collection of test cases that should be executed together." msgstr "" -#. SCYEX -#: sf_timer.xhp +#. cFV9D +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id891610734806133\n" +"sf_unittest.xhp\n" +"par_id941656352597973\n" "help.text" -msgid "The example below creates a <literal>Timer</literal> object named <literal>myTimer</literal> and starts it immediately." +msgid "All test cases of a test suite are stored in a single Basic module." msgstr "" -#. WMZog -#: sf_timer.xhp -msgctxt "" -"sf_timer.xhp\n" -"bas_id681582733781715\n" +#. UEVyk +#: sf_unittest.xhp +msgctxt "" +"sf_unittest.xhp\n" +"par_id51656352696989\n" "help.text" -msgid "'The timer starts immediately when the second argument = True, default = False" +msgid "A test suite may implement the <literal>SetUp</literal> and <literal>TearDown</literal> methods to prepare for test cases in its module." msgstr "" -#. CnZqc -#: sf_timer.xhp +#. nEFMy +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id891582733781994\n" +"sf_unittest.xhp\n" +"hd_id351656352884283\n" "help.text" -msgid "It is recommended to free resources after use:" +msgid "Unit Test" msgstr "" -#. 8h3fp -#: sf_timer.xhp +#. xieZW +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"hd_id521582733781450\n" +"sf_unittest.xhp\n" +"par_id461656352894003\n" "help.text" -msgid "Properties" +msgid "A full unit test consists of a set of test suites in the same Basic library." msgstr "" -#. dVncX -#: sf_timer.xhp +#. 6XiCa +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id71582733781260\n" +"sf_unittest.xhp\n" +"hd_id991656353328287\n" "help.text" -msgid "Name" +msgid "Service invocation" msgstr "" -#. hFnkK -#: sf_timer.xhp +#. FVzhB +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id711582733781103\n" +"sf_unittest.xhp\n" +"par_id141609955500101\n" "help.text" -msgid "Readonly" +msgid "Before using the <literal>UnitTest</literal> service the <literal>ScriptForge</literal> library needs to be loaded or imported:" msgstr "" -#. NvqK9 -#: sf_timer.xhp +#. GHXzG +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id76158273378122\n" +"sf_unittest.xhp\n" +"hd_id941656357981021\n" "help.text" -msgid "Type" +msgid "Simple mode" msgstr "" -#. 7zFYh -#: sf_timer.xhp +#. C5qBi +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id751582733781926\n" +"sf_unittest.xhp\n" +"par_id381656357996613\n" "help.text" -msgid "Description" +msgid "Invoke the service in <emph>simple mode</emph> to call <literal>AssertX</literal> functions without having to build the full hierarchy of test suites and test cases." msgstr "" -#. T92or -#: sf_timer.xhp +#. DRzjW +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id621582733781588\n" +"sf_unittest.xhp\n" +"par_id331656358092318\n" "help.text" -msgid "Yes" +msgid "In simple mode, the service is invoked inside the test case, as shown in the example below:" msgstr "" -#. 9yDgM -#: sf_timer.xhp +#. RuMFA +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id731582733781476\n" +"sf_unittest.xhp\n" +"bas_id501656358186053\n" "help.text" -msgid "The actual running time elapsed since start or between start and stop (does not consider suspended time)" +msgid "' A few dummy tests" msgstr "" -#. ThAaG -#: sf_timer.xhp +#. 2Firz +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id301582733781498\n" +"sf_unittest.xhp\n" +"bas_id981656421186233\n" "help.text" -msgid "Yes" +msgid "MsgBox(\"All tests passed\")" msgstr "" -#. tqpDU -#: sf_timer.xhp +#. nMFgq +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id401582733781608\n" +"sf_unittest.xhp\n" +"bas_id971656421186872\n" "help.text" -msgid "<literal>True</literal> when timer is started or suspended" +msgid "myTest.ReportError(\"A test failed\")" msgstr "" -#. pSPgk -#: sf_timer.xhp +#. ki4xc +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id181582733781551\n" +"sf_unittest.xhp\n" +"par_id321656421319505\n" "help.text" -msgid "Yes" +msgid "In this example, if any of the <literal>AssertEqual</literal> calls fail, the interpreter will go to the <literal>CatchError</literal> label and report the error by calling the <literal>ReportError</literal> method." msgstr "" -#. SGyi4 -#: sf_timer.xhp +#. AMsHe +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id161582733781328\n" +"sf_unittest.xhp\n" +"hd_id341656353807950\n" "help.text" -msgid "<literal>True</literal> when timer is started and suspended" +msgid "Full mode" msgstr "" -#. qoNpD -#: sf_timer.xhp +#. Cev96 +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id651582733781874\n" +"sf_unittest.xhp\n" +"par_id881656353390116\n" "help.text" -msgid "Yes" +msgid "When invoked in <emph>full mode</emph>, the service creation is external to the test code and all tests are organized into test cases and test suites inside a single library." msgstr "" -#. E45MD -#: sf_timer.xhp +#. kRFxC +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id171582733781456\n" +"sf_unittest.xhp\n" +"par_id41656354017140\n" "help.text" -msgid "The actual time elapsed while suspended since start or between start and stop" +msgid "The following example creates a <literal>UnitTest</literal> instance whose tests are located inside the current document (<literal>ThisComponent</literal>) in the \"Tests\" library." msgstr "" -#. gxF8S -#: sf_timer.xhp +#. 3pPFr +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id141582733781303\n" +"sf_unittest.xhp\n" +"hd_id731656421609300\n" "help.text" -msgid "Yes" +msgid "A minimalist example in full mode" msgstr "" -#. FeCob -#: sf_timer.xhp +#. ktFcg +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id411582733781932\n" +"sf_unittest.xhp\n" +"par_id721656421629357\n" "help.text" -msgid "The actual time elapsed since start or between start and stop (including suspensions and running time)" +msgid "Consider that a ODS file has a module named \"MathUtils\" in its \"Standard\" library with the following code:" msgstr "" -#. a63gW -#: sf_timer.xhp +#. ZijqG +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id9158273378151\n" +"sf_unittest.xhp\n" +"bas_id821656421926586\n" "help.text" -msgid "Note that the <literal>TotalDuration</literal> property is equivalent to summing the <literal>Duration</literal> and <literal>SuspendDuration</literal> properties." +msgid "' Code in module Standard.MathUtils" msgstr "" -#. Mav4g -#: sf_timer.xhp +#. N8ifA +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"hd_id141582734141895\n" +"sf_unittest.xhp\n" +"par_id871656422027581\n" "help.text" -msgid "Methods" +msgid "To create a full test suite, consider that a new library named \"Tests\" is created in the file with a single module \"AllTests\" containing the code below:" msgstr "" -#. P8RQj -#: sf_timer.xhp +#. TdD5n +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id291582734377752\n" +"sf_unittest.xhp\n" +"bas_id731656422341011\n" "help.text" -msgid "All methods do not require arguments and return a <literal>Boolean</literal> value." +msgid "' Code in module Tests.AllTests" msgstr "" -#. onEib -#: sf_timer.xhp +#. TeQGD +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id311582734894257\n" +"sf_unittest.xhp\n" +"bas_id671656422476689\n" "help.text" -msgid "If the returned value is <literal>False</literal>, then nothing happened." +msgid "' Preparation code ran prior to the first test case" msgstr "" -#. U82Do -#: sf_timer.xhp +#. 5YeqU +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id871582734180676\n" +"sf_unittest.xhp\n" +"bas_id621656422479007\n" "help.text" -msgid "Name" +msgid "' Optional cleanup code called after the last test case" msgstr "" -#. 6oGwx -#: sf_timer.xhp +#. ANk96 +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id971582734180676\n" +"sf_unittest.xhp\n" +"bas_id141656422684085\n" "help.text" -msgid "Description" +msgid "test.AssertEqual(Sum(1, 1), 2, \"Sum two positive integers\")" msgstr "" -#. ZMfpe -#: sf_timer.xhp +#. vZeA5 +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id911582734180676\n" +"sf_unittest.xhp\n" +"bas_id491656422684324\n" "help.text" -msgid "Returned value" +msgid "test.AssertEqual(Sum(-10, 20), 10, \"Sum of negative and positive integers\")" msgstr "" -#. 6DJTP -#: sf_timer.xhp +#. xAf6Z +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id301582734180676\n" +"sf_unittest.xhp\n" +"bas_id201656422684556\n" "help.text" -msgid "Resumes the <literal>Timer</literal> if it has been suspended" +msgid "test.AssertEqual(Sum(1.5, 1), 2.5, \"Sum of float and integer values\")" msgstr "" -#. ixF7A -#: sf_timer.xhp +#. Lp9XE +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id661582734180676\n" +"sf_unittest.xhp\n" +"bas_id716356422685228\n" "help.text" -msgid "<literal>False</literal> if the timer is not suspended" +msgid "test.ReportError(\"Sum method is broken\")" msgstr "" -#. AAozF -#: sf_timer.xhp +#. u2CVn +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id821582734649305\n" +"sf_unittest.xhp\n" +"bas_id416564228330400\n" "help.text" -msgid "Terminates the <literal>Timer</literal> and discards its current property values, restarting as a new clean <literal>Timer</literal>" +msgid "test.AssertEqual(Multiply(2, 2), 4, \"Multiply two positive integers\")" msgstr "" -#. UtCTT -#: sf_timer.xhp +#. BhroA +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id761582734649305\n" +"sf_unittest.xhp\n" +"bas_id231656422833240\n" "help.text" -msgid "<literal>False</literal> if the timer is inactive" +msgid "test.AssertEqual(Multiply(-4, 2), -8, \"Multiply negative and positive integers\")" msgstr "" -#. AkgAy -#: sf_timer.xhp +#. whh5d +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id641582734802443\n" +"sf_unittest.xhp\n" +"bas_id931656422833480\n" "help.text" -msgid "Starts a new clean timer" +msgid "test.AssertEqual(Multiply(1.5, 3), 4.5, \"Multiply of float and integer values\")" msgstr "" -#. B4gTh -#: sf_timer.xhp +#. ixjF2 +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id921582734802443\n" +"sf_unittest.xhp\n" +"bas_id151656422834184\n" "help.text" -msgid "<literal>False</literal> if the timer is already started" +msgid "test.ReportError(\"Multiply method is broken\")" msgstr "" -#. D7CoH -#: sf_timer.xhp +#. y6q9H +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id81582734905507\n" +"sf_unittest.xhp\n" +"par_id681656423030706\n" "help.text" -msgid "Suspends a running timer" +msgid "The test suite above consists of two test cases <literal>Test_Sum</literal> and <literal>Test_Multiply</literal>. To run all tests simply run the <literal>Main</literal> method from the \"AllTests\" module." msgstr "" -#. YbeSJ -#: sf_timer.xhp +#. CFFEG +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id661582734905507\n" +"sf_unittest.xhp\n" +"par_id681656423146183\n" "help.text" -msgid "<literal>False</literal> if the timer is not started or already suspended" +msgid "The <link href=\"text/sbasic/shared/03/sf_exception.xhp#Console\" name=\"Console\"><literal>Console</literal></link> from the <literal>Exception</literal> service is used as the default output to print test results. After running the example above, the following output will be displayed in the console:" msgstr "" -#. sgXra -#: sf_timer.xhp +#. SX4Hy +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id861582734996722\n" +"sf_unittest.xhp\n" +"par_id161656423510879\n" "help.text" -msgid "Stops a running timer" +msgid "If any of the <literal>AssertEqual</literal> methods fails during these tests, an error message is added to the console." msgstr "" -#. WkCCC -#: sf_timer.xhp +#. SKsNp +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id381582734996722\n" +"sf_unittest.xhp\n" +"hd_id711600788076834\n" "help.text" -msgid "<literal>False</literal> if the timer is neither started nor suspended" +msgid "Properties" msgstr "" -#. DuD3h -#: sf_timer.xhp +#. dUKA3 +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id731626871820490\n" +"sf_unittest.xhp\n" +"par_id461600788076917\n" "help.text" -msgid "The examples below in Basic and Python illustrate the use of the methods and properties in the <literal>Timer</literal> service." +msgid "Name" msgstr "" -#. UgBnC -#: sf_timer.xhp +#. 4CFLw +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"bas_id141582735926821\n" +"sf_unittest.xhp\n" +"par_id221600788076591\n" "help.text" -msgid "'The time elapsed while the Dialog box is open will be counted as suspended time" +msgid "Readonly" msgstr "" -#. 4jHcj -#: sf_timer.xhp +#. hmcQA +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"bas_id901582735961725\n" +"sf_unittest.xhp\n" +"par_id761600788076328\n" "help.text" -msgid "'The time elapsed while the Dialog box is open will be counted as running time" +msgid "Type" msgstr "" -#. 7QhZU -#: sf_timer.xhp +#. qr48K +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"bas_id941610739926687\n" +"sf_unittest.xhp\n" +"par_id67160078807636\n" "help.text" -msgid "'Shows the final time measurements" +msgid "Description" msgstr "" -#. J6XGB -#: sf_timer.xhp +#. BLCXX +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id281610740093006\n" +"sf_unittest.xhp\n" +"par_id311600788076756\n" "help.text" -msgid "If you call the <literal>Terminate</literal> method, subsequent calls for the <literal>Continue</literal> method will not resume time measurement. Similarly, after a Timer has been terminated, calling the <literal>Start</literal> method will restart it as if it were a clean new Timer." +msgid "No" msgstr "" -#. DSYKj -#: sf_timer.xhp +#. LwYBg +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id391626872019832\n" +"sf_unittest.xhp\n" +"par_id441600788076826\n" "help.text" -msgid "Beware that the <literal>Wait</literal> function in Basic takes in a duration argument in milliseconds whereas the <literal>sleep</literal> function in Python uses seconds in its argument." +msgid "When set to <literal>True</literal> (default) the console shows the standard message appended to the message provided by the tester. When <literal>False</literal>, only the message defined by the tester is used." msgstr "" -#. bHEyr -#: sf_timer.xhp +#. m6reQ +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"hd_id431610989623086\n" +"sf_unittest.xhp\n" +"par_id49160078807654\n" "help.text" -msgid "Working with Multiple Timers" +msgid "Yes" msgstr "" -#. dr779 -#: sf_timer.xhp +#. diGQ4 +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id741610989639201\n" +"sf_unittest.xhp\n" +"par_id81600788076419\n" "help.text" -msgid "It is possible to instantiate multiple <literal>Timer</literal> services in parallel, which gives flexibility in measuring time in different parts of the code." +msgid "Value returned by <literal>RunTest</literal> after the unit test is finished. Next is a list of possible values:" msgstr "" -#. ueLgB -#: sf_timer.xhp +#. RqYbB +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"par_id921610989722908\n" +"sf_unittest.xhp\n" +"par_id141656425588260\n" "help.text" -msgid "The following example illustrates how to create two <literal>Timer</literal> objects and start them separately." +msgid "0 - Test finished without errors or test not started<br/> 1 - An assertion within a test case returned <literal>False</literal><br/> 2 - A <literal>SkipTest</literal> was issued by the <literal>Setup</literal> method or by one of the test cases.<br/> 3 - Abnormal end of test" msgstr "" -#. PtA4E -#: sf_timer.xhp +#. sa2t9 +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"bas_id481610989853679\n" +"sf_unittest.xhp\n" +"par_id711600788076534\n" "help.text" -msgid "'Starts myTimerA" +msgid "No" msgstr "" -#. VUdGW -#: sf_timer.xhp +#. WG8MM +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"bas_id331610989849501\n" +"sf_unittest.xhp\n" +"par_id541600788076645\n" "help.text" -msgid "'Starts myTimerB" +msgid "When set to <literal>True</literal>, all assertions are reported in the console (failing or not). When <literal>False</literal> (default), only failing assertions are reported." msgstr "" -#. t98Fv -#: sf_timer.xhp +#. kbkBT +#: sf_unittest.xhp msgctxt "" -"sf_timer.xhp\n" -"bas_id931610989837747\n" +"sf_unittest.xhp\n" +"par_id891600788076190\n" "help.text" -msgid "'Terminate both timers" +msgid "No" msgstr "" -#. dphFv -#: sf_ui.xhp +#. H5D7L +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"tit\n" +"sf_unittest.xhp\n" +"par_id91600788076674\n" "help.text" -msgid "ScriptForge.UI service" +msgid "Defines what is done when an assertion fails. Next is a list of possible values:" msgstr "" -#. QWA6E -#: sf_ui.xhp +#. EQBpN +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"hd_id371587913266310\n" +"sf_unittest.xhp\n" +"par_id671656425606077\n" "help.text" -msgid "<variable id=\"UIService\"><link href=\"text/sbasic/shared/03/sf_ui.xhp\" name=\"ScriptForge.UI service\"><literal>ScriptForge</literal>.<literal>UI</literal> service</link></variable>" +msgid "0 - Ignore the failure and continue running the test<br/> 1 - The <literal>TearDown</literal> method in the module is executed in the current test suite and the next suite is started (default in full mode).<br/> 2 - Stop immediately (default in simple mode)" msgstr "" -#. cAtxQ -#: sf_ui.xhp +#. oxRCB +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id31587913266153\n" +"sf_unittest.xhp\n" +"par_id651606319520519\n" "help.text" -msgid "The UI (User Interface) service simplifies the identification and the manipulation of the different windows composing the whole %PRODUCTNAME application:" +msgid "List of Methods in the UnitTest Service" msgstr "" -#. nTqj5 -#: sf_ui.xhp +#. d4CFS +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id591587913266547\n" +"sf_unittest.xhp\n" +"hd_id201656428230690\n" "help.text" -msgid "Windows selection" +msgid "Arguments of the AssertX methods" msgstr "" -#. 45jFA -#: sf_ui.xhp +#. ArRiA +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id511587913266292\n" +"sf_unittest.xhp\n" +"par_id591656428251124\n" "help.text" -msgid "Windows moving and resizing" +msgid "All assertions test one or two expressions, referred in the remainder of this help page as <emph>A</emph> and <emph>B</emph>. They are always the first one or two arguments in the <literal>AssertX</literal> method." msgstr "" -#. UKRyn -#: sf_ui.xhp +#. Nanrc +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id51587913266596\n" +"sf_unittest.xhp\n" +"par_id231656428367462\n" "help.text" -msgid "Statusbar settings" +msgid "All <literal>AssertX</literal> methods accept a <literal>message</literal> argument specifying a custom message to be reported in the console regarding the assertion. By default an empty string is used. This argument is always in the last position of the assertion." msgstr "" -#. oj2kC -#: sf_ui.xhp +#. d7AFB +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id401599404339702\n" +"sf_unittest.xhp\n" +"par_id91656451227291\n" "help.text" -msgid "Display of a floating progress bar" +msgid "Some <literal>AssertX</literal> methods also accept additional arguments, as described by their syntaxes below." msgstr "" -#. iE5hR -#: sf_ui.xhp +#. xbDmc +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id761587913266388\n" +"sf_unittest.xhp\n" +"par_id71621894833351\n" "help.text" -msgid "Creation of new windows" +msgid "Returns <literal>True</literal> when <emph>A</emph> and <emph>B</emph> are numerical values and are considered to be close to each other, given a relative tolerance." msgstr "" -#. Dxuyy -#: sf_ui.xhp +#. STVnD +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id591587913266489\n" +"sf_unittest.xhp\n" +"par_id241656426318310\n" "help.text" -msgid "Access to the underlying \"documents\"" +msgid "This assertion returns <literal>True</literal> if the two conditions below are met:" msgstr "" -#. W5BL2 -#: sf_ui.xhp +#. zBAge +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id181620312953395\n" +"sf_unittest.xhp\n" +"par_id861656426361793\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." +msgid "A and B can be converted to the <literal>Double</literal> type." msgstr "" -#. ERvRF -#: sf_ui.xhp +#. 48tqj +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"hd_id881587913266307\n" +"sf_unittest.xhp\n" +"par_id851656426362072\n" "help.text" -msgid "Definitions" +msgid "The absolute difference between A and B divided by the largest absolute value of A or B is <emph>lower</emph> than the value specified in <literal>tolerance</literal>." msgstr "" -#. L8Ate -#: sf_ui.xhp +#. Z7Aap +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id741587913266919\n" +"sf_unittest.xhp\n" +"par_id71621894830182\n" "help.text" -msgid "A window can be designated using various ways:" +msgid "Returns <literal>True</literal> when <emph>A</emph> and <emph>B</emph> are considered to be equal." msgstr "" -#. Bhs9h -#: sf_ui.xhp +#. 5EHVv +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id291587913946648\n" +"sf_unittest.xhp\n" +"par_id241656426317440\n" "help.text" -msgid "a full path and file name" +msgid "When A and B are scalars, <literal>True</literal> is returned if:" msgstr "" -#. CK62z -#: sf_ui.xhp +#. EACHw +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id991587914045862\n" +"sf_unittest.xhp\n" +"par_id861656426361808\n" "help.text" -msgid "the last component of the full file name or even only the last component without its suffix" +msgid "Both expressions have the same <literal>VarType</literal> or are both numeric." msgstr "" -#. 8qLrG -#: sf_ui.xhp +#. rEEuD +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id541587914079744\n" +"sf_unittest.xhp\n" +"par_id851656426362362\n" "help.text" -msgid "the title of the window" +msgid "Booleans and numeric values are compared with the = operator." msgstr "" -#. rdSGt -#: sf_ui.xhp +#. VFGGv +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id191587914134221\n" +"sf_unittest.xhp\n" +"par_id201656427500186\n" "help.text" -msgid "for new documents, something like \"Untitled 1\"" +msgid "Strings are compared with the builtin <literal>StrComp</literal> function. The comparison is case-sensitive." msgstr "" -#. GrAxe -#: sf_ui.xhp +#. D8kiC +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id911587914185746\n" +"sf_unittest.xhp\n" +"par_id861656427531067\n" "help.text" -msgid "one of the special windows \"<literal>BASICIDE</literal>\" and \"<literal>WELCOMESCREEN</literal>\"" +msgid "Dates and times are compared up to the second." msgstr "" -#. n5ZLz -#: sf_ui.xhp +#. nGv5Z +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id181587914255236\n" +"sf_unittest.xhp\n" +"par_id361656427557940\n" "help.text" -msgid "The window name is case-sensitive." +msgid "<literal>Null</literal>, <literal>Empty</literal> and <literal>Nothing</literal> are not equal, but <literal>AssertEqual(Nothing, Nothing)</literal> returns <literal>True</literal>." msgstr "" -#. CC5D5 -#: sf_ui.xhp +#. 7ZYdu +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"hd_id541588520711430\n" +"sf_unittest.xhp\n" +"par_id31656427624016\n" "help.text" -msgid "Document object" +msgid "UNO objects are compared with the builtin <literal>EqualUnoObjects</literal> method." msgstr "" -#. w8QcA -#: sf_ui.xhp +#. Ec6PU +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id841588521238711\n" +"sf_unittest.xhp\n" +"par_id301656427695507\n" "help.text" -msgid "The methods <literal>CreateDocument</literal>, <literal>CreateBaseDocument</literal>, <literal>GetDocument</literal>, <literal>OpenBaseDocument</literal> and <literal>OpenDocument</literal>, described below, generate document objects. When a window contains a document, an instance of the <literal>Document</literal> 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: <literal>Calc</literal>, <literal>Impress</literal>, <literal>Writer</literal>, ..." +msgid "Note that Basic objects are never equal." msgstr "" -#. CbJ8H -#: sf_ui.xhp +#. WpMkU +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id331588521254916\n" +"sf_unittest.xhp\n" +"par_id691656427837518\n" "help.text" -msgid "The specific properties and methods applicable on documents are implemented in a document class." +msgid "When A and B are arrays, <literal>True</literal> is returned if:" msgstr "" -#. CEisb -#: sf_ui.xhp +#. A5kTv +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id971588521292976\n" +"sf_unittest.xhp\n" +"par_id831656427894608\n" "help.text" -msgid "The implementation of the document objects class is done in the <literal>SFDocuments</literal> associated library. See its \"<literal>Document</literal>\" service." +msgid "Both arrays have the same number of dimensions (up to 2 dimensions) and their lower and upper bounds are identical for all dimensions." msgstr "" -#. 8NGPA -#: sf_ui.xhp +#. sABNY +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"hd_id91587913266988\n" +"sf_unittest.xhp\n" +"par_id851656427895040\n" "help.text" -msgid "Service invocation" +msgid "All items in both arrays are equal, one by one." msgstr "" -#. WhLKN -#: sf_ui.xhp +#. eAjBU +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id141609955500101\n" +"sf_unittest.xhp\n" +"par_id571656427895400\n" "help.text" -msgid "Before using the <literal>UI</literal> service the <literal>ScriptForge</literal> library needs to be loaded or imported:" +msgid "Two empty arrays are considered to be equal." msgstr "" -#. 2tFG6 -#: sf_ui.xhp +#. PxfTp +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"hd_id841587913266618\n" +"sf_unittest.xhp\n" +"par_id71621894830071\n" "help.text" -msgid "Properties" +msgid "Returns <literal>True</literal> when the type of A is <literal>Boolean</literal> and its value is <literal>False</literal>." msgstr "" -#. m8i6L -#: sf_ui.xhp +#. C3NgG +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id521587913266568\n" +"sf_unittest.xhp\n" +"par_id71621894830337\n" "help.text" -msgid "Name" +msgid "Returns <literal>True</literal> when A is greater than B." msgstr "" -#. 48SHW -#: sf_ui.xhp +#. bT3CG +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id421587913266368\n" +"sf_unittest.xhp\n" +"par_id991656428670110\n" "help.text" -msgid "ReadOnly" +msgid "The comparison between A and B assumes the following:" msgstr "" -#. GpADs -#: sf_ui.xhp +#. Uunox +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id631587914939732\n" +"sf_unittest.xhp\n" +"par_id591656428689390\n" "help.text" -msgid "Type" +msgid "Eligible data types are <literal>String</literal>, <literal>Date</literal> or numeric." msgstr "" -#. nB9z5 -#: sf_ui.xhp +#. F7Cyz +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id951587913266220\n" +"sf_unittest.xhp\n" +"par_id516564286489629\n" "help.text" -msgid "Description" +msgid "Both expressions must have the same <literal>VarType</literal> or both must be numeric." msgstr "" -#. c5EiC -#: sf_ui.xhp +#. LfUrX +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id651587913266754\n" +"sf_unittest.xhp\n" +"par_id211656428689774\n" "help.text" -msgid "Yes" +msgid "String comparisons are case-sensitive." msgstr "" -#. vQ8TT -#: sf_ui.xhp +#. HtcFS +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id351587913266349\n" +"sf_unittest.xhp\n" +"par_id71621894838548\n" "help.text" -msgid "a valid and unique <literal>WindowName</literal> for the currently active window. When the window cannot be identified, a zero-length string is returned." +msgid "Returns <literal>True</literal> when A is greater than or equal to B." msgstr "" -#. DiCRC -#: sf_ui.xhp +#. gwLLH +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id658517913266754\n" +"sf_unittest.xhp\n" +"par_id991656428670202\n" "help.text" -msgid "Yes" +msgid "The comparison between A and B assumes the following:" msgstr "" -#. Bjyuv -#: sf_ui.xhp +#. 8KqmD +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id153587913266349\n" +"sf_unittest.xhp\n" +"par_id591656428689207\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." +msgid "Eligible data types are <literal>String</literal>, <literal>Date</literal> or numeric." msgstr "" -#. BH9YJ -#: sf_ui.xhp +#. oDfjA +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"hd_id511620762163390\n" +"sf_unittest.xhp\n" +"par_id516564286455529\n" "help.text" -msgid "Constants" +msgid "Both expressions must have the same <literal>VarType</literal> or both must be numeric." msgstr "" -#. ziD2D -#: sf_ui.xhp +#. DWEby +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id761620761856238\n" +"sf_unittest.xhp\n" +"par_id211656428663284\n" "help.text" -msgid "Name" +msgid "String comparisons are case-sensitive." msgstr "" -#. eBD6E -#: sf_ui.xhp +#. BcYoQ +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id591620761856238\n" +"sf_unittest.xhp\n" +"par_id71621894831448\n" "help.text" -msgid "Value" +msgid "Returns <literal>True</literal> when A is found in B." msgstr "" -#. 2DU4R -#: sf_ui.xhp +#. UqzzY +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id711620761856238\n" +"sf_unittest.xhp\n" +"par_id991656428677632\n" "help.text" -msgid "Description" +msgid "This assertion assumes the following:" msgstr "" -#. adCUF -#: sf_ui.xhp +#. gKnpk +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id341620761856238\n" +"sf_unittest.xhp\n" +"par_id591656428688858\n" "help.text" -msgid "Macros are always executed" +msgid "Expression B may be a 1D array, a ScriptForge <literal>Dictionary</literal> object or a string." msgstr "" -#. 7hEDg -#: sf_ui.xhp +#. WSuUE +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id101620761893011\n" +"sf_unittest.xhp\n" +"par_id516564286454219\n" "help.text" -msgid "Macros are never executed" +msgid "When expression B is a 1D array, expression A may be a date or a numeric value." msgstr "" -#. 6Jgt7 -#: sf_ui.xhp +#. B6JVZ +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id11620761899780\n" +"sf_unittest.xhp\n" +"par_id51656678140228\n" "help.text" -msgid "Macro execution depends on user settings" +msgid "When expression B is a ScriptForge <literal>Dictionary</literal> object, then string A is searched for among the keys in B." msgstr "" -#. BTUQ4 -#: sf_ui.xhp +#. vvgdS +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id311620312548992\n" +"sf_unittest.xhp\n" +"par_id211656428663299\n" "help.text" -msgid "The examples below show a <literal>MsgBox</literal> with the names of all currently open documents." +msgid "String comparisons are case-sensitive." msgstr "" -#. DfpBz -#: sf_ui.xhp +#. pCSa8 +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id881608131596153\n" +"sf_unittest.xhp\n" +"par_id71621894831399\n" "help.text" -msgid "List of Methods in the UI Service" +msgid "Returns <literal>True</literal> when A is an instance of a specified object type, specified as a string containing the type name." msgstr "" -#. 4fc2p -#: sf_ui.xhp +#. P4Q7u +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id431620322170443\n" +"sf_unittest.xhp\n" +"par_id991656428676302\n" "help.text" -msgid "Note, as an exception, that the methods marked <emph>(*)</emph> are <emph>not applicable to Base documents</emph>." +msgid "Expression A may be one of the following:" msgstr "" -#. 778Fh -#: sf_ui.xhp +#. Kd3yd +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id201587913266596\n" +"sf_unittest.xhp\n" +"par_id591656428676428\n" "help.text" -msgid "Make the specified window active. The method returns <literal>True</literal> 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." +msgid "A ScriptForge object. In this case, the <literal>objecttype</literal> argument is a string such as \"DICTIONARY\", \"calc\", \"Dialog\", etc." msgstr "" -#. w9DR4 -#: sf_ui.xhp +#. pAE9x +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id381587913266946\n" +"sf_unittest.xhp\n" +"par_id516564286456619\n" "help.text" -msgid "<emph>windowname</emph>: see the definitions above." +msgid "A UNO object. In this case, the <literal>objecttype</literal> argument must be a string identical to the value returned by the <literal>SF_Session.UnoObjectType()</literal> method." msgstr "" -#. 5kwSb -#: sf_ui.xhp +#. TAtM4 +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id13159655484952\n" +"sf_unittest.xhp\n" +"par_id211656428680559\n" "help.text" -msgid "Creates and stores a new %PRODUCTNAME Base document embedding an empty database of the given type. The method returns a <literal>Document</literal> service instance." +msgid "An Array. In this case, the <literal>objecttype</literal> argument is expected to be \"array\"." msgstr "" -#. gqGpB -#: sf_ui.xhp +#. dvkQB +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id441596554849949\n" +"sf_unittest.xhp\n" +"par_id891656439858783\n" "help.text" -msgid "<emph>filename</emph> : Identifies the file to create. It must follow the <literal>SF_FileSystem.FileNaming</literal> notation. If the file already exists, it is overwritten without warning" +msgid "Any other variable (neither an <literal>Object</literal> nor an <literal>Array</literal>). In this case, <literal>objecttype</literal> is a string matching the value returned by the builtin <literal>TypeName</literal> function." msgstr "" -#. Jub7D -#: sf_ui.xhp +#. cNXhg +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id381596554849698\n" +"sf_unittest.xhp\n" +"par_id71621894830197\n" "help.text" -msgid "<emph>embeddeddatabase</emph> : Either \"HSQLDB\" (default), \"FIREBIRD\" or \"CALC\"." +msgid "Returns <literal>True</literal> when A is an object that has the <literal>Nothing</literal> value." msgstr "" -#. BWgpN -#: sf_ui.xhp +#. DAqbe +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id521596554849185\n" +"sf_unittest.xhp\n" +"par_id71621894863251\n" "help.text" -msgid "<emph>registrationname</emph> : 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." +msgid "Returns <literal>True</literal> when A has the <literal>Null</literal> value." msgstr "" -#. AFin6 -#: sf_ui.xhp +#. oQpZL +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id181629364905056\n" +"sf_unittest.xhp\n" +"par_id71621894838018\n" "help.text" -msgid "<emph>calcfilename</emph> : Only when <literal>embeddeddatabase</literal> = \"CALC\", <literal>calcfilename</literal> represents the file containing the tables as Calc sheets. The file must exist or an error is raised." +msgid "Returns <literal>True</literal> when A is less than B." msgstr "" -#. GtB5n -#: sf_ui.xhp +#. DGdwP +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id651588521753997\n" +"sf_unittest.xhp\n" +"par_id991656428672332\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." +msgid "The comparison between A and B assumes the following:" msgstr "" -#. JnBPt -#: sf_ui.xhp +#. AmmHx +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id51588521753302\n" +"sf_unittest.xhp\n" +"par_id591656428689311\n" "help.text" -msgid "<emph>documenttype</emph> : \"Calc\", \"Writer\", etc. If absent, the <literal>templatefile</literal> argument must be present." +msgid "Eligible data types are <literal>String</literal>, <literal>Date</literal> or numeric." msgstr "" -#. BQ6UD -#: sf_ui.xhp +#. Y6GRH +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id401588522663325\n" +"sf_unittest.xhp\n" +"par_id516564286265809\n" "help.text" -msgid "<emph>templatefile</emph> : The full <literal>FileName</literal> of the template to build the new document on. If the file does not exist, the argument is ignored. The <literal>FileSystem</literal> service provides the <literal>TemplatesFolder</literal> and <literal>UserTemplatesFolder</literal> properties to help to build the argument." +msgid "Both expressions must have the same <literal>VarType</literal> or both must be numeric." msgstr "" -#. VeNQg -#: sf_ui.xhp +#. SNBHr +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id131588522824366\n" +"sf_unittest.xhp\n" +"par_id211656428660996\n" "help.text" -msgid "<emph>hidden</emph>: if <literal>True</literal>, open the new document in the background (default = <literal>False</literal>). To use with caution: activation or closure afterwards can only happen programmatically." +msgid "String comparisons are case-sensitive." msgstr "" -#. gWFt9 -#: sf_ui.xhp +#. wAvBZ +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id701620762417802\n" +"sf_unittest.xhp\n" +"par_id71621894208818\n" "help.text" -msgid "In both examples below, the first call to <literal>CreateDocument</literal> method creates a blank Calc document, whereas the second creates a document from a template file." +msgid "Returns <literal>True</literal> when A is less than or equal to B." msgstr "" -#. shCRf -#: sf_ui.xhp +#. kvCHD +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id201588520551463\n" +"sf_unittest.xhp\n" +"par_id991656428606322\n" "help.text" -msgid "Returns an open document object referring to either the active window, a given window or the active document." +msgid "The comparison between A and B assumes the following:" msgstr "" -#. xgMAv -#: sf_ui.xhp +#. jD42E +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id851588520551368\n" +"sf_unittest.xhp\n" +"par_id591656428682251\n" "help.text" -msgid "<emph>windowname</emph>: See the definitions <link href=\"text/sbasic/shared/03/sf_ui.xhp#WindowName\" name=\"WindowName section\">above</link>. If this argument is absent, the active window is used. UNO objects of types <literal>com.sun.star.lang.XComponent</literal> or <literal>com.sun.star.comp.dba.ODatabaseDocument</literal> are also accepted. Thus passing <literal>ThisComponent</literal> or <literal>ThisDatabaseDocument</literal> as argument creates a new <link href=\"text/sbasic/shared/03/sf_document.xhp\" name=\"Document service\">SFDocuments.Document</link>, <link href=\"text/sbasic/shared/03/sf_base.xhp\" name=\"Base service\">Base</link> or <link href=\"text/sbasic/shared/03/sf_calc.xhp\" name=\"Calc service\">Calc</link> service." +msgid "Eligible data types are <literal>String</literal>, <literal>Date</literal> or numeric." msgstr "" -#. AAjDB -#: sf_ui.xhp +#. UMG2p +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id521620330287071\n" +"sf_unittest.xhp\n" +"par_id516564286265711\n" "help.text" -msgid "To access the name of the currently active window, refer to the <literal>ActiveWindow</literal> property." +msgid "Both expressions must have the same <literal>VarType</literal> or both must be numeric." msgstr "" -#. CYsyC -#: sf_ui.xhp +#. tcjQC +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id24158798644169\n" +"sf_unittest.xhp\n" +"par_id211656428660176\n" "help.text" -msgid "Maximizes the active window or the given window." +msgid "String comparisons are case-sensitive." msgstr "" -#. hD4TC -#: sf_ui.xhp +#. Zg5MZ +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id951587986441954\n" +"sf_unittest.xhp\n" +"par_id71621894862651\n" "help.text" -msgid "<emph>windowname</emph>: see the definitions <link href=\"text/sbasic/shared/03/sf_ui.xhp#WindowName\" name=\"WindowName section\">above</link>. If this argument is absent, the active window is maximized." +msgid "Returns <literal>True</literal> if string A matches a given pattern containing wildcards." msgstr "" -#. vzDdG -#: sf_ui.xhp +#. GD2Hu +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id871587986592696\n" +"sf_unittest.xhp\n" +"par_id51656446203238\n" "help.text" -msgid "Minimizes the active window or the given window." +msgid "The following wildcards are accepted:" msgstr "" -#. Enys5 -#: sf_ui.xhp +#. CjJSF +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id751587986592626\n" +"sf_unittest.xhp\n" +"par_id661656446233484\n" "help.text" -msgid "<emph>windowname</emph>: see the definitions <link href=\"text/sbasic/shared/03/sf_ui.xhp#WindowName\" name=\"WindowName section\">above</link>. If this argument is absent, the active window is minimized." +msgid "? - Represents any single character." msgstr "" -#. WHDDQ -#: sf_ui.xhp +#. dozgH +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id691596555746539\n" +"sf_unittest.xhp\n" +"par_id681656446233831\n" "help.text" -msgid "Open an existing %PRODUCTNAME Base document. The method returns a document object." +msgid "* - Represents zero, one, or multiple characters." msgstr "" -#. CZBya -#: sf_ui.xhp +#. fsu2Z +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id231596555746385\n" +"sf_unittest.xhp\n" +"par_id71621894832641\n" "help.text" -msgid "<emph>filename</emph>: Identifies the file to open. It must follow the <literal>SF_FileSystem.FileNaming</literal> notation." +msgid "Returns <literal>True</literal> when <emph>A</emph> and <emph>B</emph> are numerical values and are <emph>not</emph> considered to be close to each other, given a relative tolerance." msgstr "" -#. mtpoL -#: sf_ui.xhp +#. 3CNkz +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id711596555746281\n" +"sf_unittest.xhp\n" +"par_id241656426317970\n" "help.text" -msgid "<emph>registrationname</emph>: The name to use to find the database in the databases register. It is ignored if <literal>FileName</literal> <> \"\"." +msgid "This assertion returns <literal>True</literal> if the two conditions below are met:" msgstr "" -#. TqAd2 -#: sf_ui.xhp +#. NtkrB +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"id721596556313545\n" +"sf_unittest.xhp\n" +"par_id861656426361686\n" "help.text" -msgid "<emph>macroexecution</emph>: 0 = behaviour is defined by the user configuration, 1 = macros are not executable, 2 = macros are executable." +msgid "A and B can be converted to the <literal>Double</literal> type." msgstr "" -#. Dok5e -#: sf_ui.xhp +#. 4L9bJ +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id941620762989833\n" +"sf_unittest.xhp\n" +"par_id851656426332052\n" "help.text" -msgid "To improve code readability you can use <link href=\"text/sbasic/shared/03/sf_ui.xhp#Constants\" name=\"CHANGE ME\">predefined constants</link> for the <literal>macroexecution</literal> argument, as in the examples above." +msgid "The absolute difference between A and B divided by the largest absolute value of A or B is <emph>greater</emph> than the value specified in <literal>tolerance</literal>." msgstr "" -#. LBgGQ -#: sf_ui.xhp +#. KVBYJ +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id541588523635283\n" +"sf_unittest.xhp\n" +"par_id71621894862842\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 <literal>Nothing</literal> (in Basic) / <literal>None</literal> (in Python) if the opening failed, even when the failure is caused by a user decision." +msgid "Returns <literal>True</literal> when <emph>A</emph> and <emph>B</emph> are <emph>not</emph> considered to be equal." msgstr "" -#. 8tjbg -#: sf_ui.xhp +#. f8xcB +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id481588523635890\n" +"sf_unittest.xhp\n" +"par_id581656446598206\n" "help.text" -msgid "<emph>filename</emph>: Identifies the file to open. It must follow the <literal>FileNaming</literal> notation of the <literal>FileSystem</literal> service." +msgid "This method works both for scalars and arrays. Read the instructions in <link href=\"text/sbasic/shared/03/sf_unittest.xhp#AssertEqual\" name=\"AssertEqual\"><literal>AssertEqual</literal></link> for more information on what equality means in this assertion." msgstr "" -#. PWvQz -#: sf_ui.xhp +#. ENDBA +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id451588523635507\n" +"sf_unittest.xhp\n" +"par_id71621894832638\n" "help.text" -msgid "<emph>password</emph>: 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." +msgid "Returns <literal>True</literal> when A (a string) is <emph>not</emph> found in B." msgstr "" -#. 2jjFK -#: sf_ui.xhp +#. KNFSF +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id611588524329781\n" +"sf_unittest.xhp\n" +"par_id271656446302516\n" "help.text" -msgid "<emph>readonly</emph>: Default = <literal>False</literal>." +msgid "Read the instructions in <link href=\"text/sbasic/shared/03/sf_unittest.xhp#AssertIn\" name=\"AssertIn\"><literal>AssertIn</literal></link> for more information on the assumptions of this method." msgstr "" -#. BcyEp -#: sf_ui.xhp +#. BCzDu +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id641588523635497\n" +"sf_unittest.xhp\n" +"par_id71621894831403\n" "help.text" -msgid "<emph>hidden</emph>: if <literal>True</literal>, open the new document in the background (default = <literal>False</literal>). To use with caution: activation or closure afterwards can only happen programmatically." +msgid "Returns <literal>True</literal> when A is <emph>not</emph> an instance of a specified object type." msgstr "" -#. sbgeH -#: sf_ui.xhp +#. 2FDwf +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id981588524474719\n" +"sf_unittest.xhp\n" +"par_id271656446949396\n" "help.text" -msgid "<emph>macroexecution</emph>: 0 = behaviour is defined by the user configuration, 1 = macros are not executable, 2 = macros are executable." +msgid "Read the instructions in <link href=\"text/sbasic/shared/03/sf_unittest.xhp#AssertIsInstance\" name=\"AssertIsInstance\"><literal>AssertIsInstance</literal></link> for more information on the assumptions of this method." msgstr "" -#. AF7iF -#: sf_ui.xhp +#. TRtFA +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id611588524584693\n" +"sf_unittest.xhp\n" +"par_id71621894863961\n" "help.text" -msgid "<emph>filtername</emph>: The name of a filter that should be used for loading the document. If present, the filter must exist." +msgid "Returns <literal>True</literal> if string A <emph>does not</emph> match a given pattern containing wildcards." msgstr "" -#. MKueU -#: sf_ui.xhp +#. aRFUp +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id191588524634348\n" +"sf_unittest.xhp\n" +"par_id271656446258396\n" "help.text" -msgid "<emph>filteroptions</emph>: An optional string of options associated with the filter." +msgid "Read the instructions in <link href=\"text/sbasic/shared/03/sf_unittest.xhp#AssertLike\" name=\"AssertLike\"><literal>AssertLike</literal></link> for more information on the assumptions of this method." msgstr "" -#. qMTrj -#: sf_ui.xhp +#. C9GJn +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id751587986945965\n" +"sf_unittest.xhp\n" +"par_id71621894420261\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 <literal>Resize</literal> without arguments restores it." +msgid "Returns <literal>True</literal> except when A is an object that has the <literal>Nothing</literal> value." msgstr "" -#. 6NUcv -#: sf_ui.xhp +#. tdWWt +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id441587986945696\n" +"sf_unittest.xhp\n" +"par_id71621894876551\n" "help.text" -msgid "<emph>left, top</emph>: Distances of the top-left corner from top and left edges of the screen, in pixels." +msgid "Returns <literal>True</literal> except when A has the <literal>Null</literal> value." msgstr "" -#. AdcjG -#: sf_ui.xhp +#. piNCq +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id601587987453825\n" +"sf_unittest.xhp\n" +"par_id71621894860331\n" "help.text" -msgid "<emph>width, height</emph>: New dimensions of the window, in pixels." +msgid "Returns <literal>True</literal> when A is <emph>not</emph> a string or <emph>does not</emph> match the given regular expression." msgstr "" -#. vDNVH -#: sf_ui.xhp +#. 24iRs +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id801587987507028\n" +"sf_unittest.xhp\n" +"par_id931656448163772\n" "help.text" -msgid "In the following examples, the <literal>width</literal> and <literal>height</literal> of the window are changed while <literal>top</literal> and <literal>left</literal> are left unchanged." +msgid "The comparison is case-sensitive." msgstr "" -#. HP2Jb -#: sf_ui.xhp +#. LBAZt +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id21620332301809\n" +"sf_unittest.xhp\n" +"par_id71621894836031\n" "help.text" -msgid "To resize a window that is not active, first activate it using the <literal>Activate</literal> method." +msgid "Returns <literal>True</literal> when string A matches the given regular expression." msgstr "" -#. mDaA5 -#: sf_ui.xhp +#. YDnGG +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id991589202413257\n" +"sf_unittest.xhp\n" +"par_id931656448163625\n" "help.text" -msgid "Runs a UNO command on the current window. A few typical commands are: Save, SaveAs, ExportToPDF, Undo, Copy, Paste, etc." +msgid "The comparison is case-sensitive." msgstr "" -#. x52HD -#: sf_ui.xhp +#. B2c4q +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id921611152932311\n" +"sf_unittest.xhp\n" +"par_id71621894063449\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." +msgid "Returns <literal>True</literal> when expression A is a <literal>Boolean</literal> and its value is <literal>True</literal>." msgstr "" -#. rhYJj -#: sf_ui.xhp +#. CsZXs +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id31644182402479\n" +"sf_unittest.xhp\n" +"par_id71621894086431\n" "help.text" -msgid "For a complete list of UNO commands that can be run in %PRODUCTNAME, refer to the Wiki page <link href=\"https://wiki.documentfoundation.org/Development/DispatchCommands\" name=\"Commands_Wiki\">Development/DispatchCommands</link>." +msgid "Forces a test case to fail." msgstr "" -#. Fkf3T -#: sf_ui.xhp +#. aMzvc +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id401589202413575\n" +"sf_unittest.xhp\n" +"par_id751656448550854\n" "help.text" -msgid "<emph>command</emph>: 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." +msgid "A message can be provided to be reported in the console." msgstr "" -#. cZgrF -#: sf_ui.xhp +#. 6ZD5u +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id521644182774710\n" +"sf_unittest.xhp\n" +"par_id71621894063631\n" "help.text" -msgid "<emph>args</emph>: For each argument to be passed to the command, specify a pair containing the argument name and value." +msgid "Writes the specified <literal>message</literal> in the console." msgstr "" -#. t3CjC -#: sf_ui.xhp +#. HmfG2 +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id721611153068137\n" +"sf_unittest.xhp\n" +"par_id751656448510894\n" "help.text" -msgid "The following example runs the <literal>.uno:About</literal> command in the current window." +msgid "A message can be provided to be reported in the console." msgstr "" -#. cFYc9 -#: sf_ui.xhp +#. b2AUv +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id371644184276886\n" +"sf_unittest.xhp\n" +"par_id71621894199311\n" "help.text" -msgid "Below is an example that runs the UNO command <literal>.uno:BasicIDEAppear</literal> and passes the arguments required to open the Basic IDE at a specific line of a module." +msgid "Displays a message box with a message and the current property values of the <literal>Exception</literal> service." msgstr "" -#. fTXvL -#: sf_ui.xhp +#. by77W +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"bas_id631644184414955\n" +"sf_unittest.xhp\n" +"par_id851656622819891\n" "help.text" -msgid "' Arguments passed to the command:" +msgid "This method is commonly used in the exception handling section of the <literal>Sub</literal> containing the test case, which is reached when an assertion fails or when the <literal>Fail</literal> method is called." msgstr "" -#. cyWLC -#: sf_ui.xhp +#. ozRN8 +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id41644184549167\n" +"sf_unittest.xhp\n" +"par_id291656448892783\n" "help.text" -msgid "Note that calling the command <literal>BasicIDEAppear</literal> without arguments will simply open the <menuitem>Basic IDE</menuitem>." +msgid "Depending on the value of the property <literal>WhenAssertionFails</literal>, the test execution may continue or be interrupted." msgstr "" -#. BKNap -#: sf_ui.xhp +#. q42xs +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id311644243516674\n" +"sf_unittest.xhp\n" +"par_id551656448951538\n" "help.text" -msgid "In Python it is also possible to call <literal>RunCommand</literal> using keyword arguments:" +msgid "When writing test cases it is recommended to include a call to the <literal>ReportError</literal> method in the exception handling section of the <literal>Sub</literal>." msgstr "" -#. Em5in -#: sf_ui.xhp +#. pze6V +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id191611153511038\n" +"sf_unittest.xhp\n" +"par_id711656449128572\n" "help.text" -msgid "Each %PRODUCTNAME component has its own set of commands available. One easy way to learn commands is going to <emph>Tools - Customize - Keyboard</emph>. When you position your mouse over a function in the <emph>Function</emph> list, a tooltip will appear with the corresponding UNO command." +msgid "If the property <literal>LongMessage</literal> is equal to <literal>True</literal>, the specified <literal>message</literal> is followed by the standard error message description. Otherwise only the <literal>message</literal> is displayed." msgstr "" -#. NnBWM -#: sf_ui.xhp +#. AtCyJ +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id281587996421580\n" +"sf_unittest.xhp\n" +"par_id71621894063361\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." +msgid "Executes the complete test suite implemented in the specified module. Each test case is run independently from each other." msgstr "" -#. rDr2L -#: sf_ui.xhp +#. AqkBH +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id71587996421829\n" +"sf_unittest.xhp\n" +"par_id201656449688023\n" "help.text" -msgid "<emph>text</emph>: An optional text to be displayed in front of the progress bar." +msgid "Running a test suite consists of:" msgstr "" -#. hbCpG -#: sf_ui.xhp +#. YqC5U +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id881587996421777\n" +"sf_unittest.xhp\n" +"par_id751656449718279\n" "help.text" -msgid "<emph>percentage</emph>: an optional degree of progress between 0 and 100." +msgid "Executing the optional <literal>Setup</literal> method present in the module." msgstr "" -#. qbGdy -#: sf_ui.xhp +#. Kmshw +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"bas_id651620332601083\n" +"sf_unittest.xhp\n" +"par_id611656449718505\n" "help.text" -msgid "' Resets the statusbar" +msgid "Executing once each test case, in no specific order." msgstr "" -#. oQfWc -#: sf_ui.xhp +#. dpWzo +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id571598864255776\n" +"sf_unittest.xhp\n" +"par_id461656449718687\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." +msgid "Executing the optional <literal>TearDown</literal> method present in the module." msgstr "" -#. drhV6 -#: sf_ui.xhp +#. rFf8d +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id441598864535695\n" +"sf_unittest.xhp\n" +"par_id751656448521144\n" "help.text" -msgid "<emph>title</emph> : The title appearing on top of the dialog box. Default = \"ScriptForge\"." +msgid "The argument <literal>testcasepattern</literal> specifies a pattern composed of \"?\" and \"*\" wildcards to select which test cases will be run. The comparison is not case-sensitive." msgstr "" -#. jvrZV -#: sf_ui.xhp +#. T3faF +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id311598864255297\n" +"sf_unittest.xhp\n" +"par_id81656448858455\n" "help.text" -msgid "<emph>text</emph>: An optional text to be displayed above the progress bar." +msgid "If a <literal>message</literal> is provided, it is written to the console when the test starts." msgstr "" -#. Qj3N3 -#: sf_ui.xhp +#. TDXg5 +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id881598864255424\n" +"sf_unittest.xhp\n" +"par_id71621894064311\n" "help.text" -msgid "<emph>percentage</emph>: an optional degree of progress between 0 and 100." +msgid "Interrupts the running test suite without calling the <literal>TearDown</literal> method." msgstr "" -#. rVBX3 -#: sf_ui.xhp +#. A6W9G +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"bas_id651620333289753\n" +"sf_unittest.xhp\n" +"par_id781656450313544\n" "help.text" -msgid "' Closes the Progress Bar window" +msgid "Skipping a test is usually meaningful during the <literal>Setup</literal> method when not all conditions to run the test are met." msgstr "" -#. u3gZ8 -#: sf_ui.xhp +#. wzZy2 +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"pyc_id761620333269236\n" +"sf_unittest.xhp\n" +"par_id531656450405799\n" "help.text" -msgid "# Closes the Progress Bar window" +msgid "It is up to the <literal>Setup</literal> method to exit the <literal>Sub</literal> shortly after the <literal>SkipTest</literal> call." msgstr "" -#. ZEG6t -#: sf_ui.xhp +#. KEaV4 +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id431588587119925\n" +"sf_unittest.xhp\n" +"par_id581656450504005\n" "help.text" -msgid "Returns <literal>True</literal> if the given window could be identified." +msgid "If <literal>SkipTest</literal> is called from within a test case, the execution of the test suite is interrupted and the remaining test cases are not run. Keep in mind that the order in which test cases are run is arbitrary within a test suite." msgstr "" -#. rkJbT -#: sf_ui.xhp +#. BFyev +#: sf_unittest.xhp msgctxt "" -"sf_ui.xhp\n" -"par_id45158858711917\n" +"sf_unittest.xhp\n" +"par_id81656449618455\n" "help.text" -msgid "<emph>windowname</emph>: see the definitions above." +msgid "If a <literal>message</literal> is provided, it is written to the console." msgstr "" #. NyP5B diff --git a/source/gu/helpcontent2/source/text/scalc/01.po b/source/gu/helpcontent2/source/text/scalc/01.po index 17edb7a0af1..f792b462901 100644 --- a/source/gu/helpcontent2/source/text/scalc/01.po +++ b/source/gu/helpcontent2/source/text/scalc/01.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: 2022-06-15 22:28+0200\n" +"POT-Creation-Date: 2022-07-04 18:04+0200\n" "PO-Revision-Date: 2018-11-12 13:40+0000\n" "Last-Translator: Anonymous Pootle User\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -187,14 +187,14 @@ msgctxt "" msgid "<ahelp hid=\"modules/scalc/ui/navigatorpanel/datarange\">Specifies the current data range denoted by the position of the cell cursor.</ahelp>" msgstr "" -#. xMjGr +#. qXGBa #: 02110000.xhp msgctxt "" "02110000.xhp\n" "par_id3159264\n" "help.text" -msgid "<image id=\"img_id3147338\" src=\"cmd/sc_grid.png\" width=\"0.2228in\" height=\"0.2228in\"><alt id=\"alt_id3147338\">Icon</alt></image>" -msgstr "<image id=\"img_id3153068\" src=\"cmd/sc_fillstyle.png\" width=\"0.222inch\" height=\"0.222inch\"><alt id=\"alt_id3153068\">Icon</alt></image>" +msgid "<image id=\"img_id3147338\" src=\"cmd/lc_dataranges.svg\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id3147338\">Icon</alt></image>" +msgstr "" #. NpEWf #: 02110000.xhp @@ -223,13 +223,13 @@ msgctxt "" msgid "<ahelp hid=\"modules/scalc/ui/navigatorpanel/start\">Moves to the cell at the beginning of the current data range, which you can highlight using the <emph>Data Range</emph> button.</ahelp>" msgstr "" -#. 2UvWv +#. Bm44b #: 02110000.xhp msgctxt "" "02110000.xhp\n" "par_id3152994\n" "help.text" -msgid "<image id=\"img_id3150515\" src=\"sw/res/sc20186.png\" width=\"0.2228in\" height=\"0.2228in\"><alt id=\"alt_id3150515\">Icon</alt></image>" +msgid "<image id=\"img_id3150515\" src=\"cmd/lc_prevrecord.svg\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id3150515\">Icon Start</alt></image>" msgstr "" #. JRnuj @@ -259,13 +259,13 @@ msgctxt "" msgid "<ahelp hid=\"modules/scalc/ui/navigatorpanel/end\">Moves to the cell at the end of the current data range, which you can highlight using the <emph>Data Range</emph> button.</ahelp>" msgstr "" -#. dFpfc +#. U29rW #: 02110000.xhp msgctxt "" "02110000.xhp\n" "par_id3159170\n" "help.text" -msgid "<image id=\"img_id3148871\" src=\"sw/res/sc20175.png\" width=\"0.2228in\" height=\"0.2228in\"><alt id=\"alt_id3148871\">Icon</alt></image>" +msgid "<image id=\"img_id3148871\" src=\"cmd/lc_nextrecord.svg\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id3148871\">Icon End</alt></image>" msgstr "" #. t3E2x @@ -286,22 +286,22 @@ msgctxt "" msgid "Toggle" msgstr "ફેરબદલી" -#. FE4N7 +#. Ha9GK #: 02110000.xhp msgctxt "" "02110000.xhp\n" "par_id3159098\n" "help.text" -msgid "<ahelp hid=\"modules/scalc/ui/navigatorpanel/datarange\">Toggles the content view. Only the selected Navigator element and its subelements are displayed.</ahelp> Click the icon again to restore all elements for viewing." +msgid "Toggles the content view. Only the selected Navigator element and its subelements are displayed. Click the icon again to restore all elements for viewing." msgstr "" -#. MNxGB +#. F7cyn #: 02110000.xhp msgctxt "" "02110000.xhp\n" "par_id3152869\n" "help.text" -msgid "<image id=\"img_id3149126\" src=\"sw/res/sc20244.png\" width=\"0.2228in\" height=\"0.2228in\"><alt id=\"alt_id3149126\">Icon</alt></image>" +msgid "<image id=\"img_id3149126\" src=\"sw/res/sc20244.svg\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id3149126\">Icon Toggle</alt></image>" msgstr "" #. neyie @@ -313,42 +313,6 @@ msgctxt "" msgid "Toggle" msgstr "ફેરબદલી" -#. qCqXS -#: 02110000.xhp -msgctxt "" -"02110000.xhp\n" -"hd_id3149381\n" -"help.text" -msgid "Contents" -msgstr "Comment" - -#. xYfC7 -#: 02110000.xhp -msgctxt "" -"02110000.xhp\n" -"par_id3150051\n" -"help.text" -msgid "<ahelp hid=\"modules/scalc/ui/navigatorpanel/toggle\">Allows you to hide/show the contents.</ahelp>" -msgstr "" - -#. QVQgS -#: 02110000.xhp -msgctxt "" -"02110000.xhp\n" -"par_id3155597\n" -"help.text" -msgid "<image id=\"img_id3154738\" src=\"sw/res/sc20233.png\" width=\"0.2228in\" height=\"0.2228in\"><alt id=\"alt_id3154738\">Icon</alt></image>" -msgstr "" - -#. Jy9Jt -#: 02110000.xhp -msgctxt "" -"02110000.xhp\n" -"par_id3150955\n" -"help.text" -msgid "Contents" -msgstr "Comment" - #. gASoC #: 02110000.xhp msgctxt "" @@ -367,13 +331,13 @@ msgctxt "" msgid "<ahelp hid=\"modules/scalc/ui/navigatorpanel/scenarios\">Displays all available scenarios. Double-click a name to apply that scenario.</ahelp> The result is shown in the sheet. For more information, choose <link href=\"text/scalc/01/06050000.xhp\" name=\"Tools - Scenarios\"><emph>Tools - Scenarios</emph></link>." msgstr "" -#. EXPBq +#. rJfhC #: 02110000.xhp msgctxt "" "02110000.xhp\n" "par_id3148745\n" "help.text" -msgid "<image id=\"img_id3159256\" src=\"sc/res/na07.png\" width=\"0.2228in\" height=\"0.2228in\"><alt id=\"alt_id3159256\">Icon</alt></image>" +msgid "<image id=\"img_id3159256\" src=\"cmd/sc_thesaurus.svg\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id3159256\">Icon Scenarios</alt></image>" msgstr "" #. 4ANZj @@ -448,14 +412,14 @@ msgctxt "" msgid "<ahelp hid=\"modules/scalc/ui/navigatorpanel/dragmode\">Opens a submenu for selecting the drag mode. You decide which action is performed when dragging and dropping an object from the Navigator into a document. Depending on the mode you select, the icon indicates whether a hyperlink, link or a copy is created.</ahelp>" msgstr "" -#. eUAnL +#. DARJp #: 02110000.xhp msgctxt "" "02110000.xhp\n" "par_id3149947\n" "help.text" -msgid "<image id=\"img_id3159119\" src=\"cmd/sc_chainframes.png\" width=\"0.2228in\" height=\"0.2228in\"><alt id=\"alt_id3159119\">Icon</alt></image>" -msgstr "<image id=\"img_id3153068\" src=\"cmd/sc_fillstyle.png\" width=\"0.222inch\" height=\"0.222inch\"><alt id=\"alt_id3153068\">Icon</alt></image>" +msgid "<image id=\"img_id3159119\" src=\"cmd/lc_chainframes.svg\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id3159119\">Icon Drag Mode</alt></image>" +msgstr "" #. 4gSwR #: 02110000.xhp @@ -20176,6 +20140,15 @@ msgctxt "" msgid "<bookmark_value>BASE function</bookmark_value>" msgstr "<bookmark_value>BASE function</bookmark_value>" +#. tyXFW +#: 04060110.xhp +msgctxt "" +"04060110.xhp\n" +"bm_id3156399\n" +"help.text" +msgid "<bookmark_value>decimal system; converting to</bookmark_value>" +msgstr "<bookmark_value>decimal system; converting to</bookmark_value>" + #. 6Lm6r #: 04060110.xhp msgctxt "" @@ -20212,13 +20185,13 @@ msgctxt "" msgid "<emph>Number</emph> is the positive integer to be converted." msgstr "<emph>number</emph> is the positive integer to be converted." -#. qhFBF +#. S5GM4 #: 04060110.xhp msgctxt "" "04060110.xhp\n" "par_id3159262\n" "help.text" -msgid "<emph>Radix</emph> indicates the base of the number system. It may be any positive integer between 2 and 36." +msgid "<emph>Radix</emph> indicates the base of the numeral system. It may be any positive integer between 2 and 36." msgstr "" #. PTSGi @@ -20230,15 +20203,6 @@ msgctxt "" msgid "<emph>MinimumLength</emph> (optional) determines the minimum length of the character sequence that has been created. If the text is shorter than the indicated minimum length, zeros are added to the left of the string." msgstr "<emph>Minimum length</emph> (optional) determines the minimum length of the character sequence that has been created. If the text is shorter than the indicated minimum length, zeros are added to the left of the string." -#. tyXFW -#: 04060110.xhp -msgctxt "" -"04060110.xhp\n" -"bm_id3156399\n" -"help.text" -msgid "<bookmark_value>decimal system; converting to</bookmark_value>" -msgstr "<bookmark_value>decimal system; converting to</bookmark_value>" - #. LLtbg #: 04060110.xhp msgctxt "" @@ -20284,6 +20248,15 @@ msgctxt "" msgid "<item type=\"input\">=BASE(255;16;4)</item> returns 00FF in the hexadecimal system." msgstr "" +#. sCYaE +#: 04060110.xhp +msgctxt "" +"04060110.xhp\n" +"par_id991655560817321\n" +"help.text" +msgid "<link href=\"text/scalc/01/04060110.xhp#decimal\" name=\"decimal\">DECIMAL</link>" +msgstr "" + #. B364W #: 04060110.xhp msgctxt "" @@ -20536,23 +20509,23 @@ msgctxt "" msgid "DECIMAL" msgstr "DECIMAL" -#. BcCUk +#. dES54 #: 04060110.xhp msgctxt "" "04060110.xhp\n" "par_id3156361\n" "help.text" -msgid "<ahelp hid=\"HID_FUNC_DEZIMAL\">Converts text with characters from a <link href=\"text/shared/00/00000005.xhp#number_system\" name=\"number system\">number system</link> to a positive integer in the base radix given.</ahelp> The radix must be in the range 2 to 36. Spaces and tabs are ignored. The <emph>Text</emph> field is not case-sensitive." +msgid "<ahelp hid=\"HID_FUNC_DEZIMAL\">Converts text that represents a number in a <link href=\"text/shared/00/00000005.xhp#number_system\" name=\"numeral system\">numeral system</link> with the given base radix to a positive integer.</ahelp> The radix must be in the range 2 to 36. Spaces and tabs are ignored. The <emph>Text</emph> field is not case-sensitive." msgstr "" -#. 5yN72 +#. Nt52d #: 04060110.xhp msgctxt "" "04060110.xhp\n" "par_id3157994\n" "help.text" -msgid "If the radix is 16, a leading x or X or 0x or 0X, and an appended h or H, is disregarded. If the radix is 2, an appended b or B is disregarded. Other characters that do not belong to the number system generate an error." -msgstr "If the radix is 16, a leading x or X or 0x or 0X, and an appended h or H, is disregarded. If the radix is 2, an appended b or B is disregarded. Other characters that do not belong to the number system generate an error." +msgid "If the radix is 16, a leading x or X or 0x or 0X, and an appended h or H, are disregarded. If the radix is 2, an appended b or B is disregarded. Other characters that do not belong to the numeral system generate an error." +msgstr "" #. XBXZd #: 04060110.xhp @@ -20563,22 +20536,22 @@ msgctxt "" msgid "DECIMAL(\"Text\"; Radix)" msgstr "DECIMAL(Text; Radix)" -#. LczG9 +#. niGRa #: 04060110.xhp msgctxt "" "04060110.xhp\n" "par_id3150128\n" "help.text" -msgid "<emph>Text</emph> is the text to be converted. To differentiate between a hexadecimal number, such as A1 and the reference to cell A1, you must place the number in quotation marks, for example, \"A1\" or \"FACE\"." -msgstr "<emph>text</emph> is the text to be converted. To differentiate between a hexadecimal number, such as A1 and the reference to cell A1, you must place the number in quotation marks, for example, \"A1\" or \"FACE\"." +msgid "<emph>Text</emph> is the text to be converted." +msgstr "" -#. wcsHq +#. yDDho #: 04060110.xhp msgctxt "" "04060110.xhp\n" "par_id3145241\n" "help.text" -msgid "<emph>Radix</emph> indicates the base of the number system. It may be any positive integer between 2 and 36." +msgid "<emph>Radix</emph> indicates the base of the numeral system. It may be any positive integer between 2 and 36." msgstr "" #. PzV8b @@ -20608,6 +20581,15 @@ msgctxt "" msgid "<item type=\"input\">=DECIMAL(\"0101\";2)</item> returns 5." msgstr "" +#. Z3f3y +#: 04060110.xhp +msgctxt "" +"04060110.xhp\n" +"par_id421655560837244\n" +"help.text" +msgid "<link href=\"text/scalc/01/04060110.xhp#base\" name=\"base\">BASE</link>" +msgstr "" + #. NwJnR #: 04060110.xhp msgctxt "" @@ -20626,14 +20608,14 @@ msgctxt "" msgid "DOLLAR" msgstr "DOLLAR" -#. ruuZD +#. BbGGC #: 04060110.xhp msgctxt "" "04060110.xhp\n" "par_id3153049\n" "help.text" -msgid "<ahelp hid=\"HID_FUNC_DM\">Converts a number to an amount in the currency format, rounded to a specified decimal place.</ahelp> In the <item type=\"literal\">Value</item> field enter the number to be converted to currency. Optionally, you may enter the number of decimal places in the <item type=\"literal\">Decimals</item> field. If no value is specified, all numbers in currency format will be displayed with two decimal places." -msgstr "<ahelp hid=\"HID_FUNC_DM\">Converts a number to an amount in the currency format, rounded to a specified decimal place.</ahelp> In the <emph>value</emph> field enter the number to be converted to currency. Optionally, you may enter the number of decimal places in the <emph>decimals</emph> field. If no value is specified, all numbers in currency format will be displayed with two decimal places." +msgid "<ahelp hid=\"HID_FUNC_DM\">Converts a number to a string representing the amount in the currency format, rounded to a specified decimal places, using the decimal separator that corresponds to the <link href=\"text/shared/optionen/01140000.xhp\" name=\"current locale setting\">current locale setting</link>.</ahelp> In the <item type=\"literal\">Value</item> field enter the number to be converted. Optionally, you may enter the number of decimal places in the <item type=\"literal\">Decimals</item> field. If no value is specified, all numbers in currency format will be displayed with two decimal places." +msgstr "" #. FEDsN #: 04060110.xhp @@ -20680,14 +20662,14 @@ msgctxt "" msgid "<item type=\"input\">=DOLLAR(255)</item> returns $255.00 for the English (USA) locale and USD (dollar) currency; ¥255.00 for the Japanese locale and JPY (yen) currency; or 255,00 € for the German (Germany) locale and EUR (euro) currency." msgstr "" -#. 2beTG +#. YoySE #: 04060110.xhp msgctxt "" "04060110.xhp\n" "par_id3154635\n" "help.text" -msgid "<item type=\"input\">=DOLLAR(367.456;2)</item> returns $367.46. Use the decimal separator that corresponds to the <link href=\"text/shared/optionen/01140000.xhp\" name=\"current locale setting\">current locale setting</link>." -msgstr "DOLLAR(367.456;2) returns $367.46. Use the decimal separator that corresponds to the <link href=\"text/shared/optionen/01140000.xhp\" name=\"current locale setting\">current locale setting</link>." +msgid "<item type=\"input\">=DOLLAR(367.456;2)</item> returns $367.46." +msgstr "" #. SX2UT #: 04060110.xhp @@ -24946,14 +24928,14 @@ msgctxt "" msgid "BIN2DEC" msgstr "BIN2DEC" -#. 27YJG +#. jxy4S #: 04060115.xhp msgctxt "" "04060115.xhp\n" "par_id3144744\n" "help.text" -msgid "<ahelp hid=\"HID_AAI_FUNC_BIN2DEC\">The result is the decimal number for the binary number entered.</ahelp>" -msgstr "<ahelp hid=\"HID_AAI_FUNC_BIN2DEC\">The result is the decimal number for the binary number entered.</ahelp>" +msgid "<ahelp hid=\"HID_AAI_FUNC_BIN2DEC\">The result is the number for the binary (base-2) number string entered.</ahelp>" +msgstr "" #. XAXE3 #: 04060115.xhp @@ -24964,22 +24946,22 @@ msgctxt "" msgid "BIN2DEC(Number)" msgstr "BIN2DEC (Number)" -#. 59APF +#. futL2 #: 04060115.xhp msgctxt "" "04060115.xhp\n" "par_id3150142\n" "help.text" -msgid "<emph>Number</emph> is a binary number. The number can have a maximum of 10 places (bits). The most significant bit is the sign bit. Negative numbers are entered as two's complement." +msgid "<emph>Number</emph> is a string representing a binary (base-2) number. It can have a maximum of 10 places (bits). The most significant bit is the sign bit. Negative numbers are entered as two's complement." msgstr "" -#. baswg +#. G83uA #: 04060115.xhp msgctxt "" "04060115.xhp\n" "par_id3145138\n" "help.text" -msgid "<item type=\"input\">=BIN2DEC(1100100)</item> returns 100." +msgid "<item type=\"input\">=BIN2DEC(\"1100100\")</item> returns 100." msgstr "" #. CPrXq @@ -25000,14 +24982,14 @@ msgctxt "" msgid "BIN2HEX" msgstr "BIN2HEX" -#. 4vBam +#. GWF6c #: 04060115.xhp msgctxt "" "04060115.xhp\n" "par_id3148585\n" "help.text" -msgid "<ahelp hid=\"HID_AAI_FUNC_BIN2HEX\">The result is the hexadecimal number for the binary number entered.</ahelp>" -msgstr "<ahelp hid=\"HID_AAI_FUNC_BIN2HEX\">The result is the hexadecimal number for the binary number entered.</ahelp>" +msgid "<ahelp hid=\"HID_AAI_FUNC_BIN2HEX\">The result is the string representing the number in hexadecimal form for the binary (base-2) number string entered.</ahelp>" +msgstr "" #. pLG3U #: 04060115.xhp @@ -25018,31 +25000,31 @@ msgctxt "" msgid "BIN2HEX(Number [; Places])" msgstr "" -#. 9ugAE +#. E5CYC #: 04060115.xhp msgctxt "" "04060115.xhp\n" "par_id3155255\n" "help.text" -msgid "<emph>Number</emph> is a binary number. The number can have a maximum of 10 places (bits). The most significant bit is the sign bit. Negative numbers are entered as two's complement." +msgid "<emph>Number</emph> is a string representing a binary (base-2) number. It can have a maximum of 10 places (bits). The most significant bit is the sign bit. Negative numbers are entered as two's complement." msgstr "" -#. FLMAa +#. dPTaY #: 04060115.xhp msgctxt "" "04060115.xhp\n" "par_id3150860\n" "help.text" -msgid "Places means the number of places to be output." +msgid "<emph>Places</emph> means the number of places to be output." msgstr "" -#. NAgHN +#. urDFd #: 04060115.xhp msgctxt "" "04060115.xhp\n" "par_id3149686\n" "help.text" -msgid "<item type=\"input\">=BIN2HEX(1100100;6)</item> returns 000064." +msgid "<item type=\"input\">=BIN2HEX(\"1100100\";6)</item> returns \"000064\"." msgstr "" #. CmtfF @@ -25063,14 +25045,14 @@ msgctxt "" msgid "BIN2OCT" msgstr "BIN2OCT" -#. hkdHW +#. E5bpw #: 04060115.xhp msgctxt "" "04060115.xhp\n" "par_id3155951\n" "help.text" -msgid "<ahelp hid=\"HID_AAI_FUNC_BIN2OCT\"> The result is the octal number for the binary number entered.</ahelp>" -msgstr "<ahelp hid=\"HID_AAI_FUNC_BIN2OCT\"> The result is the octal number for the binary number entered.</ahelp>" +msgid "<ahelp hid=\"HID_AAI_FUNC_BIN2OCT\">The result is the string representing the number in octal form for the binary (base-2) number string entered.</ahelp>" +msgstr "" #. 8pRVA #: 04060115.xhp @@ -25081,13 +25063,13 @@ msgctxt "" msgid "BIN2OCT(Number [; Places])" msgstr "" -#. kBSNf +#. DbdiF #: 04060115.xhp msgctxt "" "04060115.xhp\n" "par_id3153567\n" "help.text" -msgid "<emph>Number</emph> is a binary number. The number can have a maximum of 10 places (bits). The most significant bit is the sign bit. Negative numbers are entered as two's complement." +msgid "<emph>Number</emph> is a string representing a binary (base-2) number. It can have a maximum of 10 places (bits). The most significant bit is the sign bit. Negative numbers are entered as two's complement." msgstr "" #. Fx75T @@ -25099,13 +25081,13 @@ msgctxt "" msgid "<emph>Places</emph> means the number of places to be output." msgstr "" -#. jwtwa +#. tWDgn #: 04060115.xhp msgctxt "" "04060115.xhp\n" "par_id3153733\n" "help.text" -msgid "<item type=\"input\">=BIN2OCT(1100100;4)</item> returns 0144." +msgid "<item type=\"input\">=BIN2OCT(\"1100100\";4)</item> returns \"0144\"." msgstr "" #. 6Prkx @@ -25171,14 +25153,14 @@ msgctxt "" msgid "DEC2BIN" msgstr "DEC2BIN" -#. VHSmM +#. TWrUq #: 04060115.xhp msgctxt "" "04060115.xhp\n" "par_id3153043\n" "help.text" -msgid "<ahelp hid=\"HID_AAI_FUNC_DEC2BIN\"> The result is the binary number for the decimal number entered between -512 and 511.</ahelp>" -msgstr "<ahelp hid=\"HID_AAI_FUNC_DEC2BIN\"> The result is the binary number for the decimal number entered between -512 and 511.</ahelp>" +msgid "<ahelp hid=\"HID_AAI_FUNC_DEC2BIN\">The result is the string representing the number in binary (base-2) form for the number entered.</ahelp>" +msgstr "" #. tPFjB #: 04060115.xhp @@ -25189,14 +25171,14 @@ msgctxt "" msgid "DEC2BIN(Number [; Places])" msgstr "" -#. Y9mGB +#. zB8ZD #: 04060115.xhp msgctxt "" "04060115.xhp\n" "par_id3148768\n" "help.text" -msgid "<emph>Number</emph> is a decimal number. If Number is negative, the function returns a binary number with 10 characters. The most significant bit is the sign bit, the other 9 bits return the value." -msgstr "Number: the decimal number. If <emph>Number</emph> is negative, the function returns a binary number with 10 characters. The most significant bit is the sign bit, the other 9 bits return the value." +msgid "<emph>Number</emph> is a number between -512 and 511. If Number is negative, the function returns a binary number string with 10 characters. The most significant bit is the sign bit, the other 9 bits return the value." +msgstr "" #. 95P9e #: 04060115.xhp @@ -25207,13 +25189,13 @@ msgctxt "" msgid "<emph>Places</emph> means the number of places to be output." msgstr "" -#. EyQRG +#. sqfAb #: 04060115.xhp msgctxt "" "04060115.xhp\n" "par_id3150662\n" "help.text" -msgid "<item type=\"input\">=DEC2BIN(100;8)</item> returns 01100100." +msgid "<item type=\"input\">=DEC2BIN(100;8)</item> returns \"01100100\"." msgstr "" #. pjCyJ @@ -25234,14 +25216,14 @@ msgctxt "" msgid "DEC2HEX" msgstr "DEC2HEX" -#. eLMju +#. X4Gf6 #: 04060115.xhp msgctxt "" "04060115.xhp\n" "par_id3149030\n" "help.text" -msgid "<ahelp hid=\"HID_AAI_FUNC_DEC2HEX\">The result is the hexadecimal number for the decimal number entered.</ahelp>" -msgstr "<ahelp hid=\"HID_AAI_FUNC_DEC2HEX\">The result is the hexadecimal number for the decimal number entered.</ahelp>" +msgid "<ahelp hid=\"HID_AAI_FUNC_DEC2HEX\">The result is the string representing the number in hexadecimal form for the number entered.</ahelp>" +msgstr "" #. T8PpC #: 04060115.xhp @@ -25252,14 +25234,14 @@ msgctxt "" msgid "DEC2HEX(Number [; Places])" msgstr "" -#. SQafk +#. hPFv2 #: 04060115.xhp msgctxt "" "04060115.xhp\n" "par_id3152820\n" "help.text" -msgid "<emph>Number</emph> is a decimal number. If Number is negative, the function returns a hexadecimal number with 10 characters (40 bits). The most significant bit is the sign bit, the other 39 bits return the value." -msgstr "Number: the decimal number. If <emph>Number</emph> is negative, the function returns a hexadecimal number with 10 characters (40 bits). The most significant bit is the sign bit, the other 39 bits return the value." +msgid "<emph>Number</emph> is a number. If Number is negative, the function returns a hexadecimal number string with 10 characters (40 bits). The most significant bit is the sign bit, the other 39 bits return the value." +msgstr "" #. TKcz6 #: 04060115.xhp @@ -25270,13 +25252,13 @@ msgctxt "" msgid "<emph>Places</emph> means the number of places to be output." msgstr "" -#. PZtxX +#. nUCCp #: 04060115.xhp msgctxt "" "04060115.xhp\n" "par_id3150476\n" "help.text" -msgid "<item type=\"input\">=DEC2HEX(100;4)</item> returns 0064." +msgid "<item type=\"input\">=DEC2HEX(100;4)</item> returns \"0064\"." msgstr "" #. FEEsf @@ -25297,14 +25279,14 @@ msgctxt "" msgid "DEC2OCT" msgstr "DEC2OCT" -#. pp9kK +#. YFNQz #: 04060115.xhp msgctxt "" "04060115.xhp\n" "par_id3153920\n" "help.text" -msgid "<ahelp hid=\"HID_AAI_FUNC_DEC2OCT\">The result is the octal number for the decimal number entered.</ahelp>" -msgstr "<ahelp hid=\"HID_AAI_FUNC_DEC2OCT\">The result is the octal number for the decimal number entered.</ahelp>" +msgid "<ahelp hid=\"HID_AAI_FUNC_DEC2OCT\">The result is the string representing the number in octal form for the number entered.</ahelp>" +msgstr "" #. 5ecSa #: 04060115.xhp @@ -25315,14 +25297,14 @@ msgctxt "" msgid "DEC2OCT(Number [; Places])" msgstr "" -#. Fa6gd +#. ciFBX #: 04060115.xhp msgctxt "" "04060115.xhp\n" "par_id3155991\n" "help.text" -msgid "<emph>Number</emph> is a decimal number. If Number is negative, the function returns an octal number with 10 characters (30 bits). The most significant bit is the sign bit, the other 29 bits return the value." -msgstr "Number: the decimal number. If <emph>Number</emph> is negative, the function returns an octal number with 10 characters (30 bits). The most significant bit is the sign bit, the other 29 bits return the value." +msgid "<emph>Number</emph> is a number. If Number is negative, the function returns an octal number string with 10 characters (30 bits). The most significant bit is the sign bit, the other 29 bits return the value." +msgstr "" #. tGXUB #: 04060115.xhp @@ -25333,13 +25315,13 @@ msgctxt "" msgid "<emph>Places</emph> means the number of places to be output." msgstr "" -#. feW6G +#. FBfKR #: 04060115.xhp msgctxt "" "04060115.xhp\n" "par_id3154317\n" "help.text" -msgid "<item type=\"input\">=DEC2OCT(100;4)</item> returns 0144." +msgid "<item type=\"input\">=DEC2OCT(100;4)</item> returns \"0144\"." msgstr "" #. xBVz4 @@ -25630,14 +25612,14 @@ msgctxt "" msgid "HEX2BIN" msgstr "HEX2BIN" -#. WoEFG +#. 9CoYr #: 04060115.xhp msgctxt "" "04060115.xhp\n" "par_id3150258\n" "help.text" -msgid "<ahelp hid=\"HID_AAI_FUNC_HEX2BIN\">The result is the binary number for the hexadecimal number entered.</ahelp>" -msgstr "<ahelp hid=\"HID_AAI_FUNC_HEX2BIN\">The result is the binary number for the hexadecimal number entered.</ahelp>" +msgid "<ahelp hid=\"HID_AAI_FUNC_HEX2BIN\">The result is the string representing the number in binary (base-2) form for the hexadecimal number string entered.</ahelp>" +msgstr "" #. S4Zyx #: 04060115.xhp @@ -25648,13 +25630,13 @@ msgctxt "" msgid "HEX2BIN(Number [; Places])" msgstr "" -#. YzMa9 +#. bSZFP #: 04060115.xhp msgctxt "" "04060115.xhp\n" "par_id3152810\n" "help.text" -msgid "<emph>Number</emph> is a hexadecimal number or a string that represents a hexadecimal number. It can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement." +msgid "<emph>Number</emph> is a string that represents a hexadecimal number. It can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement." msgstr "" #. MyDNX @@ -25666,13 +25648,13 @@ msgctxt "" msgid "<emph>Places</emph> is the number of places to be output." msgstr "" -#. 7TSNJ +#. eXJCy #: 04060115.xhp msgctxt "" "04060115.xhp\n" "par_id3156002\n" "help.text" -msgid "<item type=\"input\">=HEX2BIN(\"6a\";8)</item> returns 01101010." +msgid "<item type=\"input\">=HEX2BIN(\"6a\";8)</item> returns \"01101010\"." msgstr "" #. 8Exy5 @@ -25693,14 +25675,14 @@ msgctxt "" msgid "HEX2DEC" msgstr "HEX2DEC" -#. yXvGe +#. EEN2E #: 04060115.xhp msgctxt "" "04060115.xhp\n" "par_id3153626\n" "help.text" -msgid "<ahelp hid=\"HID_AAI_FUNC_HEX2DEC\">The result is the decimal number for the hexadecimal number entered.</ahelp>" -msgstr "<ahelp hid=\"HID_AAI_FUNC_HEX2DEC\">The result is the decimal number for the hexadecimal number entered.</ahelp>" +msgid "<ahelp hid=\"HID_AAI_FUNC_HEX2DEC\">The result is the number for the hexadecimal number string entered.</ahelp>" +msgstr "" #. mopAX #: 04060115.xhp @@ -25711,13 +25693,13 @@ msgctxt "" msgid "HEX2DEC(Number)" msgstr "HEX2DEC(Number)" -#. BZXFm +#. MUEBC #: 04060115.xhp msgctxt "" "04060115.xhp\n" "par_id3159176\n" "help.text" -msgid "<emph>Number</emph> is a hexadecimal number or a string that represents a hexadecimal number. It can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement." +msgid "<emph>Number</emph> is a string that represents a hexadecimal number. It can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement." msgstr "" #. FoRAT @@ -25747,14 +25729,14 @@ msgctxt "" msgid "HEX2OCT" msgstr "HEX2OCT" -#. XF3HE +#. VADw5 #: 04060115.xhp msgctxt "" "04060115.xhp\n" "par_id3153983\n" "help.text" -msgid "<ahelp hid=\"HID_AAI_FUNC_HEX2OCT\">The result is the octal number for the hexadecimal number entered.</ahelp>" -msgstr "<ahelp hid=\"HID_AAI_FUNC_HEX2OCT\">The result is the octal number for the hexadecimal number entered.</ahelp>" +msgid "<ahelp hid=\"HID_AAI_FUNC_HEX2OCT\">The result is the string representing the number in octal form for the hexadecimal number string entered.</ahelp>" +msgstr "" #. BoGKD #: 04060115.xhp @@ -25765,13 +25747,13 @@ msgctxt "" msgid "HEX2OCT(Number [; Places])" msgstr "" -#. 2Uff5 +#. 9wBCe #: 04060115.xhp msgctxt "" "04060115.xhp\n" "par_id3152795\n" "help.text" -msgid "<emph>Number</emph> is a hexadecimal number or a string that represents a hexadecimal number. It can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement." +msgid "<emph>Number</emph> is a string that represents a hexadecimal number. It can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement." msgstr "" #. EsZAJ @@ -25783,13 +25765,13 @@ msgctxt "" msgid "<emph>Places</emph> is the number of places to be output." msgstr "" -#. VqFYD +#. nPHCR #: 04060115.xhp msgctxt "" "04060115.xhp\n" "par_id3159341\n" "help.text" -msgid "<item type=\"input\">=HEX2OCT(\"6a\";4)</item> returns 0152." +msgid "<item type=\"input\">=HEX2OCT(\"6a\";4)</item> returns \"0152\"." msgstr "" #. J65Mw @@ -26710,14 +26692,14 @@ msgctxt "" msgid "OCT2BIN" msgstr "OCT2BIN" -#. FKG2N +#. auUtf #: 04060116.xhp msgctxt "" "04060116.xhp\n" "par_id3146898\n" "help.text" -msgid "<ahelp hid=\"HID_AAI_FUNC_OCT2BIN\">The result is the binary number for the octal number entered.</ahelp>" -msgstr "<ahelp hid=\"HID_AAI_FUNC_OCT2BIN\">The result is the binary number for the octal number entered.</ahelp>" +msgid "<ahelp hid=\"HID_AAI_FUNC_OCT2BIN\">The result is the string representing the number in binary (base-2) form for the octal number string entered.</ahelp>" +msgstr "" #. BTUGA #: 04060116.xhp @@ -26728,13 +26710,13 @@ msgctxt "" msgid "OCT2BIN(Number [; Places])" msgstr "" -#. AbzaY +#. zBe2h #: 04060116.xhp msgctxt "" "04060116.xhp\n" "par_id3156013\n" "help.text" -msgid "<emph>Number</emph> is the octal number. The number can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement." +msgid "<emph>Number</emph> is a string that represents an octal number. It can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement." msgstr "" #. is4pd @@ -26746,13 +26728,13 @@ msgctxt "" msgid "<emph>Places</emph> is the number of places to be output." msgstr "" -#. haFmp +#. Yuz4F #: 04060116.xhp msgctxt "" "04060116.xhp\n" "par_id3147260\n" "help.text" -msgid "<item type=\"input\">=OCT2BIN(3;3)</item> returns 011." +msgid "<item type=\"input\">=OCT2BIN(\"3\";3)</item> returns \"011\"." msgstr "" #. EGVvV @@ -26773,14 +26755,14 @@ msgctxt "" msgid "OCT2DEC" msgstr "OCT2DEC" -#. CG5TZ +#. gU9DP #: 04060116.xhp msgctxt "" "04060116.xhp\n" "par_id3149199\n" "help.text" -msgid "<ahelp hid=\"HID_AAI_FUNC_OCT2DEZ\">The result is the decimal number for the octal number entered.</ahelp>" -msgstr "<ahelp hid=\"HID_AAI_FUNC_OCT2DEZ\">The result is the decimal number for the octal number entered.</ahelp>" +msgid "<ahelp hid=\"HID_AAI_FUNC_OCT2DEZ\">The result is the number for the octal number string entered.</ahelp>" +msgstr "" #. UTGiF #: 04060116.xhp @@ -26791,22 +26773,22 @@ msgctxt "" msgid "OCT2DEC(Number)" msgstr "OCT2DEC(Number)" -#. r4yUA +#. FqgE4 #: 04060116.xhp msgctxt "" "04060116.xhp\n" "par_id3155326\n" "help.text" -msgid "<emph>Number</emph> is the octal number. The number can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement." +msgid "<emph>Number</emph> is a string that represents an octal number. It can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement." msgstr "" -#. ZGA97 +#. 7k2Cf #: 04060116.xhp msgctxt "" "04060116.xhp\n" "par_id3154930\n" "help.text" -msgid "<item type=\"input\">=OCT2DEC(144)</item> returns 100." +msgid "<item type=\"input\">=OCT2DEC(\"144\")</item> returns 100." msgstr "" #. BhDCE @@ -26827,14 +26809,14 @@ msgctxt "" msgid "OCT2HEX" msgstr "OCT2HEX" -#. iNB8i +#. xbBzR #: 04060116.xhp msgctxt "" "04060116.xhp\n" "par_id3148831\n" "help.text" -msgid "<ahelp hid=\"HID_AAI_FUNC_OCT2HEX\"> The result is the hexadecimal number for the octal number entered.</ahelp>" -msgstr "<ahelp hid=\"HID_AAI_FUNC_OCT2HEX\"> The result is the hexadecimal number for the octal number entered.</ahelp>" +msgid "<ahelp hid=\"HID_AAI_FUNC_OCT2HEX\">The result is the string representing the number in hexadecimal form for the octal number string entered.</ahelp>" +msgstr "" #. dvEBj #: 04060116.xhp @@ -26845,13 +26827,13 @@ msgctxt "" msgid "OCT2HEX(Number [; Places])" msgstr "" -#. XAYGj +#. ZKpN6 #: 04060116.xhp msgctxt "" "04060116.xhp\n" "par_id3159162\n" "help.text" -msgid "<emph>Number</emph> is the octal number. The number can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement." +msgid "<emph>Number</emph> is a string that represents an octal number. It can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement." msgstr "" #. fDsip @@ -26863,13 +26845,13 @@ msgctxt "" msgid "<emph>Places</emph> is the number of places to be output." msgstr "" -#. 5GCtM +#. teETk #: 04060116.xhp msgctxt "" "04060116.xhp\n" "par_id3148802\n" "help.text" -msgid "<item type=\"input\">=OCT2HEX(144;4)</item> returns 0064." +msgid "<item type=\"input\">=OCT2HEX(\"144\";4)</item> returns \"0064\"." msgstr "" #. G7UNe @@ -36313,13 +36295,13 @@ msgctxt "" msgid "This function is identical to LOGINV and was introduced for interoperability with other office suites." msgstr "" -#. AivtF +#. xAjhR #: 04060183.xhp msgctxt "" "04060183.xhp\n" "par_id2901049\n" "help.text" -msgid "LOGNORM.INV(Number [; Mean [; StDev]])" +msgid "LOGNORM.INV(Number ; Mean ; StDev)" msgstr "" #. p2y5k @@ -36331,22 +36313,22 @@ msgctxt "" msgid "<emph>Number</emph> (required) is the probability value for which the inverse standard logarithmic distribution is to be calculated." msgstr "<emph>Number</emph> is the probability value for which the inverse standard logarithmic distribution is to be calculated." -#. ip7rm +#. sFACF #: 04060183.xhp msgctxt "" "04060183.xhp\n" "par_id2901538\n" "help.text" -msgid "<emph>Mean</emph> (optional) is the arithmetic mean of the standard logarithmic distribution (defaults to 0 if omitted)." -msgstr "" +msgid "<emph>Mean</emph> (required) is the arithmetic mean of the standard logarithmic distribution." +msgstr "<emph>Mean</emph> is the arithmetic mean of the standard logarithmic distribution." -#. pPM9C +#. PZ4w5 #: 04060183.xhp msgctxt "" "04060183.xhp\n" "par_id2901355\n" "help.text" -msgid "<emph>StDev</emph> (optional) is the standard deviation of the standard logarithmic distribution (defaults to 1 if omitted)." +msgid "<emph>StDev</emph> (required) is the standard deviation of the standard logarithmic distribution." msgstr "" #. UYg6S @@ -52927,6 +52909,15 @@ msgctxt "" msgid "Technical information" msgstr "" +#. RAbtL +#: common_func.xhp +msgctxt "" +"common_func.xhp\n" +"hd_id371655560095924\n" +"help.text" +msgid "See also" +msgstr "" + #. 7AVhU #: common_func.xhp msgctxt "" diff --git a/source/gu/helpcontent2/source/text/scalc/guide.po b/source/gu/helpcontent2/source/text/scalc/guide.po index 63816fc45f0..2c17cd4c143 100644 --- a/source/gu/helpcontent2/source/text/scalc/guide.po +++ b/source/gu/helpcontent2/source/text/scalc/guide.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: 2022-06-15 22:28+0200\n" +"POT-Creation-Date: 2022-07-04 18:04+0200\n" "PO-Revision-Date: 2018-11-14 12:00+0000\n" "Last-Translator: Anonymous Pootle User\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -4993,6 +4993,141 @@ msgctxt "" msgid "You can also open the pop-up window by positioning the cell cursor at the button and pressing <switchinline select=\"sys\"><caseinline select=\"MAC\">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+D." msgstr "Copy the formula into the input line by pressing <switchinline select=\"sys\"><caseinline select=\"MAC\">Command </caseinline><defaultinline>Ctrl</defaultinline></switchinline>+C." +#. LYAEi +#: datapilot_formatting.xhp +msgctxt "" +"datapilot_formatting.xhp\n" +"tit\n" +"help.text" +msgid "Formatting Pivot Tables" +msgstr "" + +#. GkCpq +#: datapilot_formatting.xhp +msgctxt "" +"datapilot_formatting.xhp\n" +"bm_id931656104694657\n" +"help.text" +msgid "<bookmark_value>formatting;pivot tables</bookmark_value>" +msgstr "" + +#. GN6EJ +#: datapilot_formatting.xhp +msgctxt "" +"datapilot_formatting.xhp\n" +"hd_id341656099297638\n" +"help.text" +msgid "<variable id=\"h1\"><link href=\"text/scalc/guide/datapilot_formatting.xhp\" name=\"Formatting Pivot Tables\">Formatting Pivot Tables</link></variable>" +msgstr "" + +#. aA7AD +#: datapilot_formatting.xhp +msgctxt "" +"datapilot_formatting.xhp\n" +"par_id121656099297641\n" +"help.text" +msgid "You can format pivot tables cells using specific cell styles." +msgstr "" + +#. V3B9U +#: datapilot_formatting.xhp +msgctxt "" +"datapilot_formatting.xhp\n" +"par_id751656100824556\n" +"help.text" +msgid "Direct formatting of pivot tables cells is lost when updating or editing the table." +msgstr "" + +#. BX4Fw +#: datapilot_formatting.xhp +msgctxt "" +"datapilot_formatting.xhp\n" +"par_id31656100011920\n" +"help.text" +msgid "When creating a pivot table, six new cell styles are added to your document. Format each cell style as needed. The customization of the pivot cell styles will be preserved when updating the pivot table." +msgstr "" + +#. jQyBh +#: datapilot_formatting.xhp +msgctxt "" +"datapilot_formatting.xhp\n" +"par_id601656100455727\n" +"help.text" +msgid "By using cell styles for pivot table formatting, all pivot tables cells in the spreadsheet document will have the same look. In other words, the pivot table cell styles apply to all pivot tables of the document." +msgstr "" + +#. YgaMr +#: datapilot_formatting.xhp +msgctxt "" +"datapilot_formatting.xhp\n" +"par_id941656100017412\n" +"help.text" +msgid "The six cell styles are:" +msgstr "" + +#. cH3xo +#: datapilot_formatting.xhp +msgctxt "" +"datapilot_formatting.xhp\n" +"par_id181656100070568\n" +"help.text" +msgid "Pivot Table Categories" +msgstr "" + +#. GznnA +#: datapilot_formatting.xhp +msgctxt "" +"datapilot_formatting.xhp\n" +"par_id781656100074986\n" +"help.text" +msgid "Pivot Table Corner" +msgstr "" + +#. Y5UBR +#: datapilot_formatting.xhp +msgctxt "" +"datapilot_formatting.xhp\n" +"par_id311656100079561\n" +"help.text" +msgid "Pivot Table Field" +msgstr "" + +#. a2oFk +#: datapilot_formatting.xhp +msgctxt "" +"datapilot_formatting.xhp\n" +"par_id601656100083888\n" +"help.text" +msgid "Pivot Table Result" +msgstr "" + +#. JvVDa +#: datapilot_formatting.xhp +msgctxt "" +"datapilot_formatting.xhp\n" +"par_id521656100088324\n" +"help.text" +msgid "Pivot Table Value" +msgstr "" + +#. HABWX +#: datapilot_formatting.xhp +msgctxt "" +"datapilot_formatting.xhp\n" +"par_id111656100092437\n" +"help.text" +msgid "Pivot Table Title" +msgstr "" + +#. cRb6R +#: datapilot_formatting.xhp +msgctxt "" +"datapilot_formatting.xhp\n" +"par_id971656104293716\n" +"help.text" +msgid "The number format of these cell styles cannot be changed in the cell style itself; you must format it in the data source." +msgstr "" + #. CeKoE #: datapilot_grouping.xhp msgctxt "" diff --git a/source/gu/helpcontent2/source/text/shared.po b/source/gu/helpcontent2/source/text/shared.po index 7ebbe2d6794..54f662cb920 100644 --- a/source/gu/helpcontent2/source/text/shared.po +++ b/source/gu/helpcontent2/source/text/shared.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: 2022-03-21 12:31+0100\n" +"POT-Creation-Date: 2022-07-04 18:04+0200\n" "PO-Revision-Date: 2018-11-14 12:00+0000\n" "Last-Translator: Anonymous Pootle User\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -988,13 +988,13 @@ msgctxt "" msgid "<ahelp hid=\".uno:TableDesign\">Opens the Table Design. Double-click a preview to format the table.</ahelp>" msgstr "" -#. 9v87y +#. P72mU #: main0204.xhp msgctxt "" "main0204.xhp\n" "par_id3153752\n" "help.text" -msgid "<image id=\"img_id3147292\" src=\"cmd/sc_tabledesign.png\" width=\"0.222inch\" height=\"0.222inch\"><alt id=\"alt_id3147292\">Icon</alt></image>" +msgid "<image id=\"img_id3147292\" src=\"cmd/sc_tabledesign.png\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id3147292\">Icon</alt></image>" msgstr "" #. hVE8L diff --git a/source/gu/helpcontent2/source/text/shared/00.po b/source/gu/helpcontent2/source/text/shared/00.po index 13c1db07e2a..c1f3d3c85cb 100644 --- a/source/gu/helpcontent2/source/text/shared/00.po +++ b/source/gu/helpcontent2/source/text/shared/00.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: 2022-06-15 22:28+0200\n" +"POT-Creation-Date: 2022-07-04 18:04+0200\n" "PO-Revision-Date: 2018-11-14 12:00+0000\n" "Last-Translator: Anonymous Pootle User\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -2545,22 +2545,22 @@ msgctxt "" msgid "Use <menuitem>Edit - Links to External Files</menuitem> to see which files are inserted as links. The links can be removed if required. This will break the link and insert the object directly." msgstr "" -#. 6TLPo +#. LuQ5G #: 00000005.xhp msgctxt "" "00000005.xhp\n" "hd_id3154512\n" "help.text" -msgid "Number System" -msgstr "Number System" +msgid "Numeral System" +msgstr "" -#. zAoR2 +#. DCGTf #: 00000005.xhp msgctxt "" "00000005.xhp\n" "par_id3157846\n" "help.text" -msgid "A number system is determined by the number of characters available for representing numbers. The decimal system, for instance is based on the ten numbers (0..9), the binary system is based on the two numbers 0 and 1, the hexadecimal system is based on 16 characters (0...9 and A...F)." +msgid "A numeral system is determined by the number of digits available for representing numbers. The decimal system, for instance is based on the ten digits (0..9), the binary system is based on the two digits 0 and 1, the hexadecimal system is based on 16 digits (0...9 and A...F)." msgstr "" #. 3BGV7 @@ -7045,13 +7045,13 @@ msgctxt "" msgid "Choose <menuitem>File - Digital Signatures - Sign Existing PDF</menuitem>." msgstr "" -#. BT3B5 +#. sEWvE #: 00000401.xhp msgctxt "" "00000401.xhp\n" "par_id971594767600402\n" "help.text" -msgid "Choose <switchinline select=\"sys\"><caseinline select=\"MAC\"><menuitem>%PRODUCTNAME - Preferences</menuitem></caseinline><defaultinline><menuitem>Tools - Options</menuitem></defaultinline></switchinline><menuitem> - LibreOffice - Security</menuitem> and in <emph>Certificate Path</emph> area click <menuitem>Certificate</menuitem>." +msgid "Choose <switchinline select=\"sys\"><caseinline select=\"MAC\"><menuitem>%PRODUCTNAME - Preferences</menuitem></caseinline><defaultinline><menuitem>Tools - Options</menuitem></defaultinline></switchinline><menuitem> - %PRODUCTNAME - Security</menuitem> and, in the <emph>Certificate Path</emph> area, click <menuitem>Certificate</menuitem>." msgstr "" #. bjtF6 @@ -15019,13 +15019,13 @@ msgctxt "" msgid "<variable id=\"link\">Choose <menuitem>Edit - Links to External Files</menuitem>.</variable>" msgstr "" -#. ARRG5 +#. HNF2W #: edit_menu.xhp msgctxt "" "edit_menu.xhp\n" "par_id3159339\n" "help.text" -msgid "<variable id=\"linkae\">Choose <menuitem>Edit - Links to External Files - Modify...</menuitem> (DDE links only).</variable>" +msgid "<variable id=\"linkae\">Choose <menuitem>Edit - Links to External Files - Modify</menuitem> (DDE links only).</variable>" msgstr "" #. bgzTi diff --git a/source/gu/helpcontent2/source/text/shared/01.po b/source/gu/helpcontent2/source/text/shared/01.po index e575660cd01..c1aaff3667b 100644 --- a/source/gu/helpcontent2/source/text/shared/01.po +++ b/source/gu/helpcontent2/source/text/shared/01.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: 2022-06-15 22:28+0200\n" +"POT-Creation-Date: 2022-07-04 18:04+0200\n" "PO-Revision-Date: 2018-11-14 12:00+0000\n" "Last-Translator: Anonymous Pootle User\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -11077,15 +11077,6 @@ msgctxt "" msgid "<variable id=\"object_text\"><ahelp hid=\".uno:ObjectMenue\">Lets you edit a selected OLE object that you inserted from the <menuitem>Insert - OLE Object</menuitem> submenu.</ahelp></variable>" msgstr "" -#. NWE46 -#: 02200000.xhp -msgctxt "" -"02200000.xhp\n" -"par_id3153551\n" -"help.text" -msgid "<embedvar href=\"text/shared/01/04150000.xhp#oleobjecth1\"/>" -msgstr "" - #. HB6iE #: 02200000.xhp msgctxt "" @@ -11689,13 +11680,13 @@ msgctxt "" msgid "Rectangle" msgstr "લંબચોરસ" -#. FCuNA +#. BRB57 #: 02220000.xhp msgctxt "" "02220000.xhp\n" "par_id3150870\n" "help.text" -msgid "<ahelp hid=\"svx/ui/imapdialog/TBI_RECT\">Draws a rectangular hotspot where you drag in the graphic. After, you can enter the <emph>Address</emph> and the <emph>Text</emph> for the hotspot, and then select the <emph>Frame</emph> where you want the URL to open.</ahelp>" +msgid "<ahelp hid=\"svx/ui/imapdialog/TBI_RECT\">Draws a rectangular hotspot where you drag in the graphic. <variable id=\"hotspot\">After, you can enter the <menuitem>Address</menuitem> and the <menuitem>Text Alternative</menuitem> for the hotspot, and then select the <menuitem>Frame</menuitem> where you want the URL to open.</variable></ahelp>" msgstr "" #. pm6nN @@ -11725,13 +11716,13 @@ msgctxt "" msgid "Ellipse" msgstr "ઉપવલયલ" -#. vEVfe +#. LLG4d #: 02220000.xhp msgctxt "" "02220000.xhp\n" "par_id3145591\n" "help.text" -msgid "<ahelp hid=\"svx/ui/imapdialog/TBI_CIRCLE\">Draws an elliptical hotspot where you drag in the graphic. After, you can enter the <emph>Address</emph> and the <emph>Text</emph> for the hotspot, and then select the <emph>Frame</emph> where you want the URL to open.</ahelp>" +msgid "<ahelp hid=\"svx/ui/imapdialog/TBI_CIRCLE\">Draws an elliptical hotspot where you drag in the graphic. <embedvar href=\"text/shared/01/02220000.xhp#hotspot\"/></ahelp>" msgstr "" #. z8UMY @@ -11761,13 +11752,13 @@ msgctxt "" msgid "Polygon" msgstr "બહુકોણ" -#. RHLxF +#. q6PQB #: 02220000.xhp msgctxt "" "02220000.xhp\n" "par_id3153190\n" "help.text" -msgid "<ahelp hid=\"svx/ui/imapdialog/TBI_POLY\">Draws a polygonal hotspot in the graphic. Click this icon, drag in the graphic, and then click to define one side of the polygon. Move to where you want to place the end of the next side, and then click. Repeat until you have drawn all of the sides of the polygon. When you are finished, double-click to close the polygon. After, you can enter the <emph>Address</emph> and the <emph>Text</emph> for the hotspot, and then select the <emph>Frame</emph> where you want the URL to open.</ahelp>" +msgid "<ahelp hid=\"svx/ui/imapdialog/TBI_POLY\">Draws a polygonal hotspot in the graphic. Click this icon, drag in the graphic, and then click to define one side of the polygon. Move to where you want to place the end of the next side, and then click. Repeat until you have drawn all of the sides of the polygon. When you are finished, double-click to close the polygon. <embedvar href=\"text/shared/01/02220000.xhp#hotspot\"/></ahelp>" msgstr "" #. wAz5P @@ -11797,13 +11788,13 @@ msgctxt "" msgid "Freeform Polygon" msgstr "" -#. N3EgK +#. XZh5C #: 02220000.xhp msgctxt "" "02220000.xhp\n" "par_id3147046\n" "help.text" -msgid "<ahelp hid=\"svx/ui/imapdialog/TBI_FREEPOLY\">Draws a hotspot that is based on a freeform polygon. Click this icon and move to where you want to draw the hotspot. Drag a freeform line and release to close the shape. After, you can enter the <emph>Address</emph> and the <emph>Text</emph> for the hotspot, and then select the <emph>Frame</emph> where you want the URL to open.</ahelp>" +msgid "<ahelp hid=\"svx/ui/imapdialog/TBI_FREEPOLY\">Draws a hotspot that is based on a freeform polygon. Click this icon and move to where you want to draw the hotspot. Drag a freeform line and release to close the shape. <embedvar href=\"text/shared/01/02220000.xhp#hotspot\"/></ahelp>" msgstr "" #. k2wFH @@ -12085,14 +12076,14 @@ msgctxt "" msgid "<ahelp hid=\"svx/ui/imapdialog/url\">Enter the URL for the file that you want to open when you click the selected hotspot.</ahelp> If you want to jump to an anchor within the document, the address should be of the form \"file:///C:/Documents/document_name#anchor_name\"." msgstr "" -#. hLsyD +#. DDAqK #: 02220000.xhp msgctxt "" "02220000.xhp\n" "hd_id3146132\n" "help.text" -msgid "Text:" -msgstr "Text:" +msgid "Text Alternative" +msgstr "" #. ccR9n #: 02220000.xhp @@ -12229,14 +12220,14 @@ msgctxt "" msgid "<ahelp hid=\"cui/ui/cuiimapdlg/urlentry\">Enter the URL for the file that you want to open when you click the selected hotspot.</ahelp> If you want to jump to a named anchor within the current document, the address should be of the form \"file:///C:/Documents/[current_document_name]#anchor_name\"." msgstr "" -#. tiywL +#. 5rChM #: 02220100.xhp msgctxt "" "02220100.xhp\n" "hd_id3153827\n" "help.text" -msgid "Alternative text:" -msgstr "Alternative text:" +msgid "Text Alternative" +msgstr "" #. dgZr8 #: 02220100.xhp @@ -15280,23 +15271,23 @@ msgctxt "" msgid "<ahelp hid=\"cui/ui/specialcharacters/fontlb\">Select a font to display the special characters that are associated with it.</ahelp>" msgstr "" -#. BMd5F +#. WBmcn #: 04100000.xhp msgctxt "" "04100000.xhp\n" "hd_id3155555\n" "help.text" -msgid "Subset" -msgstr "Subset" +msgid "Character block" +msgstr "" -#. KeVfU +#. swAqc #: 04100000.xhp msgctxt "" "04100000.xhp\n" "par_id3145090\n" "help.text" -msgid "<ahelp hid=\"cui/ui/specialcharacters/subsetlb\">Select a Unicode category for the current font.</ahelp> The special characters for the selected Unicode category are displayed in the character table." -msgstr "<ahelp hid=\"SVX_LISTBOX_RID_SVXDLG_CHARMAP_LB_SUBSET\">Select a Unicode category for the current font.</ahelp> The special characters for the selected Unicode category are displayed in the character table." +msgid "<ahelp hid=\"cui/ui/specialcharacters/subsetlb\">Select a Unicode block for the current font.</ahelp> The special characters for the selected Unicode block are displayed in the character table." +msgstr "" #. 8EHHz #: 04100000.xhp @@ -31165,6 +31156,15 @@ msgctxt "" msgid "The anchor icon is displayed at the left page margin at the beginning of the paragraph." msgstr "The anchor icon is displayed at the left page margin at the beginning of the paragraph." +#. isPXG +#: 05260200.xhp +msgctxt "" +"05260200.xhp\n" +"par_id751654784158415\n" +"help.text" +msgid "<variable id=\"paraposition\">When a paragraph is used for positioning and the paragraph extends over more than one page or column, then positioning options that refer to a <menuitem>paragraph area</menuitem> or <menuitem>paragraph text area</menuitem> are applied only to the portion of the paragraph in the page or column where the anchor is located</variable>." +msgstr "" + #. dkCHz #: 05260300.xhp msgctxt "" @@ -31201,6 +31201,15 @@ msgctxt "" msgid "The character immediately before the anchor position is used for positioning in relation to the <menuitem>Character</menuitem> region and the <menuitem>Line of text</menuitem> reference line." msgstr "" +#. FNgjX +#: 05260300.xhp +msgctxt "" +"05260300.xhp\n" +"par_id491654784636830\n" +"help.text" +msgid "<embedvar href=\"text/shared/01/05260200.xhp#paraposition\"/>" +msgstr "" + #. CTnAd #: 05260300.xhp msgctxt "" @@ -36763,13 +36772,13 @@ msgctxt "" msgid "<ahelp hid=\".\">Click to undo the last change in the current sentence. Click again to undo the previous change in the same sentence.</ahelp>" msgstr "" -#. cs8WV +#. TwEvy #: 06010000.xhp msgctxt "" "06010000.xhp\n" "par_id101611835512800\n" "help.text" -msgid "<link href=\"text/shared/optionen/06010101.xhp\" name=\"Writing Aids\">Spelling Options</link>" +msgid "<link href=\"text/shared/01/06010101.xhp\" name=\"Writing Aids\">Spelling Options</link>" msgstr "" #. BwDHK diff --git a/source/gu/helpcontent2/source/text/shared/guide.po b/source/gu/helpcontent2/source/text/shared/guide.po index c9a082d14aa..3b419fa420c 100644 --- a/source/gu/helpcontent2/source/text/shared/guide.po +++ b/source/gu/helpcontent2/source/text/shared/guide.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: 2022-06-15 22:28+0200\n" +"POT-Creation-Date: 2022-07-04 18:04+0200\n" "PO-Revision-Date: 2018-11-14 12:00+0000\n" "Last-Translator: Anonymous Pootle User\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -6073,13 +6073,13 @@ msgctxt "" msgid "Text Delimiter" msgstr "" -#. AtZEw +#. A3NpW #: csv_params.xhp msgctxt "" "csv_params.xhp\n" "par_id131634735421911\n" "help.text" -msgid "The text delimiter as ASCII value, that is, 34 for double quotes and 39 for single quotes. Example: 34 (\")." +msgid "The text delimiter as ASCII value, like 34 for double quotes and 39 for single quotes. Example: 34 (\")." msgstr "" #. 5EFCS @@ -12139,14 +12139,14 @@ msgctxt "" msgid "Searching for Attributes" msgstr "Searching for Attributes" -#. cLjSN +#. yaCTC #: find_attributes.xhp msgctxt "" "find_attributes.xhp\n" "bm_id5681020\n" "help.text" -msgid "<bookmark_value>fonts;finding</bookmark_value><bookmark_value>font attributes;finding</bookmark_value><bookmark_value>text attributes;finding</bookmark_value><bookmark_value>attributes; finding</bookmark_value><bookmark_value>finding; attributes</bookmark_value><bookmark_value>resetting;Find & Replace mode</bookmark_value>" -msgstr "<bookmark_value>fonts;finding</bookmark_value><bookmark_value>font attributes;finding</bookmark_value><bookmark_value>text attributes;finding</bookmark_value><bookmark_value>attributes; finding</bookmark_value><bookmark_value>finding; attributes</bookmark_value><bookmark_value>resetting;Find & Replace mode</bookmark_value>" +msgid "<bookmark_value>fonts;finding</bookmark_value><bookmark_value>font attributes;finding</bookmark_value><bookmark_value>text attributes;finding</bookmark_value><bookmark_value>attributes; finding</bookmark_value><bookmark_value>Find & Replace;attributes</bookmark_value><bookmark_value>finding; attributes</bookmark_value><bookmark_value>resetting;Find & Replace mode</bookmark_value>" +msgstr "" #. 5zBUL #: find_attributes.xhp @@ -12157,6 +12157,15 @@ msgctxt "" msgid "<variable id=\"find_attributes\"><link href=\"text/shared/guide/find_attributes.xhp\">Searching for Attributes</link></variable>" msgstr "<variable id=\"find_attributes\"><link href=\"text/shared/guide/find_attributes.xhp\">Searching for Attributes</link></variable>" +#. MZvyA +#: find_attributes.xhp +msgctxt "" +"find_attributes.xhp\n" +"par_id6837672\n" +"help.text" +msgid "Searching for attributes is available in the Find & Replace dialog for text documents." +msgstr "" + #. bTzrF #: find_attributes.xhp msgctxt "" @@ -12310,15 +12319,6 @@ msgctxt "" msgid "<link href=\"text/shared/01/02100000.xhp\">Find & Replace</link> dialog" msgstr "<link href=\"text/shared/01/02100000.xhp\">Find & Replace</link> dialog" -#. MZvyA -#: find_attributes.xhp -msgctxt "" -"find_attributes.xhp\n" -"par_id6837672\n" -"help.text" -msgid "Searching for attributes is available in the Find & Replace dialog for text documents." -msgstr "" - #. mLvsv #: flat_icons.xhp msgctxt "" @@ -20572,14 +20572,14 @@ msgctxt "" msgid "The Navigator displays types of objects contained in a document. If a plus sign appears next to a category, this indicates that at least one object of this kind exists. If you rest the mouse pointer on the category name, the number of objects is displayed in an extended tip." msgstr "" -#. GD7Zi +#. AECi8 #: navigator.xhp msgctxt "" "navigator.xhp\n" "par_id3146797\n" "help.text" -msgid "Open a category by clicking on the plus sign. If you only want to view the entries in a certain category, select the category and click the <emph>Content View</emph> icon. Until you click the icon again, only the objects of this category will be displayed." -msgstr "Open a category by clicking on the plus sign. If you only want to view the entries in a certain category, select the category and click the <emph>Content View</emph> icon. Until you click the icon again, only the objects of this category will be displayed." +msgid "Open a category by clicking on the plus sign. If you only want to view the entries in a certain category, select the category and click the <emph>Content Navigation View</emph> icon. Until you click the icon again, only the objects of this category will be displayed." +msgstr "" #. dcze2 #: navigator.xhp @@ -23425,15 +23425,6 @@ msgctxt "" msgid "Not all changes are recorded. For example, the changing of a tab stop from align left to align right is not recorded. However, all usual changes made by a proofreader are recorded, such as additions, deletions, text alterations, and usual formatting." msgstr "" -#. FHNi5 -#: redlining_enter.xhp -msgctxt "" -"redlining_enter.xhp\n" -"par_id3147088\n" -"help.text" -msgid "1." -msgstr "" - #. iVqrF #: redlining_enter.xhp msgctxt "" @@ -23443,15 +23434,6 @@ msgctxt "" msgid "To start recording changes, open the document to be edited and choose <link href=\"text/shared/01/02230000.xhp\" name=\"Edit - Track Changes\"><emph>Edit - Track Changes</emph></link> and then choose <emph>Record</emph>." msgstr "" -#. 8Zaui -#: redlining_enter.xhp -msgctxt "" -"redlining_enter.xhp\n" -"par_id3154749\n" -"help.text" -msgid "2." -msgstr "" - #. mAwJ3 #: redlining_enter.xhp msgctxt "" @@ -23461,15 +23443,6 @@ msgctxt "" msgid "Now start making your changes. You will note that all new text passages that you enter are underlined in color, while all text that you delete remains visible but is crossed out and shown in color." msgstr "Now start making your changes. You will note that all new text passages that you enter are underlined in color, while all text that you delete remains visible but is crossed out and shown in color." -#. EZKTs -#: redlining_enter.xhp -msgctxt "" -"redlining_enter.xhp\n" -"par_id3152349\n" -"help.text" -msgid "3." -msgstr "" - #. FMaAw #: redlining_enter.xhp msgctxt "" diff --git a/source/gu/helpcontent2/source/text/shared/optionen.po b/source/gu/helpcontent2/source/text/shared/optionen.po index 39b51a2db79..714a70fd659 100644 --- a/source/gu/helpcontent2/source/text/shared/optionen.po +++ b/source/gu/helpcontent2/source/text/shared/optionen.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: 2022-06-09 11:50+0200\n" +"POT-Creation-Date: 2022-07-04 18:04+0200\n" "PO-Revision-Date: 2018-11-14 12:00+0000\n" "Last-Translator: Anonymous Pootle User\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -14074,13 +14074,13 @@ msgctxt "" msgid "In addition to the explicit patterns defined in the edit box, input matching the <literal>Y-M-D</literal> pattern is implicitly recognized and converted automatically to a date. Input that starts from 1 to 31 is not interpreted with this implicit Y-M-D pattern. Since %PRODUCTNAME 3.5, this input is formatted as <literal>YYYY-MM-DD</literal> (ISO 8601)." msgstr "" -#. 8FexU +#. 3GYBx #: 01140000.xhp msgctxt "" "01140000.xhp\n" "par_id391606902516870\n" "help.text" -msgid "For all patterns, two-digit year input is interpreted according to the setting in <link href=\"text/shared/optionen/01010600.html#jahreszahlen\" name=\"twodigityears\">Tools - Options - General - Year (Two Digits)</link>." +msgid "For all patterns, two-digit year input is interpreted according to the setting in <link href=\"text/shared/optionen/01010600.xhp#sectionyear2digit\" name=\"twodigityears\">Tools - Options - General - Year (Two Digits)</link>." msgstr "" #. 9RYTi diff --git a/source/gu/helpcontent2/source/text/simpress.po b/source/gu/helpcontent2/source/text/simpress.po index 95749da32d1..cbb00a895ca 100644 --- a/source/gu/helpcontent2/source/text/simpress.po +++ b/source/gu/helpcontent2/source/text/simpress.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: 2022-05-12 11:50+0200\n" +"POT-Creation-Date: 2022-07-04 18:05+0200\n" "PO-Revision-Date: 2017-10-04 11:03+0000\n" "Last-Translator: Anonymous Pootle User\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -2140,29 +2140,29 @@ msgctxt "" msgid "<link href=\"text/shared/01/06140000.xhp\" name=\"Customize\">Customize</link>" msgstr "" -#. oAFfK +#. A8xE3 #: submenu_object_shape.xhp msgctxt "" "submenu_object_shape.xhp\n" "tit\n" "help.text" -msgid "Object and Shape (Impress)" +msgid "Textbox and Shape (Impress)" msgstr "" -#. RHunz +#. HEbyL #: submenu_object_shape.xhp msgctxt "" "submenu_object_shape.xhp\n" "hd_id231615117568430\n" "help.text" -msgid "<link href=\"text/simpress/submenu_object_shape.xhp\" name=\"Object and Shape\">Object and Shape</link>" +msgid "<link href=\"text/simpress/submenu_object_shape.xhp\" name=\"Object and Shape\">Textbox and Shape</link>" msgstr "" -#. HZBpz +#. aBtgV #: submenu_object_shape.xhp msgctxt "" "submenu_object_shape.xhp\n" "par_id111615131426235\n" "help.text" -msgid "Opens a submenu to edit the properties of the selected object or shape." +msgid "Opens a submenu to edit the properties of the selected textbox or shape." msgstr "" diff --git a/source/gu/helpcontent2/source/text/simpress/04.po b/source/gu/helpcontent2/source/text/simpress/04.po index ef8b0ae971d..a9aa2f6b996 100644 --- a/source/gu/helpcontent2/source/text/simpress/04.po +++ b/source/gu/helpcontent2/source/text/simpress/04.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-01-14 18:09+0100\n" +"POT-Creation-Date: 2022-07-04 18:05+0200\n" "PO-Revision-Date: 2017-12-18 13:08+0000\n" "Last-Translator: Anonymous Pootle User\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -1735,14 +1735,14 @@ msgctxt "" msgid "Set the focus to the next/previous slide." msgstr "" -#. DTu6i +#. ECYGC #: 01020000.xhp msgctxt "" "01020000.xhp\n" "par_ii7405011\n" "help.text" -msgid "<switchinline select=\"sys\"><caseinline select=\"MAC\">Option</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Shift+Arrow Down" -msgstr "<switchinline select=\"sys\"><caseinline select=\"MAC\">Option </caseinline><defaultinline>Alt</defaultinline></switchinline> Key" +msgid "<switchinline select=\"sys\"><caseinline select=\"MAC\">Option</caseinline><defaultinline>Alt</defaultinline></switchinline>+Shift+PageDown" +msgstr "" #. bG9BL #: 01020000.xhp @@ -1753,14 +1753,14 @@ msgctxt "" msgid "Move selected slides down one position in Slide Sorter list. If you select multiple slides, they are moved together with the last selected slide in the list." msgstr "" -#. BzoeA +#. LiNpn #: 01020000.xhp msgctxt "" "01020000.xhp\n" "par_ii778527\n" "help.text" -msgid "<switchinline select=\"sys\"><caseinline select=\"MAC\">Option</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Shift+Arrow Up" -msgstr "<switchinline select=\"sys\"><caseinline select=\"MAC\">Option </caseinline><defaultinline>Alt</defaultinline></switchinline>+Shift+click" +msgid "<switchinline select=\"sys\"><caseinline select=\"MAC\">Option</caseinline><defaultinline>Alt</defaultinline></switchinline>+Shift+PageUp" +msgstr "" #. hDxiV #: 01020000.xhp @@ -1771,14 +1771,14 @@ msgctxt "" msgid "Move selected slides up one position. If you select multiple slides, they are moved together with the first selected slide in the list." msgstr "" -#. YbZLB +#. XsxyN #: 01020000.xhp msgctxt "" "01020000.xhp\n" "hd_ii3149750\n" "help.text" -msgid "<switchinline select=\"sys\"><caseinline select=\"MAC\">Command+Shift+Arrow Down</caseinline><defaultinline>Ctrl+Shift+End</defaultinline></switchinline>" -msgstr "<switchinline select=\"sys\"><caseinline select=\"MAC\">Command </caseinline><defaultinline>Ctrl</defaultinline></switchinline>+F3" +msgid "<switchinline select=\"sys\"><caseinline select=\"MAC\">Option</caseinline><defaultinline>Alt</defaultinline></switchinline>+Shift+End" +msgstr "" #. G8FUJ #: 01020000.xhp @@ -1789,14 +1789,14 @@ msgctxt "" msgid "Move selected slides to end of Slide Sorter list." msgstr "" -#. DJ9EV +#. 2zmmN #: 01020000.xhp msgctxt "" "01020000.xhp\n" "hd_ii3151030\n" "help.text" -msgid "<switchinline select=\"sys\"><caseinline select=\"MAC\">Command+Shift+Arrow Up</caseinline><defaultinline>Ctrl+Shift+Home</defaultinline></switchinline>" -msgstr "<switchinline select=\"sys\"><caseinline select=\"MAC\">Command </caseinline><defaultinline>Ctrl</defaultinline></switchinline>+F3" +msgid "<switchinline select=\"sys\"><caseinline select=\"MAC\">Option</caseinline><defaultinline>Alt</defaultinline></switchinline>+Shift+Home" +msgstr "" #. GkZA4 #: 01020000.xhp diff --git a/source/gu/helpcontent2/source/text/smath/guide.po b/source/gu/helpcontent2/source/text/smath/guide.po index 3d750f3919a..c2f4ca6db1b 100644 --- a/source/gu/helpcontent2/source/text/smath/guide.po +++ b/source/gu/helpcontent2/source/text/smath/guide.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: 2022-06-15 22:28+0200\n" +"POT-Creation-Date: 2022-07-04 18:05+0200\n" "PO-Revision-Date: 2017-05-09 23:48+0000\n" "Last-Translator: Anonymous Pootle User\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -943,15 +943,6 @@ msgctxt "" msgid "You want to insert a summation formula like \"summation of s^k from k = 0 to n\" at the cursor in a Writer text document." msgstr "" -#. kEJWp -#: limits.xhp -msgctxt "" -"limits.xhp\n" -"par_id8811304\n" -"help.text" -msgid "<embedvar href=\"text/shared/00/00000404.xhp#insert_formula\"/>" -msgstr "" - #. qAFch #: limits.xhp msgctxt "" @@ -1033,15 +1024,6 @@ msgctxt "" msgid "In the same way, you can enter an Integral formula with limits. When you click an icon from the Elements pane, the assigned text command is inserted in the input window. If you know the text commands, you can enter the commands directly in the input window." msgstr "" -#. 57GSa -#: limits.xhp -msgctxt "" -"limits.xhp\n" -"par_id5866267\n" -"help.text" -msgid "<embedvar href=\"text/shared/00/00000404.xhp#insert_formula\"/>" -msgstr "" - #. VAoyi #: limits.xhp msgctxt "" diff --git a/source/gu/helpcontent2/source/text/swriter.po b/source/gu/helpcontent2/source/text/swriter.po index 760983cbe29..cb0a96d8d94 100644 --- a/source/gu/helpcontent2/source/text/swriter.po +++ b/source/gu/helpcontent2/source/text/swriter.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: 2022-05-25 12:37+0200\n" +"POT-Creation-Date: 2022-07-04 18:05+0200\n" "PO-Revision-Date: 2018-10-21 20:17+0000\n" "Last-Translator: Anonymous Pootle User\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -2059,15 +2059,6 @@ msgctxt "" msgid "<ahelp hid=\"HID_TABLE_TOOLBOX\">The <emph>Table </emph>Bar contains functions you need when working with tables. It appears when you move the cursor into a table.</ahelp>" msgstr "<ahelp hid=\"HID_TABLE_TOOLBOX\">The <emph>Table </emph>Bar contains functions you need when working with tables. It appears when you move the cursor into a table.</ahelp>" -#. 7DJKV -#: main0204.xhp -msgctxt "" -"main0204.xhp\n" -"hd_id3147592\n" -"help.text" -msgid "<link href=\"text/shared/01/05100100.xhp\" name=\"Merge Cells\">Merge Cells</link>" -msgstr "<link href=\"text/shared/01/05200100.xhp\" name=\"Line Color\">Line Color</link>" - #. 6Rajq #: main0204.xhp msgctxt "" @@ -2086,23 +2077,23 @@ msgctxt "" msgid "<link href=\"text/swriter/01/05120500.xhp\" name=\"Delete Column\">Delete Column</link>" msgstr "<link href=\"text/swriter/01/05120500.xhp\" name=\"Delete Column\">Delete Column</link>" -#. jsTkZ +#. 7DJKV #: main0204.xhp msgctxt "" "main0204.xhp\n" -"hd_id943333820\n" +"hd_id3147592\n" "help.text" -msgid "<link href=\"text/swriter/01/05150101.xhp\" name=\"AutoFormat\">AutoFormat</link>" -msgstr "<link href=\"text/swriter/01/05150200.xhp\" name=\"AutoFormat\">AutoFormat</link>" +msgid "<link href=\"text/shared/01/05100100.xhp\" name=\"Merge Cells\">Merge Cells</link>" +msgstr "<link href=\"text/shared/01/05200100.xhp\" name=\"Line Color\">Line Color</link>" -#. 2E7uw +#. jsTkZ #: main0204.xhp msgctxt "" "main0204.xhp\n" -"hd_id947820\n" +"hd_id943333820\n" "help.text" -msgid "<link href=\"text/swriter/01/05090000.xhp\" name=\"Table Properties\">Table Properties</link>" -msgstr "<link href=\"text/swriter/01/05080000.xhp\" name=\"Object Properties\">Object Properties</link>" +msgid "<link href=\"text/swriter/01/05150101.xhp\" name=\"AutoFormat\">AutoFormat</link>" +msgstr "<link href=\"text/swriter/01/05150200.xhp\" name=\"AutoFormat\">AutoFormat</link>" #. AdtAc #: main0204.xhp diff --git a/source/gu/helpcontent2/source/text/swriter/00.po b/source/gu/helpcontent2/source/text/swriter/00.po index 63b3f978599..c3fc32cbcc4 100644 --- a/source/gu/helpcontent2/source/text/swriter/00.po +++ b/source/gu/helpcontent2/source/text/swriter/00.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: 2022-06-09 11:50+0200\n" +"POT-Creation-Date: 2022-07-04 18:05+0200\n" "PO-Revision-Date: 2018-11-14 12:00+0000\n" "Last-Translator: Anonymous Pootle User\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -1888,40 +1888,40 @@ msgctxt "" msgid "Graphics Properties" msgstr "ગ્રાફિક્સના ગુણધર્મો" -#. 7MC6H +#. DNJWW #: 00000405.xhp msgctxt "" "00000405.xhp\n" "par_id3146337\n" "help.text" -msgid "Choose <emph>Format - Image - Properties - Type</emph> tab." +msgid "Choose <menuitem>Format - Image - Properties - Position and Size</menuitem> tab." msgstr "" -#. U6rG8 +#. FCDbd #: 00000405.xhp msgctxt "" "00000405.xhp\n" "par_id3149841\n" "help.text" -msgid "Choose <emph>Format - Frame and Object - Properties - Type</emph> tab." +msgid "Choose <menuitem>Format - Frame and Object - Properties - Position and Size</menuitem> tab." msgstr "" -#. cGFGF +#. 7WVGQ #: 00000405.xhp msgctxt "" "00000405.xhp\n" "par_id3148856\n" "help.text" -msgid "Choose <emph>View - Styles</emph> - open context menu <emph>Modify/New - Type</emph> tab." +msgid "Choose <menuitem>View - Styles - Frame Styles</menuitem> - open context menu <menuitem>Modify/New - Type</menuitem> tab." msgstr "" -#. Dnq8R +#. j5nXW #: 00000405.xhp msgctxt "" "00000405.xhp\n" "par_id3147067\n" "help.text" -msgid "Choose <emph>Insert - Frame - Frame - Type</emph> tab." +msgid "Choose <menuitem>Insert - Frame - Frame - Position and Size</menuitem> tab." msgstr "" #. GVNFT @@ -2095,13 +2095,40 @@ msgctxt "" msgid "Choose <emph>Format - Character - Hyperlink</emph> tab - <emph>Events</emph> button." msgstr "" -#. KCsKj +#. PfEZC #: 00000405.xhp msgctxt "" "00000405.xhp\n" "par_id3155114\n" "help.text" -msgid "<variable id=\"formattabelle\">Choose <emph>Table - Properties</emph>.</variable>" +msgid "<variable id=\"formattable\">Choose <menuitem>Table - Properties</menuitem>.</variable>" +msgstr "" + +#. 7rYXk +#: 00000405.xhp +msgctxt "" +"00000405.xhp\n" +"par_id351656587408071\n" +"help.text" +msgid "On the <emph>Table</emph> bar (with cursor in table), click" +msgstr "" + +#. HBbyP +#: 00000405.xhp +msgctxt "" +"00000405.xhp\n" +"par_id191656586861385\n" +"help.text" +msgid "<image src=\"cmd/lc_tabledialog.svg\" id=\"img_id101656586861385\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id201656586861385\">Table Properties Icon</alt></image>" +msgstr "" + +#. aPEVQ +#: 00000405.xhp +msgctxt "" +"00000405.xhp\n" +"par_id301656586861385\n" +"help.text" +msgid "Table Properties" msgstr "" #. TBJPz diff --git a/source/gu/helpcontent2/source/text/swriter/01.po b/source/gu/helpcontent2/source/text/swriter/01.po index 0e60df96ab9..6d5a2b5c68a 100644 --- a/source/gu/helpcontent2/source/text/swriter/01.po +++ b/source/gu/helpcontent2/source/text/swriter/01.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: 2022-06-15 22:28+0200\n" +"POT-Creation-Date: 2022-07-04 18:05+0200\n" "PO-Revision-Date: 2018-10-21 20:17+0000\n" "Last-Translator: Anonymous Pootle User\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -700,13 +700,13 @@ msgctxt "" msgid "To open the Navigator, choose <menuitem>View - Navigator</menuitem> (<keycode>F5</keycode>). To move the Navigator, drag its title bar. To dock the Navigator, drag its title bar to the left, right or bottom edge of the workspace. To undock the Navigator, hold down the <switchinline select=\"sys\"><caseinline select=\"MAC\"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline> key and double-click on a grey area of the Navigator." msgstr "" -#. FqB3h +#. yfEGn #: 02110000.xhp msgctxt "" "02110000.xhp\n" "par_id3149490\n" "help.text" -msgid "Click the plus sign (<widget>+</widget>) (or arrow) next to a category in the Navigator to view the items in the category. To view the number of items in a category, rest your mouse pointer over the category in the Navigator. To jump to an item in the document, double-click the item in the Navigator." +msgid "Click the expander icon next to a category in the Navigator to view the items in the category. To view the number of items in a category, rest your mouse pointer over the category in the Navigator. To jump to an item in the document, double-click the item in the Navigator." msgstr "" #. WD2Zz @@ -718,6 +718,15 @@ msgctxt "" msgid "To jump to the next or previous item in a document, use the <emph>Navigate by</emph> box to select the item category, and then click the up or down arrows." msgstr "" +#. uDAjZ +#: 02110000.xhp +msgctxt "" +"02110000.xhp\n" +"par_id571655653825780\n" +"help.text" +msgid "The navigator shows what corresponds to the editing location in the navigator view. This can be according to different categories: Headings, Tables, Hyperlinks and so on. When the \"Content Navigation View\" button is pressed and headings are selected, the heading belonging to the current editing position is displayed and highlighted in the Navigator. When tables are selected, the associated table is displayed, and so on. If the element is located in a collapsed layer, the required layers above it are automatically expanded and remain expanded afterwards." +msgstr "" + #. 87cKG #: 02110000.xhp msgctxt "" @@ -745,22 +754,22 @@ msgctxt "" msgid "Previous" msgstr "Previous" -#. hiiuF +#. gsvDZ #: 02110000.xhp msgctxt "" "02110000.xhp\n" "par_id3148784\n" "help.text" -msgid "<ahelp hid=\".\" visibility=\"hidden\">Jumps to the previous item in the document. To specify the type of item to jump to, click the <emph>Navigation</emph> icon, and then click an item category - for example, \"Images\".</ahelp> Jump to the previous item in the document, as specified in <emph>Navigate By</emph>." +msgid "Jumps to the previous item in the document. To specify the type of item to jump to, click the <emph>Navigate By</emph> list, and then click an item category - for example, \"Images\"." msgstr "" -#. XsXdF +#. C89cM #: 02110000.xhp msgctxt "" "02110000.xhp\n" "par_id3154616\n" "help.text" -msgid "<image id=\"img_id3154622\" src=\"cmd/sc_upsearch.png\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id3154622\">Icon Previous Object</alt></image>" +msgid "<image id=\"img_id3154622\" src=\"cmd/lc_upsearch.svg\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id3154622\">Icon Previous Object</alt></image>" msgstr "" #. z3HC5 @@ -781,22 +790,22 @@ msgctxt "" msgid "Next" msgstr "આગળ" -#. x9Q24 +#. oMGbw #: 02110000.xhp msgctxt "" "02110000.xhp\n" "par_id3154028\n" "help.text" -msgid "<ahelp hid=\".\" visibility=\"hidden\">Jumps to the next item in the document. To specify the type of item to jump to, click the <link href=\"text/swriter/01/02110100.xhp\" name=\"Navigation\"><emph>Navigation</emph></link> icon, and then click an item category - for example, \"Images\".</ahelp> Jump to the next item in the document, as specified in <emph>Navigate By</emph>." +msgid "Jumps to the next item in the document. To specify the type of item to jump to, click the <emph>Navigate By</emph> list, and then click an item category - for example, \"Images\"." msgstr "" -#. 4Z9Zh +#. b29WS #: 02110000.xhp msgctxt "" "02110000.xhp\n" "par_id3150767\n" "help.text" -msgid "<image id=\"img_id3150773\" src=\"cmd/sc_downsearch.png\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id3150773\">Icon Next Object</alt></image>" +msgid "<image id=\"img_id3150773\" src=\"cmd/lc_downsearch.svg\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id3150773\">Icon Next Object</alt></image>" msgstr "" #. xyGWM @@ -826,14 +835,14 @@ msgctxt "" msgid "<ahelp hid=\"modules/swriter/ui/navigatorpanel/numericfield\">Type the number of the page that you want to jump to, and then press Enter. Use the spin buttons to navigate.</ahelp>" msgstr "" -#. w7aQ7 +#. vXqRA #: 02110000.xhp msgctxt "" "02110000.xhp\n" "hd_id3146891\n" "help.text" -msgid "Content View" -msgstr "Content View" +msgid "Content Navigation View" +msgstr "" #. gJtyF #: 02110000.xhp @@ -853,23 +862,23 @@ msgctxt "" msgid "Context menus use a selection of commands found on this help page. The commands in a context menu change, depending on which category or item is selected." msgstr "" -#. wjRi9 +#. XtZG9 #: 02110000.xhp msgctxt "" "02110000.xhp\n" "par_id3154133\n" "help.text" -msgid "<image id=\"img_id3154140\" src=\"sw/res/sc20244.png\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id3154140\">Icon Switch Content View</alt></image>" +msgid "<image id=\"img_id3154140\" src=\"sw/res/sc20244.svg\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id3154140\">Icon Switch Content Navigation View</alt></image>" msgstr "" -#. gKSBn +#. kHFkW #: 02110000.xhp msgctxt "" "02110000.xhp\n" "par_id3156067\n" "help.text" -msgid "Switch Content View" -msgstr "Switch Content View" +msgid "Switch Content Navigation View" +msgstr "" #. VkGBD #: 02110000.xhp @@ -898,13 +907,13 @@ msgctxt "" msgid "Context Menu" msgstr "" -#. JiJpY +#. EHe8u #: 02110000.xhp msgctxt "" "02110000.xhp\n" "par_id721603290925895\n" "help.text" -msgid "<image src=\"sw/res/nc20000.png\" id=\"img_id1001603290925895\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id591603290925895\">Headings Icon</alt></image>" +msgid "<image src=\"sw/res/nc20000.svg\" id=\"img_id1001603290925895\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id591603290925895\">Headings Icon</alt></image>" msgstr "" #. KF8gH @@ -1240,13 +1249,13 @@ msgctxt "" msgid "Go to, Edit, Delete" msgstr "" -#. E5dpv +#. yiuQL #: 02110000.xhp msgctxt "" "02110000.xhp\n" "par_id951603571856944\n" "help.text" -msgid "<image src=\"cmd/sc_insertdraw.png\" id=\"img_id221603571856944\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id751603571856944\">Drawing objects Icon</alt></image>" +msgid "<image src=\"cmd/lc_insertdraw.svg\" id=\"img_id221603571856944\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id751603571856944\">Drawing objects Icon</alt></image>" msgstr "" #. apAFN @@ -1321,13 +1330,13 @@ msgctxt "" msgid "<ahelp hid=\".\" visibility=\"hidden\">Switches between master view and normal view if a master document is open.</ahelp> Switches between <link href=\"text/shared/01/02110000.xhp\" name=\"master view\">master view</link> and normal view if a <link href=\"text/shared/01/01010001.xhp\" name=\"master document\">master document</link> is open." msgstr "<ahelp hid=\".\" visibility=\"hidden\">Switches between master view and normal view if a master document is open.</ahelp> Switches between <link href=\"text/shared/01/02110000.xhp\" name=\"master view\">master view</link> and normal view if a <link href=\"text/shared/01/01010001.xhp\" name=\"master document\">master document</link> is open." -#. BeyBx +#. Tutfu #: 02110000.xhp msgctxt "" "02110000.xhp\n" "par_id3150689\n" "help.text" -msgid "<image id=\"img_id3150695\" src=\"sw/res/sc20244.png\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id3150695\">Icon Toggle Master View</alt></image>" +msgid "<image id=\"img_id3150695\" src=\"sw/res/sc20244.svg\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id3150695\">Icon Toggle Master View</alt></image>" msgstr "" #. 9STbB @@ -1501,13 +1510,13 @@ msgctxt "" msgid "<variable id=\"outlinelvl\">Outline Level</variable>" msgstr "" -#. rjaS7 +#. RUGGp #: 02110000.xhp msgctxt "" "02110000.xhp\n" "par_id3153588\n" "help.text" -msgid "<image id=\"img_id3153595\" src=\"sw/res/sc20236.png\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id3153595\">Icon Outline level</alt></image>" +msgid "<image id=\"img_id3153595\" src=\"sw/res/sc20236.svg\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id3153595\">Icon Outline level</alt></image>" msgstr "" #. BrCEr @@ -1600,13 +1609,13 @@ msgctxt "" msgid "<ahelp hid=\"modules/swriter/ui/navigatorpanel/promote\">Increases the outline level of the selected heading, and the headings that occur below the heading, by one. To only increase the outline level of the selected heading, hold down <switchinline select=\"sys\"><caseinline select=\"MAC\"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline>, and then click this icon.</ahelp>" msgstr "" -#. MZCz3 +#. vnohk #: 02110000.xhp msgctxt "" "02110000.xhp\n" "par_id3155414\n" "help.text" -msgid "<image id=\"img_id3155420\" src=\"sw/res/sc20172.png\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id3155420\">Icon Promote level</alt></image>" +msgid "<image id=\"img_id3155420\" src=\"sw/res/sc20172.svg\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id3155420\">Icon Promote level</alt></image>" msgstr "" #. z6Cg8 @@ -1636,13 +1645,13 @@ msgctxt "" msgid "<ahelp hid=\"modules/swriter/ui/navigatorpanel/demote\">Decreases the outline level of the selected heading, and the headings that occur below the heading, by one. To only decrease the outline level of the selected heading, hold down <switchinline select=\"sys\"><caseinline select=\"MAC\"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline>, and then click this icon.</ahelp>" msgstr "" -#. Bb4uA +#. 6Bn49 #: 02110000.xhp msgctxt "" "02110000.xhp\n" "par_id3148414\n" "help.text" -msgid "<image id=\"img_id3148420\" src=\"sw/res/sc20173.png\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id3148420\">Icon Demote level</alt></image>" +msgid "<image id=\"img_id3148420\" src=\"sw/res/sc20173.svg\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id3148420\">Icon Demote level</alt></image>" msgstr "" #. Ydmmz @@ -1672,13 +1681,13 @@ msgctxt "" msgid "<ahelp hid=\"modules/swriter/ui/navigatorpanel/chapterup\">Moves the selected heading, and the text below the heading, up one heading position in the Navigator and in the document. To move only the selected heading and not the text associated with the heading, hold down <switchinline select=\"sys\"><caseinline select=\"MAC\"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline>, and then click this icon.</ahelp>" msgstr "" -#. ofws9 +#. 4ZbrU #: 02110000.xhp msgctxt "" "02110000.xhp\n" "par_id3153268\n" "help.text" -msgid "<image id=\"img_id3153275\" src=\"cmd/sc_upsearch.png\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id3153275\">Icon Chapter Up</alt></image>" +msgid "<image id=\"img_id3153275\" src=\"cmd/lc_upsearch.svg\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id3153275\">Icon Chapter Up</alt></image>" msgstr "" #. aTBif @@ -1708,13 +1717,13 @@ msgctxt "" msgid "<ahelp hid=\"modules/swriter/ui/navigatorpanel/chapterdown\">Moves the selected heading, and the text below the heading, down one heading position in the Navigator and in the document. To move only the selected heading and not the text associated with the heading, hold down <switchinline select=\"sys\"><caseinline select=\"MAC\"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline>, and then click this icon.</ahelp>" msgstr "" -#. xgyf2 +#. TFuFH #: 02110000.xhp msgctxt "" "02110000.xhp\n" "par_id3153768\n" "help.text" -msgid "<image id=\"img_id3150828\" src=\"cmd/sc_downsearch.png\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id3150828\">Icon Chapter down</alt></image>" +msgid "<image id=\"img_id3150828\" src=\"cmd/lc_downsearch.svg\" width=\"1cm\" height=\"1cm\"><alt id=\"alt_id3150828\">Icon Chapter down</alt></image>" msgstr "" #. rYRtE @@ -15748,6 +15757,42 @@ msgctxt "" msgid "<ahelp hid=\"cui/ui/textflowpage/checkAuto\">Automatically inserts hyphens where they are needed in a paragraph.</ahelp>" msgstr "<ahelp hid=\"cui/ui/textflowpage/checkAuto\">Automatically inserts hyphens where they are needed in a paragraph.</ahelp>" +#. gUGLi +#: 05030200.xhp +msgctxt "" +"05030200.xhp\n" +"hd_id3153921\n" +"help.text" +msgid "Don't hyphenate words in CAPS" +msgstr "" + +#. ot6Vn +#: 05030200.xhp +msgctxt "" +"05030200.xhp\n" +"par_id3154648\n" +"help.text" +msgid "<ahelp hid=\"cui/ui/textflowpage/checkNoCaps\">Don't insert hyphens in words written entirely in capital letters.</ahelp>" +msgstr "" + +#. UsYWm +#: 05030200.xhp +msgctxt "" +"05030200.xhp\n" +"hd_id3153926\n" +"help.text" +msgid "Don't hyphenate the last word" +msgstr "" + +#. UYKar +#: 05030200.xhp +msgctxt "" +"05030200.xhp\n" +"par_id3154655\n" +"help.text" +msgid "<ahelp hid=\"cui/ui/textflowpage/checkNoLastWord\">Don't insert hyphens in the last word of paragraphs.</ahelp>" +msgstr "" + #. dtYTa #: 05030200.xhp msgctxt "" @@ -15802,6 +15847,42 @@ msgctxt "" msgid "<ahelp hid=\"cui/ui/textflowpage/spinMaxNum\">Enter the maximum number of consecutive lines that can be hyphenated.</ahelp>" msgstr "<ahelp hid=\"cui/ui/textflowpage/spinMaxNum\">Enter the maximum number of consecutive lines that can be hyphenated.</ahelp>" +#. iLGFh +#: 05030200.xhp +msgctxt "" +"05030200.xhp\n" +"hd_id3149813\n" +"help.text" +msgid "Minimum word length in characters" +msgstr "" + +#. JgCQv +#: 05030200.xhp +msgctxt "" +"05030200.xhp\n" +"par_id3153548\n" +"help.text" +msgid "<ahelp hid=\"cui/ui/textflowpage/spinMinLen\">Enter the minimum word length in characters that can be hyphenated.</ahelp>" +msgstr "" + +#. K66gC +#: 05030200.xhp +msgctxt "" +"05030200.xhp\n" +"hd_id3149818\n" +"help.text" +msgid "Hyphenation zone" +msgstr "" + +#. iKBAb +#: 05030200.xhp +msgctxt "" +"05030200.xhp\n" +"par_id3153549\n" +"help.text" +msgid "<ahelp hid=\"cui/ui/textflowpage/spinHyphenZone\">To reduce hyphenation, enter the length of the hyphenation zone. Instead of the possible hyphenation, the line will break between words, if the remaining horizontal space does not exceed the hyphenation zone. Hyphenation zone results in enlarged spaces between words in justified text, and greater distance from paragraph margins in non-justified text.</ahelp>" +msgstr "" + #. RQLep #: 05030200.xhp msgctxt "" @@ -17746,14 +17827,14 @@ msgctxt "" msgid "<link href=\"text/swriter/01/05060200.xhp\" name=\"Wrap\">Wrap</link>" msgstr "<link href=\"text/swriter/01/05180000.xhp\" name=\"Wrap\">Wrap</link>" -#. LAG3M +#. 4F99V #: 05060100.xhp msgctxt "" "05060100.xhp\n" "tit\n" "help.text" -msgid "Type" -msgstr "પ્રકાર" +msgid "Position and Size" +msgstr "" #. RszD2 #: 05060100.xhp @@ -17764,22 +17845,22 @@ msgctxt "" msgid "<bookmark_value>resizing;aspect ratio</bookmark_value> <bookmark_value>aspect ratio;resizing objects</bookmark_value>" msgstr "" -#. aWPDS +#. bvUFp #: 05060100.xhp msgctxt "" "05060100.xhp\n" "hd_id3151389\n" "help.text" -msgid "<link href=\"text/swriter/01/05060100.xhp\" name=\"Type\">Type</link>" -msgstr "<link href=\"text/swriter/01/05060100.xhp\" name=\"Type\">Type</link>" +msgid "<link href=\"text/swriter/01/05060100.xhp\" name=\"Type\">Position and Size</link>" +msgstr "" -#. RtzFC +#. Uoofy #: 05060100.xhp msgctxt "" "05060100.xhp\n" "par_id3150568\n" "help.text" -msgid "<ahelp hid=\".\">Specifies the size and the position of the selected object or frame on a page.</ahelp>" +msgid "<ahelp hid=\".\">Specifies the size and the position of the selected image, frame, or OLE object on a page.</ahelp>" msgstr "" #. rmVDF @@ -18151,22 +18232,22 @@ msgctxt "" msgid "<emph>Paragraph text area:</emph> the object is positioned considering the whole width available for text in the paragraph, excluding indent spaces." msgstr "" -#. ANQo2 +#. nNF8q #: 05060100.xhp msgctxt "" "05060100.xhp\n" "par_id821629211714199\n" "help.text" -msgid "<emph>Left paragraph border:</emph> the object is positioned considering the width of the indent space available to the left of the paragraph." +msgid "<menuitem>Left of paragraph text area</menuitem>: the object is positioned in the region from the left text boundary to the first character on the left edge of the anchored paragraph text. <variable id=\"multicolumn\">For multicolumn paragraphs, the region is defined in relation to the column where the anchor is located.</variable> When the anchor is not located in the first column, then the region starts at the left column margin." msgstr "" -#. sChkG +#. AGvRF #: 05060100.xhp msgctxt "" "05060100.xhp\n" "par_id741629211714572\n" "help.text" -msgid "<emph>Right paragraph border:</emph> the object is positioned considering the width of the indent space available to the right of the paragraph." +msgid "<menuitem>Right of paragraph text area</menuitem>: the object is positioned in the region from the last character on the right edge of anchored paragraph text to the right text boundary. <embedvar href=\"text/swriter/01/05060100.xhp#multicolumn\"/> When the anchor is not located in the last column then the region ends at the right column margin." msgstr "" #. QrQHe @@ -20752,32 +20833,50 @@ msgctxt "" msgid "<link href=\"text/swriter/01/05060200.xhp\" name=\"Wrap\">Wrap</link>" msgstr "<link href=\"text/swriter/01/05180000.xhp\" name=\"Wrap\">Wrap</link>" -#. MY2d8 +#. BBXef #: 05090000.xhp msgctxt "" "05090000.xhp\n" "tit\n" "help.text" -msgid "Table Format" -msgstr "સમયનું બંધારણ" +msgid "Table Properties" +msgstr "" -#. BrWiT +#. aBGbN #: 05090000.xhp msgctxt "" "05090000.xhp\n" "hd_id3147172\n" "help.text" -msgid "Table Format" -msgstr "સમયનું બંધારણ" +msgid "<link href=\"text/swriter/01/05090000.xhp\" name=\"Table Properties\">Table Properties</link>" +msgstr "" -#. x6EiA +#. Ji6Gf #: 05090000.xhp msgctxt "" "05090000.xhp\n" "par_id3154643\n" "help.text" -msgid "<variable id=\"tabelletext\"><ahelp hid=\".uno:TableDialog\">Specifies the properties of the selected table, for example, name, alignment, spacing, column width, borders, and background.</ahelp></variable>" -msgstr "<variable id=\"tabelletext\"><ahelp hid=\".uno:TableDialog\">Specifies the properties of the selected table, for example, name, alignment, spacing, column width, borders, and background.</ahelp></variable>" +msgid "<variable id=\"tabletext\"><ahelp hid=\".uno:TableDialog\">Specifies the properties of the selected table, for example, name, alignment, spacing, column width, borders, and background.</ahelp></variable>" +msgstr "" + +#. NsR7m +#: 05090000.xhp +msgctxt "" +"05090000.xhp\n" +"hd_id891656584151327\n" +"help.text" +msgid "<link href=\"text/shared/01/05210100.xhp\" name=\"Background\">Background</link>" +msgstr "" + +#. Mt4yB +#: 05090000.xhp +msgctxt "" +"05090000.xhp\n" +"par_id561656584332142\n" +"help.text" +msgid "Set or remove color or image background for selected cells, rows, or table." +msgstr "" #. 4cCix #: 05090100.xhp @@ -23812,40 +23911,67 @@ msgctxt "" msgid "AutoCorrect for Separator Lines" msgstr "" -#. rxk4h +#. wk6vb #: 05150100.xhp msgctxt "" "05150100.xhp\n" "par_id3154105\n" "help.text" -msgid "If you type three or more hyphens (---), underscores (___) or equal signs (===) on line and then press Enter, the paragraph is replaced by a horizontal line as wide as the page. The line is actually the <link href=\"text/shared/01/05030500.xhp\" name=\"lower border\">lower border</link> of the preceding paragraph. The following rules apply:" +msgid "If you type three or more hyphens (---) or certain other characters in a row and then press Enter, the paragraph is replaced by a horizontal line as wide as the page. The line is actually the <link href=\"text/shared/01/05030500.xhp\" name=\"lower border\">lower border</link> of the preceding paragraph. The bottom padding of such a paragraph will be set to 0.75 mm. The following rules apply:" msgstr "" -#. oH5it +#. vEuXo #: 05150100.xhp msgctxt "" "05150100.xhp\n" "par_id3153530\n" "help.text" -msgid "Three hyphens (-) yield a single line (0.05 pt thick, gap 0.75 mm)." +msgid "Three hyphens (-) yield a single line (0.05 pt thick)." msgstr "" -#. sERfp +#. Psitz #: 05150100.xhp msgctxt "" "05150100.xhp\n" "par_id3154477\n" "help.text" -msgid "Three underscore (_) yield a single line (1 pt thick, gap 0.75 mm)." +msgid "Three underscores (_) yield a single line (0.75 pt thick)." msgstr "" -#. wAEup +#. AaxAD #: 05150100.xhp msgctxt "" "05150100.xhp\n" "par_id3150982\n" "help.text" -msgid "Three equal signs (=) yield a double line (1.10 pt thick, gap 0.75 mm)." +msgid "Three equal signs (=) yield a thin double line (0.75 pt thick)." +msgstr "" + +#. ShDzX +#: 05150100.xhp +msgctxt "" +"05150100.xhp\n" +"par_id621656410235262\n" +"help.text" +msgid "Three asterisk signs (*) yield a thick/thin double line (2.25 pt thick)." +msgstr "" + +#. pEUg7 +#: 05150100.xhp +msgctxt "" +"05150100.xhp\n" +"par_id861656410244737\n" +"help.text" +msgid "Three tilde signs (~) yield a thin/thick double line (2.25 pt thick)." +msgstr "" + +#. QzDCJ +#: 05150100.xhp +msgctxt "" +"05150100.xhp\n" +"par_id951656410249826\n" +"help.text" +msgid "Three hash signs (#) yield a medium double line (1.5 pt thick)." msgstr "" #. ofrX8 diff --git a/source/gu/helpcontent2/source/text/swriter/04.po b/source/gu/helpcontent2/source/text/swriter/04.po index 3fca54450bc..5dd3ebb4a2a 100644 --- a/source/gu/helpcontent2/source/text/swriter/04.po +++ b/source/gu/helpcontent2/source/text/swriter/04.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: 2022-05-04 12:42+0200\n" +"POT-Creation-Date: 2022-07-04 18:05+0200\n" "PO-Revision-Date: 2017-10-04 11:04+0000\n" "Last-Translator: Anonymous Pootle User\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -1816,14 +1816,14 @@ msgctxt "" msgid "<bookmark_value>headings; switching levels by keyboard</bookmark_value> <bookmark_value>paragraphs; moving by keyboard</bookmark_value>" msgstr "<bookmark_value>headings; switching levels by keyboard</bookmark_value><bookmark_value>paragraphs; moving by keyboard</bookmark_value>" -#. m6E2k +#. E4EEB #: 01020000.xhp msgctxt "" "01020000.xhp\n" "hd_id3150396\n" "help.text" -msgid "Shortcut Keys for Paragraphs and Heading Levels" -msgstr "Shortcut Keys for Paragraphs and Heading Levels" +msgid "Shortcut Keys for Paragraphs, List Paragraphs and Heading Levels" +msgstr "" #. AGgt5 #: 01020000.xhp @@ -1888,14 +1888,14 @@ msgctxt "" msgid "Tab" msgstr "ટેબ" -#. QeBPD +#. TRy7q #: 01020000.xhp msgctxt "" "01020000.xhp\n" "par_id3154672\n" "help.text" -msgid "The heading in format \"Heading X\" (X = 1-9) is moved down one level in the outline." -msgstr "The heading in format \"Heading X\" (X = 1-9) is moved down one level in the outline." +msgid "<variable id=\"beginning\">With the cursor positioned in front of a heading or list paragraph:</variable> The heading in format \"Heading X\" (X = 1-9) is moved down one level in the outline. For list paragraphs, the list level is moved down one level." +msgstr "" #. AuZkE #: 01020000.xhp @@ -1906,14 +1906,14 @@ msgctxt "" msgid "Shift+Tab" msgstr "Shift+Tab" -#. jQEAr +#. GEFFQ #: 01020000.xhp msgctxt "" "01020000.xhp\n" "par_id3155346\n" "help.text" -msgid "The heading in format \"Heading X\" (X = 2-10) is moved up one level in the outline." -msgstr "The heading in format \"Heading X\" (X = 2-10) is moved up one level in the outline." +msgid "<embedvar href=\"text/swriter/04/01020000.xhp#beginning\"/> The heading in format \"Heading X\" (X = 2-10) is moved up one level in the outline. For list paragraphs, the list level is moved up one level." +msgstr "" #. TL5GS #: 01020000.xhp @@ -1933,23 +1933,41 @@ msgctxt "" msgid "<bookmark_value>tab stops; before headings</bookmark_value> <bookmark_value>headings; starting with tab stops</bookmark_value>" msgstr "<bookmark_value>tab stops; before headings</bookmark_value><bookmark_value>headings; starting with tab stops</bookmark_value>" -#. Jv83V +#. omwgt #: 01020000.xhp msgctxt "" "01020000.xhp\n" "par_id3155395\n" "help.text" -msgid "At the start of a heading: Inserts a tab stop. Depending on the Window Manager in use, <switchinline select=\"sys\"><caseinline select=\"MAC\">Option</caseinline><defaultinline>Alt</defaultinline></switchinline>+Tab may be used instead." -msgstr "To create a circle by dragging from the center, press <switchinline select=\"sys\"><caseinline select=\"MAC\">Option </caseinline><defaultinline>Alt</defaultinline></switchinline> while dragging." +msgid "With the cursor placed anywhere in a heading or list paragraph: Increases the alignment for all headings. For list paragraphs, increases the alignment for all paragraphs in the same list." +msgstr "" -#. pteNr +#. HKCQQ #: 01020000.xhp msgctxt "" "01020000.xhp\n" -"par_id3149161\n" +"par_id491655382453027\n" "help.text" -msgid "To change the heading level with the keyboard, first position the cursor in front of the heading." -msgstr "To change the heading level with the keyboard, first position the cursor in front of the heading." +msgid "<switchinline select=\"sys\"><caseinline select=\"MAC\">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Shift+Tab" +msgstr "" + +#. pARCd +#: 01020000.xhp +msgctxt "" +"01020000.xhp\n" +"par_id71655381890029\n" +"help.text" +msgid "With the cursor placed anywhere in a heading or list paragraph: Decreases the alignment for all headings. For list paragraphs, decreases the alignment for all paragraphs in the same list." +msgstr "" + +#. U2tpK +#: 01020000.xhp +msgctxt "" +"01020000.xhp\n" +"par_id491655382900210\n" +"help.text" +msgid "To insert a tab at the beginning of a heading or list paragraph, use the <menuitem>Numbering followed by</menuitem> option in the <link href=\"text/shared/01/06050600.xhp\" name=\"Position\"><menuitem>Position</menuitem></link> tab in the <menuitem>Chapter Numbering</menuitem> or <menuitem>Bullets and Numbering</menuitem> dialog. Alternatively, a tab can be copied and then pasted at the beginning." +msgstr "" #. Vp3wR #: 01020000.xhp diff --git a/source/gu/helpcontent2/source/text/swriter/guide.po b/source/gu/helpcontent2/source/text/swriter/guide.po index f05d7c72ad9..cc8c3da34c5 100644 --- a/source/gu/helpcontent2/source/text/swriter/guide.po +++ b/source/gu/helpcontent2/source/text/swriter/guide.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: 2022-06-15 22:28+0200\n" +"POT-Creation-Date: 2022-07-04 18:05+0200\n" "PO-Revision-Date: 2018-11-12 13:40+0000\n" "Last-Translator: Anonymous Pootle User\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -205,6 +205,15 @@ msgctxt "" msgid "Anchors the selected object to the surrounding frame." msgstr "" +#. nuRZA +#: anchor_object.xhp +msgctxt "" +"anchor_object.xhp\n" +"par_id371654784167792\n" +"help.text" +msgid "Objects can only be positioned on the page where their anchor is located." +msgstr "" + #. J6QFR #: anchor_object.xhp msgctxt "" @@ -313,22 +322,22 @@ msgctxt "" msgid "Ensure that all heading levels are shown in the Navigator. By default all levels are shown. See steps below how to change the heading levels that are shown." msgstr "" -#. GaCQM +#. BgDZR #: arrange_chapters.xhp msgctxt "" "arrange_chapters.xhp\n" "par_id3151206\n" "help.text" -msgid "On the <emph>Standard Bar</emph>, click the <emph>Navigator</emph> icon <image id=\"img_id5211883\" src=\"cmd/sc_navigator.png\" width=\"0.566cm\" height=\"0.566cm\"><alt id=\"alt_id5211883\">Icon navigator</alt></image> to open the <emph>Navigator</emph>." +msgid "On the <emph>Standard Bar</emph>, click the <emph>Navigator</emph> icon <image id=\"img_id5211883\" src=\"cmd/sc_navigator.svg\" width=\"0.566cm\" height=\"0.566cm\"><alt id=\"alt_id5211883\">Icon navigator</alt></image> to open the <emph>Navigator</emph>." msgstr "" -#. HhGdF +#. YAQz5 #: arrange_chapters.xhp msgctxt "" "arrange_chapters.xhp\n" "par_id3151238\n" "help.text" -msgid "On the <emph>Navigator</emph>, click the <emph>Content View</emph> icon <image id=\"img_id3156338\" src=\"sw/res/sc20244.png\" width=\"0.566cm\" height=\"0.566cm\"><alt id=\"alt_id3156338\">Icon content view</alt></image>." +msgid "On the <emph>Navigator</emph>, click the <emph>Content Navigation View</emph> icon <image id=\"img_id3156338\" src=\"sw/res/sc20244.svg\" width=\"0.566cm\" height=\"0.566cm\"><alt id=\"alt_id3156338\">Icon Content Navigation View</alt></image>." msgstr "" #. 26EiK @@ -349,13 +358,13 @@ msgctxt "" msgid "Drag a heading to a new location in the <emph>Navigator</emph> list." msgstr "Drag a heading to a new location in the <emph>Navigator </emph>list." -#. NLEf7 +#. DKpTL #: arrange_chapters.xhp msgctxt "" "arrange_chapters.xhp\n" "par_id3155139\n" "help.text" -msgid "Click a heading in the <emph>Navigator</emph> list, and then click the <emph>Promote Chapter</emph> <image id=\"img_id4217546\" src=\"sw/res/sc20174.png\" width=\"0.566cm\" height=\"0.566cm\"><alt id=\"alt_id4217546\">Icon promote</alt></image> or <emph>Demote Chapter</emph> icon <image id=\"img_id6505788\" src=\"sw/res/sc20171.png\" width=\"0.566cm\" height=\"0.566cm\"><alt id=\"alt_id6505788\">Icon demote</alt></image>." +msgid "Click a heading in the <emph>Navigator</emph> list, and then click the <emph>Promote Chapter</emph> <image id=\"img_id4217546\" src=\"sw/res/sc20174.svg\" width=\"0.566cm\" height=\"0.566cm\"><alt id=\"alt_id4217546\">Icon promote</alt></image> or <emph>Demote Chapter</emph> icon <image id=\"img_id6505788\" src=\"sw/res/sc20171.svg\" width=\"0.566cm\" height=\"0.566cm\"><alt id=\"alt_id6505788\">Icon demote</alt></image>." msgstr "" #. LwGVK @@ -385,13 +394,13 @@ msgctxt "" msgid "Select the heading in the <emph>Navigator</emph> list." msgstr "Select the heading in the <emph>Navigator </emph>list." -#. rB6pS +#. tVEoq #: arrange_chapters.xhp msgctxt "" "arrange_chapters.xhp\n" "par_idN1081C\n" "help.text" -msgid "Click the <emph>Promote Level</emph> <image id=\"img_id5564488\" src=\"sw/res/sc20172.png\" width=\"0.566cm\" height=\"0.566cm\"><alt id=\"alt_id5564488\">Icon promote level</alt></image> or <emph>Demote Level</emph> icon <image id=\"img_id3159363\" src=\"sw/res/sc20173.png\" width=\"0.566cm\" height=\"0.566cm\"><alt id=\"alt_id3159363\">Icon demote level</alt></image>." +msgid "Click the <emph>Promote Level</emph> <image id=\"img_id5564488\" src=\"sw/res/sc20172.svg\" width=\"0.566cm\" height=\"0.566cm\"><alt id=\"alt_id5564488\">Icon promote level</alt></image> or <emph>Demote Level</emph> icon <image id=\"img_id3159363\" src=\"sw/res/sc20173.svg\" width=\"0.566cm\" height=\"0.566cm\"><alt id=\"alt_id3159363\">Icon demote level</alt></image>." msgstr "" #. ZFDXE @@ -9592,13 +9601,13 @@ msgctxt "" msgid "To move a numbered or bulleted list paragraph up one list level, click at the beginning of the paragraph, and then press <keycode>Shift+Tab</keycode>." msgstr "" -#. A6CtC +#. MQF2y #: insert_tab_innumbering.xhp msgctxt "" "insert_tab_innumbering.xhp\n" "par_id3153403\n" "help.text" -msgid "To insert a tab between the number or bullet and the paragraph text, click at the beginning of the paragraph, and then press <switchinline select=\"sys\"><caseinline select=\"MAC\"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline><keycode>+Tab</keycode>." +msgid "To insert a tab between the number or bullet and the paragraph text for all list paragraphs at a given list level, use the <menuitem>Numbering followed by</menuitem> option in the <link href=\"text/shared/01/06050600.xhp\" name=\"Position\"><menuitem>Position</menuitem></link> tab in the <menuitem>Bullets and Numbering</menuitem> dialog. For an individual list paragraph, a tab can be copied and then pasted at the beginning of the list paragraph." msgstr "" #. mRivm diff --git a/source/gu/helpcontent2/source/text/swriter/librelogo.po b/source/gu/helpcontent2/source/text/swriter/librelogo.po index c7fe12b5d88..f12fb783b16 100644 --- a/source/gu/helpcontent2/source/text/swriter/librelogo.po +++ b/source/gu/helpcontent2/source/text/swriter/librelogo.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-06-04 13:10+0200\n" +"POT-Creation-Date: 2022-07-04 18:05+0200\n" "PO-Revision-Date: 2017-05-07 23:04+0000\n" "Last-Translator: Anonymous Pootle User\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -529,13 +529,13 @@ msgctxt "" msgid "Program lines" msgstr "" -#. zMJN5 +#. HAgWc #: LibreLogo.xhp msgctxt "" "LibreLogo.xhp\n" "par_750\n" "help.text" -msgid "Lines of a LibreLogo program are paragraphs in the LibreOffice Writer document. A program line can contain multiple commands:" +msgid "Lines of a LibreLogo program are paragraphs in the Writer document. A program line can contain multiple commands:" msgstr "" #. BPLNJ @@ -1393,13 +1393,13 @@ msgctxt "" msgid "; PICTURE [ LibreLogo_commands ]<br/> PICTURE [ FORWARD 100 CIRCLE 100 ] ; tree-like grouped shape<br/>" msgstr "" -#. nDGqA +#. GYSXb #: LibreLogo.xhp msgctxt "" "LibreLogo.xhp\n" "par_1580\n" "help.text" -msgid "See also “Group” in LibreOffice Writer Help." +msgid "See also “Group” in %PRODUCTNAME Writer Help." msgstr "" #. zjatC diff --git a/source/gu/officecfg/registry/data/org/openoffice/Office.po b/source/gu/officecfg/registry/data/org/openoffice/Office.po index 2c3e19808e7..5d47b0f0212 100644 --- a/source/gu/officecfg/registry/data/org/openoffice/Office.po +++ b/source/gu/officecfg/registry/data/org/openoffice/Office.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-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-02-05 18:59+0100\n" +"POT-Creation-Date: 2022-07-04 18:05+0200\n" "PO-Revision-Date: 2018-11-12 11:50+0000\n" "Last-Translator: Anonymous Pootle User\n" "Language-Team: Gujarati <>\n" @@ -2195,6 +2195,26 @@ msgctxt "" msgid "Switches monitors" msgstr "" +#. BFFQU +#: PresenterScreen.xcu +msgctxt "" +"PresenterScreen.xcu\n" +"..PresenterScreen.PresenterScreenSettings.HelpView.HelpStrings.z\n" +"Left\n" +"value.text" +msgid "Ctrl-'A'" +msgstr "" + +#. GnAKF +#: PresenterScreen.xcu +msgctxt "" +"PresenterScreen.xcu\n" +"..PresenterScreen.PresenterScreenSettings.HelpView.HelpStrings.z\n" +"Right\n" +"value.text" +msgid "Turn off pointer as pen mode" +msgstr "" + #. EMh4x #: PresenterScreen.xcu msgctxt "" diff --git a/source/gu/oox/messages.po b/source/gu/oox/messages.po index 58a57c41deb..cd172a6e23f 100644 --- a/source/gu/oox/messages.po +++ b/source/gu/oox/messages.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-01-19 13:13+0100\n" +"POT-Creation-Date: 2022-07-04 18:05+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -25,6 +25,12 @@ msgctxt "STR_DIAGRAM_AXISTITLE" msgid "Axis Title" msgstr "" +#. p8GEE +#: oox/inc/strings.hrc:17 +msgctxt "STR_SLIDE_NAME" +msgid "Slide" +msgstr "" + #. wH3TZ msgctxt "stock" msgid "_Add" diff --git a/source/gu/sc/messages.po b/source/gu/sc/messages.po index 12316a8de49..ede71626e65 100644 --- a/source/gu/sc/messages.po +++ b/source/gu/sc/messages.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: 2022-06-09 11:50+0200\n" +"POT-Creation-Date: 2022-07-04 18:05+0200\n" "PO-Revision-Date: 2018-11-12 11:50+0000\n" "Last-Translator: Anonymous Pootle User\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -32742,12 +32742,11 @@ msgctxt "textimportcsv|textcharset" msgid "Ch_aracter set:" msgstr "અક્ષર સમૂહ (_a)" -#. 8Gbou +#. KCJnJ #: sc/uiconfig/scalc/ui/textimportcsv.ui:133 -#, fuzzy msgctxt "textimportcsv|textlanguage" -msgid "_Language:" -msgstr "ભાષા (_L)" +msgid "_Locale:" +msgstr "" #. GAQTV #: sc/uiconfig/scalc/ui/textimportcsv.ui:147 @@ -33043,12 +33042,11 @@ msgctxt "textimportoptions|automatic" msgid "Automatic" msgstr "આપોઆપ" -#. FMRA7 +#. oMBob #: sc/uiconfig/scalc/ui/textimportoptions.ui:148 -#, fuzzy msgctxt "textimportoptions|label2" -msgid "Select the Language to Use for Import" -msgstr "આયાત માટે વાપરવા માટે ભાષાને પસંદ કરો" +msgid "Select the Locale to Use for Import" +msgstr "" #. iRYr7 #: sc/uiconfig/scalc/ui/textimportoptions.ui:169 diff --git a/source/gu/sd/messages.po b/source/gu/sd/messages.po index ba459f5c8a8..cf6a01f1791 100644 --- a/source/gu/sd/messages.po +++ b/source/gu/sd/messages.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: 2022-06-09 11:51+0200\n" +"POT-Creation-Date: 2022-07-04 18:05+0200\n" "PO-Revision-Date: 2018-11-12 11:50+0000\n" "Last-Translator: Anonymous Pootle User\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -5486,11 +5486,11 @@ msgctxt "customslideshows|startshow" msgid "_Start" msgstr "શરુ (_S)" -#. ccH7R +#. JZ8B7 #: sd/uiconfig/simpress/ui/customslideshows.ui:54 msgctxt "customslideshows|extended_tip|startshow" -msgid "Runs the slide show. Ensure that Use Custom Slide Show is selected if you want to run a custom presentation." -msgstr "Runs the slide show. Ensure that Use Custom Slide Show is selected if you want to run a custom presentation." +msgid "Runs the slide show. Ensure that a custom slide show is selected if you want to run a custom presentation." +msgstr "" #. jiFoQ #: sd/uiconfig/simpress/ui/customslideshows.ui:73 diff --git a/source/gu/svtools/messages.po b/source/gu/svtools/messages.po index afc12f03001..5dc74b3b086 100644 --- a/source/gu/svtools/messages.po +++ b/source/gu/svtools/messages.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: 2022-06-10 13:58+0200\n" +"POT-Creation-Date: 2022-07-04 18:05+0200\n" "PO-Revision-Date: 2018-11-14 11:38+0000\n" "Last-Translator: Anonymous Pootle User\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -5891,14 +5891,20 @@ msgctxt "restartdialog|reason_mscompatible_formsmenu" msgid "For restructuring the Form menu, %PRODUCTNAME must be restarted." msgstr "" -#. weAzr +#. yojAQ #: svtools/uiconfig/ui/restartdialog.ui:280 +msgctxt "restartdialog|reason_save" +msgid "For the modified save settings to take effect, %PRODUCTNAME must be restarted." +msgstr "" + +#. weAzr +#: svtools/uiconfig/ui/restartdialog.ui:295 msgctxt "restartdialog|label" msgid "Do you want to restart %PRODUCTNAME now?" msgstr "શું તમે હવે %PRODUCTNAME ને પુન:શરૂ કરવા માંગો છો?" #. fpc8k -#: svtools/uiconfig/ui/restartdialog.ui:294 +#: svtools/uiconfig/ui/restartdialog.ui:309 msgctxt "restartdialog|reason_skia" msgid "For the Skia changes to take effect, %PRODUCTNAME must be restarted." msgstr "" diff --git a/source/gu/svx/messages.po b/source/gu/svx/messages.po index 5a037f51c84..a8e5b82e68a 100644 --- a/source/gu/svx/messages.po +++ b/source/gu/svx/messages.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: 2022-06-15 22:28+0200\n" +"POT-Creation-Date: 2022-07-04 18:05+0200\n" "PO-Revision-Date: 2020-05-20 11:23+0000\n" "Last-Translator: sophie <gautier.sophie@gmail.com>\n" "Language-Team: Gujarati <https://weblate.documentfoundation.org/projects/libo_ui-master/svxmessages/gu/>\n" @@ -14549,11 +14549,11 @@ msgctxt "datanavigator|modelsedit" msgid "_Edit..." msgstr "ફેરફાર (_E)..." -#. kPjSf +#. 7r8CE #: svx/uiconfig/ui/datanavigator.ui:91 msgctxt "datanavigator|extended_tip|modelsedit" -msgid "Renames the selected Xform model." -msgstr "Renames the selected Xform model." +msgid "Renames the selected XForms model." +msgstr "" #. VqB4m #: svx/uiconfig/ui/datanavigator.ui:100 @@ -18310,10 +18310,10 @@ msgctxt "extended_tip|mtrflddrawx" msgid "Defines the unit of measure for the spacing between grid points on the X-axis." msgstr "" -#. fPCcF +#. ViHxf #: svx/uiconfig/ui/optgridpage.ui:176 msgctxt "extended_tip|mtrflddrawy" -msgid "Defines the grid points spacing in the desired unit of measurement on the Y-axis." +msgid "Defines the grid points spacing in the currently selected unit of measurement on the Y-axis." msgstr "" #. LEFVP diff --git a/source/gu/sw/messages.po b/source/gu/sw/messages.po index ecfd5605a0f..5622c739e72 100644 --- a/source/gu/sw/messages.po +++ b/source/gu/sw/messages.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: 2022-06-15 22:29+0200\n" +"POT-Creation-Date: 2022-07-04 18:05+0200\n" "PO-Revision-Date: 2018-11-14 11:38+0000\n" "Last-Translator: Anonymous Pootle User\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -11091,10 +11091,10 @@ msgctxt "autoformattable|numformatcb" msgid "Number format" msgstr "નંબર બંધારણ" -#. yPuEA +#. BXsZr #: sw/uiconfig/swriter/ui/autoformattable.ui:298 msgctxt "autoformattable|extended_tip|numformatcb" -msgid "Includes numbering formats in the selected table style." +msgid "Includes number formats in the selected table style." msgstr "" #. 6jMct @@ -14274,11 +14274,11 @@ msgctxt "envformatpage|extended_tip|height" msgid "Enter the height of the envelope." msgstr "Enter the height of the envelope." -#. g3nMo +#. oi8DL #: sw/uiconfig/swriter/ui/envformatpage.ui:608 msgctxt "envformatpage|extended_tip|format" -msgid "Select the envelope size that want, or select \"User Defined\", and then enter the width and the height of the custom size." -msgstr "Select the envelope size that want, or select \"User Defined\", and then enter the width and the height of the custom size." +msgid "Select the envelope size that you want, or select \"User Defined\", and then enter the width and the height of the custom size." +msgstr "" #. 6nRvd #: sw/uiconfig/swriter/ui/envformatpage.ui:629 @@ -18646,11 +18646,11 @@ msgctxt "labeloptionspage|label4" msgid "Colu_mn" msgstr "સ્તંભ (_m)" -#. rg2vY +#. tEZv9 #: sw/uiconfig/swriter/ui/labeloptionspage.ui:119 msgctxt "labeloptionspage|extended_tip|cols" -msgid "Enter the number of labels or business cards that you want to have in a row on your page." -msgstr "Enter the number of labels or business cards that you want to have in a row on your page." +msgid "Select the column in which you want to place your single label or business card." +msgstr "" #. 9xfPc #: sw/uiconfig/swriter/ui/labeloptionspage.ui:144 @@ -18658,11 +18658,11 @@ msgctxt "labeloptionspage|label5" msgid "Ro_w" msgstr "હરોળ (_w) " -#. Td3uW +#. oZjd2 #: sw/uiconfig/swriter/ui/labeloptionspage.ui:163 msgctxt "labeloptionspage|extended_tip|rows" -msgid "Enter the number of rows of labels or business cards that you want to have on your page." -msgstr "Enter the number of rows of labels or business cards that you want to have on your page." +msgid "Select the row in which you want to place your single label or business card." +msgstr "" #. dPmJF #: sw/uiconfig/swriter/ui/labeloptionspage.ui:186 @@ -24273,16 +24273,16 @@ msgctxt "opttablepage|label4" msgid "Move cells" msgstr "ખાનાંઓ ખસેડો" -#. ycXkN +#. vc4NR #: sw/uiconfig/swriter/ui/opttablepage.ui:453 msgctxt "extended_tip|rowmove" -msgid "Specifies the value to be used for moving a row." +msgid "Specifies the step size value when moving a row with the keyboard." msgstr "" -#. mikqQ +#. EBmAX #: sw/uiconfig/swriter/ui/opttablepage.ui:472 msgctxt "extended_tip|colmove" -msgid "Specifies the value to be used for moving a column." +msgid "Specifies the step size value when moving a column with the keyboard." msgstr "" #. bmvCF @@ -27697,10 +27697,10 @@ msgctxt "splittable|customheading" msgid "Custom heading" msgstr "વૈવિધ્ય શીર્ષક" -#. HHsCK +#. muzaG #: sw/uiconfig/swriter/ui/splittable.ui:141 msgctxt "splittable|extended_tip|customheading" -msgid "Inserts an additional blank row in the second table." +msgid "Inserts an additional header row in the second table." msgstr "" #. hiwak @@ -29335,11 +29335,11 @@ msgctxt "tocentriespage|reltostyle" msgid "Tab position relati_ve to paragraph style indent" msgstr "" -#. FEBq7 +#. KYGMo #: sw/uiconfig/swriter/ui/tocentriespage.ui:754 msgctxt "tocentriespage|extended_tip|reltostyle" -msgid "Positions the tab stop relative to the \"indent from left\" value defined in the paragraph style selected on the Styles tab. Otherwise the tab stop is positioned relative to the left text margin." -msgstr "Positions the tab stop relative to the \"indent from left\" value defined in the paragraph style selected on the Styles tab. Otherwise the tab stop is positioned relative to the left text margin." +msgid "Positions the tab stop relative to the \"before the text\" indent value defined in the paragraph style selected on the Styles tab. Otherwise the tab stop is positioned relative to the left text margin." +msgstr "" #. pmiey #: sw/uiconfig/swriter/ui/tocentriespage.ui:766 -- cgit