Files
help/helpcontent2/source/text/swriter/guide/hidden_text.xhp
Rüdiger Timm 5553180b98 INTEGRATION: CWS helpcontentbeta (1.1.2); FILE MERGED
2004/10/06 14:57:01 fpe 1.1.2.2: Regular Update
2004/09/16 11:48:59 fpe 1.1.2.1: Regular Update
2004-11-26 23:06:56 +00:00

201 lines
11 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8"?>
<!--***********************************************************************
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
* - GNU Lesser General Public License Version 2.1
* - Sun Industry Standards Source License Version 1.1
*
* Sun Microsystems Inc., October, 2000
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2000 by Sun Microsystems, Inc.
* 901 San Antonio Road, Palo Alto, CA 94303, USA
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
*
* Sun Industry Standards Source License Version 1.1
* =================================================
* The contents of this file are subject to the Sun Industry Standards
* Source License Version 1.1 (the "License"); You may not use this file
* except in compliance with the License. You may obtain a copy of the
* License at http://www.openoffice.org/license.html.
*
* Software provided under this License is provided on an "AS IS" basis,
* WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
* WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
* MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
* See the License for the specific provisions governing your rights and
* obligations concerning the Software.
*
* The Initial Developer of the Original Code is: Sun Microsystems, Inc..
*
* Copyright: 2000 by Sun Microsystems, Inc.
*
* All Rights Reserved.
*
* Contributor(s): _______________________________________
*
*
************************************************************************-->
<helpdocument version="1.0">
<meta>
<topic id="textswriterguidehidden_textxml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Hiding Text</title>
<filename>/text/swriter/guide/hidden_text.xhp</filename>
</topic>
<history>
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
<lastedited date="2004-09-22T15:59:49">converted from old format - fpe</lastedited>
</history>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3148856"><bookmark_value>comparisons; hidden text fields</bookmark_value>
<bookmark_value>hidden text; guide</bookmark_value>
<bookmark_value>hidden paragraphs; text</bookmark_value>
<bookmark_value>text; hiding</bookmark_value>
<bookmark_value>non-printing text</bookmark_value>
<bookmark_value>text; only showing</bookmark_value>
<bookmark_value>hiding;text</bookmark_value>
<bookmark_value>displaying;hidden text</bookmark_value>
</bookmark>
<paragraph role="heading" id="hd_id3148856" xml-lang="en-US" level="1" l10n="U" oldref="1"><variable id="hidden_text"><link href="text/swriter/guide/hidden_text.xhp" name="Hiding Text">Hiding Text</link>
</variable></paragraph>
<paragraph role="paragraph" id="par_id3150103" xml-lang="en-US" l10n="U" oldref="2">You can use fields and sections to hide or display text in your document if a condition is met.</paragraph>
<paragraph role="paragraph" id="par_id3153409" xml-lang="en-US" l10n="U" oldref="19">Before you can hide text, you must first create a variable to use in the condition for hiding the text.</paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3153131" xml-lang="en-US" l10n="U" oldref="20">Click in your document and choose <emph>Insert - Fields - Other</emph>.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3149640" xml-lang="en-US" l10n="U" oldref="21">Click the <emph>Variables </emph>tab and click "Set Variable" in the <emph>Type </emph>list.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3149970" xml-lang="en-US" l10n="U" oldref="22">Click "General" in the <emph>Format </emph>list.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3149620" xml-lang="en-US" l10n="U" oldref="23">Type a name for the variable in the <emph>Name </emph>box, for example, "Hide".</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3149869" xml-lang="en-US" l10n="U" oldref="24">Enter a value for the variable in the <emph>Value </emph>box, for example, "1".</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3145108" xml-lang="en-US" l10n="U" oldref="25">To hide the variable in your document, select <emph>Invisible</emph>.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3149585" xml-lang="en-US" l10n="U" oldref="26">Click <emph>OK</emph>.</paragraph>
</listitem>
</list>
<paragraph role="heading" id="hd_id3156245" xml-lang="en-US" level="2" l10n="U" oldref="27">To hide text:</paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3145391" xml-lang="en-US" l10n="U" oldref="28">Click in the document where you want to add the text.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3145409" xml-lang="en-US" l10n="U" oldref="5">Choose <emph>Insert - Fields - Other</emph> and click the <emph>Functions </emph>tab.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3155325" xml-lang="en-US" l10n="U" oldref="29">Click "Hidden Text" in the <emph>Type </emph>list.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3154404" xml-lang="en-US" l10n="U" oldref="30">Enter a statement in the <emph>Condition </emph>box. For example, using the variable you previously defined, enter "Hide==1".</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3153371" xml-lang="en-US" l10n="U" oldref="31">Type the text that you want to hide in the <emph>Hidden text </emph>box.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3154233" xml-lang="en-US" l10n="U" oldref="32">Click <emph>OK</emph>.</paragraph>
</listitem>
</list>
<paragraph role="heading" id="hd_id3154256" xml-lang="en-US" level="2" l10n="U" oldref="33">To hide a paragraph:</paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3154853" xml-lang="en-US" l10n="U" oldref="34">Click in the paragraph where you want to add the text.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3154872" xml-lang="en-US" l10n="U" oldref="35">Choose <emph>Insert - Fields - Other</emph> and click the <emph>Functions </emph>tab.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3155902" xml-lang="en-US" l10n="U" oldref="6">Click "Hidden Paragraph" in the <emph>Type </emph>list.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3155947" xml-lang="en-US" l10n="U" oldref="36">Enter a statement in the <emph>Condition </emph>box. For example, using the variable you previously defined, enter "Hide==1".</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3149991" xml-lang="en-US" l10n="U" oldref="37">Click <emph>OK</emph>.</paragraph>
</listitem>
</list>
<paragraph role="heading" id="hd_id3148675" xml-lang="en-US" level="2" l10n="U" oldref="38">To hide a section:</paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3148697" xml-lang="en-US" l10n="U" oldref="39">Select the text that you want to hide in your document.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3153019" xml-lang="en-US" l10n="U" oldref="9">Choose <emph>Insert - Section</emph>.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3148950" xml-lang="en-US" l10n="U" oldref="40">In the<emph> Hide</emph> area, select<emph> Hide</emph>, and then enter an expression in the<emph> Condition</emph> box. For example, using the variable you previously defined, enter "Hide==1".</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3153636" xml-lang="en-US" l10n="U" oldref="41">Click <emph>OK</emph>.</paragraph>
</listitem>
</list>
<paragraph role="heading" id="hd_id3153659" xml-lang="en-US" level="2" l10n="U" oldref="42">To display hidden text:</paragraph>
<paragraph role="paragraph" id="par_id3152754" xml-lang="en-US" l10n="U" oldref="43">Do one of the following:</paragraph>
<list type="unordered">
<listitem>
<paragraph role="listitem" id="par_id3152777" xml-lang="en-US" l10n="U" oldref="7">Choose <emph>View - Hidden Paragraphs</emph>.</paragraph>
</listitem>
</list>
<list type="unordered">
<listitem>
<paragraph role="listitem" id="par_id3153902" xml-lang="en-US" l10n="U" oldref="44">Double-click in front of the variable that you used to define the condition for hiding the text, and enter a different value for the variable.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3147114" xml-lang="en-US" l10n="U" oldref="45">Double-click in front of the hidden text field or the hidden paragraph field, and change the condition statement.</paragraph>
</listitem>
</list>
<paragraph role="heading" id="hd_id3147132" xml-lang="en-US" level="2" l10n="U" oldref="12">To create non-printable text:</paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3149789" xml-lang="en-US" l10n="U" oldref="14">Choose <emph>Insert - Frame</emph>.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3150224" xml-lang="en-US" l10n="U" oldref="15">Enter text in the frame and if you want, resize the frame.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3150242" xml-lang="en-US" l10n="U" oldref="16">Choose <emph>Format - Frame</emph>, and then click the<emph> Options</emph> tab.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3145227" xml-lang="en-US" l10n="U" oldref="17">In the <emph>Properties</emph> area, clear the <emph>Print</emph> check box.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3150320" xml-lang="en-US" l10n="U" oldref="18">Click <emph>OK</emph>.</paragraph>
</listitem>
</list>
<section id="relatedtopics">
<embed href="text/swriter/guide/conditional_text.xhp#conditional_text"/>
<embed href="text/swriter/guide/fields_userdata.xhp#fields_userdata"/>
<paragraph role="paragraph" id="par_id3148603" xml-lang="en-US" l10n="U" oldref="10"><link href="text/swriter/01/04090000.xhp" name="Insert - Fields - Other">Insert - Fields - Other</link></paragraph>
<paragraph role="paragraph" id="par_id3147011" xml-lang="en-US" l10n="U" oldref="11"><link href="text/swriter/01/04020000.xhp" name="Insert - Section">Insert - Section</link></paragraph>
<paragraph role="paragraph" id="par_id3147029" xml-lang="en-US" l10n="U" oldref="46"><link href="text/swriter/02/14020000.xhp" name="List of Operators">List of Operators</link></paragraph>
</section>
</body>
</helpdocument>