PJd7h‖Hiding Text

Contents
SJnAx‖

# Hib5P‖Hiding Text

W7T3G‖You can use fields and sections to hide or display text in your document if a condition is met.

UYAup‖Before you can hide text, you must first create a variable to use in the condition for hiding the text.

## 6rpSy‖To Create a Variable

1. GfpgG‖Click in your document and choose Insert - Field - More Fields.

2. 4Aae2‖Click the Variables tab and click "Set Variable" in the Type list.

3. U32BC‖Click "General" in the Format list.

4. TffAB‖Type a name for the variable in the Name box, for example, Hide.

5. TxETi‖Enter a value for the variable in the Value box, for example, 1.

6. 8gGsm‖To hide the variable in your document, select Invisible.

7. VpwqL‖Click Insert and Close.

## DW7Qh‖To Hide Text

1. sK4nH‖Click in the document where you want to add the text.

2. CM7xH‖Choose Insert - Field - More Fields and click the Functions tab.

3. cYkTc‖Click "Hidden Text" in the Type list.

4. wTBWp‖Enter a statement in the Condition box. For example, using the variable you previously defined, enter Hide==1.

5. CBzFh‖Type the text that you want to hide in the Hidden text box.

6. PBdqG‖Click Insert and Close.

## GrZQA‖To Hide a Paragraph

1. tXCWL‖Click in the paragraph where you want to add the text.

2. snFHJ‖Choose Insert - Field - More Fields and click the Functions tab.

3. pBHeU‖Click "Hidden Paragraph" in the Type list.

4. 2FiE7‖Enter a statement in the Condition box. For example, using the variable you previously defined, enter Hide==1.

5. ktWG8‖Click Insert and Close.

xiaCq‖You must enable this feature by removing the check mark Hidden Paragraphs in the dialog LibreOffice - PreferencesTools - Options - LibreOffice Writer - View. When the check mark is set, you cannot hide any paragraph.

## v2rEL‖To Hide a Section

1. mCT7Z‖Select the text that you want to hide in your document.

2. Jkvgn‖Choose Insert - Section.

3. jFn7h‖In the Hide area, select Hide, and then enter an expression in the Condition box. For example, using the variable you previously defined, enter Hide==1.

4. 3NAQN‖Click Insert.

Related Topics

Conditional Text

Querying User Data in Fields or Conditions

N47oT‖Displaying Hidden Text

B5Gct‖Creating Non-printing Text

D9vu2‖Insert - Field - More Fields

MSbkE‖Insert - Section

BVCri‖List of Operators

Please support us!