mirror of
https://github.com/LibreOffice/help.git
synced 2026-01-13 05:38:56 +00:00
Remove more improper ellipses and fix a couple of capitalizations
Change-Id: I3cea0b968dd38d93381268c6b0ede5c90dc8a5a9 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/111945 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
This commit is contained in:
@ -25,7 +25,7 @@
|
||||
</section>
|
||||
<paragraph role="paragraph" id="N0337">%PRODUCTNAME static dialogs are created with the <link href="text/sbasic/guide/create_dialog.xhp" name="dialog editor">Dialog editor</link> and are stored in varying places according to their personal (My Macros), shared (%PRODUCTNAME Macros) or document-embedded nature. In reverse, dynamic dialogs are constructed at runtime, from Basic or Python scripts, or using any other <link href="text/shared/guide/scripting.xhp">%PRODUCTNAME supported language</link> for that matter. Opening static dialogs with Python is illustrated herewith. Exception handling and internationalization are omitted for clarity.</paragraph>
|
||||
<h2 id="N0338">My Macros or %PRODUCTNAME Macros dialogs</h2>
|
||||
<paragraph role="paragraph" id="N0339">The examples below open <literal>Access2Base Trace</literal> console or the imported <literal>TutorialsDialog</literal> dialog with <menuitem>Tools – Macros – Run Macro...</menuitem> menu:</paragraph>
|
||||
<paragraph role="paragraph" id="N0339">The examples below open <literal>Access2Base Trace</literal> console or the imported <literal>TutorialsDialog</literal> dialog with <menuitem>Tools - Macros - Run Macro</menuitem> menu:</paragraph>
|
||||
<pycode>
|
||||
<paragraph role="pycode" id="N0340" localize="false"># -*- coding: utf-8 -*-</paragraph>
|
||||
<paragraph role="pycode" id="N0341" localize="false">from __future__ import unicode_literals</paragraph>
|
||||
@ -49,7 +49,7 @@
|
||||
<paragraph role="pycode" id="N0363" localize="false">g_exportedScripts = (consoleDlg, tutorDialog)</paragraph>
|
||||
</pycode>
|
||||
<h2 id="N0364">Document embedded dialogs</h2>
|
||||
<paragraph role="paragraph" id="N0365">The example below opens a newly edited <literal>Dialog1</literal> dialog from a document with <menuitem>Tools – Macros – Run Macro...</menuitem> menu:</paragraph>
|
||||
<paragraph role="paragraph" id="N0365">The example below opens a newly edited <literal>Dialog1</literal> dialog from a document with <menuitem>Tools - Macros - Run Macro</menuitem> menu:</paragraph>
|
||||
<pycode>
|
||||
<paragraph role="pycode" id="N0366" localize="false"># -*- coding: utf-8 -*-</paragraph>
|
||||
<paragraph role="pycode" id="N0367" localize="false">from __future__ import unicode_literals</paragraph>
|
||||
|
||||
Reference in New Issue
Block a user