From 482dc7100c9eeecc6bee79db2a1232d1e01378e5 Mon Sep 17 00:00:00 2001 From: Olivier Hallot Date: Tue, 30 Jul 2024 10:14:56 -0300 Subject: [PATCH] tdf#103587 Add wildcards to Find &Replace Help page + Added wildcard contents/links + Refactor file + join specific settings into switch, instead of switchinline + move UNO bookmarks to find toolbar help page + deleted many ... Change-Id: Ic5265374fb15511addfea4f411679126136ec378 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/171244 Tested-by: Jenkins Reviewed-by: Olivier Hallot --- source/text/shared/01/02100000.xhp | 632 ++++++++++------------------ source/text/shared/find_toolbar.xhp | 36 +- 2 files changed, 252 insertions(+), 416 deletions(-) diff --git a/source/text/shared/01/02100000.xhp b/source/text/shared/01/02100000.xhp index df3b843931..9ec8ece548 100644 --- a/source/text/shared/01/02100000.xhp +++ b/source/text/shared/01/02100000.xhp @@ -1,411 +1,243 @@ + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 . + --> - Find & Replace + Find & Replace /text/shared/01/02100000.xhp -
- - Find & Replace dialog - - - - - -

- - Find & Replace - -

- - - Finds or replaces text or formats in the current document. - + + Find & Replace dialog + + + + + +
+

Find & Replace

+ Finds or replaces text or formats in the current document. +
+
+ +
+ + + +

Find

+ + Enter the text that you want to find, or select a previous search from the list. + + Search options are listed under the Find box and in the Other options area of the dialog. + +

Match case

+ + case sensitivity;searching + + Matches the exact character provided in the Find box without considering any alternative case matches. + Disable this option to consider all possible case matches. For example, entering "a" in the Find box matches both "a" and "A". + Be aware that some characters may have more than one match when Match case is disabled. For instance, "s" matches "s", "S" and "ß" (sharp S used in the German language). + + + + searching;formatted numbers + searching;formatted display + finding;formatted numbers + finding;formatted display + + + +

Formatted display

+ + Includes number formatting characters in the search. -
-
- -
- Find Toolbar - - - Type the text to search in the current document. Press Enter to search the text. - - - - Click to search the next occurrence in downward direction. - - - - Click to search the next occurrence in upward direction. - - - -

Find

- - Enter the text that you want to find, or select a previous search from the list. - - Search options are listed under the Find box and in the Other options area of the dialog. - -

Match case

- - case sensitivity;searching - - - - Matches the exact character provided in the Find box without considering any alternative case matches. - - - Disable this option to consider all possible case matches. For example, entering "a" in the Find box matches both "a" and "A". - Be aware that some characters may have more than one match when Match case is disabled. For instance, "s" matches "s", "S" and "ß" (sharp S used in the German language). - - - searching;formatted numbers - searching;formatted display - finding;formatted numbers - finding;formatted display - - - -

Formatted display

- - Includes number formatting characters in the search. - -
-
- -

- - Entire Cells - Whole words only - -

- - - Searches for whole words or cells that are identical to the search text. - - - - searching; all sheets - finding; in all sheets - sheets; searching all - - -

- - All sheets - -

- - - Searches through all of the sheets in the current spreadsheet file. - - - - Searches through all of the sheets in the current spreadsheet file. - - - -

Replace

- - Enter the replacement text, or select a recent replacement text or style from the list. - - Replacement options are listed under the Find box and in the Other options area of the dialog. - - - - -

Find All

- Finds and selects all instances of the text or the format that you are searching for in the document (only in Writer and Calc documents). -
-
- copied text as hidden help, see issue 115137 - - - Finds and selects all instances of the text or the format that you are searching for in the document (only in Writer and Calc documents). - - -

Find Previous

- - Finds and selects the previous occurrence of the text or format that you are searching for in the document. - - -

Find Next

- - Finds and selects the next occurrence of the text or format that you are searching for in the document. - - -

Replace

- - Replaces the selected text or format that you searched for, and then searches for the next occurrence. - - -

Replace All

