source/text/sbasic/python/python_2_basic.xhp |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit deb9f4e0f5fdef43501b4fe4036327a313fc3674
Author:     LibreOfficiant <libreoffici...@sfr.fr>
AuthorDate: Mon Jul 15 12:50:48 2019 +0200
Commit:     Olivier Hallot <olivier.hal...@libreoffice.org>
CommitDate: Tue Jul 16 00:31:16 2019 +0200

    Typo
    
    Change-Id: I854c7a4112eda552122fa37f15bcf9752ad302ae
    Reviewed-on: https://gerrit.libreoffice.org/75627
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/source/text/sbasic/python/python_2_basic.xhp 
b/source/text/sbasic/python/python_2_basic.xhp
index 7be490b75..19c10e5df 100644
--- a/source/text/sbasic/python/python_2_basic.xhp
+++ b/source/text/sbasic/python/python_2_basic.xhp
@@ -30,13 +30,13 @@
                 <paragraph role="paragraph" id="N0336"> The %PRODUCTNAME 
Application Programming Interface (API) Scripting Framework supports 
inter-language script execution between Python and Basic, or other supported 
programming languages for that matter. Arguments can be passed back and fourth 
across calls, providing they represent primitives data types that both 
languages recognize, and assuming that the Scripting Framework converts them 
appropriately.</paragraph>
          </section>
          <tip id="N0337">It is recommended to have knowledge of Python 
standard modules and %PRODUCTNAME API features prior to perform inter-language 
calls from Python to Basic, JavaScript or any other script engine.</tip>
-         <warning id="N0338">When running Python scripts from an Integrated 
Development Environment (IDE), the %PRODUCTNAME nested Basic engine is absent. 
Avoid Python to %PRODUCTNAME Basic calls in this context. However Python 
environment and Universal Networks Objects (UNO) are fully available. Refer to 
<link href="text/sbasic/python/python_ide.xhp" name ="external">Setting Up an 
Integrated IDE for Python</link> for more information.</warning>
+         <warning id="N0338">When running Python scripts from an Integrated 
Development Environment (IDE), the %PRODUCTNAME nested Basic engine is absent. 
Avoid Python to %PRODUCTNAME Basic calls in this context. However Python 
environment and Universal Networks Objects (UNO) are fully available. Refer to 
<link href="text/sbasic/python/python_ide.xhp" name ="Setting Up an Integrated 
IDE for Python">Setting Up an Integrated IDE for Python</link> for more 
information.</warning>
          <h2 id="N0339">Retrieving %PRODUCTNAME Basic Scripts</h2>
-         <paragraph role="paragraph" id="N0340">%PRODUCTNAME Basic macros can 
be personal, shared, or embedded in documents. In order to execute them, Python 
run time needs to be provided with Basic macro locations. Implementing the 
<link 
href="https://api.libreoffice.org/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1script_1_1provider_1_1XScript.html";
 name ="external">com.sun.star.script.provider.XScriptProvider</link> interface 
allows the retrieval of executable scripts:</paragraph>
+         <paragraph role="paragraph" id="N0340">%PRODUCTNAME Basic macros can 
be personal, shared, or embedded in documents. In order to execute them, Python 
run time needs to be provided with Basic macro locations. Implementing the 
<link 
href="https://api.libreoffice.org/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1script_1_1provider_1_1XScript.html";
 name ="XScriptProvider 
interface">com.sun.star.script.provider.XScriptProvider</link> interface allows 
the retrieval of executable scripts:</paragraph>
          <section id="Python_getBasicScript" >
                 <bookmark branch="index" id="N0341">
                        
<bookmark_value>API;script.provider.MasterScriptProviderFactory: Retrieving 
Basic scripts</bookmark_value>
-                       <bookmark_value>API;script.provider.XScript : Executing 
Basic scripts</bookmark_value>
+                       <bookmark_value>API;script.provider.XScript: Executing 
Basic scripts</bookmark_value>
                        <bookmark_value>API;XScriptProvider: Retrieving Basic 
