diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2021-01-12 14:08:51 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2021-01-12 17:42:51 +0100 |
commit | 75c9e1fd0d4516a4bbe2a513d4a123049c92934b (patch) | |
tree | 9c42f2a188c929c55ceddad719021aeb3d51a8d1 | |
parent | Use switches for Ctrl vs. Command on macOS (diff) | |
download | help-75c9e1fd0d4516a4bbe2a513d4a123049c92934b.tar.gz help-75c9e1fd0d4516a4bbe2a513d4a123049c92934b.zip |
Fix typos
Change-Id: I232cd6b08484abea225560cfe96bd30166394dc7
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/109170
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r-- | source/text/sbasic/shared/03/sf_dictionary.xhp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/text/sbasic/shared/03/sf_dictionary.xhp b/source/text/sbasic/shared/03/sf_dictionary.xhp index e540d9c73f..5ac5d79535 100644 --- a/source/text/sbasic/shared/03/sf_dictionary.xhp +++ b/source/text/sbasic/shared/03/sf_dictionary.xhp @@ -210,7 +210,7 @@ <paragraph role="bascode" localize="false" id="bas_id491601296836271">myDict.ConvertToJson([Indent As Variant]) As String</paragraph> </bascode> <h3 id="hd_id1001601296836123" localize="false"><embedvar href="text/sbasic/shared/00000003.xhp#functparameters"/></h3> - <paragraph role="paragraph" id="par_id8816012968362"><emph>Indent</emph> : When <literal>Indent</literal> is a positive number or a text, JSON array elements and object members are pretty-printed with that indentation level. A negative <literal>Indent</literal> value will add new lines with no identation. <literal>Indent</literal> default value "" selects the most compact representation. Using a positive integer for <literal>Indent</literal> indents that many spaces per level. When <literal>Indent</literal> is a string, such as <literal>Chr(9)</literal> or <literal>Tab(1)</literal>, the Tab character is used to indent each level.</paragraph> + <paragraph role="paragraph" id="par_id8816012968362"><emph>Indent</emph> : When <literal>Indent</literal> is a positive number or a text, JSON array elements and object members are pretty-printed with that indentation level. A negative <literal>Indent</literal> value will add new lines with no indentation. <literal>Indent</literal> default value "" selects the most compact representation. Using a positive integer for <literal>Indent</literal> indents that many spaces per level. When <literal>Indent</literal> is a string, such as <literal>Chr(9)</literal> or <literal>Tab(1)</literal>, the Tab character is used to indent each level.</paragraph> <h3 id="hd_id19160129683665" localize="false"><embedvar href="text/sbasic/shared/00000003.xhp#functexample"/></h3> <bascode> <paragraph role="bascode" localize="false" id="bas_id671601298281962">myDict.Add("p0", 12.5)</paragraph> @@ -240,7 +240,7 @@ <bascode> <paragraph role="bascode" localize="false" id="bas_id81610393124521">Dim myDict as Variant</paragraph> <paragraph role="bascode" localize="false" id="bas_id971610393127816">myDict = CreateScriptService("Dictionary")</paragraph> - <paragraph role="bascode" localize="false" id="bas_id531610393130289">'Adds some properties to the dictonary</paragraph> + <paragraph role="bascode" localize="false" id="bas_id531610393130289">'Adds some properties to the dictionary</paragraph> <paragraph role="bascode" localize="false" id="bas_id711610393132877">myDict.Add("Color", "Blue")</paragraph> <paragraph role="bascode" localize="false" id="bas_id681610393135354">myDict.Add("Width", 20)</paragraph> <paragraph role="bascode" localize="false" id="bas_id571610393137959">'Converts to an Array of PropertyValue objects</paragraph> @@ -267,7 +267,7 @@ <bascode> <paragraph role="bascode" localize="false" id="bas_id741582889812919">Dim myDict as Variant</paragraph> <paragraph role="bascode" localize="false" id="bas_id471582889812919">myDict = CreateScriptService("Dictionary")</paragraph> - <paragraph role="bascode" localize="false" id="bas_id811606485130666">'Adds some properties to the dictonary</paragraph> + <paragraph role="bascode" localize="false" id="bas_id811606485130666">'Adds some properties to the dictionary</paragraph> <paragraph role="bascode" localize="false" id="bas_id391610393640781">myDict.Add("Color", "Blue")</paragraph> <paragraph role="bascode" localize="false" id="bas_id891610393643755">myDict.Add("Width", 20)</paragraph> <paragraph role="bascode" localize="false" id="bas_id531610393646186">'(...)</paragraph> @@ -439,7 +439,7 @@ <paragraph role="bascode" localize="false" id="bas_id351582896597447">myDict.ReplaceKey(Key As String, Value As String) As Boolean</paragraph> </bascode> <h3 id="hd_id791582896597306" localize="false"><embedvar href="text/sbasic/shared/00000003.xhp#functparameters"/></h3> - <paragraph role="paragraph" id="par_id911582896597619"><emph>Key</emph> : String value representing the key to be be replaced. Not case-sensitive. If the key does not exist in the dictionary, a <literal>UNKNOWNKEYERROR</literal> error is raised.</paragraph> + <paragraph role="paragraph" id="par_id911582896597619"><emph>Key</emph> : String value representing the key to be replaced. Not case-sensitive. If the key does not exist in the dictionary, a <literal>UNKNOWNKEYERROR</literal> error is raised.</paragraph> <paragraph role="paragraph" id="par_id531582896597989"><emph>Value</emph> : String value for the new key. Not case-sensitive. If the new key already exists in the dictionary, a <literal>DUPLICATEKEYERROR</literal> error is raised.</paragraph> <h3 id="hd_id931582896597782" localize="false"><embedvar href="text/sbasic/shared/00000003.xhp#functexample"/></h3> <bascode> |