- - Replaces all of the occurrences of the text or format that you want to replace. - - Repeat this command until all replacements on your slide have been made. - - -

Other options

- - - Shows more or fewer search options. Click this label again to hide the extended search options. - - - finding; selections - - -

Current selection only

- - Searches only the selected text or cells. - - -

Replace backwards

- - Search starts at the current cursor position and goes backwards to the beginning of the file. - - - - -

Comments

- - In Writer, you can select to include the comment texts in your searches. - -
- -
- -

- - - - Regular expressions - -

- - - - - Allows you to search for advanced patterns using meta characters. - - - i72448 -Ext help text not found within switches. Solution: Keep switched text for normal display, add hidden help text as "fall through". - - Allows you to search for advanced patterns using meta characters. - - - - - - - - - had to copy extended help to outside of switch construct - see issue 72448 - - - Searches for text formatted with the style that you specify. Select this checkbox, and then select a style from the Find list. To specify a replacement style, select a style from the Replace list. - - -

- - Paragraph Styles / Including Styles - Cell Styles - -

- - Searches for text formatted with the style that you specify. Select this checkbox, and then select a style from the Find list. To specify a replacement style, select a style from the Replace list. - - - - -

- Match character width (only if Asian languages are enabled) -

- - - Distinguishes between half-width and full-width character forms. - - - - -

- Sounds like (Japanese) (only if Asian languages are enabled) -

- - - Lets you specify the search options for similar notation used in Japanese text. Select this checkbox, and then click the Sounds button to specify the search options. - - - - - - - Sets the search options for similar notation used in Japanese text. - - - - Searching in Japanese - -

Diacritic-sensitive

- Searches exact match, does not include Unicode combining marks in search. For example, searching for كتب will not match كَتَبَ or كُتُب or كتِب and so on. -

Kashida-sensitive

- Searches exact match, does not include Arabic Tatweel mark U+0640 (also known as Kashida) in search. For example, searching for كتاب will not match كـتاب or كتــــاب and so on. -

- - - Attributes - - -

- - - - - - -

- - - Format - - -

- - - Finds specific text formatting features, such as font types, font effects, and text flow characteristics. - After you select format and attributes that you want to search for, the Paragraph Styles checkbox in the Other options area changes to Including Styles. Select this checkbox if you want to include search for formatting and attributes set by styles. - - - -

- - No Format - -

- - - Click in the Find or the Replace box, and then click this button to remove the search criteria based on formats. - - - - Click in the Find or the Replace box, and then click this button to remove the search criteria based on formats. - - - - The search and replace criteria selected for Format and Attributes are displayed under the Find and Replace boxes. - - -

- - Direction - -

- - - Determines the order for searching the cells. - - - -

- - Rows - -

- - - Searches from left to right across the rows. - - - - Searches from left to right across the rows. - - -

- - Columns - -

- - - Searches from top to bottom through the columns. - - - - Searches from top to bottom through the columns. - -

- - Search in - -

- -

- - Formulas - -

- - - Searches for the characters that you specify in formulas and in fixed (not calculated) values. For example, you could look for formulas that contain 'SUM'. - - - - Searches for the characters that you specify in formulas and in fixed (not calculated) values. For example, you could look for formulas that contain 'SUM'. - -

- - Values - -

- - - Searches for the characters that you specify in values and in the results of formulas. - - - - Searches for the characters that you specify in values and in the results of formulas. - -

- - Comments - -

- - - Searches for the characters that you specify in the comments that are attached to the cells. - - - - Searches for the characters that you specify in the comments that are attached to the cells. - - - After you close the Find & Replace dialog, you can still search using the last search criteria that you entered, by pressing Shift+CommandCtrl+F. -
- - - -
- + + + + +

+ + Entire Cells + Whole words only + +

+ Searches for whole words or cells that are identical to the search text. + + + searching; all sheets + finding; in all sheets + sheets; searching all + + + + +

All sheets

+ Searches through all of the sheets in the current spreadsheet file. +
+
+ + + +

Replace

+ Enter the replacement text, or select a recent replacement text or style from the list. + Replacement options are listed under the Find box and in the Other options area of the dialog. + + + + + + +

Find All

