From f93153f617a109f1249802a49ce747b64faaeab4 Mon Sep 17 00:00:00 2001 From: Uwe Fischer Date: Fri, 16 Oct 2009 08:59:46 +0000 Subject: Zwischenstand --- helpcontent2/source/text/swriter/01/04090200.xhp | 104 ++++++++++++----------- 1 file changed, 53 insertions(+), 51 deletions(-) (limited to 'helpcontent2/source/text/swriter/01') diff --git a/helpcontent2/source/text/swriter/01/04090200.xhp b/helpcontent2/source/text/swriter/01/04090200.xhp index 66da064bd8..9e143f2345 100755 --- a/helpcontent2/source/text/swriter/01/04090200.xhp +++ b/helpcontent2/source/text/swriter/01/04090200.xhp @@ -11,7 +11,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: soffice2xmlhelp.xsl,v $ - * $Revision: 1.8 $ + * $Revision: 1.12 $ * * This file is part of OpenOffice.org. * @@ -74,18 +74,18 @@ - TRUE + TRUE - The condition is always met. You can also enter any value not equal to 0 as the conditional text. + The condition is always met. You can also enter any value not equal to 0 as the conditional text. - FALSE + FALSE - The condition is not met. You can also enter the value 0. + The condition is not met. You can also enter the value 0.
@@ -114,26 +114,26 @@ - x == 1 or x EQ 1 + x == 1 or x EQ 1 - The condition is true if "x" is equal to 1. + The condition is true if "x" is equal to 1. - x != 1 or x NEQ 1 + x != 1 or x NEQ 1 - The condition is true if "x" does not equal 1. + The condition is true if "x" does not equal 1. - sinx == 0 + sinx == 0 - The condition is true if "x" is a multiple of pi. + The condition is true if "x" is a multiple of pi.
@@ -142,20 +142,20 @@ - x == "ABC" or x EQ "ABC" + x == "ABC" or x EQ "ABC" - Checks if variable "x" contains (true) the "ABC" string, or not (false). + Checks if variable "x" contains (true) the "ABC" string, or not (false). - x == "" or x EQ "" - or - !x or NOT x + x == "" or x EQ "" + or + !x or NOT x - Checks if the variable "x" contains an empty string. + Checks if the variable "x" contains an empty string.
@@ -168,130 +168,130 @@ - Variable + Variable - Meaning + Meaning - user_firstname + user_firstname - First name + First name - user_lastname + user_lastname - Last name + Last name - user_initials + user_initials - Initials + Initials - user_company + user_company - Company + Company - user_street + user_street - Street + Street - user_country + user_country - Country + Country - user_zipcode + user_zipcode - Zip code + Zip code - user_city + user_city - City + City - user_title + user_title - Title + Title - user_position + user_position - Position + Position - user_tel_work + user_tel_work - Business telephone number + Business telephone number - user_tel_home + user_tel_home - Home telephone number + Home telephone number - user_fax + user_fax - Fax number + Fax number - user_email + user_email - E-mail address + E-mail address - user_state + user_state - State (not in all $[officename] versions) + State (not in all $[officename] versions)
@@ -351,13 +351,15 @@ Note the difference between the boolean NOT "!" and the comparative operator not equal "!=" (NEQ). When you refer to a database field in a condition, use the form Databasename.Tablename.Fieldname. If one of the names contains a character that is an operator, such as a minus sign (-), enclose the name in square brackets, for example, Databasename.[Table-name].Fieldname. Never use spaces inside field names.UFI: fixes bug #i25781# - but see #i25983#. Fixes also #i19571# - Example: Hiding an Empty Database Field + Example: Hiding an Empty Database Field You may want to create a condition that hides an empty field, for example, if the COMPANY field is empty for some of the data records. Select the Hidden Paragraph list entry, and type the following condition: Addressbook.Addresses.Company EQ "" or type the following NOT Addressbook.Addresses.Company If the COMPANY database field is empty, the condition is true and the paragraph is hidden. - To display hidden paragraphs on the screen, you can choose Tools - Options - %PRODUCTNAME Writer - Formatting Aids, and clear the Fields: Hidden paragraphs check box. + To display hidden paragraphs on the screen, you can choose Tools - Options - %PRODUCTNAME Writer - Formatting Aids, and enable the Fields: Hidden + paragraphs check box. Examples of Conditions in Fields The following examples use the Conditional text field, although they can be applied to any fields that can be linked to a condition. The syntax used for conditions is also used for the Hidden text, Hidden paragraph, Any record or Next record fields. -- cgit