summaryrefslogtreecommitdiff
path: root/source/text/shared
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2018-11-27 22:10:50 -0200
committerOlivier Hallot <olivier.hallot@libreoffice.org>2018-11-28 10:48:08 +0100
commit949606895b8d46fb97b0bfcda25cfb04f1f61e32 (patch)
tree073ec16048b19e431dda6e6d0f5955edb06a9fc8 /source/text/shared
parent6c2abb8601836f6bea02b7dfabba486208f2c6be (diff)
tdf#121736 initial Help pages for Python scripts
Work in progress, initial addition of help pages for python scripts in LO. Change-Id: Iee95b1340c821fdb08524fdedeca3817b0de1459 Reviewed-on: https://gerrit.libreoffice.org/64137 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'source/text/shared')
-rw-r--r--source/text/shared/00/00000406.xhp3
-rw-r--r--source/text/shared/01/06130000.xhp16
2 files changed, 17 insertions, 2 deletions
diff --git a/source/text/shared/00/00000406.xhp b/source/text/shared/00/00000406.xhp
index 1456031b95..7189aa00ea 100644
--- a/source/text/shared/00/00000406.xhp
+++ b/source/text/shared/00/00000406.xhp
@@ -77,6 +77,9 @@
</section>
<paragraph xml-lang="en-US" id="par_idN107E9" role="paragraph"><variable id="mediaplayer">Choose <emph>Tools - Media Player</emph>.</variable></paragraph>
<paragraph xml-lang="en-US" id="par_id3151385" role="paragraph"><variable id="makro">Choose <emph>Tools - Macros - Organize Macros - %PRODUCTNAME Basic</emph>, or press <switchinline select="sys"><caseinline select="MAC">Option</caseinline><defaultinline>Alt</defaultinline></switchinline>+F11 (if not assigned by your system).</variable></paragraph>
+ <paragraph role="paragraph" id="par_id511543350796749" xml-lang="en-US"><variable id="beanshell">Choose <emph>Tools - Macros - Organize Macros - BeanShell</emph>.</variable></paragraph>
+ <paragraph role="paragraph" id="par_id661543350803067" xml-lang="en-US"><variable id="javascript">Choose <emph>Tools - Macros - Organize Macros - JavaScript</emph>.</variable></paragraph>
+ <paragraph role="paragraph" id="par_id441543350811395" xml-lang="en-US"><variable id="python">Choose <emph>Tools - Macros - Organize Macros - Python</emph>.</variable></paragraph>
<section id="recordmacro">
<paragraph xml-lang="en-US" id="par_id3149456" role="paragraph">Choose <emph>Tools - Macros - Record Macro</emph>.</paragraph>
</section>
diff --git a/source/text/shared/01/06130000.xhp b/source/text/shared/01/06130000.xhp
index 54f3bee11c..0207188eea 100644
--- a/source/text/shared/01/06130000.xhp
+++ b/source/text/shared/01/06130000.xhp
@@ -119,9 +119,12 @@
<paragraph role="heading" id="hd_id3154693" xml-lang="en-US" level="3">Import<comment>changed in #i64102</comment></paragraph>
<paragraph role="paragraph" id="par_id3147441" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/libpage/import">Locate that $[officename] Basic library that you want to add to the current list, and then click Open.</ahelp></paragraph>
<embed href="text/shared/00/00000001.xhp#loeschen"/>
-<paragraph role="paragraph" id="par_idN10A39" xml-lang="en-US"><variable id="script">Scripts
+<paragraph role="heading" level="1" id="par_idN10A39" xml-lang="en-US"><variable id="script">Scripts
</variable></paragraph>
-<paragraph role="paragraph" id="par_idN109BB" xml-lang="en-US">To open the BeanShell Macros dialog box, choose Tools - Macros - Organize Macros - BeanShell. To open the JavaScript dialog box, choose Tools - Macros - Organize Macros - JavaScript.</paragraph>
+<section id="howtoget">
+ <embed href="text/shared/00/00000406.xhp#beanshell"/>
+ <embed href="text/shared/00/00000406.xhp#javascript"/>
+</section>
<paragraph role="heading" id="hd_id6963408" xml-lang="en-US" level="2">Export</paragraph>
<paragraph role="paragraph" id="par_id8968169" xml-lang="en-US"><ahelp hid=".">Opens a dialog to export the selected library either as an extension or as a Basic library.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/cui/ui/scriptorganizer/ScriptOrganizerDialog" id="bm_id7982421" localize="false"/>
@@ -149,6 +152,15 @@
<paragraph role="paragraph" id="par_idN10B00" xml-lang="en-US">Select a macro or script from "user", "share", or an open document. To view the contents of a library, double-click an entry in the list.</paragraph>
<paragraph role="heading" id="par_idN10B17" xml-lang="en-US" level="3">Macro name</paragraph>
<paragraph role="paragraph" id="par_idN10B1B" xml-lang="en-US">Click a script, and then click a command button.</paragraph>
+<paragraph role="heading" level="1" id="par_id381543352048115" xml-lang="en-US">Python</paragraph>
+<section id="howtoget">
+ <embed href="text/shared/00/00000406.xhp#python"/>
+</section>
+<paragraph role="heading" id="par_idN109as" xml-lang="en-US" level="2">Macros</paragraph>
+<paragraph role="paragraph" id="par_idN134C2" xml-lang="en-US"><ahelp hid="cui/ui/scriptorganizer/ScriptOrganizerDialog">Select a macro or script from "user", "share", or an open document.</ahelp></paragraph>
+<paragraph role="heading" level="3" id="par_id641543351777423" xml-lang="en-US">Run</paragraph>
+<paragraph role="paragraph" id="par_id31543351781865" xml-lang="en-US"><ahelp hid="cui/ui/scriptorganizer/run">To run a script, select a script in the list, and then click Run.</ahelp></paragraph>
+
<section id="relatedtopics">
<embed href="text/shared/guide/scripting.xhp#scripting"/>
<embed href="text/shared/guide/macro_recording.xhp#macro_recording"/>