[Libreoffice-commits] help.git: AllLangHelp_sbasic.mk source/text

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu May 30 11:21:20 UTC 2019


 AllLangHelp_sbasic.mk                       |    1 
 source/text/sbasic/guide/basic_examples.xhp |   30 ++++++++++++++++++++++++++++
 source/text/sbasic/shared/main0601.xhp      |    3 +-
 3 files changed, 33 insertions(+), 1 deletion(-)

New commits:
commit 8b1f5909975addc35b77f7009c2ee65b2e4a365d
Author:     Olivier Hallot <olivier.hallot at libreoffice.org>
AuthorDate: Wed May 29 11:49:22 2019 -0300
Commit:     Olivier Hallot <olivier.hallot at libreoffice.org>
CommitDate: Thu May 30 13:21:00 2019 +0200

    WIP: refactor some Python/Basic pages
    
    Change-Id: I3590e7a6e0cf62d9f9e33e8081be50ab4d0ae769
    Reviewed-on: https://gerrit.libreoffice.org/73175
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>

diff --git a/AllLangHelp_sbasic.mk b/AllLangHelp_sbasic.mk
index 90736b80f..2d354fefa 100644
--- a/AllLangHelp_sbasic.mk
+++ b/AllLangHelp_sbasic.mk
@@ -17,6 +17,7 @@ $(eval $(call gb_AllLangHelp_use_linked_modules,sbasic,\
 
 $(eval $(call gb_AllLangHelp_add_helpfiles,sbasic,\
     helpcontent2/source/text/sbasic/guide/access2base \
+    helpcontent2/source/text/sbasic/guide/basic_examples \
     helpcontent2/source/text/sbasic/guide/control_properties \
     helpcontent2/source/text/sbasic/guide/create_dialog \
     helpcontent2/source/text/sbasic/guide/insert_control \
diff --git a/source/text/sbasic/guide/basic_examples.xhp b/source/text/sbasic/guide/basic_examples.xhp
new file mode 100644
index 000000000..7b398d102
--- /dev/null
+++ b/source/text/sbasic/guide/basic_examples.xhp
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+    <!--
+    * This file is part of the LibreOffice project.
+    *
+    * This Source Code Form is subject to the terms of the Mozilla Public
+    * License, v. 2.0. If a copy of the MPL was not distributed with this
+    * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+    *
+    -->
+
+    <meta>
+        <topic id="basicexamples" indexer="include" status="PUBLISH">
+            <title id="tit" xml-lang="en-US">Basic Programming Examples</title>
+            <filename>/text/sbasic/guide/basic_examples.xhp</filename>
+        </topic>
+    </meta>
+    <body>
+    <bookmark xml-lang="en-US" branch="index" id="bm_id171559140731329">
+        <bookmark_value>Basic;programming examples</bookmark_value>
+    </bookmark>
+    <section id="basicexamplesh1">
+        <h1 id="hd_id471559139063621"><variable id="basicexamplestit"><link href="text/sbasic/guide/basic_examples.xhp" name="Basic Programming Examples">Basic Programming Examples</link></variable></h1>
+    </section>
+
+    <section id="relatedtopics">
+        <embed href="text/sbasic/shared/main0601.xhp#mainsbasic"/>
+    </section>
+</body>
+</helpdocument>
diff --git a/source/text/sbasic/shared/main0601.xhp b/source/text/sbasic/shared/main0601.xhp
index f4132765a..a93bdd268 100644
--- a/source/text/sbasic/shared/main0601.xhp
+++ b/source/text/sbasic/shared/main0601.xhp
@@ -29,7 +29,7 @@
 
 <bookmark xml-lang="en-US" branch="hid/HID_GLOBAL_FALLBACK" id="bm_id3143284" localize="false"/>
 
-<paragraph id="hd_id3154232" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/main0601.xhp" name="$[officename] Basic Help">%PRODUCTNAME Basic Help</link></paragraph>
+<h1 id="hd_id3154232"><variable id="mainsbasic"><link href="text/sbasic/shared/main0601.xhp" name="$[officename] Basic Help">%PRODUCTNAME Basic Help</link></variable></h1>
 
 <section id="basicalt">
 <paragraph id="par_id3153894" role="paragraph" xml-lang="en-US">%PRODUCTNAME provides an Application Programming Interface (API) that allows controlling the $[officename] components with different programming languages by using the $[officename] Software Development Kit (SDK). For more information about the $[officename] API and the Software Development Kit, visit <link href="https://api.libreoffice.org/" name="api.libreoffice.org">https://api.libreoffice.org</link></paragraph>
@@ -45,6 +45,7 @@
 <embed href="text/sbasic/guide/control_properties.xhp#control_properties"/>
 <embed href="text/sbasic/guide/show_dialog.xhp#show_dialog"/>
 <embed href="text/sbasic/guide/sample_code.xhp#sample_code"/>
+<embed href="text/sbasic/guide/basic_examples.xhp#basicexamplestit"/>
 
 <paragraph id="hd_id05182017030838384" role="heading" level="3" xml-lang="en-US">Working with VBA Macros</paragraph>
 <embed href="text/sbasic/shared/vbasupport.xhp#vbamacros"/>


More information about the Libreoffice-commits mailing list