diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2004-11-26 23:04:52 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2004-11-26 23:04:52 +0000 |
commit | b2ea324cc34f889e0133680b9b9d3ef1c3fd8f34 (patch) | |
tree | 180f8ffa8c83e628e5d39b27725c510299523cb2 /helpcontent2/source/text/swriter/guide/fields_userdata.xhp | |
parent | INTEGRATION: CWS helpcontentbeta (1.1.2); FILE MERGED (diff) | |
download | help-b2ea324cc34f889e0133680b9b9d3ef1c3fd8f34.tar.gz help-b2ea324cc34f889e0133680b9b9d3ef1c3fd8f34.zip |
INTEGRATION: CWS helpcontentbeta (1.1.2); FILE MERGED
2004/10/06 14:57:00 fpe 1.1.2.1: Regular Update
Diffstat (limited to 'helpcontent2/source/text/swriter/guide/fields_userdata.xhp')
-rw-r--r-- | helpcontent2/source/text/swriter/guide/fields_userdata.xhp | 397 |
1 files changed, 197 insertions, 200 deletions
diff --git a/helpcontent2/source/text/swriter/guide/fields_userdata.xhp b/helpcontent2/source/text/swriter/guide/fields_userdata.xhp index 302bd45d6e..a5e4818b63 100644 --- a/helpcontent2/source/text/swriter/guide/fields_userdata.xhp +++ b/helpcontent2/source/text/swriter/guide/fields_userdata.xhp @@ -53,214 +53,211 @@ * * ************************************************************************--> + <helpdocument version="1.0"> <meta> <topic id="textswriterguidefields_userdataxml" indexer="include" status="PUBLISH"> -<title xml-lang="en-US" id="tit">Querying User Data in Fields or Conditions</title> +<title id="tit" xml-lang="en-US">Querying User Data in Fields or Conditions</title> <filename>/text/swriter/guide/fields_userdata.xhp</filename> </topic> <history> <created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> -<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited> +<lastedited date="2004-09-22T15:53:02">converted from old format - fpe</lastedited> </history> </meta> <body> - - - <bookmark xml-lang="en-US" branch="index" id="bm_id3153398"><bookmark_value>fields; user data</bookmark_value><bookmark_value>user data; fields</bookmark_value><bookmark_value>conditions; user data fields</bookmark_value><bookmark_value>hiding; with conditions</bookmark_value><bookmark_value>text; hiding with conditions</bookmark_value></bookmark><paragraph id="hd_id3153398" role="heading" level="1" oldref="59" l10n="U" xml-lang="en-US"><variable id="fields_userdata"><link href="text/swriter/guide/fields_userdata.xhp" name="Querying User Data in Fields or Conditions">Querying User Data in Fields or Conditions</link></variable></paragraph> - <paragraph role="paragraph" id="par_id3154239" l10n="U" xml-lang="en-US" oldref="60">You can access and compare some user data from conditions or fields. For example, you can compare user data with the following operators:</paragraph> - <table id="tbl_id3154255"> - - <tablerow> - <tablecell> - <paragraph role="paragraph" id="par_id3155889" l10n="U" xml-lang="en-US" oldref="94">Operator</paragraph> - </tablecell> - <tablecell> - <paragraph role="paragraph" id="par_id3147110" l10n="U" xml-lang="en-US" oldref="95">Meaning</paragraph> - </tablecell> - <tablecell> - - </tablecell> - </tablerow> - <tablerow> - <tablecell> - <paragraph role="paragraph" id="par_id3150508" l10n="U" xml-lang="en-US" oldref="96">== or EQ</paragraph> - </tablecell> - <tablecell> - <paragraph role="paragraph" id="par_id3150531" l10n="U" xml-lang="en-US" oldref="97">equals</paragraph> - </tablecell> - <tablecell> - - </tablecell> - </tablerow> - <tablerow> - <tablecell> - <paragraph role="paragraph" id="par_id3150725" l10n="U" xml-lang="en-US" oldref="98">!= or NEQ</paragraph> - </tablecell> - <tablecell> - <paragraph role="paragraph" id="par_id3150748" l10n="U" xml-lang="en-US" oldref="99">is not equal to</paragraph> - </tablecell> - <tablecell> - - </tablecell> - </tablerow> - </table> - <paragraph role="paragraph" id="par_id3153167" l10n="U" xml-lang="en-US" oldref="101">If you want, you can use a condition to hide specific text in your document from a specific user.</paragraph> - <list type="ordered"> - <listitem> - <paragraph role="listitem" id="par_id3153190" l10n="U" xml-lang="en-US" oldref="102">Select the text in the document that you want to hide.</paragraph> - </listitem> - <listitem> - <paragraph xml-lang="en-US" role="listitem" id="par_id3145273" l10n="U" oldref="103">Choose <emph>Insert - Section</emph>.</paragraph> - </listitem> - <listitem> - <paragraph xml-lang="en-US" oldref="104" role="listitem" id="par_id3145297" l10n="U">In the <emph>Hide </emph>area, select the <emph>Hide</emph> check box.</paragraph> - </listitem> - <listitem> - <paragraph l10n="U" xml-lang="en-US" oldref="105" role="listitem" id="par_id3155533">In the <emph>With Condition</emph> box, type <emph>user_lastname == "Doe"</emph>, where "Doe" is the last name of the user that you want to hide the text from.<emph> </emph></paragraph> - </listitem> - <listitem> - <paragraph xml-lang="en-US" role="listitem" id="par_id3155573" l10n="U" oldref="107">Click <emph>Insert</emph> and then save the document.</paragraph> - </listitem> - </list> - <paragraph role="note" id="par_id3147760" l10n="U" xml-lang="en-US" oldref="108">The name of the hidden section can still be seen in the Navigator.</paragraph> - <paragraph role="paragraph" id="par_id3147777" l10n="U" xml-lang="en-US" oldref="61">The following table is a list of the user variables that you can access when defining a condition or a field:</paragraph> - <table id="tbl_id3147793"> - - <tablerow> - <tablecell> - <paragraph role="paragraph" id="par_id3147819" l10n="U" xml-lang="en-US" oldref="62">User variables</paragraph> - </tablecell> - <tablecell> - <paragraph role="paragraph" id="par_id3147218" l10n="U" xml-lang="en-US" oldref="63">Meaning</paragraph> - </tablecell> - </tablerow> - <tablerow> - <tablecell> - <paragraph role="paragraph" id="par_id3147245" l10n="U" xml-lang="en-US" oldref="64">user_firstname</paragraph> - </tablecell> - <tablecell> - <paragraph role="paragraph" id="par_id3147268" l10n="U" xml-lang="en-US" oldref="65">First name</paragraph> - </tablecell> - </tablerow> - <tablerow> - <tablecell> - <paragraph role="paragraph" id="par_id3145592" l10n="U" xml-lang="en-US" oldref="66">user_lastname</paragraph> - </tablecell> - <tablecell> - <paragraph role="paragraph" id="par_id3145615" l10n="U" xml-lang="en-US" oldref="67">Last name</paragraph> - </tablecell> - </tablerow> - <tablerow> - <tablecell> - <paragraph role="paragraph" id="par_id3145642" l10n="U" xml-lang="en-US" oldref="68">user_initials</paragraph> - </tablecell> - <tablecell> - <paragraph role="paragraph" id="par_id3145666" l10n="U" xml-lang="en-US" oldref="69">Initials</paragraph> - </tablecell> - </tablerow> - <tablerow> - <tablecell> - <paragraph role="paragraph" id="par_id3151200" l10n="U" xml-lang="en-US" oldref="70">user_company</paragraph> - </tablecell> - <tablecell> - <paragraph role="paragraph" id="par_id3151223" l10n="U" xml-lang="en-US" oldref="71">Company</paragraph> - </tablecell> - </tablerow> - <tablerow> - <tablecell> - <paragraph role="paragraph" id="par_id3151250" l10n="U" xml-lang="en-US" oldref="72">user_street</paragraph> - </tablecell> - <tablecell> - <paragraph role="paragraph" id="par_id3152912" l10n="U" xml-lang="en-US" oldref="73">Street</paragraph> - </tablecell> - </tablerow> - <tablerow> - <tablecell> - <paragraph role="paragraph" id="par_id3152940" l10n="U" xml-lang="en-US" oldref="74">user_country</paragraph> - </tablecell> - <tablecell> - <paragraph role="paragraph" id="par_id3152963" l10n="U" xml-lang="en-US" oldref="75">Country</paragraph> - </tablecell> - </tablerow> - <tablerow> - <tablecell> - <paragraph role="paragraph" id="par_id3152990" l10n="U" xml-lang="en-US" oldref="76">user_zipcode</paragraph> - </tablecell> - <tablecell> - <paragraph role="paragraph" id="par_id3145679" l10n="U" xml-lang="en-US" oldref="77">Zip Code</paragraph> - </tablecell> - </tablerow> - <tablerow> - <tablecell> - <paragraph role="paragraph" id="par_id3145706" l10n="U" xml-lang="en-US" oldref="78">user_city</paragraph> - </tablecell> - <tablecell> - <paragraph role="paragraph" id="par_id3145729" l10n="U" xml-lang="en-US" oldref="79">City</paragraph> - </tablecell> - </tablerow> - <tablerow> - <tablecell> - <paragraph role="paragraph" id="par_id3145756" l10n="U" xml-lang="en-US" oldref="80">user_title</paragraph> - </tablecell> - <tablecell> - <paragraph role="paragraph" id="par_id3145779" l10n="U" xml-lang="en-US" oldref="81">Title</paragraph> - </tablecell> - </tablerow> - <tablerow> - <tablecell> - <paragraph role="paragraph" id="par_id3156284" l10n="U" xml-lang="en-US" oldref="82">user_position</paragraph> - </tablecell> - <tablecell> - <paragraph role="paragraph" id="par_id3156307" l10n="U" xml-lang="en-US" oldref="83">Position</paragraph> - </tablecell> - </tablerow> - <tablerow> - <tablecell> - <paragraph role="paragraph" id="par_id3156334" l10n="U" xml-lang="en-US" oldref="84">user_tel_work</paragraph> - </tablecell> - <tablecell> - <paragraph role="paragraph" id="par_id3156357" l10n="U" xml-lang="en-US" oldref="85">Business telephone number</paragraph> - </tablecell> - </tablerow> - <tablerow> - <tablecell> - <paragraph role="paragraph" id="par_id3156384" l10n="U" xml-lang="en-US" oldref="86">user_tel_home</paragraph> - </tablecell> - <tablecell> - <paragraph role="paragraph" id="par_id3149728" l10n="U" xml-lang="en-US" oldref="87">Home telephone number</paragraph> - </tablecell> - </tablerow> - <tablerow> - <tablecell> - <paragraph role="paragraph" id="par_id3149756" l10n="U" xml-lang="en-US" oldref="88">user_fax</paragraph> - </tablecell> - <tablecell> - <paragraph role="paragraph" id="par_id3149778" l10n="U" xml-lang="en-US" oldref="89">Fax number</paragraph> - </tablecell> - </tablerow> - <tablerow> - <tablecell> - <paragraph role="paragraph" id="par_id3149806" l10n="U" xml-lang="en-US" oldref="90">user_email</paragraph> - </tablecell> - <tablecell> - <paragraph role="paragraph" id="par_id3147294" l10n="U" xml-lang="en-US" oldref="91">E-mail address</paragraph> - </tablecell> - </tablerow> - <tablerow> - <tablecell> - <paragraph role="paragraph" id="par_id3147321" l10n="U" xml-lang="en-US" oldref="92">user_state</paragraph> - </tablecell> - <tablecell> - <paragraph role="paragraph" id="par_id3147344" l10n="U" xml-lang="en-US" oldref="93">State</paragraph> - </tablecell> - </tablerow> - </table> - <embed href="text/shared/00/00000004.xhp#related"/> - <embed href="text/swriter/guide/fields.xhp#fields"/> - <embed href="text/swriter/guide/conditional_text.xhp#conditional_text"/> - <embed href="text/swriter/guide/hidden_text.xhp#hidden_text"/> - <paragraph l10n="C" role="paragraph" id="par_id3147392" xml-lang="en-US" oldref=""><link href="text/swriter/02/14020000.xhp" name="List of operators">List of operators</link></paragraph> - - </body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3153398"><bookmark_value>fields; user data</bookmark_value> +<bookmark_value>user data; querying</bookmark_value> +<bookmark_value>conditions; user data fields</bookmark_value> +<bookmark_value>hiding; with conditions</bookmark_value> +<bookmark_value>text; hiding with conditions</bookmark_value> +</bookmark> +<paragraph role="heading" id="hd_id3153398" xml-lang="en-US" level="1" l10n="U" oldref="59"><variable id="fields_userdata"><link href="text/swriter/guide/fields_userdata.xhp" name="Querying User Data in Fields or Conditions">Querying User Data in Fields or Conditions</link> +</variable></paragraph> +<paragraph role="paragraph" id="par_id3154239" xml-lang="en-US" l10n="U" oldref="60">You can access and compare some user data from conditions or fields. For example, you can compare user data with the following operators:</paragraph> +<table id="tbl_id3154255"> +<tablerow> +<tablecell colspan="" rowspan=""> +<paragraph role="tablehead" id="par_id3155889" xml-lang="en-US" l10n="U" oldref="94">Operator</paragraph> +</tablecell> +<tablecell colspan="" rowspan=""> +<paragraph role="tablehead" id="par_id3147110" xml-lang="en-US" l10n="U" oldref="95">Meaning</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell colspan="" rowspan=""> +<paragraph role="tablecontent" id="par_id3150508" xml-lang="en-US" l10n="U" oldref="96">== or EQ</paragraph> +</tablecell> +<tablecell colspan="" rowspan=""> +<paragraph role="tablecontent" id="par_id3150531" xml-lang="en-US" l10n="U" oldref="97">equals</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell colspan="" rowspan=""> +<paragraph role="tablecontent" id="par_id3150725" xml-lang="en-US" l10n="U" oldref="98">!= or NEQ</paragraph> +</tablecell> +<tablecell colspan="" rowspan=""> +<paragraph role="tablecontent" id="par_id3150748" xml-lang="en-US" l10n="U" oldref="99">is not equal to</paragraph> +</tablecell> +</tablerow> +</table> + +<paragraph role="paragraph" id="par_id3153167" xml-lang="en-US" l10n="U" oldref="101">If you want, you can use a condition to hide specific text in your document from a specific user.</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3153190" xml-lang="en-US" l10n="U" oldref="102">Select the text in the document that you want to hide.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3145273" xml-lang="en-US" l10n="U" oldref="103">Choose <emph>Insert - Section</emph>.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3145297" xml-lang="en-US" l10n="U" oldref="104">In the <emph>Hide </emph>area, select the <emph>Hide</emph> check box.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3155533" xml-lang="en-US" l10n="U" oldref="105">In the <emph>With Condition</emph> box, type <emph>user_lastname == "Doe"</emph>, where "Doe" is the last name of the user that you want to hide the text from. </paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3155573" xml-lang="en-US" l10n="U" oldref="107">Click <emph>Insert</emph> and then save the document.</paragraph> +</listitem> +</list> +<paragraph role="note" id="par_id3147760" xml-lang="en-US" l10n="U" oldref="108">The name of the hidden section can still be seen in the Navigator.</paragraph> +<paragraph role="paragraph" id="par_id3147777" xml-lang="en-US" l10n="U" oldref="61">The following table is a list of the user variables that you can access when defining a condition or a field:</paragraph> +<table id="tbl_id3147793"> +<tablerow> +<tablecell colspan="" rowspan=""> +<paragraph role="tablehead" id="par_id3147819" xml-lang="en-US" l10n="U" oldref="62">User variables</paragraph> +</tablecell> +<tablecell colspan="" rowspan=""> +<paragraph role="tablehead" id="par_id3147218" xml-lang="en-US" l10n="U" oldref="63">Meaning</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell colspan="" rowspan=""> +<paragraph role="code" id="par_id3147245" xml-lang="en-US" l10n="U" oldref="64">user_firstname</paragraph> +</tablecell> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3147268" xml-lang="en-US" l10n="U" oldref="65">First name</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell colspan="" rowspan=""> +<paragraph role="code" id="par_id3145592" xml-lang="en-US" l10n="U" oldref="66">user_lastname</paragraph> +</tablecell> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3145615" xml-lang="en-US" l10n="U" oldref="67">Last name</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell colspan="" rowspan=""> +<paragraph role="code" id="par_id3145642" xml-lang="en-US" l10n="U" oldref="68">user_initials</paragraph> +</tablecell> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3145666" xml-lang="en-US" l10n="U" oldref="69">Initials</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell colspan="" rowspan=""> +<paragraph role="code" id="par_id3151200" xml-lang="en-US" l10n="U" oldref="70">user_company</paragraph> +</tablecell> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3151223" xml-lang="en-US" l10n="U" oldref="71">Company</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell colspan="" rowspan=""> +<paragraph role="code" id="par_id3151250" xml-lang="en-US" l10n="U" oldref="72">user_street</paragraph> +</tablecell> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3152912" xml-lang="en-US" l10n="U" oldref="73">Street</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell colspan="" rowspan=""> +<paragraph role="code" id="par_id3152940" xml-lang="en-US" l10n="U" oldref="74">user_country</paragraph> +</tablecell> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3152963" xml-lang="en-US" l10n="U" oldref="75">Country</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell colspan="" rowspan=""> +<paragraph role="code" id="par_id3152990" xml-lang="en-US" l10n="U" oldref="76">user_zipcode</paragraph> +</tablecell> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3145679" xml-lang="en-US" l10n="U" oldref="77">Zip Code</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell colspan="" rowspan=""> +<paragraph role="code" id="par_id3145706" xml-lang="en-US" l10n="U" oldref="78">user_city</paragraph> +</tablecell> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3145729" xml-lang="en-US" l10n="U" oldref="79">City</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell colspan="" rowspan=""> +<paragraph role="code" id="par_id3145756" xml-lang="en-US" l10n="U" oldref="80">user_title</paragraph> +</tablecell> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3145779" xml-lang="en-US" l10n="U" oldref="81">Title</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell colspan="" rowspan=""> +<paragraph role="code" id="par_id3156284" xml-lang="en-US" l10n="U" oldref="82">user_position</paragraph> +</tablecell> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3156307" xml-lang="en-US" l10n="U" oldref="83">Position</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell colspan="" rowspan=""> +<paragraph role="code" id="par_id3156334" xml-lang="en-US" l10n="U" oldref="84">user_tel_work</paragraph> +</tablecell> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3156357" xml-lang="en-US" l10n="U" oldref="85">Business telephone number</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell colspan="" rowspan=""> +<paragraph role="code" id="par_id3156384" xml-lang="en-US" l10n="U" oldref="86">user_tel_home</paragraph> +</tablecell> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3149728" xml-lang="en-US" l10n="U" oldref="87">Home telephone number</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell colspan="" rowspan=""> +<paragraph role="code" id="par_id3149756" xml-lang="en-US" l10n="U" oldref="88">user_fax</paragraph> +</tablecell> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3149778" xml-lang="en-US" l10n="U" oldref="89">Fax number</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell colspan="" rowspan=""> +<paragraph role="code" id="par_id3149806" xml-lang="en-US" l10n="U" oldref="90">user_email</paragraph> +</tablecell> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3147294" xml-lang="en-US" l10n="U" oldref="91">E-mail address</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell colspan="" rowspan=""> +<paragraph role="code" id="par_id3147321" xml-lang="en-US" l10n="U" oldref="92">user_state</paragraph> +</tablecell> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3147344" xml-lang="en-US" l10n="U" oldref="93">State</paragraph> +</tablecell> +</tablerow> +</table> + +<section id="relatedtopics"> +<embed href="text/swriter/guide/fields.xhp#fields"/> +<embed href="text/swriter/guide/conditional_text.xhp#conditional_text"/> +<embed href="text/swriter/guide/hidden_text.xhp#hidden_text"/> +<paragraph role="paragraph" id="par_id3147392" xml-lang="en-US" l10n="C"><link href="text/swriter/02/14020000.xhp" name="List of operators">List of operators</link></paragraph> +</section> +</body> </helpdocument> |