summaryrefslogtreecommitdiff
path: root/helpcontent2/source/text/swriter/guide/hidden_text.xhp
blob: 8ce74765ccb3274b7511183c639067efeffedca0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
<?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 WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
 *  WITHOUT LIMITATION, WARRANTIES 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="2005-11-15T10:29:42">converted from old format - fpe</lastedited>
</history>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3148856"><bookmark_value>hidden text; displaying</bookmark_value>
<bookmark_value>text; hiding</bookmark_value>
<bookmark_value>sections;hiding</bookmark_value>
<bookmark_value>paragraphs;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>