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

Olivier Hallot (via logerrit) logerrit at kemper.freedesktop.org
Sat Sep 28 13:18:33 UTC 2019


 source/text/shared/02/01170202.xhp |   14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

New commits:
commit 4967952d329d7c96e76d3b5dfe40003d3a8fe1a5
Author:     Olivier Hallot <olivier.hallot at libreoffice.org>
AuthorDate: Sat Sep 28 14:01:22 2019 +0200
Commit:     Olivier Hallot <olivier.hallot at libreoffice.org>
CommitDate: Sat Sep 28 15:18:14 2019 +0200

    Improve readability of events Help page.
    
    Change-Id: Ic205109612715e3bbae9d3af990f8c3867def050
    Reviewed-on: https://gerrit.libreoffice.org/79789
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>

diff --git a/source/text/shared/02/01170202.xhp b/source/text/shared/02/01170202.xhp
index 061720b42..998a2c523 100644
--- a/source/text/shared/02/01170202.xhp
+++ b/source/text/shared/02/01170202.xhp
@@ -43,18 +43,12 @@
          <listitem>
             <paragraph xml-lang="en-US" id="par_id3166460" role="listitem">Displaying an error message,</paragraph>
          </listitem>
-      </list>
-      <list type="ordered">
          <listitem>
             <paragraph xml-lang="en-US" id="par_id3152996" role="listitem">Confirming a delete process (for data records),</paragraph>
          </listitem>
-      </list>
-      <list type="ordered">
          <listitem>
             <paragraph xml-lang="en-US" id="par_id3153541" role="listitem">Querying parameters,</paragraph>
          </listitem>
-      </list>
-      <list type="ordered">
          <listitem>
             <paragraph xml-lang="en-US" id="par_id3155261" role="listitem">Checking input when saving a data record.</paragraph>
          </listitem>
@@ -66,13 +60,13 @@
 <section id="reset_update">
 <bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_EVT_BEFOREUPDATE" id="bm_id3154072" localize="false"/>
          <paragraph xml-lang="en-US" id="hd_id3147559" role="heading" level="2">Before update</paragraph>
-         <paragraph xml-lang="en-US" id="par_id3149669" role="paragraph"><ahelp hid=".">The Before update event occurs before the control content changed by the user is written into the data source.</ahelp> The linked macro can, for example, prevent this action by returning "FALSE".</paragraph>
+         <paragraph xml-lang="en-US" id="par_id3149669" role="paragraph"><ahelp hid=".">The <emph>Before update</emph> event occurs before the control content changed by the user is written into the data source.</ahelp> The linked macro can, for example, prevent this action by returning "FALSE".</paragraph>
 <bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_EVT_AFTERUPDATE" id="bm_id3154073" localize="false"/>
 <paragraph xml-lang="en-US" id="hd_id3153779" role="heading" level="2">After update</paragraph>
-         <paragraph xml-lang="en-US" id="par_id3153360" role="paragraph"><ahelp hid=".">The After update event occurs after the control content changed by the user has been written into the data source.</ahelp></paragraph>
+         <paragraph xml-lang="en-US" id="par_id3153360" role="paragraph"><ahelp hid=".">The <emph>After update</emph> event occurs after the control content changed by the user has been written into the data source.</ahelp></paragraph>
 <bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_EVT_APPROVERESETTED" id="bm_id3154851" localize="false"/>
 <paragraph xml-lang="en-US" id="hd_id3157909" role="heading" level="2">Prior to reset</paragraph>
-         <paragraph xml-lang="en-US" id="par_id3155390" role="paragraph"><ahelp hid=".">The<emph> Prior to reset </emph>event occurs before a form is reset.</ahelp> The linked macro can, for example, prevent this action by returning "FALSE".</paragraph>
+         <paragraph xml-lang="en-US" id="par_id3155390" role="paragraph"><ahelp hid=".">The <emph>Prior to reset </emph>event occurs before a form is reset.</ahelp> The linked macro can, for example, prevent this action by returning "FALSE".</paragraph>
          <paragraph xml-lang="en-US" id="par_id3149236" role="paragraph">A form is reset if one of the following conditions is met:</paragraph>
          <list type="ordered">
             <listitem>
@@ -145,7 +139,7 @@
 <bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_EVT_APPROVEPARAMETER" id="bm_id3149298" localize="false"/>
 <paragraph xml-lang="en-US" id="hd_id3151076" role="heading" level="2">Fill parameters</paragraph>
          <paragraph xml-lang="en-US" id="par_id3147396" role="paragraph"><ahelp hid=".">The<emph> Fill parameters </emph>event occurs when the form to be loaded has parameters that must be filled out.</ahelp> For example, the data source of the form can be the following SQL command:</paragraph>
-         <paragraph xml-lang="en-US" id="par_id3148773" role="paragraph">SELECT * FROM address WHERE name=:name</paragraph>
+         <paragraph xml-lang="en-US" id="par_id3148773" role="paragraph"><literal>SELECT * FROM address WHERE name=:name</literal></paragraph>
          <paragraph xml-lang="en-US" id="par_id3149581" role="paragraph">Here :name is a parameter that must be filled out when loading. The parameter is automatically filled out from the parent form if possible. If the parameter cannot be filled out, this event is called and a linked macro can fill out the parameter.</paragraph>
       </section>
       <section id="Section1">


More information about the Libreoffice-commits mailing list