source/text/sbasic/shared/03/sf_dictionary.xhp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit 75c9e1fd0d4516a4bbe2a513d4a123049c92934b Author: Andrea Gelmini <[email protected]> AuthorDate: Tue Jan 12 14:08:51 2021 +0100 Commit: Julien Nabet <[email protected]> CommitDate: Tue Jan 12 17:42:51 2021 +0100 Fix typos Change-Id: I232cd6b08484abea225560cfe96bd30166394dc7 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/109170 Reviewed-by: Rafael Lima <[email protected]> Reviewed-by: Julien Nabet <[email protected]> Tested-by: Julien Nabet <[email protected]> diff --git a/source/text/sbasic/shared/03/sf_dictionary.xhp b/source/text/sbasic/shared/03/sf_dictionary.xhp index e540d9c73..5ac5d7953 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> _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