+ Finds and selects all instances of the text or the format that you are searching for in the document (only in Writer and Calc documents). +
+
+ + +

Find Previous

+ Finds and selects the previous occurrence of the text or format that you are searching for in the document. + + +

Find Next

+ Finds and selects the next occurrence of the text or format that you are searching for in the document. + + +

Replace

+ Replaces the selected text or format that you searched for, and then searches for the next occurrence. + + +

Replace All

+ Replaces all of the occurrences of the text or format that you want to replace. + +

Other options

+ + Shows more or fewer search options. Click this label again to hide the extended search options. + + finding; selections + + + +

Current selection only

+ Searches only the selected text or cells. + + +

Replace backwards

+ Search starts at the current cursor position and goes backwards to the beginning of the file. + + + + +

Comments

+ In Writer, you can select to include the comment texts in your searches. +
+
+ + + + +

Wildcards

+ Allows you to search for advanced patterns using meta characters. + Using wildcards +
+
+ + + + + + +

Regular expressions

+ Allows you to search for advanced text patterns using regular expressions. + +
+
+ + +

Paragraph Styles / Including StylesCell Styles

+ Searches for text formatted with the style that you specify. Select this checkbox, and then select a style from the Find list. To specify a replacement style, select a style from the Replace list. + + + + + +

Match character width (only if Asian languages are enabled)

+ Distinguishes between half-width and full-width character forms. + + + +

Sounds like (Japanese) (only if Asian languages are enabled)

+ Lets you specify the search options for similar notation used in Japanese text. Select this checkbox, and then click the Sounds button to specify the search options. + + + + Sets the search options for similar notation used in Japanese text. + Searching in Japanese + +

Diacritic-sensitive

+ Searches exact match, does not include Unicode combining marks in search. For example, searching for كتب will not match كَتَبَ or كُتُب or كتِب and so on. + +

Kashida-sensitive

+ Searches exact match, does not include Arabic Tatweel mark U+0640 (also known as Kashida) in search. For example, searching for كتاب will not match كـتاب or كتــــاب and so on. + + + + +

Attributes

+ + +

Format

+ Finds specific text formatting features, such as font types, font effects, and text flow characteristics. + After you select format and attributes that you want to search for, the Paragraph Styles checkbox in the Other options area changes to Including Styles. Select this checkbox if you want to include search for formatting and attributes set by styles. +

No Format

+ Click in the Find or the Replace box, and then click this button to remove the search criteria based on formats. + The search and replace criteria selected for Format and Attributes are displayed under the Find and Replace boxes. +
+
+ + + + +

Direction

+ Determines the order for searching the cells. +

Rows

+ Searches from left to right across the rows. +

Columns

+ Searches from top to bottom through the columns. +

Search in

+

Formulas

+ Searches for the characters that you specify in formulas and in fixed (not calculated) values. For example, you could look for formulas that contain 'SUM'. +

Values

+ Searches for the characters that you specify in values and in the results of formulas. +

Comments

+ Searches for the characters that you specify in the comments that are attached to the cells. +
+
+ + + + After you close the Find & Replace dialog, you can still search using the last search criteria that you entered, by pressing Shift+CommandCtrl+F. + +
+ + + + +
+
diff --git a/source/text/shared/find_toolbar.xhp b/source/text/shared/find_toolbar.xhp index bf77e221b5..720d23f200 100644 --- a/source/text/shared/find_toolbar.xhp +++ b/source/text/shared/find_toolbar.xhp @@ -1,22 +1,22 @@ - + - - - Find Bar - /text/shared/find_toolbar.xhp - - + + + Find Bar + /text/shared/find_toolbar.xhp + + - + Find toolbar @@ -24,7 +24,7 @@ -
+

Find Bar

The Find toolbar can be used to quickly search the contents of %PRODUCTNAME documents.
@@ -34,9 +34,12 @@ CommandCtrl + F
+ +

Find Text

Enter the text to be searched in the document. Press Enter to perform the search. +

Find Previous

Moves the cursor and selects the previous match of the search text. @@ -51,6 +54,7 @@
+

Find Next

Moves the cursor and selects the next match of the search text.