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

Seth Chaiklin (via logerrit) logerrit at kemper.freedesktop.org
Mon Oct 12 21:12:34 UTC 2020


 source/text/shared/02/01170000.xhp |   31 +++++++++++++++----------------
 1 file changed, 15 insertions(+), 16 deletions(-)

New commits:
commit 122b2b34063444e185cafd039801b1ec4fd37b0e
Author:     Seth Chaiklin <sdc.blanco at youmail.dk>
AuthorDate: Mon Oct 12 00:33:31 2020 +0200
Commit:     Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
CommitDate: Mon Oct 12 23:12:15 2020 +0200

    tdf#93739 clarify instructions about inserting form controls
    
      -revise instruction about inserting form controls
      -correct grammatical problem with holding down keys
      -remove obsolete <note> about specifying HTML version
      -update to <note>,<tip>, some <h2>,<menuitem>
      -add <keycode>
      -add missing table id
    
    Change-Id: I18a4722c2076e54dbaea4543e2693f1c83d08621
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/104153
    Tested-by: Jenkins
    Reviewed-by: Seth Chaiklin <sdc.blanco at youmail.dk>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>

diff --git a/source/text/shared/02/01170000.xhp b/source/text/shared/02/01170000.xhp
index afaabb620..8ed1ceac4 100644
--- a/source/text/shared/02/01170000.xhp
+++ b/source/text/shared/02/01170000.xhp
@@ -51,7 +51,7 @@
 <paragraph role="paragraph" id="par_id3151378" xml-lang="en-US"><variable id="formulartext"><ahelp hid=".uno:Config">The <emph>Form Controls</emph> toolbar or sub-menu contains tools that you need to create an interactive form.</ahelp></variable> You can use the toolbar or sub-menu to add controls to a form in a text, drawing, spreadsheet, presentation, or HTML document, for example a button that runs a macro.</paragraph>
 </section>
 <section id="howtoget">
-<paragraph role="paragraph" id="par_id1027200809391346" xml-lang="en-US">Choose <item type="menuitem">View - Toolbars - Form Controls</item>.</paragraph>
+<paragraph role="paragraph" id="par_id1027200809391346" xml-lang="en-US">Choose <menuitem>View - Toolbars - Form Controls</menuitem>.</paragraph>
 <paragraph role="paragraph" id="par_id3147336" xml-lang="en-US">Icon on the <emph>Insert</emph> toolbar (you may need to enable this initially invisible icon):</paragraph>
 <section id="syformular">
 <table id="">
@@ -66,22 +66,21 @@
 </table>
 </section>
 </section>
-<paragraph role="note" id="par_idN10B21" xml-lang="en-US"><link href="text/shared/guide/xforms.xhp">XML Form documents</link> (XForms) use the same controls.</paragraph>
+<note id="par_idN10B21" xml-lang="en-US"><link href="text/shared/guide/xforms.xhp">XML Form documents</link> (XForms) use the same controls.</note>
 <paragraph role="paragraph" id="par_id3152771" xml-lang="en-US">To create a form, open a document and use the Form Controls toolbar to add and define the form controls. If you want, you can also link the form to a database, so that you can use the controls to manipulate a database.</paragraph>
 <paragraph role="paragraph" id="par_id3150791" xml-lang="en-US">When you create a form in an HTML document, you can use the form to send data over the Internet.</paragraph>
-<paragraph role="note" id="par_id3145171" xml-lang="en-US">%PRODUCTNAME only exports the form properties that are supported by the HTML version that you export to. To specify the HTML version, choose <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - Load/Save - HTML Compatibility</emph>.</paragraph>
-<paragraph role="heading" id="par_idN10C39" xml-lang="en-US" level="2">To add a control to a document</paragraph>
+<h2 id="par_idN10C39" xml-lang="en-US">To add a control to a document</h2>
 <list type="ordered">
   <listitem>
     <paragraph role="paragraph" id="par_id3154918" xml-lang="en-US">On the <emph>Form Controls</emph> toolbar, click the icon of the control that you want to add.</paragraph>
   </listitem>
   <listitem>
-    <paragraph role="paragraph" id="par_idN10C4D" xml-lang="en-US">In the document, drag to create the control.</paragraph>
-    <paragraph role="paragraph" id="par_idN10C50" xml-lang="en-US">To create a square control field, hold down the <emph>Shift</emph> key while you drag.</paragraph>
+    <paragraph role="paragraph" id="par_idN10C4D" xml-lang="en-US">Then click in the document, and drag to create the control.</paragraph>
+    <tip id="par_idN10C50" xml-lang="en-US">To create a square control field, hold down the <keycode>Shift</keycode> key while you drag.</tip>
   </listitem>
 </list>
-<paragraph role="tip" id="par_id3154127" xml-lang="en-US">To add a field from the field list of a table or query to a form, drag a cell into the form. In a text document, you can also drag a column header to add a field to a form. To include a label for the field, hold down the <switchinline select="sys"><caseinline select="MAC"><emph>Command</emph></caseinline><defaultinline><emph>Ctrl</emph></defaultinline></switchinline>+<emph>Shift</emph> key down when you drag a column head.</paragraph>
-<paragraph role="heading" id="par_idN10C87" xml-lang="en-US" level="2">Modifying a Control</paragraph>
+<tip id="par_id3154127" xml-lang="en-US">To add a field from the field list of a table or query to a form, drag a cell into the form. In a text document, you can also drag a column header to add a field to a form. To include a label for the field, hold down <switchinline select="sys"><caseinline select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline>+<keycode>Shift</keycode> when you drag a column head.</tip>
+<h2 id="par_idN10C87" xml-lang="en-US">Modifying a Control</h2>
 <list type="ordered">
   <listitem>
     <paragraph role="paragraph" id="par_id3148645" xml-lang="en-US">Right-click the control and choose <emph>Control</emph>. A dialog opens where you can define the properties of the control.</paragraph>
