summaryrefslogtreecommitdiff
path: root/helpcontent2/source/text/swriter/guide/hidden_text.xhp
blob: 1dd08ba866c6483f42988e7a72fc614dc38d7b12 (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
<?xml version="1.0" encoding="UTF-8"?>

<!--
 ***********************************************************************
 *
 *  OpenOffice.org - a multi-platform office productivity suite
 *
 *  $RCSfile: hidden_text.xhp,v $fileonly,v $
 *
 *  $Revision: 1.11 $
 *
 *  last change: $Author: rt $ $Date: 2008-02-20 01:55:27 $
 *
 *  The Contents of this file are made available subject to
 *  the terms of GNU Lesser General Public License Version 2.1.
 *
 *
 *    GNU Lesser General Public License Version 2.1
 *    =============================================
 *    Copyright 2005 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
 *
 ************************************************************************
 -->


		<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>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3148856"><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; non-printable</bookmark_value>
<bookmark_value>hiding;text, with conditions</bookmark_value>
</bookmark><comment>mw deleted "comparisons;" and copied two entries to hidden_text_display.xhp</comment><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="note" id="par_id3793450" xml-lang="en-US" l10n="NEW">You must enable this feature by removing the check mark from menu <emph>View - Hidden Paragraphs</emph>. When the check mark is set, you cannot hide any paragraph.</paragraph>
<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>
<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_id3846858" xml-lang="en-US" l10n="NEW"><link href="text/swriter/guide/hidden_text_display.xhp" name="Displaying Hidden Text">Displaying Hidden Text</link></paragraph>
<paragraph role="paragraph" id="par_id8148442" xml-lang="en-US" l10n="NEW"><link href="text/swriter/guide/nonprintable_text.xhp" name="Creating Non-printing Text">Creating Non-printing Text</link></paragraph>
<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>