LibreOfficeDev 25.8 Help
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.
GfpgG‖Click in your document and choose Insert - Field - More Fields.
4Aae2‖Click the Variables tab and click "Set Variable" in the Type list.
U32BC‖Click "General" in the Format list.
TffAB‖Type a name for the variable in the box, for example, Hide.
TxETi‖Enter a value for the variable in the box, for example, 1.
8gGsm‖To hide the variable in your document, select Invisible.
VpwqL‖Click and .
sK4nH‖Click in the document where you want to add the text.
CM7xH‖Choose Insert - Field - More Fields and click the Functions tab.
cYkTc‖Click "Hidden Text" in the Type list.
wTBWp‖Enter a statement in the box. For example, using the variable you previously defined, enter Hide==1.
CBzFh‖Type the text that you want to hide in the Hidden text box.
PBdqG‖Click and .
tXCWL‖Click in the paragraph where you want to add the text.
snFHJ‖Choose and click the Functions tab.
pBHeU‖Click "Hidden Paragraph" in the Type list.
2FiE7‖Enter a statement in the box. For example, using the variable you previously defined, enter Hide==1.
ktWG8‖Click and .
xiaCq‖You must enable this feature by removing the check mark Hidden Paragraphs in the dialog - . When the check mark is set, you cannot hide any paragraph.
mCT7Z‖Select the text that you want to hide in your document.
Jkvgn‖Choose .
jFn7h‖In the area, select , and then enter an expression in the box. For example, using the variable you previously defined, enter Hide==1.
3NAQN‖Click .