@@ -94,11 +93,11 @@
   </listitem>
 </list>
 <section id="Section3">
-<paragraph role="heading" id="hd_id3154411" xml-lang="en-US" level="2">Select<comment>controls and design bars</comment></paragraph>
-<table id="">
+<h2 id="hd_id3154411" xml-lang="en-US">Select<comment>controls and design bars</comment></h2>
+<table id="tb_13945534">
   <tablerow>
     <tablecell>
-      <paragraph role="paragraph" id="par_id3156106" xml-lang="en-US"><image id="img_id3153516" src="cmd/sc_drawselect.png" width="0.2228in" height="0.2228in"><alt id="alt_id3153516" xml-lang="en-US">Icon</alt></image></paragraph>
+      <paragraph role="paragraph" id="par_id3156106" xml-lang="en-US"><image id="img_id3153516" src="cmd/sc_drawselect.png" width="1cm" height="1cm"><alt id="alt_id3153516" xml-lang="en-US">Icon</alt></image></paragraph>
     </tablecell>
     <tablecell>
       <paragraph role="paragraph" id="par_id3150470" xml-lang="en-US">This icon switches the mouse pointer to the select mode, or deactivates this mode. The select mode is used to select the controls of the current form.</paragraph>
@@ -115,7 +114,7 @@
 <section id="Section19">
 <bookmark xml-lang="en-US" branch="hid/.uno:Checkbox" id="bm_id8176164" localize="false"/>
 <bookmark xml-lang="en-US" branch="hid/.uno:CheckBox" id="bm_id3150751" localize="false"/>
-<paragraph role="heading" id="hd_id3146914" xml-lang="en-US" level="2">Check Box<comment>controls bar</comment></paragraph>
+<h2 id="hd_id3146914" xml-lang="en-US">Check Box<comment>controls bar</comment></h2>
 <table id="">
   <tablerow>
     <tablecell>
@@ -129,7 +128,7 @@
 </section>
 <section id="Section16">
 <bookmark xml-lang="en-US" branch="hid/.uno:Edit" id="bm_id7355178" localize="false"/>
-<paragraph role="heading" id="hd_id3153794" xml-lang="en-US" level="2">Text Box<comment>controls bar</comment></paragraph>
+<h2 id="hd_id3153794" xml-lang="en-US">Text Box<comment>controls bar</comment></h2>
 <table id="">
   <tablerow>
     <tablecell>
@@ -143,7 +142,7 @@
 </section>
 <section id="Section7">
 <bookmark xml-lang="en-US" branch="hid/.uno:FormattedField" id="bm_id6606960" localize="false"/>
-<paragraph role="heading" id="hd_id3151218" xml-lang="en-US" level="2">Formatted Field<comment>controls bar</comment></paragraph>
+<h2 id="hd_id3151218" xml-lang="en-US">Formatted Field<comment>controls bar</comment></h2>
 <table id="">
   <tablerow>
     <tablecell>
@@ -402,7 +401,7 @@
   </tablerow>
 </table>
 <paragraph role="paragraph" id="par_id3151302" xml-lang="en-US">If you assign the "Dropdown" property to the date field, the user can open a calendar to select a date under the date field. This also applies to a date field within a <emph>Table Control</emph> field.</paragraph>
-<paragraph role="tip" id="par_id3154395" xml-lang="en-US">Date fields can be easily edited by the user with the up arrow and down arrow keys. Depending on the cursor position, the day, month, or the year is can be increased or decreased using the arrow keys.</paragraph>
+<tip id="par_id3154395" xml-lang="en-US">Date fields can be easily edited by the user with the up arrow and down arrow keys. Depending on the cursor position, the day, month, or the year is can be increased or decreased using the arrow keys.</tip>
 <paragraph role="paragraph" id="par_id3153112" xml-lang="en-US"><link href="text/shared/02/01170003.xhp" name="Specific Remarks on Date Fields">Specific Remarks on Date Fields</link>.</paragraph>
 </section>
 <section id="Section9">
@@ -418,7 +417,7 @@
     </tablecell>
   </tablerow>
 </table>
-<paragraph role="tip" id="par_id3154764" xml-lang="en-US">Time fields can be easily edited by the user with the up and down arrow keys. Depending on the cursor position, the hours, minutes, or the seconds are increased or decreased using the arrow keys.</paragraph>
+<tip id="par_id3154764" xml-lang="en-US">Time fields can be easily edited by the user with the up and down arrow keys. Depending on the cursor position, the hours, minutes, or the seconds are increased or decreased using the arrow keys.</tip>
 </section>
 <section id="Section11">
 <bookmark xml-lang="en-US" branch="hid/.uno:FileControl" id="bm_id1460134" localize="false"/>


More information about the Libreoffice-commits mailing list