summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2021-06-12 08:05:02 +0200
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2021-06-12 08:40:43 +0200
commitc13c0567cc458e30b2947110f5a76015f52b4200 (patch)
tree4fae77bac41b7ce753db44ce7162f4682832ab7e
parentCreate introductory ScriptForge help page (diff)
downloadhelp-c13c0567cc458e30b2947110f5a76015f52b4200.tar.gz
help-c13c0567cc458e30b2947110f5a76015f52b4200.zip
Fix typos
Change-Id: If1fce3d46d1b26408fc4557c426c18ace6c07277 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/117076 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rw-r--r--source/text/sbasic/shared/03/sf_intro.xhp4
-rw-r--r--source/text/simpress/01/bulletandposition.xhp2
2 files changed, 3 insertions, 3 deletions
diff --git a/source/text/sbasic/shared/03/sf_intro.xhp b/source/text/sbasic/shared/03/sf_intro.xhp
index 525e2680d..693014d23 100644
--- a/source/text/sbasic/shared/03/sf_intro.xhp
+++ b/source/text/sbasic/shared/03/sf_intro.xhp
@@ -63,7 +63,7 @@
<h3 id="hd_id111623365861568">Using the APSO extension</h3>
<paragraph role="paragraph" id="par_id681623365892513">The easiest way to get started with Python scripting in %PRODUCTNAME is by installing the APSO extension. After installing it, open any %PRODUCTNAME component and go to <menuitem>Tools - Macros - Organize Python Scripts</menuitem>.</paragraph>
<paragraph role="paragraph" id="par_id111623366334727">In APSO's main window go to <menuitem>Menu - Python Shell</menuitem>.</paragraph>
- <tip id="par_id931623366329927">Alternativelly you can open APSO using the default shortcut <keycode>Alt + Shift + F11</keycode>.</tip>
+ <tip id="par_id931623366329927">Alternatively you can open APSO using the default shortcut <keycode>Alt + Shift + F11</keycode>.</tip>
<paragraph role="paragraph" id="par_id661623366478092">Now you can start typing Python commands and the shell will print the corresponding output after each line of code is executed.</paragraph>
<paragraph role="paragraph" id="par_id581623366559478">To start using the <literal>ScriptForge</literal> library, you need to import the <literal>CreateScriptService</literal> method, with which you will be able to access the services provided by the library. The example below uses the <literal>Basic</literal> service to display a message box.</paragraph>
<pycode>
@@ -72,7 +72,7 @@
<paragraph role="pycode" localize="false" id="pyc_id561623366689495">bas.MsgBox("Hello!")</paragraph>
</pycode>
<paragraph role="paragraph" id="par_id701623366829587">To run the example above, enter each line in the Python shell, one by one, pressing the Enter key after you type each line of code.</paragraph>
- <paragraph role="paragraph" id="par_id471623366906045">Now you can start executing Python commands using any of the ScriptForge services. For example, the code snippet bellow uses the <literal>UI</literal> service to create a blank writer document.</paragraph>
+ <paragraph role="paragraph" id="par_id471623366906045">Now you can start executing Python commands using any of the ScriptForge services. For example, the code snippet below uses the <literal>UI</literal> service to create a blank writer document.</paragraph>
<pycode>
<paragraph role="pycode" localize="false" id="pyc_id331623367002488">ui = CreateScriptService("UI")</paragraph>
<paragraph role="pycode" localize="false" id="pyc_id501623367002935">doc = ui.CreateDocument("Writer")</paragraph>
diff --git a/source/text/simpress/01/bulletandposition.xhp b/source/text/simpress/01/bulletandposition.xhp
index def965ee8..28b864a68 100644
--- a/source/text/simpress/01/bulletandposition.xhp
+++ b/source/text/simpress/01/bulletandposition.xhp
@@ -82,7 +82,7 @@
<h3 id="hd_id351623265267695">Selection</h3>
<paragraph role="paragraph" id="par_id821623272290885">Applies the modification to the selection.</paragraph>
<h3 id="hd_id141623265272187">Apply to Master</h3>
-<paragraph role="paragraph" id="par_id31623272423870">Click to apply the the modification to all <switchinline select="appl"><caseinline select="IMPRESS">slides</caseinline><defaultinline>pages</defaultinline></switchinline> that use the current master <switchinline select="appl"><caseinline select="IMPRESS">slide</caseinline><defaultinline>page</defaultinline></switchinline>.</paragraph>
+<paragraph role="paragraph" id="par_id31623272423870">Click to apply the modification to all <switchinline select="appl"><caseinline select="IMPRESS">slides</caseinline><defaultinline>pages</defaultinline></switchinline> that use the current master <switchinline select="appl"><caseinline select="IMPRESS">slide</caseinline><defaultinline>page</defaultinline></switchinline>.</paragraph>
<embed href="text/shared/00/00000001.xhp#preview"/>
<section id="relatedtopics">
<embed href="text/shared/01/06050600.xhp#positionh1"/>