diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2004-11-26 23:03:20 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2004-11-26 23:03:20 +0000 |
commit | 50c1713af2d398d545bccf3c1c4cf1db4a6333bc (patch) | |
tree | bb819092368649ac777ad761ebe960c5b92475c8 /helpcontent2/source/text/swriter/guide/conditional_text.xhp | |
parent | INTEGRATION: CWS helpcontentbeta (1.3.2); FILE MERGED (diff) | |
download | help-50c1713af2d398d545bccf3c1c4cf1db4a6333bc.tar.gz help-50c1713af2d398d545bccf3c1c4cf1db4a6333bc.zip |
INTEGRATION: CWS helpcontentbeta (1.2.2); FILE MERGED
2004/10/06 14:56:58 fpe 1.2.2.2: Regular Update
2004/09/16 11:48:57 fpe 1.2.2.1: Regular Update
Diffstat (limited to 'helpcontent2/source/text/swriter/guide/conditional_text.xhp')
-rw-r--r-- | helpcontent2/source/text/swriter/guide/conditional_text.xhp | 40 |
1 files changed, 8 insertions, 32 deletions
diff --git a/helpcontent2/source/text/swriter/guide/conditional_text.xhp b/helpcontent2/source/text/swriter/guide/conditional_text.xhp index ec9a0dc52e..23c643837a 100644 --- a/helpcontent2/source/text/swriter/guide/conditional_text.xhp +++ b/helpcontent2/source/text/swriter/guide/conditional_text.xhp @@ -62,7 +62,7 @@ </topic> <history> <created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> -<lastedited date="2004-08-09T09:25:01">converted from old format - fpe</lastedited> +<lastedited date="2004-09-23T13:16:31">converted from old format - fpe</lastedited> </history> </meta> <body> @@ -75,23 +75,10 @@ </variable></paragraph> <paragraph role="paragraph" id="par_id3155879" xml-lang="en-US" l10n="U" oldref="5">You can set up fields in your document that display text when a condition that you define is met. For example, you can define the conditional text that is displayed in a series of reminder letters.</paragraph> <paragraph role="paragraph" id="par_id3155895" xml-lang="en-US" l10n="U" oldref="6">Setting up conditional text in this example is a two-part process. First you create a variable, and then you create the condition.</paragraph> -<table id="tbl_id3150508"> -<tablerow> -<tablecell colspan="" rowspan=""> -<paragraph role="paragraph" id="par_id3150532" xml-lang="en-US" l10n="E"> -<image id="img_id3150543" src="res/helpimg/mahn1.png" width="138.38mm" height="109.8mm"><alt id="alt_id3150543" xml-lang="en-US">Fields / Variables</alt> - </image></paragraph> -</tablecell> -</tablerow> -</table> - <paragraph role="heading" id="hd_id3153175" xml-lang="en-US" level="2" l10n="U" oldref="61">To define a conditional variable:</paragraph> <paragraph role="paragraph" id="par_id3153185" xml-lang="en-US" l10n="U" oldref="62">The first part of the example is to define a variable for the condition statement. </paragraph> <list type="ordered"> <listitem> -<paragraph role="listitem" id="par_id3155545" xml-lang="en-US" l10n="U" oldref="7">Type "Reminder" in your document, and then add space.</paragraph> -</listitem> -<listitem> <paragraph role="listitem" id="par_id3155566" xml-lang="en-US" l10n="U" oldref="8">Choose <emph>Insert -</emph> <emph>Fields - Other</emph>, and then click the <emph>Variables</emph> tab.</paragraph> </listitem> @@ -104,14 +91,12 @@ <listitem> <paragraph role="listitem" id="par_id3147810" xml-lang="en-US" l10n="U" oldref="57">Click "Text" in the<emph> Format</emph> list.</paragraph> </listitem> -</list> -<paragraph role="tip" id="par_id3147290" xml-lang="en-US" l10n="U" oldref="56">To display integers, click the "-1234" format.</paragraph> -<list type="ordered" startwith="6"> <listitem> <paragraph role="listitem" id="par_id3145614" xml-lang="en-US" l10n="U" oldref="11">Enter "1" in the <emph>Value</emph> box, and then click <emph>Insert</emph>.</paragraph> +<paragraph role="listitem" id="par_idN1083F" xml-lang="en-US" l10n="NEW">The Format list displays a "General" format after you click Insert.</paragraph> </listitem> </list> -<paragraph role="heading" id="hd_id3145645" xml-lang="en-US" level="2" l10n="U" oldref="63">To define a condition and the conditional text:</paragraph> +<paragraph role="heading" id="hd_id3145645" xml-lang="en-US" level="2" l10n="U" oldref="63">To define a condition and the conditional text</paragraph> <paragraph role="paragraph" id="par_id3145659" xml-lang="en-US" l10n="U" oldref="64">The second part of the example is to define the condition that must be met, and to insert a placeholder for displaying the conditional text in your document.</paragraph> <list type="ordered"> <listitem> @@ -128,20 +113,10 @@ <paragraph role="listitem" id="par_id3155936" xml-lang="en-US" l10n="U" oldref="14">Type <emph>Reminder EQ "3"</emph> in the <emph>Condition </emph>box. In other words, the conditional text will be displayed when the variable in the field that you defined in the first part of this example is equal to three.</paragraph> </listitem> </list> -<paragraph role="paragraph" id="par_id3155969" xml-lang="en-US" l10n="U" oldref="15">The quotation marks enclosing the number 3 indicates that the variable that you defined in the first part of this example is a text string. For a list of operators that you can use when defining your condition, see the Related Topics section of this page.</paragraph> -<table id="tbl_id3155987"> -<tablerow> -<tablecell colspan="" rowspan=""> -<paragraph role="paragraph" id="par_id3156012" xml-lang="en-US" l10n="E"> -<image id="img_id3156019" src="res/helpimg/mahn2.png" width="138.38mm" height="109.8mm"><alt id="alt_id3156019" xml-lang="en-US">Fields / Functions</alt> - </image></paragraph> -</tablecell> -</tablerow> -</table> - +<paragraph role="paragraph" id="par_id3155969" xml-lang="en-US" l10n="U" oldref="15">The quotation marks enclosing the "3" indicate that the variable that you defined in the first part of this example is a text string.</paragraph> <list type="ordered" startwith="5"> <listitem> -<paragraph role="listitem" id="par_id3150446" xml-lang="en-US" l10n="U" oldref="16">Type the text that you want to display when the condition is met in the <emph>Then</emph> box. There is no limit to the length of the text that you can enter. If you want, you can even copy and paste a paragraph into this box.</paragraph> +<paragraph role="listitem" id="par_id3150446" xml-lang="en-US" l10n="U" oldref="16">Type the text that you want to display when the condition is met in the <emph>Then</emph> box. There is almost no limit to the length of the text that you can enter. You can paste a paragraph into this box.</paragraph> </listitem> <listitem> <paragraph role="listitem" id="par_id3150473" xml-lang="en-US" l10n="U" oldref="17">Click <emph>Insert</emph>, and then click <emph>Close</emph>.</paragraph> @@ -154,15 +129,16 @@ <paragraph role="listitem" id="par_id3155110" xml-lang="en-US" l10n="U" oldref="19">Place your cursor in front of the field that you defined in the first part of this example, and then choose <emph>Edit - Fields</emph>.</paragraph> </listitem> <listitem> -<paragraph role="listitem" id="par_id3155136" xml-lang="en-US" l10n="U" oldref="68">Replace the number in the <emph>Value </emph>box with "3", and then click<emph> Close</emph>.</paragraph> +<paragraph role="listitem" id="par_id3155136" xml-lang="en-US" l10n="U" oldref="68">Replace the number in the <emph>Value </emph>box with 3, and then click<emph> Close</emph>.</paragraph> </listitem> <listitem> <paragraph role="listitem" id="par_id3155168" xml-lang="en-US" l10n="U" oldref="20">If the field does not automatically update, press F9.</paragraph> </listitem> </list> -<embed href="text/shared/00/00000004.xhp#related"/> +<section id="relatedtopics"> <embed href="text/swriter/guide/fields_userdata.xhp#fields_userdata"/> <embed href="text/swriter/guide/conditional_text2.xhp#conditional_text2"/> <paragraph role="paragraph" id="par_id3145714" xml-lang="en-US" l10n="C"><link href="text/swriter/02/14020000.xhp" name="List of conditional operators">List of conditional operators</link></paragraph> +</section> </body> </helpdocument> |