From ed5640d8b587fbcfed7dd7967f3de04b37a76f26 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:06:44 +0200 Subject: Adding upstream version 4:7.4.7. Signed-off-by: Daniel Baumann --- .../source/text/swriter/guide/hidden_text.xhp | 126 +++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 helpcontent2/source/text/swriter/guide/hidden_text.xhp (limited to 'helpcontent2/source/text/swriter/guide/hidden_text.xhp') diff --git a/helpcontent2/source/text/swriter/guide/hidden_text.xhp b/helpcontent2/source/text/swriter/guide/hidden_text.xhp new file mode 100644 index 000000000..e8bddbe45 --- /dev/null +++ b/helpcontent2/source/text/swriter/guide/hidden_text.xhp @@ -0,0 +1,126 @@ + + + + + + + Hiding Text + /text/swriter/guide/hidden_text.xhp + + + +text; hiding + sections;hiding + paragraphs;hiding + hiding;text, with conditions + variables;for hiding text +mw deleted "comparisons;" and copied two entries to hidden_text_display.xhp and 2 entries to nonprintable_text.xhpMW added "variables;" +

Hiding Text

+ You can use fields and sections to hide or display text in your document if a condition is met. + Before you can hide text, you must first create a variable to use in the condition for hiding the text. +

To Create a Variable

+ + + Click in your document and choose Insert - Field - More Fields. + + + Click the Variables tab and click "Set Variable" in the Type list. + + + Click "General" in the Format list. + + + Type a name for the variable in the Name box, for example, Hide. + + + Enter a value for the variable in the Value box, for example, 1. + + + To hide the variable in your document, select Invisible. + + + Click Insert and Close. + + +

To Hide Text

+ + + Click in the document where you want to add the text. + + + Choose Insert - Field - More Fields and click the Functions tab. + + + Click "Hidden Text" in the Type list. + + + Enter a statement in the Condition box. For example, using the variable you previously defined, enter Hide==1. + + + Type the text that you want to hide in the Hidden text box. + + + Click Insert and Close. + + +

To Hide a Paragraph

+ + + Click in the paragraph where you want to add the text. + + + Choose Insert - Field - More Fields and click the Functions tab. + + + Click "Hidden Paragraph" in the Type list. + + + Enter a statement in the Condition box. For example, using the variable you previously defined, enter Hide==1. + + + Click Insert and Close. + + + You must enable this feature by removing the check mark Hidden Paragraphs in the dialog %PRODUCTNAME - PreferencesTools - Options - %PRODUCTNAME Writer - View. When the check mark is set, you cannot hide any paragraph. +

To Hide a Section

+ + + Select the text that you want to hide in your document. + + + Choose Insert - Section. + + + 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. + + + Click Insert. + + +
+ + + Displaying Hidden Text + Creating Non-printing Text + Insert - Field - More Fields + Insert - Section + List of Operators +
+ +
\ No newline at end of file -- cgit v1.2.3