Browse Source

Python dialog handler new topic

'Dialog Handler' new topic
bunch of x-ref between pages
make & toc

OH:
- fixed broken file path
- fixed broken links

Change-Id: I37e94fea48c394310298ff6f4b13f22c71c523c4
Reviewed-on: https://gerrit.libreoffice.org/76191
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
LibreOfficiant 3 months ago
parent
commit
6880ed4b73

+ 1 - 0
AllLangHelp_sbasic.mk

@@ -376,6 +376,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,sbasic,\
     helpcontent2/source/text/sbasic/python/python_dialogs \
     helpcontent2/source/text/sbasic/python/python_document_events \
     helpcontent2/source/text/sbasic/python/python_examples \
+    helpcontent2/source/text/sbasic/python/python_handler \
     helpcontent2/source/text/sbasic/python/python_ide \
     helpcontent2/source/text/sbasic/python/python_import \
     helpcontent2/source/text/sbasic/python/python_listener \

+ 1 - 0
source/auxiliary/sbasic.tree

@@ -325,6 +325,7 @@
                 <topic id="sbasic/text/sbasic/shared/01020200.xhp">Using Objects</topic>
                 <topic id="sbasic/text/sbasic/shared/01030300.xhp">Debugging a Basic Program</topic>
                 <topic id="sbasic/text/sbasic/shared/01040000.xhp">Event-Driven Macros</topic>
+                <topic id="sbasic/text/sbasic/guide/basic_examples.xhp">%PRODUCTNAME Basic Programming Examples</topic>
                 <topic id="sbasic/text/sbasic/guide/access2base.xhp">Access2Base, the API for Base users</topic>
             </node>
         </node>

+ 1 - 1
source/text/sbasic/guide/basic_examples.xhp

@@ -22,9 +22,9 @@
         <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>
     <!-- WIP
-    <embed href="text/sbasic/python/python_dialog_handler#pythonhandler1"/>
     <embed href="text/sbasic/python/python_from_basic.xhp#pythonfrombasic"/>
     -->
+    <embed href="text/sbasic/python/python_handler.xhp#pythonhandler_h1"/>
     <embed href="text/sbasic/python/python_listener.xhp#pythonlistener"/>
     <embed href="text/sbasic/python/python_session.xhp#pythonsession"/>
     <embed href="text/sbasic/python/python_platform.xhp#pythonplatform"/>

+ 1 - 3
source/text/sbasic/python/python_document_events.xhp

@@ -267,9 +267,7 @@
       <section id="relatedtopics" >
          <embed href="text/sbasic/python/python_listener.xhp#pythonlistener"/>
          <embed href="text/sbasic/python/python_import.xhp#pythonimporth1"/>
-         <!--
-         <embed href="text/sbasic/python/python_dialog_handler.xhp#pythonhandler1"/>
-         -->
+         <embed href="text/sbasic/python/python_handler.xhp#pythonhandler_h1"/>
          <embed href="text/sbasic/python/python_examples.xhp#pythonexamples2"/>
          <embed href="text/sbasic/python/python_programming.xhp#pythonprogrammingheading"/>
          <embed href="text/sbasic/python/python_2_basic.xhp#py2ba_h1"/>

+ 1 - 1
source/text/sbasic/python/python_examples.xhp

@@ -26,7 +26,6 @@
         <h1 id="hd_id201901031407"><variable id="pythonexamples2"><link href="text/sbasic/python/python_examples.xhp" name="python examples">Python programming examples</link></variable></h1>
     </section>
     <!-- WIP
-    <embed href="text/sbasic/python/python_dialog_handler#pythonhandler1"/>
     <embed href="text/sbasic/python/python_from_basic.xhp#pythonfrombasic"/>
     -->
     <embed href="text/sbasic/python/python_session.xhp#pythonsession"/>
@@ -35,6 +34,7 @@
     <embed href="text/sbasic/python/python_screen.xhp#ioscreen"/>
     <embed href="text/sbasic/python/python_document_events.xhp#pythonmonitor"/>
     <embed href="text/sbasic/python/python_dialogs.xhp#pythondialog"/>
+    <embed href="text/sbasic/python/python_handler.xhp#pythonhandler_h1"/>
     <embed href="text/sbasic/python/python_listener.xhp#pythonlistener"/>
     <embed href="text/sbasic/python/python_2_basic.xhp#py2ba_h1"/>
     <section id="relatedtopics">

File diff suppressed because it is too large
+ 168 - 0
source/text/sbasic/python/python_handler.xhp


+ 3 - 5
source/text/sbasic/python/python_listener.xhp

@@ -158,11 +158,9 @@
          <paragraph role="paragraph" id="N0505"><link href="text/sbasic/shared/03132000.xhp" name ="CreateUnoListener Function">CreateUnoListener Function</link></paragraph>
          <paragraph role="paragraph" id="N0506"><link href="text/swriter/01/05060700.xhp" name ="Events mapping to objects">Events mapping to objects</link></paragraph>
          <paragraph role="paragraph" id="N0509">See also <link href="text/sbasic/shared/01040000.xhp" name ="Document events">Document events</link>, <link href="text/shared/02/01170202.xhp" name ="Form events">Form events</link>.</paragraph>
-         <!-- WIP
-         <embed href="text/sbasic/python/python_dialog_handler.xhp#pythonhandler1"/>
-         -->
-        <embed href="text/sbasic/python/python_document_events.xhp#pythonmonitor"/>
-        <embed href="text/sbasic/python/python_examples.xhp#pythonexamples2"/>
+         <embed href="text/sbasic/python/python_handler.xhp#pythonhandler_h1"/>
+         <embed href="text/sbasic/python/python_document_events.xhp#pythonmonitor"/>
+         <embed href="text/sbasic/python/python_examples.xhp#pythonexamples2"/>
       </section>
    </body>
 </helpdocument>

+ 1 - 1
source/text/sbasic/shared/main0601.xhp

@@ -53,7 +53,7 @@
 
 <h3 id="hd_id191548155077269">Working with Macros in Python</h3>
 <embed href="text/sbasic/python/main0000.xhp#pythonscriptshelp"/>
-
+<embed href="text/sbasic/python/python_examples.xhp#pythonexamples2"/>
 
 <paragraph role="heading" id="hd_id51528998827009" level="3" xml-lang="en-US">%PRODUCTNAME internal Basic macro libraries</paragraph>
 <paragraph role="paragraph" id="par_id441528998842556" xml-lang="en-US">%PRODUCTNAME installs a set of Basic macro libraries that can be accessed from your Basic macros.</paragraph>