diff options
Diffstat (limited to 'helpcontent2/source/text/swriter/guide/finding.xhp')
-rw-r--r-- | helpcontent2/source/text/swriter/guide/finding.xhp | 135 |
1 files changed, 135 insertions, 0 deletions
diff --git a/helpcontent2/source/text/swriter/guide/finding.xhp b/helpcontent2/source/text/swriter/guide/finding.xhp new file mode 100644 index 000000000..84c5b609c --- /dev/null +++ b/helpcontent2/source/text/swriter/guide/finding.xhp @@ -0,0 +1,135 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * 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 . + --> + + +<meta> + <topic id="textswriterguidefindingxhp" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Finding and Replacing in Writer</title> + <filename>/text/swriter/guide/finding.xhp</filename> + </topic> + </meta> + <body> + <section id="finding_text"> +<bookmark xml-lang="en-US" branch="index" id="bm_id1163670"><bookmark_value>finding; text/text formats/styles/objects</bookmark_value> + <bookmark_value>replacing; text and text formats</bookmark_value> + <bookmark_value>styles;finding</bookmark_value> + <bookmark_value>searching, see also finding</bookmark_value> + <bookmark_value>text formats; finding</bookmark_value> + <bookmark_value>formats; finding and replacing</bookmark_value> + <bookmark_value>searching; formats</bookmark_value> + <bookmark_value>objects;finding by Navigator</bookmark_value> + <bookmark_value>Asian languages;search options</bookmark_value> +</bookmark><comment>3. mw added 2 index entries and changed "finding;"</comment><comment>2. mw copied 6 index entries from shared/01/02100300.xhp. Then made one entry of two "finding;" entries, one entry of two "replacing;" entries and one entry of two "formats;" entries</comment><comment>1. mw copied 5 entries from shared/01/02100000.xhp and then made one entry of two "finding;" entries.</comment> +<paragraph xml-lang="en-US" id="hd_id8568681" role="heading" level="1"><variable id="finding"><link href="text/swriter/guide/finding.xhp">Finding and Replacing in Writer</link> +</variable></paragraph> + <paragraph xml-lang="en-US" id="par_id611285" role="paragraph">In text documents you can find words, formatting, styles, and more. You can navigate from one result to the next, or you can highlight all results at once, then apply another format or replace the words by other text.</paragraph> + </section> + <paragraph xml-lang="en-US" id="hd_id6226081" role="heading" level="2">The Find & Replace dialog</paragraph> + <paragraph xml-lang="en-US" id="par_id6702780" role="paragraph">To find text within the whole document, open the Find & Replace dialog without any active text selection. If you want to search only a part of your document, first select that part of text, then open the Find & Replace dialog.</paragraph> + <paragraph xml-lang="en-US" id="hd_id3158970" role="heading" level="3">To Find Text</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id6957304" role="listitem">Choose <emph>Edit - Find & Replace</emph> to open the Find & Replace dialog.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id2164677" role="listitem">Enter the text to find in the <emph>Find</emph> text box.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id5684072" role="listitem">Either click <emph>Find Next</emph> or <emph>Find All</emph>.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_id4377269" role="paragraph">When you click <emph>Find Next</emph>, Writer will show you the next text that is equal to your entry. You can watch and edit the text, then click <emph>Find Next</emph> again to advance to the next found text. </paragraph> + <paragraph xml-lang="en-US" id="par_id1371807" role="paragraph">If you closed the dialog, you can press a key combination (Ctrl+Shift+F) to find the next text without opening the dialog. </paragraph> + <paragraph xml-lang="en-US" id="par_id924100" role="paragraph">Alternatively, you can use the icons at the lower right of the document to navigate to the next text or to any other object in the document.</paragraph> + <paragraph xml-lang="en-US" id="par_id9359416" role="paragraph">When you click <item type="menuitem">Find All</item>, Writer selects all text that is equal to your entry. Now you can for example set all found text to bold, or apply a character style to all at once.</paragraph> + <paragraph xml-lang="en-US" id="hd_id5891598" role="heading" level="3">To Replace Text</paragraph> + <paragraph xml-lang="en-US" id="par_id1780755" role="note">Unlike searching text, replacing text cannot be restricted to the current selection only.</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id2467421" role="listitem">Choose Edit - Find & Replace to open the Find & Replace dialog.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id4286935" role="listitem">Enter the text to search in the <emph>Find</emph> text box.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id9959410" role="listitem">Enter the text to replace the found text in the <emph>Replace with</emph> text box.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id24109" role="listitem">Either click <emph>Replace</emph> or <emph>Replace All</emph>.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_id703451" role="paragraph">When you click <emph>Replace</emph>, Writer will search the whole document for the text in the <emph>Find</emph> box, starting at the current cursor position. When text is found, Writer highlights the text and waits for your response. Click <emph>Replace</emph> to replace the highlighted text in the document with the text in the <emph>Replace</emph> text box. Click <emph>Find Next</emph> to advance to the next found text without replacing the current selection.</paragraph> + <paragraph xml-lang="en-US" id="par_id7540818" role="paragraph">When you click <emph>Replace All</emph>, Writer replaces all text that matches your entry.</paragraph> + <paragraph xml-lang="en-US" id="hd_id9908444" role="heading" level="3">To Find Styles</paragraph> + <paragraph xml-lang="en-US" id="par_id8413953" role="paragraph">You want to find all text in your document to which a certain Paragraph Style is assigned, for example the "Heading 2" style.</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id2696920" role="listitem">Choose Edit - Find & Replace to open the Find & Replace dialog.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id896938" role="listitem">Click <emph>Other options</emph> to expand the dialog.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id9147007" role="listitem">Check <item type="menuitem">Paragraph Styles</item>.<br/>The <item type="menuitem">Find</item> text box now is a list box, where you can select any of the Paragraph Styles that are applied in the current document.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id679342" role="listitem">Select the style to search for, then click <emph>Find Next</emph> or <emph>Find All</emph>.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="hd_id3231299" role="heading" level="3">To Find Formats</paragraph> + <paragraph xml-lang="en-US" id="par_id8087405" role="paragraph">You want to find all text in your document to which a certain direct character formatting is assigned. </paragraph> + <paragraph xml-lang="en-US" id="par_id3406170" role="note">Finding formats only finds direct character attributes, it does not find attributes applied as part of a style.</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id2448805" role="listitem">Choose Edit - Find & Replace to open the Find & Replace dialog.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id4542985" role="listitem">Click <emph>More Options</emph> to expand the dialog.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id4679403" role="listitem">Click the <emph>Format</emph> button.</paragraph> + </listitem> + </list> + <list type="ordered" startwith="5"> + <listitem> + <paragraph xml-lang="en-US" id="par_id7783745" role="listitem">Click <emph>Find Next</emph> or <emph>Find All</emph>.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_id5597094" role="heading" level="3">More options</paragraph> + <paragraph xml-lang="en-US" id="par_id9919431" role="paragraph">The similarity search can find text that is almost the same as your search text. You can set the number of characters that are allowed to differ.</paragraph> + <paragraph xml-lang="en-US" id="par_id8533280" role="paragraph">Check the <emph>Similarity search</emph> option and optionally click the <emph>Similarities</emph> button to change the settings. (Setting all three numbers to 1 works fine for English text.)</paragraph> + <paragraph xml-lang="en-US" id="par_id4646748" role="tip">When you have enabled Asian language support under <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - Language Settings - Languages</emph>, the Find & Replace dialog offers options to search Asian text.</paragraph> + <paragraph xml-lang="en-US" id="hd_id2489394" role="heading" level="2">The Navigator</paragraph> + <paragraph xml-lang="en-US" id="par_id9934385" role="paragraph">The Navigator is the main tool for finding and selecting objects. You can also use the Navigator to move and arrange chapters, providing an outline view to your document. </paragraph> + <paragraph xml-lang="en-US" id="par_id4159062" role="paragraph">Choose <emph>View - Navigator</emph> to open the Navigator window.</paragraph> + <paragraph xml-lang="en-US" id="par_id7421796" role="paragraph">Use the Navigator for inserting objects, links and references within the same document or from other open documents. See the <link href="text/swriter/guide/navigator.xhp">Navigator</link> guide for more information.</paragraph> + <paragraph xml-lang="en-US" id="par_id6417432" role="paragraph">Click the icon with the blue circle at the bottom right part of your document to open the small <emph>Navigation</emph> window.</paragraph> + <paragraph xml-lang="en-US" id="par_id4639728" role="paragraph">Use the small Navigation window to quickly jump to the next object or find the next text in your document.</paragraph> + <section id="relatedtopics"> + <embed href="text/swriter/guide/navigator.xhp#navigator"/> + <embed href="text/swriter/guide/search_regexp.xhp#search_regexp"/> + <embed href="text/shared/guide/find_attributes.xhp#find_attributes"/> + <embed href="text/shared/01/02100001.xhp#02100001"/> + <embed href="text/swriter/guide/removing_line_breaks.xhp#removing_line_breaks"/> + <embed href="text/scalc/guide/finding.xhp#finding"/> + </section> + </body> +</helpdocument> |