scripts</bookmark_value>
                 </bookmark>
                 <pycode>
@@ -68,7 +68,7 @@
                 <bookmark branch="index" id="N0364ndx">
                        <bookmark_value>API;script.provider.XScript : Executing 
Basic scripts</bookmark_value>
                 </bookmark>
-                <paragraph role="paragraph" id="N0364">The %PRODUCTNAME 
Software Development Kit (SDK) documentation for <link 
href="https://api.libreoffice.org/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1script_1_1provider_1_1XScript.html#a11a551f5a2520f74c5109cd8c9f8c7b7";
 name ="external">com.sun.star.script.provider.XScript</link> interface details 
the calling convention for inter-language calls. Invocation of functions 
requires three arrays:</paragraph>
+                <paragraph role="paragraph" id="N0364">The %PRODUCTNAME 
Software Development Kit (SDK) documentation for <link 
href="https://api.libreoffice.org/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1script_1_1provider_1_1XScript.html#a11a551f5a2520f74c5109cd8c9f8c7b7";
 name ="XScript interface">com.sun.star.script.provider.XScript</link> 
interface details the calling convention for inter-language calls. Invocation 
of functions requires three arrays:</paragraph>
                 <list type="unordered">
                        <listitem><paragraph role="listitem" id="N0365">the 
first lists the arguments of the called routine</paragraph></listitem>
                        <listitem><paragraph role="listitem" id="N0366">the 
second identifies modified arguments</paragraph></listitem>
@@ -80,8 +80,8 @@
          <paragraph role="paragraph" 
id="N0370"><literal>script.invoke((message,), tuple, ())</literal></paragraph>
          <paragraph role="paragraph" id="N0371"><literal>script.invoke((args), 
(), results)</literal></paragraph>
          <h3 id="N0372">Examples of Personal or Shared Scripts</h3>
-          <paragraph role="paragraph" id="N0373">Examples in <link 
href="text/sbasic/python/python_screen.xhp" name ="external">Input/Output to 
Screen</link> details Python to Basic invocation calls. <link 
href="text/sbasic/python/python_document_events.xhp" name 
="external">Monitoring Document Events</link> illustrates the usage of *args 
Python idiom to print a variable number of parameters to 
<literal>Access2Base</literal> logging console dialog.</paragraph>
-         <tip id="N0374">At time of development you can interrupt Python 
script execution using <link 
href="https://berma.pagesperso-orange.fr/index2.html"; name ="external">Xray 
extension</link> in order to inspect properties and methods of UNO objects. The 
ASPO extension debugger allows object introspection using either Xray either 
MRI extensions.</tip>
+          <paragraph role="paragraph" id="N0373">Examples in <link 
href="text/sbasic/python/python_screen.xhp" name ="Input/Output to 
Screen">Input/Output to Screen</link> detail Python to Basic invocation calls. 
<link href="text/sbasic/python/python_document_events.xhp" name ="Monitoring 
Document Events">Monitoring Document Events</link> illustrates the usage of 
*args Python idiom to print a variable number of parameters to 
<literal>Access2Base</literal> logging console dialog.</paragraph>
+         <tip id="N0374">At time of development you can interrupt Python 
script execution using <link 
href="https://berma.pagesperso-orange.fr/index2.html"; name ="Xray 
extension">Xray extension</link> in order to inspect properties and methods of 
UNO objects. The ASPO extension debugger allows object introspection using 
either Xray either MRI extensions.</tip>
          <pycode>
          <paragraph role="pycode" id="N0375">def xray(myObject):</paragraph>
          <paragraph role="pycode" id="N0376">    script = 
getBasicScript(library=&quot;XrayTool&quot;, module=&quot;_Main&quot;, 
macro=&quot;Xray&quot;)</paragraph>
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to