source/text/swriter/01/04020100.xhp |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

New commits:
commit c59b532d38f8f706e56fe4ceb1177bc6344bba07
Author:     Olivier Hallot <[email protected]>
AuthorDate: Fri Jan 2 09:54:00 2026 -0300
Commit:     Olivier Hallot <[email protected]>
CommitDate: Fri Jan 2 15:29:01 2026 +0100

    tdf#166398 Improve section control example
    
    Clarified on using database fields to control section visibility.
    
    Change-Id: Ib2f3c00ba171db12d8e31a516c004c5d526b3edb
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/196423
    Reviewed-by: Olivier Hallot <[email protected]>
    Tested-by: Jenkins

diff --git a/source/text/swriter/01/04020100.xhp 
b/source/text/swriter/01/04020100.xhp
index 9637634b27..25c36f5626 100644
--- a/source/text/swriter/01/04020100.xhp
+++ b/source/text/swriter/01/04020100.xhp
@@ -35,7 +35,7 @@
 <bookmark branch="hid/modules/swriter/ui/sectionpage/@@nowidget@@" 
id="bm_@@nowidget@@" localize="false"/>
 <bookmark branch="hid/modules/swriter/ui/sectionpage/SectionPage" 
id="bm_id3145414" localize="false"/>
 <h1 id="hd_id3157557"><link 
href="text/swriter/01/04020100.xhp">Section</link></h1>
-<paragraph role="paragraph" id="par_id3154644"><ahelp hid=".">Sets the 
properties of the section.</ahelp></paragraph>
+<description id="par_id3154644"><ahelp hid=".">Sets the properties of the 
section.</ahelp></description>
 </section>
 <section id="howtoget">
   <embed href="text/swriter/00/00000404.xhp#section"/>
@@ -94,8 +94,9 @@
 <bookmark branch="hid/modules/swriter/ui/sectionpage/withcond" 
id="bm_id3154334" localize="false"/>
 <bookmark branch="hid/modules/swriter/ui/editsectiondialog/condition" 
id="bm_id3154338" localize="false"/>
 <h3 id="hd_id3154323">With condition</h3>
-<paragraph role="paragraph" id="par_id3154343"><ahelp hid=".">Enter the 
condition that must be met to hide the section.</ahelp> A condition is a <link 
href="text/swriter/01/04090200.xhp">logical expression</link>, such as 
"SALUTATION EQ Mr.". For example, if you use the <link 
href="text/swriter/guide/form_letters_main.xhp">mail merge</link> form letter 
feature to define a database field called "Salutation" that contains "Mr.", 
"Ms.", or "Sir or Madam", you can then specify that a section will only be 
printed if the salutation is "Mr.".</paragraph>
-<paragraph role="paragraph" id="par_id3150086">Another example would be to 
create the field variable "x" and set its value to 1. Then specify a condition 
based on this variable for hiding a section, such as: "x eq 1". If you want to 
display the section, set the value of the variable "x" to "0".</paragraph>
+<paragraph role="paragraph" id="par_id3154343"><ahelp hid=".">Enter the 
condition that must be met to hide the section.</ahelp> A condition is a <link 
href="text/swriter/01/04090200.xhp">logical expression</link> and must resolve 
to TRUE or FALSE.</paragraph>
+<paragraph role="paragraph" id="par_id3150086">For example, you can create the 
field variable <emph>x</emph> and set its value to 1. Then specify a condition 
based on this variable for hiding a section, such as: <emph>x EQ 1</emph> to 
hide the section. If you want to display the section, set the value of the 
variable <emph>x</emph> to 0.</paragraph>
+<tip id="par_id391767359626214">When using conditions based on database 
fields, always fully qualify the field by specifying it as 
<emph>Database_name.Table_name.Field_name</emph>.</tip>
 <h2 id="par_idN108DF">Properties</h2>
 <paragraph role="paragraph" id="par_idN108E3">You see this area of the dialog 
when the current document is an XForms document.</paragraph>
 <h3 id="par_idN108E6">Editable in read-only document</h3>

Reply via email to